pipedrive 21.0.0 → 21.2.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.
- package/README.md +9 -1
 - package/dist/api/ActivitiesApi.js +2 -2
 - package/dist/api/OrganizationsApi.js +71 -2
 - package/dist/api/PersonsApi.js +71 -2
 - package/dist/api/ProductsApi.js +2 -2
 - package/dist/index.js +55 -13
 - package/dist/model/BaseOrganizationItem.js +4 -4
 - package/dist/model/BaseOrganizationItemFields.js +2 -2
 - package/dist/model/BaseOrganizationItemWithEditNameFlag.js +4 -4
 - package/dist/model/BasicDeal.js +0 -108
 - package/dist/model/InlineResponse2001.js +97 -0
 - package/dist/model/InlineResponse2002.js +97 -0
 - package/dist/model/NewDeal.js +30 -30
 - package/dist/model/NewDealParameters.js +186 -0
 - package/dist/model/OrganizationItem.js +4 -4
 - package/dist/model/OrganizationsCollectionResponseObject.js +394 -0
 - package/dist/model/OrganizationsCollectionResponseObjectAllOf.js +168 -0
 - package/dist/model/PersonsCollectionResponseObject.js +210 -0
 - package/dist/model/UpdateDealParameters.js +176 -0
 - package/dist/model/UpdateDealRequest.js +29 -24
 - package/package.json +1 -1
 
| 
         @@ -0,0 +1,210 @@ 
     | 
