pipedrive 22.2.0 → 22.3.1-rc.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 +414 -1175
 - package/dist/api/ProjectTemplatesApi.js +258 -0
 - package/dist/api/ProjectsApi.js +846 -0
 - package/dist/api/TasksApi.js +328 -0
 - package/dist/index.js +371 -0
 - package/dist/model/AddProjectResponse201.js +96 -0
 - package/dist/model/AddTaskResponse201.js +96 -0
 - package/dist/model/DeleteProject.js +88 -0
 - package/dist/model/DeleteProjectData.js +78 -0
 - package/dist/model/DeleteProjectResponse200.js +96 -0
 - package/dist/model/DeleteTask.js +88 -0
 - package/dist/model/DeleteTaskData.js +78 -0
 - package/dist/model/DeleteTaskResponse200.js +96 -0
 - package/dist/model/FilterType.js +1 -0
 - package/dist/model/FullProjectObject.js +324 -0
 - package/dist/model/FullTaskObject.js +250 -0
 - package/dist/model/GetProjectBoardResponse200.js +96 -0
 - package/dist/model/GetProjectBoardsResponse200.js +96 -0
 - package/dist/model/GetProjectGroupsResponse200.js +96 -0
 - package/dist/model/GetProjectPhaseResponse200.js +96 -0
 - package/dist/model/GetProjectPhasesResponse200.js +96 -0
 - package/dist/model/GetProjectPlanResponse200.js +96 -0
 - package/dist/model/GetProjectResponse200.js +96 -0
 - package/dist/model/GetProjectTemplateResponse200.js +96 -0
 - package/dist/model/GetProjectTemplatesResponse200.js +97 -0
 - package/dist/model/GetProjectsResponse200.js +97 -0
 - package/dist/model/GetTaskResponse200.js +96 -0
 - package/dist/model/GetTasksResponse200.js +97 -0
 - package/dist/model/ProjectBoardObject.js +118 -0
 - package/dist/model/ProjectGroupsObject.js +98 -0
 - package/dist/model/ProjectId.js +78 -0
 - package/dist/model/ProjectMandatoryObjectFragment.js +98 -0
 - package/dist/model/ProjectNotChangeableObjectFragment.js +108 -0
 - package/dist/model/ProjectObjectFragment.js +158 -0
 - package/dist/model/ProjectPhaseObject.js +128 -0
 - package/dist/model/ProjectPlanItemObject.js +108 -0
 - package/dist/model/ProjectPostObject.js +286 -0
 - package/dist/model/ProjectPostObjectAllOf.js +78 -0
 - package/dist/model/ProjectPutObject.js +259 -0
 - package/dist/model/ProjectPutPlanItemBodyObject.js +88 -0
 - package/dist/model/ProjectResponseObject.js +334 -0
 - package/dist/model/RequiredPostProjectParameters.js +105 -0
 - package/dist/model/RequiredPostTaskParameters.js +93 -0
 - package/dist/model/TaskId.js +78 -0
 - package/dist/model/TaskMandatoryObjectFragment.js +88 -0
 - package/dist/model/TaskNotChangeableObjectFragment.js +108 -0
 - package/dist/model/TaskObjectFragment.js +119 -0
 - package/dist/model/TaskPostObject.js +190 -0
 - package/dist/model/TaskPutObject.js +185 -0
 - package/dist/model/TaskResponseObject.js +260 -0
 - package/dist/model/TemplateObject.js +138 -0
 - package/dist/model/TemplateResponseObject.js +179 -0
 - package/dist/model/UpdateProjectResponse200.js +96 -0
 - package/dist/model/UpdateTaskResponse200.js +96 -0
 - package/dist/model/UpdatedActivityPlanItem200.js +96 -0
 - package/dist/model/UpdatedTaskPlanItem200.js +96 -0
 - package/package.json +1 -2
 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectBoardObject = _interopRequireDefault(require("./ProjectBoardObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectBoardsResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectBoardsResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectBoardsResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectBoardsResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectBoardsResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectBoardsResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectBoardsResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectBoardsResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectBoardsResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectBoardsResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectBoardsResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectBoardsResponse200} The populated <code>GetProjectBoardsResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectBoardsResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ProjectBoardObject["default"]]);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectBoardsResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectBoardsResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {Array.<module:model/ProjectBoardObject>} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectBoardsResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectBoardsResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectBoardsResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectGroupsObject = _interopRequireDefault(require("./ProjectGroupsObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectGroupsResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectGroupsResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectGroupsResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectGroupsResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectGroupsResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectGroupsResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectGroupsResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectGroupsResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectGroupsResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectGroupsResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectGroupsResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectGroupsResponse200} The populated <code>GetProjectGroupsResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectGroupsResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ProjectGroupsObject["default"]]);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectGroupsResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectGroupsResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {Array.<module:model/ProjectGroupsObject>} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectGroupsResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectGroupsResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectGroupsResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectPhaseObject = _interopRequireDefault(require("./ProjectPhaseObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectPhaseResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectPhaseResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectPhaseResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectPhaseResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectPhaseResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectPhaseResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectPhaseResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectPhaseResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectPhaseResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectPhaseResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectPhaseResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectPhaseResponse200} The populated <code>GetProjectPhaseResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectPhaseResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ProjectPhaseObject["default"].constructFromObject(data['data']);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectPhaseResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectPhaseResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {module:model/ProjectPhaseObject} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectPhaseResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectPhaseResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectPhaseResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectPhaseObject = _interopRequireDefault(require("./ProjectPhaseObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectPhasesResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectPhasesResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectPhasesResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectPhasesResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectPhasesResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectPhasesResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectPhasesResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectPhasesResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectPhasesResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectPhasesResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectPhasesResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectPhasesResponse200} The populated <code>GetProjectPhasesResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectPhasesResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ProjectPhaseObject["default"]]);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectPhasesResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectPhasesResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {Array.<module:model/ProjectPhaseObject>} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectPhasesResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectPhasesResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectPhasesResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectPlanItemObject = _interopRequireDefault(require("./ProjectPlanItemObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectPlanResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectPlanResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectPlanResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectPlanResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectPlanResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectPlanResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectPlanResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectPlanResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectPlanResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectPlanResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectPlanResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectPlanResponse200} The populated <code>GetProjectPlanResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectPlanResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ProjectPlanItemObject["default"]]);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectPlanResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectPlanResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {Array.<module:model/ProjectPlanItemObject>} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectPlanResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectPlanResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectPlanResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _ProjectResponseObject = _interopRequireDefault(require("./ProjectResponseObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectResponse200} The populated <code>GetProjectResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _ProjectResponseObject["default"].constructFromObject(data['data']);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {module:model/ProjectResponseObject} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     | 
| 
         @@ -0,0 +1,96 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
         
     | 
| 
      
 4 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", {
         
     | 
| 
      
 5 
     | 
    
         
            +
              value: true
         
     | 
| 
      
 6 
     | 
    
         
            +
            });
         
     | 
