pipedrive 22.6.0 → 22.7.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 -6
- package/dist/ApiClient.js +8 -4
- package/dist/api/ActivitiesApi.js +12 -1
- package/dist/api/ActivityFieldsApi.js +12 -1
- package/dist/api/ActivityTypesApi.js +12 -1
- package/dist/api/BillingApi.js +12 -1
- package/dist/api/CallLogsApi.js +12 -1
- package/dist/api/ChannelsApi.js +12 -1
- package/dist/api/CurrenciesApi.js +12 -1
- package/dist/api/DealFieldsApi.js +12 -1
- package/dist/api/DealsApi.js +12 -1
- package/dist/api/FilesApi.js +12 -1
- package/dist/api/FiltersApi.js +12 -1
- package/dist/api/GlobalMessagesApi.js +12 -1
- package/dist/api/GoalsApi.js +12 -1
- package/dist/api/ItemSearchApi.js +12 -1
- package/dist/api/LeadLabelsApi.js +12 -1
- package/dist/api/LeadSourcesApi.js +12 -1
- package/dist/api/LeadsApi.js +12 -1
- package/dist/api/LegacyTeamsApi.js +12 -1
- package/dist/api/MailboxApi.js +12 -1
- package/dist/api/MeetingsApi.js +12 -1
- package/dist/api/NoteFieldsApi.js +12 -1
- package/dist/api/NotesApi.js +12 -1
- package/dist/api/OrganizationFieldsApi.js +12 -1
- package/dist/api/OrganizationRelationshipsApi.js +12 -1
- package/dist/api/OrganizationsApi.js +12 -1
- package/dist/api/PermissionSetsApi.js +12 -1
- package/dist/api/PersonFieldsApi.js +12 -1
- package/dist/api/PersonsApi.js +12 -1
- package/dist/api/PipelinesApi.js +12 -1
- package/dist/api/ProductFieldsApi.js +12 -1
- package/dist/api/ProductsApi.js +12 -1
- package/dist/api/ProjectTemplatesApi.js +12 -1
- package/dist/api/ProjectsApi.js +12 -1
- package/dist/api/RecentsApi.js +12 -1
- package/dist/api/RolesApi.js +12 -1
- package/dist/api/SearchResultsApi.js +12 -1
- package/dist/api/StagesApi.js +12 -1
- package/dist/api/SubscriptionsApi.js +12 -1
- package/dist/api/TasksApi.js +12 -1
- package/dist/api/TeamsApi.js +12 -1
- package/dist/api/UserConnectionsApi.js +12 -1
- package/dist/api/UserSettingsApi.js +12 -1
- package/dist/api/UsersApi.js +12 -1
- package/dist/api/WebhooksApi.js +12 -1
- package/dist/index.js +63 -42
- package/dist/model/AddProductAttachmentDetails.js +60 -23
- package/dist/model/AddProductRequestBody.js +50 -14
- package/dist/model/AddProductRequestBodyAllOf.js +78 -0
- package/dist/model/BaseProduct.js +60 -1
- package/dist/model/BaseUser.js +10 -0
- package/dist/model/BaseUserMe.js +15 -0
- package/dist/model/BasicDealProduct.js +139 -16
- package/dist/model/BasicDealProductAllOf.js +235 -0
- package/dist/model/BillingFrequency.js +86 -0
- package/dist/model/BillingFrequency1.js +86 -0
- package/dist/model/DealProductRequestBody.js +235 -0
- package/dist/model/DealProductUnitDuration.js +20 -0
- package/dist/model/Field.js +10 -0
- package/dist/model/FieldTypeAsString.js +68 -0
- package/dist/model/FilterType.js +28 -0
- package/dist/model/IconKey.js +160 -0
- package/dist/model/LeadLabelColor.js +24 -0
- package/dist/model/ListPermittedUsersResponse.js +0 -19
- package/dist/model/MarketingStatus.js +16 -0
- package/dist/model/NameObject.js +78 -0
- package/dist/model/NewDealProduct.js +95 -43
- package/dist/model/NewDealProductAllOf.js +9 -12
- package/dist/model/NewDealProductAllOf1.js +78 -0
- package/dist/model/NewDealProductAllOf2.js +78 -0
- package/dist/model/NumberBoolean.js +8 -0
- package/dist/model/NumberBooleanDefault0.js +8 -0
- package/dist/model/NumberBooleanDefault1.js +8 -0
- package/dist/model/PersonListProduct.js +1 -1
- package/dist/model/ProductAttachmentDetails.js +60 -23
- package/dist/model/ProductField.js +15 -0
- package/dist/model/ProductFieldAllOf.js +10 -0
- package/dist/model/ProductListItem.js +6 -6
- package/dist/model/ProductRequest.js +1 -1
- package/dist/model/ProductWithArrayPrices.js +72 -2
- package/dist/model/UpdateDealProduct.js +135 -5
- package/dist/model/UpdateProductRequestBody.js +50 -14
- package/dist/model/UpdateProductResponse.js +3 -3
- package/dist/model/VisibleTo.js +16 -0
- package/package.json +1 -1
| @@ -8,6 +8,7 @@ exports["default"] = void 0; | |
| 8 8 | 
             
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         | 
| 9 9 | 
             
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         | 
| 10 10 | 
             
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         | 
| 11 | 
            +
            var _BillingFrequency = _interopRequireDefault(require("./BillingFrequency"));
         | 