|
| 
      
 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 _BasePersonItemPhone = _interopRequireDefault(require("./BasePersonItemPhone"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            var _BasicPersonEmail = _interopRequireDefault(require("./BasicPersonEmail"));
         
     | 
| 
      
 13 
     | 
    
         
            +
            /**
         
     | 
| 
      
 14 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 15 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 16 
     | 
    
         
            +
             *
         
     | 
| 
      
 17 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 18 
     | 
    
         
            +
             * 
         
     | 
| 
      
 19 
     | 
    
         
            +
             *
         
     | 
| 
      
 20 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 21 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 22 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 23 
     | 
    
         
            +
             *
         
     | 
| 
      
 24 
     | 
    
         
            +
             */
         
     | 
| 
      
 25 
     | 
    
         
            +
            /**
         
     | 
| 
      
 26 
     | 
    
         
            +
             * The PersonsCollectionResponseObject model module.
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @module model/PersonsCollectionResponseObject
         
     | 
| 
      
 28 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 29 
     | 
    
         
            +
             */
         
     | 
| 
      
 30 
     | 
    
         
            +
            var PersonsCollectionResponseObject = /*#__PURE__*/function () {
         
     | 
| 
      
 31 
     | 
    
         
            +
              /**
         
     | 
| 
      
 32 
     | 
    
         
            +
               * Constructs a new <code>PersonsCollectionResponseObject</code>.
         
     | 
| 
      
 33 
     | 
    
         
            +
               * @alias module:model/PersonsCollectionResponseObject
         
     | 
| 
      
 34 
     | 
    
         
            +
               */
         
     | 
| 
      
 35 
     | 
    
         
            +
              function PersonsCollectionResponseObject() {
         
     | 
| 
      
 36 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, PersonsCollectionResponseObject);
         
     | 
| 
      
 37 
     | 
    
         
            +
                PersonsCollectionResponseObject.initialize(this);
         
     | 
| 
      
 38 
     | 
    
         
            +
              }
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              /**
         
     | 
| 
      
 41 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 42 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 43 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 44 
     | 
    
         
            +
               */
         
     | 
| 
      
 45 
     | 
    
         
            +
              (0, _createClass2["default"])(PersonsCollectionResponseObject, null, [{
         
     | 
| 
      
 46 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 47 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                /**
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Constructs a <code>PersonsCollectionResponseObject</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @param {module:model/PersonsCollectionResponseObject} obj Optional instance to populate.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 * @return {module:model/PersonsCollectionResponseObject} The populated <code>PersonsCollectionResponseObject</code> instance.
         
     | 
| 
      
 55 
     | 
    
         
            +
                 */
         
     | 
| 
      
 56 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 57 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 58 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 60 
     | 
    
         
            +
                    obj = obj || new PersonsCollectionResponseObject();
         
     | 
| 
      
 61 
     | 
    
         
            +
                    if (data.hasOwnProperty('id')) {
         
     | 
| 
      
 62 
     | 
    
         
            +
                      obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
         
     | 
| 
      
 63 
     | 
    
         
            +
                      delete data['id'];
         
     | 
| 
      
 64 
     | 
    
         
            +
                    }
         
     | 
| 
      
 65 
     | 
    
         
            +
                    if (data.hasOwnProperty('active_flag')) {
         
     | 
| 
      
 66 
     | 
    
         
            +
                      obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
         
     | 
| 
      
 67 
     | 
    
         
            +
                      delete data['active_flag'];
         
     | 
| 
      
 68 
     | 
    
         
            +
                    }
         
     | 
| 
      
 69 
     | 
    
         
            +
                    if (data.hasOwnProperty('owner_id')) {
         
     | 
| 
      
 70 
     | 
    
         
            +
                      obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'Number');
         
     | 
| 
      
 71 
     | 
    
         
            +
                      delete data['owner_id'];
         
     | 
| 
      
 72 
     | 
    
         
            +
                    }
         
     | 
| 
      
 73 
     | 
    
         
            +
                    if (data.hasOwnProperty('org_id')) {
         
     | 
| 
      
 74 
     | 
    
         
            +
                      obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'Number');
         
     | 
| 
      
 75 
     | 
    
         
            +
                      delete data['org_id'];
         
     | 
| 
      
 76 
     | 
    
         
            +
                    }
         
     | 
| 
      
 77 
     | 
    
         
            +
                    if (data.hasOwnProperty('name')) {
         
     | 
| 
      
 78 
     | 
    
         
            +
                      obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
         
     | 
| 
      
 79 
     | 
    
         
            +
                      delete data['name'];
         
     | 
| 
      
 80 
     | 
    
         
            +
                    }
         
     | 
| 
      
 81 
     | 
    
         
            +
                    if (data.hasOwnProperty('email')) {
         
     | 
| 
      
 82 
     | 
    
         
            +
                      obj['email'] = _ApiClient["default"].convertToType(data['email'], [_BasicPersonEmail["default"]]);
         
     | 
| 
      
 83 
     | 
    
         
            +
                      delete data['email'];
         
     | 
| 
      
 84 
     | 
    
         
            +
                    }
         
     | 
| 
      
 85 
     | 
    
         
            +
                    if (data.hasOwnProperty('phone')) {
         
     | 
| 
      
 86 
     | 
    
         
            +
                      obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
         
     | 
| 
      
 87 
     | 
    
         
            +
                      delete data['phone'];
         
     | 
| 
      
 88 
     | 
    
         
            +
                    }
         
     | 
| 
      
 89 
     | 
    
         
            +
                    if (data.hasOwnProperty('update_time')) {
         
     | 
| 
      
 90 
     | 
    
         
            +
                      obj['update_time'] = _ApiClient["default"].convertToType(data['update_time'], 'String');
         
     | 
| 
      
 91 
     | 
    
         
            +
                      delete data['update_time'];
         
     | 
| 
      
 92 
     | 
    
         
            +
                    }
         
     | 
| 
      
 93 
     | 
    
         
            +
                    if (data.hasOwnProperty('delete_time')) {
         
     | 
| 
      
 94 
     | 
    
         
            +
                      obj['delete_time'] = _ApiClient["default"].convertToType(data['delete_time'], 'String');
         
     | 
| 
      
 95 
     | 
    
         
            +
                      delete data['delete_time'];
         
     | 
| 
      
 96 
     | 
    
         
            +
                    }
         
     | 
| 
      
 97 
     | 
    
         
            +
                    if (data.hasOwnProperty('add_time')) {
         
     | 
| 
      
 98 
     | 
    
         
            +
                      obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
         
     | 
| 
      
 99 
     | 
    
         
            +
                      delete data['add_time'];
         
     | 
| 
      
 100 
     | 
    
         
            +
                    }
         
     | 
| 
      
 101 
     | 
    
         
            +
                    if (data.hasOwnProperty('visible_to')) {
         
     | 
| 
      
 102 
     | 
    
         
            +
                      obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], 'String');
         
     | 
| 
      
 103 
     | 
    
         
            +
                      delete data['visible_to'];
         
     | 
| 
      
 104 
     | 
    
         
            +
                    }
         
     | 
| 
      
 105 
     | 
    
         
            +
                    if (data.hasOwnProperty('picture_id')) {
         
     | 
| 
      
 106 
     | 
    
         
            +
                      obj['picture_id'] = _ApiClient["default"].convertToType(data['picture_id'], 'Number');
         
     | 
| 
      
 107 
     | 
    
         
            +
                      delete data['picture_id'];
         
     | 
| 
      
 108 
     | 
    
         
            +
                    }
         
     | 
| 
      
 109 
     | 
    
         
            +
                    if (data.hasOwnProperty('label')) {
         
     | 
| 
      
 110 
     | 
    
         
            +
                      obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
         
     | 
| 
      
 111 
     | 
    
         
            +
                      delete data['label'];
         
     | 
| 
      
 112 
     | 
    
         
            +
                    }
         
     | 
| 
      
 113 
     | 
    
         
            +
                    if (data.hasOwnProperty('cc_email')) {
         
     | 
| 
      
 114 
     | 
    
         
            +
                      obj['cc_email'] = _ApiClient["default"].convertToType(data['cc_email'], 'String');
         
     | 
| 
      
 115 
     | 
    
         
            +
                      delete data['cc_email'];
         
     | 
| 
      
 116 
     | 
    
         
            +
                    }
         
     | 
| 
      
 117 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 118 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 119 
     | 
    
         
            +
                    }
         
     | 
| 
      
 120 
     | 
    
         
            +
                  }
         
     | 
| 
      
 121 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 122 
     | 
    
         
            +
                }
         
     | 
| 
      
 123 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 124 
     | 
    
         
            +
              return PersonsCollectionResponseObject;
         
     | 
| 
      
 125 
     | 
    
         
            +
            }();
         
     | 
| 
      
 126 
     | 
    
         
            +
            /**
         
     | 
| 
      
 127 
     | 
    
         
            +
             * The ID of the person
         
     | 
| 
      
 128 
     | 
    
         
            +
             * @member {Number} id
         
     | 
| 
      
 129 
     | 
    
         
            +
             */
         
     | 
