pipedrive 13.0.9 → 13.0.10

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/CHANGELOG.md CHANGED
@@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## 13.0.10
12
+ ### Fixed
13
+ - Fix `POST /organizationRelationships` 'required' labels not showing
14
+
11
15
  ## 13.0.9
12
16
  ### Added
13
17
  - Added `tax` parameter on add product to the deal.
@@ -13,8 +13,6 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
13
13
 
14
14
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
15
15
 
16
- var _OrganizationRelationship = _interopRequireDefault(require("./OrganizationRelationship"));
17
-
18
16
  /**
19
17
  * Pipedrive API v1
20
18
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -37,16 +35,12 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
37
35
  /**
38
36
  * Constructs a new <code>AddOrganizationRelationshipRequest</code>.
39
37
  * @alias module:model/AddOrganizationRelationshipRequest
40
- * @implements module:model/OrganizationRelationship
41
38
  * @param type {module:model/AddOrganizationRelationshipRequest.TypeEnum} The type of organization relationship
42
39
  * @param relOwnerOrgId {Number} The owner of this relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
43
40
  * @param relLinkedOrgId {Number} The linked organization in this relationship. If type is `parent`, then the linked organization is the daughter.
44
41
  */
45
42
  function AddOrganizationRelationshipRequest(type, relOwnerOrgId, relLinkedOrgId) {
46
43
  (0, _classCallCheck2["default"])(this, AddOrganizationRelationshipRequest);
47
-
48
- _OrganizationRelationship["default"].initialize(this);
49
-
50
44
  AddOrganizationRelationshipRequest.initialize(this, type, relOwnerOrgId, relLinkedOrgId);
51
45
  }
52
46
  /**
@@ -77,8 +71,6 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
77
71
  if (data) {
78
72
  obj = obj || new AddOrganizationRelationshipRequest();
79
73
 
80
- _OrganizationRelationship["default"].constructFromObject(data, obj);
81
-
82
74
  if (data.hasOwnProperty('org_id')) {
83
75
  obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'Number');
84
76
  delete data['org_id'];
@@ -133,32 +125,7 @@ AddOrganizationRelationshipRequest.prototype['rel_owner_org_id'] = undefined;
133
125
  * @member {Number} rel_linked_org_id
134
126
  */
135
127
 
136
- AddOrganizationRelationshipRequest.prototype['rel_linked_org_id'] = undefined; // Implement OrganizationRelationship interface:
137
-
138
- /**
139
- * ID of the base organization for the returned calculated values
140
- * @member {Number} org_id
141
- */
142
-
143
- _OrganizationRelationship["default"].prototype['org_id'] = undefined;
144
- /**
145
- * The type of organization relationship
146
- * @member {module:model/OrganizationRelationship.TypeEnum} type
147
- */
148
-
149
- _OrganizationRelationship["default"].prototype['type'] = undefined;
150
- /**
151
- * The owner of this relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
152
- * @member {Number} rel_owner_org_id
153
- */
154
-
155
- _OrganizationRelationship["default"].prototype['rel_owner_org_id'] = undefined;
156
- /**
157
- * The linked organization in this relationship. If type is `parent`, then the linked organization is the daughter.
158
- * @member {Number} rel_linked_org_id
159
- */
160
-
161
- _OrganizationRelationship["default"].prototype['rel_linked_org_id'] = undefined;
128
+ AddOrganizationRelationshipRequest.prototype['rel_linked_org_id'] = undefined;
162
129
  /**
163
130
  * Allowed values for the <code>type</code> property.
164
131
  * @enum {String}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "13.0.9",
3
+ "version": "13.0.10",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",