| 11 12 | 
             
            /**
         | 
| 12 13 | 
             
             * Pipedrive API v1
         | 
| 13 14 | 
             
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         | 
| @@ -29,11 +30,10 @@ var NewDealProductAllOf = /*#__PURE__*/function () { | |
| 29 30 | 
             
              /**
         | 
| 30 31 | 
             
               * Constructs a new <code>NewDealProductAllOf</code>.
         | 
| 31 32 | 
             
               * @alias module:model/NewDealProductAllOf
         | 
| 32 | 
            -
               * @param productId {Number} The ID of the product that will be attached
         | 
| 33 33 | 
             
               */
         | 
| 34 | 
            -
              function NewDealProductAllOf( | 
| 34 | 
            +
              function NewDealProductAllOf() {
         | 
| 35 35 | 
             
                (0, _classCallCheck2["default"])(this, NewDealProductAllOf);
         | 
| 36 | 
            -
                NewDealProductAllOf.initialize(this | 
| 36 | 
            +
                NewDealProductAllOf.initialize(this);
         | 
| 37 37 | 
             
              }
         | 
| 38 38 |  | 
| 39 39 | 
             
              /**
         | 
| @@ -43,9 +43,7 @@ var NewDealProductAllOf = /*#__PURE__*/function () { | |
| 43 43 | 
             
               */
         | 
| 44 44 | 
             
              (0, _createClass2["default"])(NewDealProductAllOf, null, [{
         | 
| 45 45 | 
             
                key: "initialize",
         | 
| 46 | 
            -
                value: function initialize(obj | 
| 47 | 
            -
                  obj['product_id'] = productId;
         | 
| 48 | 
            -
                }
         | 
| 46 | 
            +
                value: function initialize(obj) {}
         | 
| 49 47 |  | 
| 50 48 | 
             
                /**
         | 
| 51 49 | 
             
                 * Constructs a <code>NewDealProductAllOf</code> from a plain JavaScript object, optionally creating a new instance.
         | 
| @@ -59,9 +57,9 @@ var NewDealProductAllOf = /*#__PURE__*/function () { | |
| 59 57 | 
             
                value: function constructFromObject(data, obj) {
         | 
| 60 58 | 
             
                  if (data) {
         | 
| 61 59 | 
             
                    obj = obj || new NewDealProductAllOf();
         | 
| 62 | 
            -
                    if (data.hasOwnProperty(' | 
| 63 | 
            -
                      obj[' | 
| 64 | 
            -
                      delete data[' | 
| 60 | 
            +
                    if (data.hasOwnProperty('billing_frequency')) {
         | 
| 61 | 
            +
                      obj['billing_frequency'] = _BillingFrequency["default"].constructFromObject(data['billing_frequency']);
         | 
| 62 | 
            +
                      delete data['billing_frequency'];
         | 
| 65 63 | 
             
                    }
         | 
| 66 64 | 
             
                    if (Object.keys(data).length > 0) {
         | 
| 67 65 | 
             
                      Object.assign(obj, data);
         | 
| @@ -73,9 +71,8 @@ var NewDealProductAllOf = /*#__PURE__*/function () { | |
| 73 71 | 
             
              return NewDealProductAllOf;
         | 
| 74 72 | 
             
            }();
         | 
| 75 73 | 
             
            /**
         | 
| 76 | 
            -
             *  | 
| 77 | 
            -
             * @member {Number} product_id
         | 
| 74 | 
            +
             * @member {module:model/BillingFrequency} billing_frequency
         | 
| 78 75 | 
             
             */
         | 
| 79 | 
            -
            NewDealProductAllOf.prototype[' | 
| 76 | 
            +
            NewDealProductAllOf.prototype['billing_frequency'] = undefined;
         | 
| 80 77 | 
             
            var _default = NewDealProductAllOf;
         | 
| 81 78 | 
             
            exports["default"] = _default;
         | 
| @@ -0,0 +1,78 @@ | |
| 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 NewDealProductAllOf1 model module.
         | 
| 25 | 
            +
             * @module model/NewDealProductAllOf1
         | 
| 26 | 
            +
             * @version 1.0.0
         | 
| 27 | 
            +
             */
         | 
| 28 | 
            +
            var NewDealProductAllOf1 = /*#__PURE__*/function () {
         | 
| 29 | 
            +
              /**
         | 
| 30 | 
            +
               * Constructs a new <code>NewDealProductAllOf1</code>.
         | 
| 31 | 
            +
               * @alias module:model/NewDealProductAllOf1
         | 
| 32 | 
            +
               */
         | 
| 33 | 
            +
              function NewDealProductAllOf1() {
         | 
| 34 | 
            +
                (0, _classCallCheck2["default"])(this, NewDealProductAllOf1);
         | 
| 35 | 
            +
                NewDealProductAllOf1.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"])(NewDealProductAllOf1, null, [{
         | 
| 44 | 
            +
                key: "initialize",
         | 
| 45 | 
            +
                value: function initialize(obj) {}
         | 
| 46 | 
            +
             | 
| 47 | 
            +
                /**
         | 
| 48 | 
            +
                 * Constructs a <code>NewDealProductAllOf1</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/NewDealProductAllOf1} obj Optional instance to populate.
         | 
| 52 | 
            +
                 * @return {module:model/NewDealProductAllOf1} The populated <code>NewDealProductAllOf1</code> instance.
         | 
| 53 | 
            +
                 */
         | 
| 54 | 
            +
              }, {
         | 
| 55 | 
            +
                key: "constructFromObject",
         | 
| 56 | 
            +
                value: function constructFromObject(data, obj) {
         | 
| 57 | 
            +
                  if (data) {
         | 
| 58 | 
            +
                    obj = obj || new NewDealProductAllOf1();
         | 
| 59 | 
            +
                    if (data.hasOwnProperty('billing_frequency_cycles')) {
         | 
| 60 | 
            +
                      obj['billing_frequency_cycles'] = _ApiClient["default"].convertToType(data['billing_frequency_cycles'], 'Number');
         | 
| 61 | 
            +
                      delete data['billing_frequency_cycles'];
         | 
| 62 | 
            +
                    }
         | 
| 63 | 
            +
                    if (Object.keys(data).length > 0) {
         | 
| 64 | 
            +
                      Object.assign(obj, data);
         | 
| 65 | 
            +
                    }
         | 
| 66 | 
            +
                  }
         | 
| 67 | 
            +
                  return obj;
         | 
| 68 | 
            +
                }
         | 
| 69 | 
            +
              }]);
         | 
| 70 | 
            +
              return NewDealProductAllOf1;
         | 
| 71 | 
            +
            }();
         | 
| 72 | 
            +
            /**
         | 
| 73 | 
            +
             * Only available in Advanced and above plans  The number of times the billing frequency repeats for a product in a deal  When `billing_frequency` is set to `one-time`, this field must be `null`  For all the other values of `billing_frequency`, `null` represents a product billed indefinitely  Must be a positive integer less or equal to 312 
         | 
| 74 | 
            +
             * @member {Number} billing_frequency_cycles
         | 
| 75 | 
            +
             */
         | 
| 76 | 
            +
            NewDealProductAllOf1.prototype['billing_frequency_cycles'] = undefined;
         | 
| 77 | 
            +
            var _default = NewDealProductAllOf1;
         | 
| 78 | 
            +
            exports["default"] = _default;
         | 
| @@ -0,0 +1,78 @@ | |
| 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 NewDealProductAllOf2 model module.
         | 
| 25 | 
            +
             * @module model/NewDealProductAllOf2
         | 
| 26 | 
            +
             * @version 1.0.0
         | 
| 27 | 
            +
             */
         | 
| 28 | 
            +
            var NewDealProductAllOf2 = /*#__PURE__*/function () {
         | 
| 29 | 
            +
              /**
         | 
| 30 | 
            +
               * Constructs a new <code>NewDealProductAllOf2</code>.
         | 
| 31 | 
            +
               * @alias module:model/NewDealProductAllOf2
         | 
| 32 | 
            +
               */
         | 
| 33 | 
            +
              function NewDealProductAllOf2() {
         | 
| 34 | 
            +
                (0, _classCallCheck2["default"])(this, NewDealProductAllOf2);
         | 
| 35 | 
            +
                NewDealProductAllOf2.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"])(NewDealProductAllOf2, null, [{
         | 
| 44 | 
            +
                key: "initialize",
         | 
| 45 | 
            +
                value: function initialize(obj) {}
         | 
| 46 | 
            +
             | 
| 47 | 
            +
                /**
         | 
| 48 | 
            +
                 * Constructs a <code>NewDealProductAllOf2</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/NewDealProductAllOf2} obj Optional instance to populate.
         | 
| 52 | 
            +
                 * @return {module:model/NewDealProductAllOf2} The populated <code>NewDealProductAllOf2</code> instance.
         | 
| 53 | 
            +
                 */
         | 
| 54 | 
            +
              }, {
         | 
| 55 | 
            +
                key: "constructFromObject",
         | 
| 56 | 
            +
                value: function constructFromObject(data, obj) {
         | 
| 57 | 
            +
                  if (data) {
         | 
| 58 | 
            +
                    obj = obj || new NewDealProductAllOf2();
         | 
| 59 | 
            +
                    if (data.hasOwnProperty('billing_start_date')) {
         | 
| 60 | 
            +
                      obj['billing_start_date'] = _ApiClient["default"].convertToType(data['billing_start_date'], 'String');
         | 
| 61 | 
            +
                      delete data['billing_start_date'];
         | 
| 62 | 
            +
                    }
         | 
| 63 | 
            +
                    if (Object.keys(data).length > 0) {
         | 
| 64 | 
            +
                      Object.assign(obj, data);
         | 
| 65 | 
            +
                    }
         | 
| 66 | 
            +
                  }
         | 
| 67 | 
            +
                  return obj;
         | 
| 68 | 
            +
                }
         | 
| 69 | 
            +
              }]);
         | 
| 70 | 
            +
              return NewDealProductAllOf2;
         | 
| 71 | 
            +
            }();
         | 
| 72 | 
            +
            /**
         | 
| 73 | 
            +
             * Only available in Advanced and above plans  The billing start date. Must be between 15 years in the past and 15 years in the future 
         | 
| 74 | 
            +
             * @member {String} billing_start_date
         | 
| 75 | 
            +
             */
         | 
| 76 | 
            +
            NewDealProductAllOf2.prototype['billing_start_date'] = undefined;
         | 
| 77 | 
            +
            var _default = NewDealProductAllOf2;
         | 
| 78 | 
            +
            exports["default"] = _default;
         | 
| @@ -32,6 +32,14 @@ var NumberBoolean = /*#__PURE__*/function () { | |
| 32 32 | 
             
                (0, _defineProperty2["default"])(this, "0", 0);
         | 
| 33 33 | 
             
                (0, _defineProperty2["default"])(this, "1", 1);
         | 
| 34 34 | 
             
              }
         | 
| 35 | 
            +
              /**
         | 
| 36 | 
            +
               * value: 0
         | 
| 37 | 
            +
               * @const
         | 
| 38 | 
            +
               */
         | 
| 39 | 
            +
              /**
         | 
| 40 | 
            +
               * value: 1
         | 
| 41 | 
            +
               * @const
         | 
| 42 | 
            +
               */
         | 
| 35 43 | 
             
              (0, _createClass2["default"])(NumberBoolean, null, [{
         | 
| 36 44 | 
             
                key: "constructFromObject",
         | 
| 37 45 | 
             
                value:
         | 
| @@ -32,6 +32,14 @@ var NumberBooleanDefault0 = /*#__PURE__*/function () { | |
| 32 32 | 
             
                (0, _defineProperty2["default"])(this, "0", 0);
         | 
| 33 33 | 
             
                (0, _defineProperty2["default"])(this, "1", 1);
         | 
| 34 34 | 
             
              }
         | 
| 35 | 
            +
              /**
         | 
| 36 | 
            +
               * value: 0
         | 
| 37 | 
            +
               * @const
         | 
| 38 | 
            +
               */
         | 
| 39 | 
            +
              /**
         | 
| 40 | 
            +
               * value: 1
         | 
| 41 | 
            +
               * @const
         | 
| 42 | 
            +
               */
         | 
| 35 43 | 
             
              (0, _createClass2["default"])(NumberBooleanDefault0, null, [{
         | 
| 36 44 | 
             
                key: "constructFromObject",
         | 
| 37 45 | 
             
                value:
         | 
| @@ -32,6 +32,14 @@ var NumberBooleanDefault1 = /*#__PURE__*/function () { | |
| 32 32 | 
             
                (0, _defineProperty2["default"])(this, "0", 0);
         | 
| 33 33 | 
             
                (0, _defineProperty2["default"])(this, "1", 1);
         | 
| 34 34 | 
             
              }
         | 
| 35 | 
            +
              /**
         | 
| 36 | 
            +
               * value: 0
         | 
| 37 | 
            +
               * @const
         | 
| 38 | 
            +
               */
         | 
| 39 | 
            +
              /**
         | 
| 40 | 
            +
               * value: 1
         | 
| 41 | 
            +
               * @const
         | 
| 42 | 
            +
               */
         | 
| 35 43 | 
             
              (0, _createClass2["default"])(NumberBooleanDefault1, null, [{
         | 
| 36 44 | 
             
                key: "constructFromObject",
         | 
| 37 45 | 
             
                value:
         | 
| @@ -210,7 +210,7 @@ PersonListProduct.prototype['first_char'] = undefined; | |
| 210 210 | 
             
            PersonListProduct.prototype['visible_to'] = undefined;
         | 
| 211 211 |  | 
| 212 212 | 
             
            /**
         | 
| 213 | 
            -
             * The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used | 
| 213 | 
            +
             * The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used
         | 
| 214 214 | 
             
             * @member {Number} owner_id
         | 
| 215 215 | 
             
             */
         | 
| 216 216 | 
             
            PersonListProduct.prototype['owner_id'] = undefined;
         | 
| @@ -9,6 +9,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl | |
| 9 9 | 
             
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         | 
| 10 10 | 
             
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         | 
| 11 11 | 
             
            var _BasicDealProduct = _interopRequireDefault(require("./BasicDealProduct"));
         | 
| 12 | 
            +
            var _BillingFrequency = _interopRequireDefault(require("./BillingFrequency"));
         | 
| 12 13 | 
             
            var _ProductAttachementFields = _interopRequireDefault(require("./ProductAttachementFields"));
         | 
| 13 14 | 
             
            /**
         | 
| 14 15 | 
             
             * Pipedrive API v1
         | 
| @@ -33,15 +34,12 @@ var ProductAttachmentDetails = /*#__PURE__*/function () { | |
| 33 34 | 
             
               * @alias module:model/ProductAttachmentDetails
         | 
| 34 35 | 
             
               * @implements module:model/BasicDealProduct
         | 
| 35 36 | 
             
               * @implements module:model/ProductAttachementFields
         | 
| 36 | 
            -
               * @param productId {Number} The ID of the product
         | 
| 37 | 
            -
               * @param itemPrice {Number} The price at which this product will be added to the deal
         | 
| 38 | 
            -
               * @param quantity {Number} Quantity – e.g. how many items of this product will be added to the deal
         | 
| 39 37 | 
             
               */
         | 
| 40 | 
            -
              function ProductAttachmentDetails( | 
| 38 | 
            +
              function ProductAttachmentDetails() {
         | 
| 41 39 | 
             
                (0, _classCallCheck2["default"])(this, ProductAttachmentDetails);
         | 
| 42 | 
            -
                _BasicDealProduct["default"].initialize(this | 
| 40 | 
            +
                _BasicDealProduct["default"].initialize(this);
         | 
| 43 41 | 
             
                _ProductAttachementFields["default"].initialize(this);
         | 
| 44 | 
            -
                ProductAttachmentDetails.initialize(this | 
| 42 | 
            +
                ProductAttachmentDetails.initialize(this);
         | 
| 45 43 | 
             
              }
         | 
| 46 44 |  | 
| 47 45 | 
             
              /**
         | 
| @@ -51,11 +49,7 @@ var ProductAttachmentDetails = /*#__PURE__*/function () { | |
| 51 49 | 
             
               */
         | 
| 52 50 | 
             
              (0, _createClass2["default"])(ProductAttachmentDetails, null, [{
         | 
| 53 51 | 
             
                key: "initialize",
         | 
| 54 | 
            -
                value: function initialize(obj | 
| 55 | 
            -
                  obj['product_id'] = productId;
         | 
| 56 | 
            -
                  obj['item_price'] = itemPrice;
         | 
| 57 | 
            -
                  obj['quantity'] = quantity;
         | 
| 58 | 
            -
                }
         | 
| 52 | 
            +
                value: function initialize(obj) {}
         | 
| 59 53 |  | 
| 60 54 | 
             
                /**
         | 
| 61 55 | 
             
                 * Constructs a <code>ProductAttachmentDetails</code> from a plain JavaScript object, optionally creating a new instance.
         | 
| @@ -119,6 +113,18 @@ var ProductAttachmentDetails = /*#__PURE__*/function () { | |
| 119 113 | 
             
                      obj['enabled_flag'] = _ApiClient["default"].convertToType(data['enabled_flag'], 'Boolean');
         | 
| 120 114 | 
             
                      delete data['enabled_flag'];
         | 
| 121 115 | 
             
                    }
         | 
| 116 | 
            +
                    if (data.hasOwnProperty('billing_frequency')) {
         | 
| 117 | 
            +
                      obj['billing_frequency'] = _BillingFrequency["default"].constructFromObject(data['billing_frequency']);
         | 
| 118 | 
            +
                      delete data['billing_frequency'];
         | 
| 119 | 
            +
                    }
         | 
| 120 | 
            +
                    if (data.hasOwnProperty('billing_frequency_cycles')) {
         | 
| 121 | 
            +
                      obj['billing_frequency_cycles'] = _ApiClient["default"].convertToType(data['billing_frequency_cycles'], 'Number');
         | 
| 122 | 
            +
                      delete data['billing_frequency_cycles'];
         | 
| 123 | 
            +
                    }
         | 
| 124 | 
            +
                    if (data.hasOwnProperty('billing_start_date')) {
         | 
| 125 | 
            +
                      obj['billing_start_date'] = _ApiClient["default"].convertToType(data['billing_start_date'], 'String');
         | 
| 126 | 
            +
                      delete data['billing_start_date'];
         | 
| 127 | 
            +
                    }
         | 
| 122 128 | 
             
                    if (data.hasOwnProperty('id')) {
         | 
| 123 129 | 
             
                      obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
         | 
| 124 130 | 
             
                      delete data['id'];
         | 
| @@ -183,21 +189,21 @@ ProductAttachmentDetails.prototype['item_price'] = undefined; | |
| 183 189 | 
             
            ProductAttachmentDetails.prototype['quantity'] = undefined;
         | 
| 184 190 |  | 
| 185 191 | 
             
            /**
         | 
| 186 | 
            -
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage | 
| 192 | 
            +
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage
         | 
| 187 193 | 
             
             * @member {Number} discount
         | 
| 188 194 | 
             
             * @default 0
         | 
| 189 195 | 
             
             */
         | 
| 190 196 | 
             
            ProductAttachmentDetails.prototype['discount'] = 0;
         | 
| 191 197 |  | 
| 192 198 | 
             
            /**
         | 
| 193 | 
            -
             * The type of the discount's value | 
| 199 | 
            +
             * The type of the discount's value
         | 
| 194 200 | 
             
             * @member {module:model/ProductAttachmentDetails.DiscountTypeEnum} discount_type
         | 
| 195 201 | 
             
             * @default 'percentage'
         | 
| 196 202 | 
             
             */
         | 
| 197 203 | 
             
            ProductAttachmentDetails.prototype['discount_type'] = 'percentage';
         | 
| 198 204 |  | 
| 199 205 | 
             
            /**
         | 
| 200 | 
            -
             * The duration of the product. If omitted, will be set to 1 | 
| 206 | 
            +
             * The duration of the product. If omitted, will be set to 1
         | 
| 201 207 | 
             
             * @member {Number} duration
         | 
| 202 208 | 
             
             * @default 1
         | 
| 203 209 | 
             
             */
         | 
| @@ -210,7 +216,7 @@ ProductAttachmentDetails.prototype['duration'] = 1; | |
| 210 216 | 
             
            ProductAttachmentDetails.prototype['duration_unit'] = undefined;
         | 
| 211 217 |  | 
| 212 218 | 
             
            /**
         | 
| 213 | 
            -
             * The ID of the product variation to use. When omitted, no variation will be used | 
| 219 | 
            +
             * The ID of the product variation to use. When omitted, no variation will be used
         | 
| 214 220 | 
             
             * @member {Number} product_variation_id
         | 
| 215 221 | 
             
             */
         | 
| 216 222 | 
             
            ProductAttachmentDetails.prototype['product_variation_id'] = undefined;
         | 
| @@ -228,18 +234,35 @@ ProductAttachmentDetails.prototype['comments'] = undefined; | |
| 228 234 | 
             
            ProductAttachmentDetails.prototype['tax'] = undefined;
         | 
| 229 235 |  | 
| 230 236 | 
             
            /**
         | 
| 231 | 
            -
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal | 
| 237 | 
            +
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal
         | 
| 232 238 | 
             
             * @member {module:model/ProductAttachmentDetails.TaxMethodEnum} tax_method
         | 
| 233 239 | 
             
             */
         | 
| 234 240 | 
             
            ProductAttachmentDetails.prototype['tax_method'] = undefined;
         | 
| 235 241 |  | 
| 236 242 | 
             
            /**
         | 
| 237 | 
            -
             * Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default | 
| 243 | 
            +
             * Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default
         | 
| 238 244 | 
             
             * @member {Boolean} enabled_flag
         | 
| 239 245 | 
             
             * @default true
         | 
| 240 246 | 
             
             */
         | 
| 241 247 | 
             
            ProductAttachmentDetails.prototype['enabled_flag'] = true;
         | 
| 242 248 |  | 
| 249 | 
            +
            /**
         | 
| 250 | 
            +
             * @member {module:model/BillingFrequency} billing_frequency
         | 
| 251 | 
            +
             */
         | 
| 252 | 
            +
            ProductAttachmentDetails.prototype['billing_frequency'] = undefined;
         | 
| 253 | 
            +
             | 
| 254 | 
            +
            /**
         | 
| 255 | 
            +
             * Only available in Advanced and above plans  The number of times the billing frequency repeats for a product in a deal  When `billing_frequency` is set to `one-time`, this field must be `null`  For all the other values of `billing_frequency`, `null` represents a product billed indefinitely  Must be a positive integer less or equal to 312 
         | 
| 256 | 
            +
             * @member {Number} billing_frequency_cycles
         | 
| 257 | 
            +
             */
         | 
| 258 | 
            +
            ProductAttachmentDetails.prototype['billing_frequency_cycles'] = undefined;
         | 
| 259 | 
            +
             | 
| 260 | 
            +
            /**
         | 
| 261 | 
            +
             * Only available in Advanced and above plans  The billing start date. Must be between 15 years in the past and 15 years in the future 
         | 
| 262 | 
            +
             * @member {String} billing_start_date
         | 
| 263 | 
            +
             */
         | 
| 264 | 
            +
            ProductAttachmentDetails.prototype['billing_start_date'] = undefined;
         | 
| 265 | 
            +
             | 
| 243 266 | 
             
            /**
         | 
| 244 267 | 
             
             * The ID of the deal-product (the ID of the product attached to the deal)
         | 
| 245 268 | 
             
             * @member {Number} id
         | 
| @@ -311,19 +334,19 @@ _BasicDealProduct["default"].prototype['item_price'] = undefined; | |
| 311 334 | 
             
             */
         | 
| 312 335 | 
             
            _BasicDealProduct["default"].prototype['quantity'] = undefined;
         | 
| 313 336 | 
             
            /**
         | 
| 314 | 
            -
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage | 
| 337 | 
            +
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage
         | 
| 315 338 | 
             
             * @member {Number} discount
         | 
| 316 339 | 
             
             * @default 0
         | 
| 317 340 | 
             
             */
         | 
| 318 341 | 
             
            _BasicDealProduct["default"].prototype['discount'] = 0;
         | 
| 319 342 | 
             
            /**
         | 
| 320 | 
            -
             * The type of the discount's value | 
| 343 | 
            +
             * The type of the discount's value
         | 
| 321 344 | 
             
             * @member {module:model/BasicDealProduct.DiscountTypeEnum} discount_type
         | 
| 322 345 | 
             
             * @default 'percentage'
         | 
| 323 346 | 
             
             */
         | 
| 324 347 | 
             
            _BasicDealProduct["default"].prototype['discount_type'] = 'percentage';
         | 
| 325 348 | 
             
            /**
         | 
| 326 | 
            -
             * The duration of the product. If omitted, will be set to 1 | 
| 349 | 
            +
             * The duration of the product. If omitted, will be set to 1
         | 
| 327 350 | 
             
             * @member {Number} duration
         | 
| 328 351 | 
             
             * @default 1
         | 
| 329 352 | 
             
             */
         | 
| @@ -334,7 +357,7 @@ _BasicDealProduct["default"].prototype['duration'] = 1; | |
| 334 357 | 
             
             */
         | 
| 335 358 | 
             
            _BasicDealProduct["default"].prototype['duration_unit'] = undefined;
         | 
| 336 359 | 
             
            /**
         | 
| 337 | 
            -
             * The ID of the product variation to use. When omitted, no variation will be used | 
| 360 | 
            +
             * The ID of the product variation to use. When omitted, no variation will be used
         | 
| 338 361 | 
             
             * @member {Number} product_variation_id
         | 
| 339 362 | 
             
             */
         | 
| 340 363 | 
             
            _BasicDealProduct["default"].prototype['product_variation_id'] = undefined;
         | 
| @@ -350,16 +373,30 @@ _BasicDealProduct["default"].prototype['comments'] = undefined; | |
| 350 373 | 
             
             */
         | 
| 351 374 | 
             
            _BasicDealProduct["default"].prototype['tax'] = 0;
         | 
| 352 375 | 
             
            /**
         | 
| 353 | 
            -
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal | 
| 376 | 
            +
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal
         | 
| 354 377 | 
             
             * @member {module:model/BasicDealProduct.TaxMethodEnum} tax_method
         | 
| 355 378 | 
             
             */
         | 
| 356 379 | 
             
            _BasicDealProduct["default"].prototype['tax_method'] = undefined;
         | 
| 357 380 | 
             
            /**
         | 
| 358 | 
            -
             * Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default | 
| 381 | 
            +
             * Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default
         | 
| 359 382 | 
             
             * @member {Boolean} enabled_flag
         | 
| 360 383 | 
             
             * @default true
         | 
| 361 384 | 
             
             */
         | 
| 362 385 | 
             
            _BasicDealProduct["default"].prototype['enabled_flag'] = true;
         | 
| 386 | 
            +
            /**
         | 
| 387 | 
            +
             * @member {module:model/BillingFrequency} billing_frequency
         | 
| 388 | 
            +
             */
         | 
| 389 | 
            +
            _BasicDealProduct["default"].prototype['billing_frequency'] = undefined;
         | 
| 390 | 
            +
            /**
         | 
| 391 | 
            +
             * Only available in Advanced and above plans  The number of times the billing frequency repeats for a product in a deal  When `billing_frequency` is set to `one-time`, this field must be `null`  For all the other values of `billing_frequency`, `null` represents a product billed indefinitely  Must be a positive integer less or equal to 312 
         | 
| 392 | 
            +
             * @member {Number} billing_frequency_cycles
         | 
| 393 | 
            +
             */
         | 
| 394 | 
            +
            _BasicDealProduct["default"].prototype['billing_frequency_cycles'] = undefined;
         | 
| 395 | 
            +
            /**
         | 
| 396 | 
            +
             * Only available in Advanced and above plans  The billing start date. Must be between 15 years in the past and 15 years in the future 
         | 
| 397 | 
            +
             * @member {String} billing_start_date
         | 
| 398 | 
            +
             */
         | 
| 399 | 
            +
            _BasicDealProduct["default"].prototype['billing_start_date'] = undefined;
         | 
| 363 400 | 
             
            // Implement ProductAttachementFields interface:
         | 
| 364 401 | 
             
            /**
         | 
| 365 402 | 
             
             * The ID of the deal-product (the ID of the product attached to the deal)
         | 
| @@ -105,6 +105,10 @@ var ProductField = /*#__PURE__*/function () { | |
| 105 105 | 
             
                      obj['last_updated_by_user_id'] = _ApiClient["default"].convertToType(data['last_updated_by_user_id'], 'Number');
         | 
| 106 106 | 
             
                      delete data['last_updated_by_user_id'];
         | 
| 107 107 | 
             
                    }
         | 
| 108 | 
            +
                    if (data.hasOwnProperty('created_by_user_id')) {
         | 
| 109 | 
            +
                      obj['created_by_user_id'] = _ApiClient["default"].convertToType(data['created_by_user_id'], 'Number');
         | 
| 110 | 
            +
                      delete data['created_by_user_id'];
         | 
| 111 | 
            +
                    }
         | 
| 108 112 | 
             
                    if (data.hasOwnProperty('active_flag')) {
         | 
| 109 113 | 
             
                      obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
         | 
| 110 114 | 
             
                      delete data['active_flag'];
         | 
| @@ -204,6 +208,12 @@ ProductField.prototype['update_time'] = undefined; | |
| 204 208 | 
             
             */
         | 
| 205 209 | 
             
            ProductField.prototype['last_updated_by_user_id'] = undefined;
         | 
| 206 210 |  | 
| 211 | 
            +
            /**
         | 
| 212 | 
            +
             * The ID of the user who created the product field
         | 
| 213 | 
            +
             * @member {Number} created_by_user_id
         | 
| 214 | 
            +
             */
         | 
| 215 | 
            +
            ProductField.prototype['created_by_user_id'] = undefined;
         | 
| 216 | 
            +
             | 
| 207 217 | 
             
            /**
         | 
| 208 218 | 
             
             * Whether or not the product field is currently active
         | 
| 209 219 | 
             
             * @member {Boolean} active_flag
         | 
| @@ -305,6 +315,11 @@ _ProductFieldAllOf["default"].prototype['update_time'] = undefined; | |
| 305 315 | 
             
             * @member {Number} last_updated_by_user_id
         | 
| 306 316 | 
             
             */
         | 
| 307 317 | 
             
            _ProductFieldAllOf["default"].prototype['last_updated_by_user_id'] = undefined;
         | 
| 318 | 
            +
            /**
         | 
| 319 | 
            +
             * The ID of the user who created the product field
         | 
| 320 | 
            +
             * @member {Number} created_by_user_id
         | 
| 321 | 
            +
             */
         | 
| 322 | 
            +
            _ProductFieldAllOf["default"].prototype['created_by_user_id'] = undefined;
         | 
| 308 323 | 
             
            /**
         | 
| 309 324 | 
             
             * Whether or not the product field is currently active
         | 
| 310 325 | 
             
             * @member {Boolean} active_flag
         | 
| @@ -80,6 +80,10 @@ var ProductFieldAllOf = /*#__PURE__*/function () { | |
| 80 80 | 
             
                      obj['last_updated_by_user_id'] = _ApiClient["default"].convertToType(data['last_updated_by_user_id'], 'Number');
         | 
| 81 81 | 
             
                      delete data['last_updated_by_user_id'];
         | 
| 82 82 | 
             
                    }
         | 
| 83 | 
            +
                    if (data.hasOwnProperty('created_by_user_id')) {
         | 
| 84 | 
            +
                      obj['created_by_user_id'] = _ApiClient["default"].convertToType(data['created_by_user_id'], 'Number');
         | 
| 85 | 
            +
                      delete data['created_by_user_id'];
         | 
| 86 | 
            +
                    }
         | 
| 83 87 | 
             
                    if (data.hasOwnProperty('active_flag')) {
         | 
| 84 88 | 
             
                      obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
         | 
| 85 89 | 
             
                      delete data['active_flag'];
         | 
| @@ -161,6 +165,12 @@ ProductFieldAllOf.prototype['update_time'] = undefined; | |
| 161 165 | 
             
             */
         | 
| 162 166 | 
             
            ProductFieldAllOf.prototype['last_updated_by_user_id'] = undefined;
         | 
| 163 167 |  | 
| 168 | 
            +
            /**
         | 
| 169 | 
            +
             * The ID of the user who created the product field
         | 
| 170 | 
            +
             * @member {Number} created_by_user_id
         | 
| 171 | 
            +
             */
         | 
| 172 | 
            +
            ProductFieldAllOf.prototype['created_by_user_id'] = undefined;
         | 
| 173 | 
            +
             | 
| 164 174 | 
             
            /**
         | 
| 165 175 | 
             
             * Whether or not the product field is currently active
         | 
| 166 176 | 
             
             * @member {Boolean} active_flag
         | 
| @@ -8,7 +8,7 @@ exports["default"] = void 0; | |
| 8 8 | 
             
            var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
         | 
| 9 9 | 
             
            var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
         | 
| 10 10 | 
             
            var _ApiClient = _interopRequireDefault(require("../ApiClient"));
         | 
| 11 | 
            -
            var  | 
| 11 | 
            +
            var _ProductWithArrayPrices = _interopRequireDefault(require("./ProductWithArrayPrices"));
         | 
| 12 12 | 
             
            /**
         | 
| 13 13 | 
             
             * Pipedrive API v1
         | 
| 14 14 | 
             
             * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
         | 
| @@ -150,7 +150,7 @@ var ProductListItem = /*#__PURE__*/function () { | |
| 150 150 | 
             
                      delete data['quantity'];
         | 
| 151 151 | 
             
                    }
         | 
| 152 152 | 
             
                    if (data.hasOwnProperty('product')) {
         | 
| 153 | 
            -
                      obj['product'] =  | 
| 153 | 
            +
                      obj['product'] = _ProductWithArrayPrices["default"].constructFromObject(data['product']);
         | 
| 154 154 | 
             
                      delete data['product'];
         | 
| 155 155 | 
             
                    }
         | 
| 156 156 | 
             
                    if (Object.keys(data).length > 0) {
         | 
| @@ -199,14 +199,14 @@ ProductListItem.prototype['product_variation_id'] = undefined; | |
| 199 199 | 
             
            ProductListItem.prototype['item_price'] = undefined;
         | 
| 200 200 |  | 
| 201 201 | 
             
            /**
         | 
| 202 | 
            -
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage | 
| 202 | 
            +
             * The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage
         | 
| 203 203 | 
             
             * @member {Number} discount
         | 
| 204 204 | 
             
             * @default 0
         | 
| 205 205 | 
             
             */
         | 
| 206 206 | 
             
            ProductListItem.prototype['discount'] = 0;
         | 
| 207 207 |  | 
| 208 208 | 
             
            /**
         | 
| 209 | 
            -
             * The type of the discount's value | 
| 209 | 
            +
             * The type of the discount's value
         | 
| 210 210 | 
             
             * @member {module:model/ProductListItem.DiscountTypeEnum} discount_type
         | 
| 211 211 | 
             
             * @default 'percentage'
         | 
| 212 212 | 
             
             */
         | 
| @@ -273,7 +273,7 @@ ProductListItem.prototype['active_flag'] = undefined; | |
| 273 273 | 
             
            ProductListItem.prototype['tax'] = undefined;
         | 
| 274 274 |  | 
| 275 275 | 
             
            /**
         | 
| 276 | 
            -
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal | 
| 276 | 
            +
             * The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal
         | 
| 277 277 | 
             
             * @member {module:model/ProductListItem.TaxMethodEnum} tax_method
         | 
| 278 278 | 
             
             */
         | 
| 279 279 | 
             
            ProductListItem.prototype['tax_method'] = undefined;
         | 
| @@ -303,7 +303,7 @@ ProductListItem.prototype['quantity_formatted'] = undefined; | |
| 303 303 | 
             
            ProductListItem.prototype['quantity'] = undefined;
         | 
| 304 304 |  | 
| 305 305 | 
             
            /**
         | 
| 306 | 
            -
             * @member {module:model/ | 
| 306 | 
            +
             * @member {module:model/ProductWithArrayPrices} product
         | 
| 307 307 | 
             
             */
         | 
| 308 308 | 
             
            ProductListItem.prototype['product'] = undefined;
         | 
| 309 309 |  | 
| @@ -138,7 +138,7 @@ ProductRequest.prototype['selectable'] = true; | |
| 138 138 | 
             
            ProductRequest.prototype['visible_to'] = undefined;
         | 
| 139 139 |  | 
| 140 140 | 
             
            /**
         | 
| 141 | 
            -
             * The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used | 
| 141 | 
            +
             * The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used
         | 
| 142 142 | 
             
             * @member {Number} owner_id
         | 
| 143 143 | 
             
             */
         | 
| 144 144 | 
             
            ProductRequest.prototype['owner_id'] = undefined;
         |