| 
      
 7 
     | 
    
         
            +
            exports["default"] = void 0;
         
     | 
| 
      
 8 
     | 
    
         
            +
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         
     | 
| 
      
 11 
     | 
    
         
            +
            var _TemplateResponseObject = _interopRequireDefault(require("./TemplateResponseObject"));
         
     | 
| 
      
 12 
     | 
    
         
            +
            /**
         
     | 
| 
      
 13 
     | 
    
         
            +
             * Pipedrive API v1
         
     | 
| 
      
 14 
     | 
    
         
            +
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         
     | 
| 
      
 15 
     | 
    
         
            +
             *
         
     | 
| 
      
 16 
     | 
    
         
            +
             * The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 17 
     | 
    
         
            +
             * 
         
     | 
| 
      
 18 
     | 
    
         
            +
             *
         
     | 
| 
      
 19 
     | 
    
         
            +
             * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
         
     | 
| 
      
 20 
     | 
    
         
            +
             * https://openapi-generator.tech
         
     | 
| 
      
 21 
     | 
    
         
            +
             * Do not edit the class manually.
         
     | 
| 
      
 22 
     | 
    
         
            +
             *
         
     | 
| 
      
 23 
     | 
    
         
            +
             */
         
     | 
| 
      
 24 
     | 
    
         
            +
            /**
         
     | 
| 
      
 25 
     | 
    
         
            +
             * The GetProjectTemplateResponse200 model module.
         
     | 
| 
      
 26 
     | 
    
         
            +
             * @module model/GetProjectTemplateResponse200
         
     | 
| 
      
 27 
     | 
    
         
            +
             * @version 1.0.0
         
     | 
| 
      
 28 
     | 
    
         
            +
             */
         
     | 