| 
      
 130 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['id'] = undefined;
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
            /**
         
     | 
| 
      
 133 
     | 
    
         
            +
             * Whether the person is active or not
         
     | 
| 
      
 134 
     | 
    
         
            +
             * @member {Boolean} active_flag
         
     | 
| 
      
 135 
     | 
    
         
            +
             */
         
     | 
| 
      
 136 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['active_flag'] = undefined;
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
            /**
         
     | 
| 
      
 139 
     | 
    
         
            +
             * The ID of the owner related to the person
         
     | 
| 
      
 140 
     | 
    
         
            +
             * @member {Number} owner_id
         
     | 
| 
      
 141 
     | 
    
         
            +
             */
         
     | 
| 
      
 142 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['owner_id'] = undefined;
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
            /**
         
     | 
| 
      
 145 
     | 
    
         
            +
             * The ID of the organization related to the person
         
     | 
| 
      
 146 
     | 
    
         
            +
             * @member {Number} org_id
         
     | 
| 
      
 147 
     | 
    
         
            +
             */
         
     | 
| 
      
 148 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['org_id'] = undefined;
         
     | 
| 
      
 149 
     | 
    
         
            +
             
     | 
| 
      
 150 
     | 
    
         
            +
            /**
         
     | 
| 
      
 151 
     | 
    
         
            +
             * The name of the person
         
     | 
| 
      
 152 
     | 
    
         
            +
             * @member {String} name
         
     | 
| 
      
 153 
     | 
    
         
            +
             */
         
     | 
| 
      
 154 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['name'] = undefined;
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
            /**
         
     | 
| 
      
 157 
     | 
    
         
            +
             * An email address as a string or an array of email objects related to the person. The structure of the array is as follows: `[{ \"value\": \"mail@example.com\", \"primary\": \"true\", \"label\": \"main\" }]`. Please note that only `value` is required.
         
     | 
| 
      
 158 
     | 
    
         
            +
             * @member {Array.<module:model/BasicPersonEmail>} email
         
     | 
| 
      
 159 
     | 
    
         
            +
             */
         
     | 
| 
      
 160 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['email'] = undefined;
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
            /**
         
     | 
| 
      
 163 
     | 
    
         
            +
             * A phone number supplied as a string or an array of phone objects related to the person. The structure of the array is as follows: `[{ \"value\": \"12345\", \"primary\": \"true\", \"label\": \"mobile\" }]`. Please note that only `value` is required.
         
     | 
| 
      
 164 
     | 
    
         
            +
             * @member {Array.<module:model/BasePersonItemPhone>} phone
         
     | 
| 
      
 165 
     | 
    
         
            +
             */
         
     | 
| 
      
 166 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['phone'] = undefined;
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
            /**
         
     | 
| 
      
 169 
     | 
    
         
            +
             * The last updated date and time of the person. Format: YYYY-MM-DD HH:MM:SS
         
     | 
| 
      
 170 
     | 
    
         
            +
             * @member {String} update_time
         
     | 
| 
      
 171 
     | 
    
         
            +
             */
         
     | 
| 
      
 172 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['update_time'] = undefined;
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
            /**
         
     | 
| 
      
 175 
     | 
    
         
            +
             * The date and time this person was deleted. Format: YYYY-MM-DD HH:MM:SS
         
     | 
| 
      
 176 
     | 
    
         
            +
             * @member {String} delete_time
         
     | 
| 
      
 177 
     | 
    
         
            +
             */
         
     | 
| 
      
 178 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['delete_time'] = undefined;
         
     | 
| 
      
 179 
     | 
    
         
            +
             
     | 
| 
      
 180 
     | 
    
         
            +
            /**
         
     | 
| 
      
 181 
     | 
    
         
            +
             * The date and time when the person was added/created. Format: YYYY-MM-DD HH:MM:SS
         
     | 
| 
      
 182 
     | 
    
         
            +
             * @member {String} add_time
         
     | 
| 
      
 183 
     | 
    
         
            +
             */
         
     | 
| 
      
 184 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['add_time'] = undefined;
         
     | 
| 
      
 185 
     | 
    
         
            +
             
     | 
| 
      
 186 
     | 
    
         
            +
            /**
         
     | 
| 
      
 187 
     | 
    
         
            +
             * The visibility group ID of who can see the person
         
     | 
| 
      
 188 
     | 
    
         
            +
             * @member {String} visible_to
         
     | 
| 
      
 189 
     | 
    
         
            +
             */
         
     | 
| 
      
 190 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['visible_to'] = undefined;
         
     | 
| 
      
 191 
     | 
    
         
            +
             
     | 
| 
      
 192 
     | 
    
         
            +
            /**
         
     | 
| 
      
 193 
     | 
    
         
            +
             * The ID of the picture associated with the item
         
     | 
| 
      
 194 
     | 
    
         
            +
             * @member {Number} picture_id
         
     | 
| 
      
 195 
     | 
    
         
            +
             */
         
     | 
| 
      
 196 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['picture_id'] = undefined;
         
     | 
| 
      
 197 
     | 
    
         
            +
             
     | 
| 
      
 198 
     | 
    
         
            +
            /**
         
     | 
| 
      
 199 
     | 
    
         
            +
             * The label assigned to the person
         
     | 
| 
      
 200 
     | 
    
         
            +
             * @member {Number} label
         
     | 
| 
      
 201 
     | 
    
         
            +
             */
         
     | 