| 
      
 29 
     | 
    
         
            +
            var GetProjectTemplateResponse200 = /*#__PURE__*/function () {
         
     | 
| 
      
 30 
     | 
    
         
            +
              /**
         
     | 
| 
      
 31 
     | 
    
         
            +
               * Constructs a new <code>GetProjectTemplateResponse200</code>.
         
     | 
| 
      
 32 
     | 
    
         
            +
               * @alias module:model/GetProjectTemplateResponse200
         
     | 
| 
      
 33 
     | 
    
         
            +
               */
         
     | 
| 
      
 34 
     | 
    
         
            +
              function GetProjectTemplateResponse200() {
         
     | 
| 
      
 35 
     | 
    
         
            +
                (0, _classCallCheck2["default"])(this, GetProjectTemplateResponse200);
         
     | 
| 
      
 36 
     | 
    
         
            +
                GetProjectTemplateResponse200.initialize(this);
         
     | 
| 
      
 37 
     | 
    
         
            +
              }
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
              /**
         
     | 
| 
      
 40 
     | 
    
         
            +
               * Initializes the fields of this object.
         
     | 
| 
      
 41 
     | 
    
         
            +
               * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
         
     | 
| 
      
 42 
     | 
    
         
            +
               * Only for internal use.
         
     | 
| 
      
 43 
     | 
    
         
            +
               */
         
     | 
| 
      
 44 
     | 
    
         
            +
              (0, _createClass2["default"])(GetProjectTemplateResponse200, null, [{
         
     | 
| 
      
 45 
     | 
    
         
            +
                key: "initialize",
         
     | 
| 
      
 46 
     | 
    
         
            +
                value: function initialize(obj) {}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                /**
         
     | 
| 
      
 49 
     | 
    
         
            +
                 * Constructs a <code>GetProjectTemplateResponse200</code> from a plain JavaScript object, optionally creating a new instance.
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
         
     | 
| 
      
 51 
     | 
    
         
            +
                 * @param {Object} data The plain JavaScript object bearing properties of interest.
         
     | 
| 
      
 52 
     | 
    
         
            +
                 * @param {module:model/GetProjectTemplateResponse200} obj Optional instance to populate.
         
     | 
| 
      
 53 
     | 
    
         
            +
                 * @return {module:model/GetProjectTemplateResponse200} The populated <code>GetProjectTemplateResponse200</code> instance.
         
     | 
| 
      
 54 
     | 
    
         
            +
                 */
         
     | 
| 
      
 55 
     | 
    
         
            +
              }, {
         
     | 
| 
      
 56 
     | 
    
         
            +
                key: "constructFromObject",
         
     | 
| 
      
 57 
     | 
    
         
            +
                value: function constructFromObject(data, obj) {
         
     | 
| 
      
 58 
     | 
    
         
            +
                  if (data) {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    obj = obj || new GetProjectTemplateResponse200();
         
     | 
| 
      
 60 
     | 
    
         
            +
                    if (data.hasOwnProperty('success')) {
         
     | 
| 
      
 61 
     | 
    
         
            +
                      obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
         
     | 
| 
      
 62 
     | 
    
         
            +
                      delete data['success'];
         
     | 
| 
      
 63 
     | 
    
         
            +
                    }
         
     | 
| 
      
 64 
     | 
    
         
            +
                    if (data.hasOwnProperty('data')) {
         
     | 
| 
      
 65 
     | 
    
         
            +
                      obj['data'] = _TemplateResponseObject["default"].constructFromObject(data['data']);
         
     | 
| 
      
 66 
     | 
    
         
            +
                      delete data['data'];
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                    if (data.hasOwnProperty('additional_data')) {
         
     | 
| 
      
 69 
     | 
    
         
            +
                      obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
         
     | 
| 
      
 70 
     | 
    
         
            +
                      delete data['additional_data'];
         
     | 
| 
      
 71 
     | 
    
         
            +
                    }
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (Object.keys(data).length > 0) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                      Object.assign(obj, data);
         
     | 
| 
      
 74 
     | 
    
         
            +
                    }
         
     | 
| 
      
 75 
     | 
    
         
            +
                  }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  return obj;
         
     | 
| 
      
 77 
     | 
    
         
            +
                }
         
     | 
| 
      
 78 
     | 
    
         
            +
              }]);
         
     | 
| 
      
 79 
     | 
    
         
            +
              return GetProjectTemplateResponse200;
         
     | 
| 
      
 80 
     | 
    
         
            +
            }();
         
     | 
| 
      
 81 
     | 
    
         
            +
            /**
         
     | 
| 
      
 82 
     | 
    
         
            +
             * @member {Boolean} success
         
     | 
| 
      
 83 
     | 
    
         
            +
             */
         
     | 
| 
      
 84 
     | 
    
         
            +
            GetProjectTemplateResponse200.prototype['success'] = undefined;
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            /**
         
     | 
| 
      
 87 
     | 
    
         
            +
             * @member {module:model/TemplateResponseObject} data
         
     | 
| 
      
 88 
     | 
    
         
            +
             */
         
     | 
| 
      
 89 
     | 
    
         
            +
            GetProjectTemplateResponse200.prototype['data'] = undefined;
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
            /**
         
     | 
| 
      
 92 
     | 
    
         
            +
             * @member {Object} additional_data
         
     | 
| 
      
 93 
     | 
    
         
            +
             */
         
     | 
| 
      
 94 
     | 
    
         
            +
            GetProjectTemplateResponse200.prototype['additional_data'] = undefined;
         
     | 
| 
      
 95 
     | 
    
         
            +
            var _default = GetProjectTemplateResponse200;
         
     | 
| 
      
 96 
     | 
    
         
            +
            exports["default"] = _default;
         
     |