| 
      
 202 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['label'] = undefined;
         
     | 
| 
      
 203 
     | 
    
         
            +
             
     | 
| 
      
 204 
     | 
    
         
            +
            /**
         
     | 
| 
      
 205 
     | 
    
         
            +
             * The BCC email associated with the person
         
     | 
| 
      
 206 
     | 
    
         
            +
             * @member {String} cc_email
         
     | 
| 
      
 207 
     | 
    
         
            +
             */
         
     | 
| 
      
 208 
     | 
    
         
            +
            PersonsCollectionResponseObject.prototype['cc_email'] = undefined;
         
     | 
| 
      
 209 
     | 
    
         
            +
            var _default = PersonsCollectionResponseObject;
         
     | 
| 
      
 210 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,176 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            /**
         
     | 
| 
      
 12 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 13 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 14 
     | 
    
         
            +
             *
         
     | 
| 
      
 15 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 16 
     | 
    
         
            +
             * 
         
     | 
| 
      
 17 
     | 
    
         
            +
             *
         
     | 
| 
      
 18 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 19 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 20 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 21 
     | 
    
         
            +
             *
         
     | 
| 
      
 22 
     | 
    
         
            +
             */
         
     | 
| 
      
 23 
     | 
    
         
            +
            /**
         
     | 
| 
      
 24 
     | 
    
         
            +
             * The UpdateDealParameters model module.
         
     | 
| 
      
 25 
     | 
    
         
            +
             * @module model/UpdateDealParameters
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 27 
     | 
    
         
            +
             */
         
     | 
| 
      
 28 
     | 
    
         
            +
            var UpdateDealParameters = /*#__PURE__*/function () {
         
     | 
| 
      
 29 
     | 
    
         
            +
              /**
         
     | 
| 
      
 30 
     | 
    
         
            +
               * Constructs a new <code>UpdateDealParameters</code>.
         
     | 
| 
      
 31 
     | 
    
         
            +
               * @alias module:model/UpdateDealParameters
         
     | 
| 
      
 32 
     | 
    
         
            +
               */
         
     | 
| 
      
 33 
     | 
    
         
            +
              function UpdateDealParameters() {
         
     | 
| 
      
 34 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, UpdateDealParameters);
         
     | 
| 
      
 35 
     | 
    
         
            +
                UpdateDealParameters.initialize(this);
         
     | 
| 
      
 36 
     | 
    
         
            +
              }
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
              /**
         
     | 
| 
      
 39 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 40 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 41 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 42 
     | 
    
         
            +
               */
         
     | 
| 
      
 43 
     | 
    
         
            +
              (0, _createClass2["default"])(UpdateDealParameters, null, [{
         
     | 
| 
      
 44 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 45 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                /**
         
     | 
| 
      
 48 
     | 
    
         
            +
                 * Constructs a <code>UpdateDealParameters</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {module:model/UpdateDealParameters} obj Optional instance to populate.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @return {module:model/UpdateDealParameters} The populated <code>UpdateDealParameters</code> instance.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 */
         
     | 
| 
      
 54 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 55 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 56 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 57 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                    obj = obj || new UpdateDealParameters();
         
     | 
| 
      
 59 
     | 
    
         
            +
                    if (data.hasOwnProperty('value')) {
         
     | 
| 
      
 60 
     | 
    
         
            +
                      obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
         
     | 
| 
      
 61 
     | 
    
         
            +
                      delete data['value'];
         
     | 
| 
      
 62 
     | 
    
         
            +
                    }
         
     | 
| 
      
 63 
     | 
    
         
            +
                    if (data.hasOwnProperty('currency')) {
         
     | 
| 
      
 64 
     | 
    
         
            +
                      obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
         
     | 
| 
      
 65 
     | 
    
         
            +
                      delete data['currency'];
         
     | 
| 
      
 66 
     | 
    
         
            +
                    }
         
     | 
| 
      
 67 
     | 
    
         
            +
                    if (data.hasOwnProperty('user_id')) {
         
     | 
| 
      
 68 
     | 
    
         
            +
                      obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'Number');
         
     | 
| 
      
 69 
     | 
    
         
            +
                      delete data['user_id'];
         
     | 
| 
      
 70 
     | 
    
         
            +
                    }
         
     | 
| 
      
 71 
     | 
    
         
            +
                    if (data.hasOwnProperty('person_id')) {
         
     | 
| 
      
 72 
     | 
    
         
            +
                      obj['person_id'] = _ApiClient["default"].convertToType(data['person_id'], 'Number');
         
     | 
| 
      
 73 
     | 
    
         
            +
                      delete data['person_id'];
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                    if (data.hasOwnProperty('org_id')) {
         
     | 
| 
      
 76 
     | 
    
         
            +
                      obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'Number');
         
     | 
| 
      
 77 
     | 
    
         
            +
                      delete data['org_id'];
         
     | 
| 
      
 78 
     | 
    
         
            +
                    }
         
     | 
| 
      
 79 
     | 
    
         
            +
                    if (data.hasOwnProperty('pipeline_id')) {
         
     | 
| 
      
 80 
     | 
    
         
            +
                      obj['pipeline_id'] = _ApiClient["default"].convertToType(data['pipeline_id'], 'Number');
         
     | 
| 
      
 81 
     | 
    
         
            +
                      delete data['pipeline_id'];
         
     | 
| 
      
 82 
     | 
    
         
            +
                    }
         
     | 
| 
      
 83 
     | 
    
         
            +
                    if (data.hasOwnProperty('stage_id')) {
         
     | 
| 
      
 84 
     | 
    
         
            +
                      obj['stage_id'] = _ApiClient["default"].convertToType(data['stage_id'], 'Number');
         
     | 
| 
      
 85 
     | 
    
         
            +
                      delete data['stage_id'];
         
     | 
| 
      
 86 
     | 
    
         
            +
                    }
         
     | 
| 
      
 87 
     | 
    
         
            +
                    if (data.hasOwnProperty('status')) {
         
     | 
| 
      
 88 
     | 
    
         
            +
                      obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
         
     | 
| 
      
 89 
     | 
    
         
            +
                      delete data['status'];
         
     | 
| 
      
 90 
     | 
    
         
            +
                    }
         
     | 
| 
      
 91 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 92 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 93 
     | 
    
         
            +
                    }
         
     | 
| 
      
 94 
     | 
    
         
            +
                  }
         
     | 
| 
      
 95 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 96 
     | 
    
         
            +
                }
         
     | 
| 
      
 97 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 98 
     | 
    
         
            +
              return UpdateDealParameters;
         
     | 
| 
      
 99 
     | 
    
         
            +
            }();
         
     | 
| 
      
 100 
     | 
    
         
            +
            /**
         
     | 
| 
      
 101 
     | 
    
         
            +
             * The value of the deal.
         
     | 
| 
      
 102 
     | 
    
         
            +
             * @member {String} value
         
     | 
| 
      
 103 
     | 
    
         
            +
             */
         
     | 
| 
      
 104 
     | 
    
         
            +
            UpdateDealParameters.prototype['value'] = undefined;
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
            /**
         
     | 
| 
      
 107 
     | 
    
         
            +
             * The currency of the deal. Accepts a 3-character currency code.
         
     | 
| 
      
 108 
     | 
    
         
            +
             * @member {String} currency
         
     | 
| 
      
 109 
     | 
    
         
            +
             */
         
     | 
| 
      
 110 
     | 
    
         
            +
            UpdateDealParameters.prototype['currency'] = undefined;
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
            /**
         
     | 
| 
      
 113 
     | 
    
         
            +
             * The ID of the user which will be the new owner of the deal.
         
     | 
| 
      
 114 
     | 
    
         
            +
             * @member {Number} user_id
         
     | 
| 
      
 115 
     | 
    
         
            +
             */
         
     | 
| 
      
 116 
     | 
    
         
            +
            UpdateDealParameters.prototype['user_id'] = undefined;
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
            /**
         
     | 
| 
      
 119 
     | 
    
         
            +
             * The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first.
         
     | 
| 
      
 120 
     | 
    
         
            +
             * @member {Number} person_id
         
     | 
| 
      
 121 
     | 
    
         
            +
             */
         
     | 
| 
      
 122 
     | 
    
         
            +
            UpdateDealParameters.prototype['person_id'] = undefined;
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
            /**
         
     | 
| 
      
 125 
     | 
    
         
            +
             * The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first.
         
     | 
| 
      
 126 
     | 
    
         
            +
             * @member {Number} org_id
         
     | 
| 
      
 127 
     | 
    
         
            +
             */
         
     | 
| 
      
 128 
     | 
    
         
            +
            UpdateDealParameters.prototype['org_id'] = undefined;
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
            /**
         
     | 
| 
      
 131 
     | 
    
         
            +
             * The ID of the pipeline this deal will be added to. By default, the deal will be added to the first stage of the specified pipeline. Please note that `pipeline_id` and `stage_id` should not be used together as `pipeline_id` will be ignored.
         
     | 
| 
      
 132 
     | 
    
         
            +
             * @member {Number} pipeline_id
         
     | 
| 
      
 133 
     | 
    
         
            +
             */
         
     | 
| 
      
 134 
     | 
    
         
            +
            UpdateDealParameters.prototype['pipeline_id'] = undefined;
         
     | 
| 
      
 135 
     | 
    
         
            +
             
     | 
| 
      
 136 
     | 
    
         
            +
            /**
         
     | 
| 
      
 137 
     | 
    
         
            +
             * The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`.
         
     | 
| 
      
 138 
     | 
    
         
            +
             * @member {Number} stage_id
         
     | 
| 
      
 139 
     | 
    
         
            +
             */
         
     | 
| 
      
 140 
     | 
    
         
            +
            UpdateDealParameters.prototype['stage_id'] = undefined;
         
     | 
| 
      
 141 
     | 
    
         
            +
             
     | 
| 
      
 142 
     | 
    
         
            +
            /**
         
     | 
| 
      
 143 
     | 
    
         
            +
             * open = Open, won = Won, lost = Lost, deleted = Deleted.
         
     | 
| 
      
 144 
     | 
    
         
            +
             * @member {module:model/UpdateDealParameters.StatusEnum} status
         
     | 
| 
      
 145 
     | 
    
         
            +
             */
         
     | 
| 
      
 146 
     | 
    
         
            +
            UpdateDealParameters.prototype['status'] = undefined;
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
            /**
         
     | 
| 
      
 149 
     | 
    
         
            +
             * Allowed values for the <code>status</code> property.
         
     | 
| 
      
 150 
     | 
    
         
            +
             * @enum {String}
         
     | 
| 
      
 151 
     | 
    
         
            +
             * @readonly
         
     | 
| 
      
 152 
     | 
    
         
            +
             */
         
     | 
| 
      
 153 
     | 
    
         
            +
            UpdateDealParameters['StatusEnum'] = {
         
     | 
| 
      
 154 
     | 
    
         
            +
              /**
         
     | 
| 
      
 155 
     | 
    
         
            +
               * value: "open"
         
     | 
| 
      
 156 
     | 
    
         
            +
               * @const
         
     | 
| 
      
 157 
     | 
    
         
            +
               */
         
     | 
| 
      
 158 
     | 
    
         
            +
              "open": "open",
         
     | 
| 
      
 159 
     | 
    
         
            +
              /**
         
     | 
| 
      
 160 
     | 
    
         
            +
               * value: "won"
         
     | 
| 
      
 161 
     | 
    
         
            +
               * @const
         
     | 
| 
      
 162 
     | 
    
         
            +
               */
         
     | 
| 
      
 163 
     | 
    
         
            +
              "won": "won",
         
     | 
| 
      
 164 
     | 
    
         
            +
              /**
         
     | 
| 
      
 165 
     | 
    
         
            +
               * value: "lost"
         
     | 
| 
      
 166 
     | 
    
         
            +
               * @const
         
     | 
| 
      
 167 
     | 
    
         
            +
               */
         
     | 
| 
      
 168 
     | 
    
         
            +
              "lost": "lost",
         
     | 
| 
      
 169 
     | 
    
         
            +
              /**
         
     | 
| 
      
 170 
     | 
    
         
            +
               * value: "deleted"
         
     | 
| 
      
 171 
     | 
    
         
            +
               * @const
         
     | 
| 
      
 172 
     | 
    
         
            +
               */
         
     | 
| 
      
 173 
     | 
    
         
            +
              "deleted": "deleted"
         
     | 
| 
      
 174 
     | 
    
         
            +
            };
         
     | 
| 
      
 175 
     | 
    
         
            +
            var _default = UpdateDealParameters;
         
     | 
| 
      
 176 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -10,6 +10,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat 
     | 
|
| 
       10 
10 
     | 
    
         
             
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
       11 
11 
     | 
    
         
             
            var _BasicDeal = _interopRequireDefault(require("./BasicDeal"));
         
     | 
| 
       12 
12 
     | 
    
         
             
            var _DealTitleParameter = _interopRequireDefault(require("./DealTitleParameter"));
         
     | 
| 
      
 13 
     | 
    
         
            +
            var _UpdateDealParameters = _interopRequireDefault(require("./UpdateDealParameters"));
         
     | 
| 
       13 
14 
     | 
    
         
             
            var _VisibleTo = _interopRequireDefault(require("./VisibleTo"));
         
     | 
| 
       14 
15 
     | 
    
         
             
            /**
         
     | 
| 
       15 
16 
     | 
    
         
             
             * Pipedrive API v1
         
     | 
| 
         @@ -33,11 +34,13 @@ var UpdateDealRequest = /*#__PURE__*/function () { 
     | 
|
| 
       33 
34 
     | 
    
         
             
               * Constructs a new <code>UpdateDealRequest</code>.
         
     | 
| 
       34 
35 
     | 
    
         
             
               * @alias module:model/UpdateDealRequest
         
     | 
| 
       35 
36 
     | 
    
         
             
               * @implements module:model/DealTitleParameter
         
     | 
| 
      
 37 
     | 
    
         
            +
               * @implements module:model/UpdateDealParameters
         
     | 
| 
       36 
38 
     | 
    
         
             
               * @implements module:model/BasicDeal
         
     | 
| 
       37 
39 
     | 
    
         
             
               */
         
     | 
| 
       38 
40 
     | 
    
         
             
              function UpdateDealRequest() {
         
     | 
| 
       39 
41 
     | 
    
         
             
                (0, _classCallCheck2["default"])(this, UpdateDealRequest);
         
     | 
| 
       40 
42 
     | 
    
         
             
                _DealTitleParameter["default"].initialize(this);
         
     | 
| 
      
 43 
     | 
    
         
            +
                _UpdateDealParameters["default"].initialize(this);
         
     | 
| 
       41 
44 
     | 
    
         
             
                _BasicDeal["default"].initialize(this);
         
     | 
| 
       42 
45 
     | 
    
         
             
                UpdateDealRequest.initialize(this);
         
     | 
| 
       43 
46 
     | 
    
         
             
              }
         
     | 
| 
         @@ -64,6 +67,7 @@ var UpdateDealRequest = /*#__PURE__*/function () { 
     | 
|
| 
       64 
67 
     | 
    
         
             
                  if (data) {
         
     | 
| 
       65 
68 
     | 
    
         
             
                    obj = obj || new UpdateDealRequest();
         
     | 
| 
       66 
69 
     | 
    
         
             
                    _DealTitleParameter["default"].constructFromObject(data, obj);
         
     | 
| 
      
 70 
     | 
    
         
            +
                    _UpdateDealParameters["default"].constructFromObject(data, obj);
         
     | 
| 
       67 
71 
     | 
    
         
             
                    _BasicDeal["default"].constructFromObject(data, obj);
         
     | 
| 
       68 
72 
     | 
    
         
             
                    if (data.hasOwnProperty('title')) {
         
     | 
| 
       69 
73 
     | 
    
         
             
                      obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
         
     | 
| 
         @@ -133,31 +137,31 @@ var UpdateDealRequest = /*#__PURE__*/function () { 
     | 
|
| 
       133 
137 
     | 
    
         
             
            UpdateDealRequest.prototype['title'] = undefined;
         
     | 
| 
       134 
138 
     | 
    
         | 
| 
       135 
139 
     | 
    
         
             
            /**
         
     | 
| 
       136 
     | 
    
         
            -
             * The value of the deal. 
     | 
| 
      
 140 
     | 
    
         
            +
             * The value of the deal.
         
     | 
| 
       137 
141 
     | 
    
         
             
             * @member {String} value
         
     | 
| 
       138 
142 
     | 
    
         
             
             */
         
     | 
| 
       139 
143 
     | 
    
         
             
            UpdateDealRequest.prototype['value'] = undefined;
         
     | 
| 
       140 
144 
     | 
    
         | 
| 
       141 
145 
     | 
    
         
             
            /**
         
     | 
| 
       142 
     | 
    
         
            -
             * The currency of the deal. Accepts a 3-character currency code. 
     | 
| 
      
 146 
     | 
    
         
            +
             * The currency of the deal. Accepts a 3-character currency code.
         
     | 
| 
       143 
147 
     | 
    
         
             
             * @member {String} currency
         
     | 
| 
       144 
148 
     | 
    
         
             
             */
         
     | 
| 
       145 
149 
     | 
    
         
             
            UpdateDealRequest.prototype['currency'] = undefined;
         
     | 
| 
       146 
150 
     | 
    
         | 
| 
       147 
151 
     | 
    
         
             
            /**
         
     | 
| 
       148 
     | 
    
         
            -
             * The ID of the user which will be the owner of the  
     | 
| 
      
 152 
     | 
    
         
            +
             * The ID of the user which will be the new owner of the deal.
         
     | 
| 
       149 
153 
     | 
    
         
             
             * @member {Number} user_id
         
     | 
| 
       150 
154 
     | 
    
         
             
             */
         
     | 
| 
       151 
155 
     | 
    
         
             
            UpdateDealRequest.prototype['user_id'] = undefined;
         
     | 
| 
       152 
156 
     | 
    
         | 
| 
       153 
157 
     | 
    
         
             
            /**
         
     | 
| 
       154 
     | 
    
         
            -
             * The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first. 
     | 
| 
      
 158 
     | 
    
         
            +
             * The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first.
         
     | 
| 
       155 
159 
     | 
    
         
             
             * @member {Number} person_id
         
     | 
| 
       156 
160 
     | 
    
         
             
             */
         
     | 
| 
       157 
161 
     | 
    
         
             
            UpdateDealRequest.prototype['person_id'] = undefined;
         
     | 
| 
       158 
162 
     | 
    
         | 
| 
       159 
163 
     | 
    
         
             
            /**
         
     | 
| 
       160 
     | 
    
         
            -
             * The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first. 
     | 
| 
      
 164 
     | 
    
         
            +
             * The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first.
         
     | 
| 
       161 
165 
     | 
    
         
             
             * @member {Number} org_id
         
     | 
| 
       162 
166 
     | 
    
         
             
             */
         
     | 
| 
       163 
167 
     | 
    
         
             
            UpdateDealRequest.prototype['org_id'] = undefined;
         
     | 
| 
         @@ -169,13 +173,13 @@ UpdateDealRequest.prototype['org_id'] = undefined; 
     | 
|
| 
       169 
173 
     | 
    
         
             
            UpdateDealRequest.prototype['pipeline_id'] = undefined;
         
     | 
| 
       170 
174 
     | 
    
         | 
| 
       171 
175 
     | 
    
         
             
            /**
         
     | 
| 
       172 
     | 
    
         
            -
             * The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`. 
     | 
| 
      
 176 
     | 
    
         
            +
             * The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`.
         
     | 
| 
       173 
177 
     | 
    
         
             
             * @member {Number} stage_id
         
     | 
| 
       174 
178 
     | 
    
         
             
             */
         
     | 
| 
       175 
179 
     | 
    
         
             
            UpdateDealRequest.prototype['stage_id'] = undefined;
         
     | 
| 
       176 
180 
     | 
    
         | 
| 
       177 
181 
     | 
    
         
             
            /**
         
     | 
| 
       178 
     | 
    
         
            -
             * open = Open, won = Won, lost = Lost, deleted = Deleted. 
     | 
| 
      
 182 
     | 
    
         
            +
             * open = Open, won = Won, lost = Lost, deleted = Deleted.
         
     | 
| 
       179 
183 
     | 
    
         
             
             * @member {module:model/UpdateDealRequest.StatusEnum} status
         
     | 
| 
       180 
184 
     | 
    
         
             
             */
         
     | 
| 
       181 
185 
     | 
    
         
             
            UpdateDealRequest.prototype['status'] = undefined;
         
     | 
| 
         @@ -210,47 +214,48 @@ UpdateDealRequest.prototype['visible_to'] = undefined; 
     | 
|
| 
       210 
214 
     | 
    
         
             
             * @member {String} title
         
     | 
| 
       211 
215 
     | 
    
         
             
             */
         
     | 
| 
       212 
216 
     | 
    
         
             
            _DealTitleParameter["default"].prototype['title'] = undefined;
         
     | 
| 
       213 
     | 
    
         
            -
            // Implement  
     | 
| 
      
 217 
     | 
    
         
            +
            // Implement UpdateDealParameters interface:
         
     | 
| 
       214 
218 
     | 
    
         
             
            /**
         
     | 
| 
       215 
     | 
    
         
            -
             * The value of the deal. 
     | 
| 
      
 219 
     | 
    
         
            +
             * The value of the deal.
         
     | 
| 
       216 
220 
     | 
    
         
             
             * @member {String} value
         
     | 
| 
       217 
221 
     | 
    
         
             
             */
         
     | 
| 
       218 
     | 
    
         
            -
             
     | 
| 
      
 222 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['value'] = undefined;
         
     | 
| 
       219 
223 
     | 
    
         
             
            /**
         
     | 
| 
       220 
     | 
    
         
            -
             * The currency of the deal. Accepts a 3-character currency code. 
     | 
| 
      
 224 
     | 
    
         
            +
             * The currency of the deal. Accepts a 3-character currency code.
         
     | 
| 
       221 
225 
     | 
    
         
             
             * @member {String} currency
         
     | 
| 
       222 
226 
     | 
    
         
             
             */
         
     | 
| 
       223 
     | 
    
         
            -
             
     | 
| 
      
 227 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['currency'] = undefined;
         
     | 
| 
       224 
228 
     | 
    
         
             
            /**
         
     | 
| 
       225 
     | 
    
         
            -
             * The ID of the user which will be the owner of the  
     | 
| 
      
 229 
     | 
    
         
            +
             * The ID of the user which will be the new owner of the deal.
         
     | 
| 
       226 
230 
     | 
    
         
             
             * @member {Number} user_id
         
     | 
| 
       227 
231 
     | 
    
         
             
             */
         
     | 
| 
       228 
     | 
    
         
            -
             
     | 
| 
      
 232 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['user_id'] = undefined;
         
     | 
| 
       229 
233 
     | 
    
         
             
            /**
         
     | 
| 
       230 
     | 
    
         
            -
             * The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first. 
     | 
| 
      
 234 
     | 
    
         
            +
             * The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first.
         
     | 
| 
       231 
235 
     | 
    
         
             
             * @member {Number} person_id
         
     | 
| 
       232 
236 
     | 
    
         
             
             */
         
     | 
| 
       233 
     | 
    
         
            -
             
     | 
| 
      
 237 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['person_id'] = undefined;
         
     | 
| 
       234 
238 
     | 
    
         
             
            /**
         
     | 
| 
       235 
     | 
    
         
            -
             * The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first. 
     | 
| 
      
 239 
     | 
    
         
            +
             * The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first.
         
     | 
| 
       236 
240 
     | 
    
         
             
             * @member {Number} org_id
         
     | 
| 
       237 
241 
     | 
    
         
             
             */
         
     | 
| 
       238 
     | 
    
         
            -
             
     | 
| 
      
 242 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['org_id'] = undefined;
         
     | 
| 
       239 
243 
     | 
    
         
             
            /**
         
     | 
| 
       240 
244 
     | 
    
         
             
             * The ID of the pipeline this deal will be added to. By default, the deal will be added to the first stage of the specified pipeline. Please note that `pipeline_id` and `stage_id` should not be used together as `pipeline_id` will be ignored.
         
     | 
| 
       241 
245 
     | 
    
         
             
             * @member {Number} pipeline_id
         
     | 
| 
       242 
246 
     | 
    
         
             
             */
         
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
      
 247 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['pipeline_id'] = undefined;
         
     | 
| 
       244 
248 
     | 
    
         
             
            /**
         
     | 
| 
       245 
     | 
    
         
            -
             * The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`. 
     | 
| 
      
 249 
     | 
    
         
            +
             * The ID of the stage this deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`.
         
     | 
| 
       246 
250 
     | 
    
         
             
             * @member {Number} stage_id
         
     | 
| 
       247 
251 
     | 
    
         
             
             */
         
     | 
| 
       248 
     | 
    
         
            -
             
     | 
| 
      
 252 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['stage_id'] = undefined;
         
     | 
| 
       249 
253 
     | 
    
         
             
            /**
         
     | 
| 
       250 
     | 
    
         
            -
             * open = Open, won = Won, lost = Lost, deleted = Deleted. 
     | 
| 
       251 
     | 
    
         
            -
             * @member {module:model/ 
     | 
| 
      
 254 
     | 
    
         
            +
             * open = Open, won = Won, lost = Lost, deleted = Deleted.
         
     | 
| 
      
 255 
     | 
    
         
            +
             * @member {module:model/UpdateDealParameters.StatusEnum} status
         
     | 
| 
       252 
256 
     | 
    
         
             
             */
         
     | 
| 
       253 
     | 
    
         
            -
             
     | 
| 
      
 257 
     | 
    
         
            +
            _UpdateDealParameters["default"].prototype['status'] = undefined;
         
     | 
| 
      
 258 
     | 
    
         
            +
            // Implement BasicDeal interface:
         
     | 
| 
       254 
259 
     | 
    
         
             
            /**
         
     | 
| 
       255 
260 
     | 
    
         
             
             * The expected close date of the deal. In ISO 8601 format: YYYY-MM-DD.
         
     | 
| 
       256 
261 
     | 
    
         
             
             * @member {Date} expected_close_date
         
     |