Skip to content

Commit

Permalink
Build 2350 - version-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pipedrive-bot committed Apr 18, 2024
1 parent b11874e commit bbe9e95
Show file tree
Hide file tree
Showing 15 changed files with 73 additions and 37 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).

## [Unreleased]
### Added
- Added `is_deleted` parameter for `/v1/users/*` responses.

## [22.6.0] - 2024-04-05
### Added
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,6 @@ Class | Method | HTTP request | Description
- [Pipedrive.ListPermittedUsersResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPermittedUsersResponse.md)
- [Pipedrive.ListPermittedUsersResponse1](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPermittedUsersResponse1.md)
- [Pipedrive.ListPermittedUsersResponse1AllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPermittedUsersResponse1AllOf.md)
- [Pipedrive.ListPermittedUsersResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPermittedUsersResponseAllOf.md)
- [Pipedrive.ListPermittedUsersResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPermittedUsersResponseAllOfData.md)
- [Pipedrive.ListPersonProductsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPersonProductsResponse.md)
- [Pipedrive.ListPersonProductsResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPersonProductsResponseAllOf.md)
- [Pipedrive.ListPersonProductsResponseAllOfDEALID](https://github.com/pipedrive/client-nodejs/blob/master/docs/ListPersonProductsResponseAllOfDEALID.md)
Expand Down
1 change: 1 addition & 0 deletions docs/BaseUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ Name | Type | Description | Notes
**roleId** | **Number** | The ID of the user role | [optional]
**iconUrl** | **String** | The user icon URL | [optional]
**isYou** | **Boolean** | Boolean that indicates if the requested user is the same which is logged in (in this case, always true) | [optional]
**isDeleted** | **Boolean** | Boolean that indicates whether the user is deleted from the company | [optional]


1 change: 1 addition & 0 deletions docs/BaseUserMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Name | Type | Description | Notes
**roleId** | **Number** | The ID of the user role | [optional]
**iconUrl** | **String** | The user icon URL | [optional]
**isYou** | **Boolean** | Boolean that indicates if the requested user is the same which is logged in (in this case, always true) | [optional]
**isDeleted** | **Boolean** | Boolean that indicates whether the user is deleted from the company | [optional]
**companyId** | **Number** | The user company ID | [optional]
**companyName** | **String** | The user company name | [optional]
**companyDomain** | **String** | The user company domain | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Field.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**addTime** | **Date** | The creation time of the field | [optional]
**updateTime** | **Date** | The update time of the field | [optional]
**lastUpdatedByUserId** | **Number** | The ID of the user who created or most recently updated the field, only applicable for custom fields | [optional]
**createdByUserId** | **Number** | The ID of the user who created the field | [optional]
**activeFlag** | **Boolean** | The active flag of the field | [optional]
**editFlag** | **Boolean** | The edit flag of the field | [optional]
**indexVisibleFlag** | **Boolean** | Not used | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/ListPermittedUsersResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**success** | **Boolean** | If the response is successful or not | [optional]
**data** | [**ListPermittedUsersResponseAllOfData**](ListPermittedUsersResponseAllOfData.md) | | [optional]


1 change: 1 addition & 0 deletions docs/ProductField.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**addTime** | **String** | The product field creation time. Format: YYYY-MM-DD HH:MM:SS | [optional]
**updateTime** | **String** | The product field last update time. Format: YYYY-MM-DD HH:MM:SS | [optional]
**lastUpdatedByUserId** | **Number** | The ID of the last user to update the product field | [optional]
**createdByUserId** | **Number** | The ID of the user who created the product field | [optional]
**activeFlag** | **Boolean** | Whether or not the product field is currently active | [optional]
**editFlag** | **Boolean** | Whether or not the product field name and metadata is editable | [optional]
**addVisibleFlag** | **Boolean** | Whether or not the product field is visible in the Add Product Modal | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/ProductFieldAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**addTime** | **String** | The product field creation time. Format: YYYY-MM-DD HH:MM:SS | [optional]
**updateTime** | **String** | The product field last update time. Format: YYYY-MM-DD HH:MM:SS | [optional]
**lastUpdatedByUserId** | **Number** | The ID of the last user to update the product field | [optional]
**createdByUserId** | **Number** | The ID of the user who created the product field | [optional]
**activeFlag** | **Boolean** | Whether or not the product field is currently active | [optional]
**editFlag** | **Boolean** | Whether or not the product field name and metadata is editable | [optional]
**addVisibleFlag** | **Boolean** | Whether or not the product field is visible in the Add Product Modal | [optional]
Expand Down
14 changes: 0 additions & 14 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,6 @@ import ListMailMessagesResponseAllOfData from './model/ListMailMessagesResponseA
import ListPermittedUsersResponse from './model/ListPermittedUsersResponse';
import ListPermittedUsersResponse1 from './model/ListPermittedUsersResponse1';
import ListPermittedUsersResponse1AllOf from './model/ListPermittedUsersResponse1AllOf';
import ListPermittedUsersResponseAllOf from './model/ListPermittedUsersResponseAllOf';
import ListPermittedUsersResponseAllOfData from './model/ListPermittedUsersResponseAllOfData';
import ListPersonProductsResponse from './model/ListPersonProductsResponse';
import ListPersonProductsResponseAllOf from './model/ListPersonProductsResponseAllOf';
import ListPersonProductsResponseAllOfDEALID from './model/ListPersonProductsResponseAllOfDEALID';
Expand Down Expand Up @@ -3558,18 +3556,6 @@ export {
*/
ListPermittedUsersResponse1AllOf,

/**
* The ListPermittedUsersResponseAllOf model constructor.
* @property {module:model/ListPermittedUsersResponseAllOf}
*/
ListPermittedUsersResponseAllOf,

/**
* The ListPermittedUsersResponseAllOfData model constructor.
* @property {module:model/ListPermittedUsersResponseAllOfData}
*/
ListPermittedUsersResponseAllOfData,

/**
* The ListPersonProductsResponse model constructor.
* @property {module:model/ListPersonProductsResponse}
Expand Down
11 changes: 11 additions & 0 deletions src/model/BaseUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ class BaseUser {

delete data['is_you'];
}
if (data.hasOwnProperty('is_deleted')) {
obj['is_deleted'] = ApiClient.convertToType(data['is_deleted'], 'Boolean');

delete data['is_deleted'];
}

if (Object.keys(data).length > 0) {
Object.assign(obj, data);
Expand Down Expand Up @@ -268,6 +273,12 @@ BaseUser.prototype['icon_url'] = undefined;
*/
BaseUser.prototype['is_you'] = undefined;

/**
* Boolean that indicates whether the user is deleted from the company
* @member {Boolean} is_deleted
*/
BaseUser.prototype['is_deleted'] = undefined;




Expand Down
16 changes: 16 additions & 0 deletions src/model/BaseUserMe.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ class BaseUserMe {

delete data['is_you'];
}
if (data.hasOwnProperty('is_deleted')) {
obj['is_deleted'] = ApiClient.convertToType(data['is_deleted'], 'Boolean');

delete data['is_deleted'];
}
if (data.hasOwnProperty('company_id')) {
obj['company_id'] = ApiClient.convertToType(data['company_id'], 'Number');

Expand Down Expand Up @@ -305,6 +310,12 @@ BaseUserMe.prototype['icon_url'] = undefined;
*/
BaseUserMe.prototype['is_you'] = undefined;

/**
* Boolean that indicates whether the user is deleted from the company
* @member {Boolean} is_deleted
*/
BaseUserMe.prototype['is_deleted'] = undefined;

/**
* The user company ID
* @member {Number} company_id
Expand Down Expand Up @@ -436,6 +447,11 @@ BaseUser.prototype['icon_url'] = undefined;
* @member {Boolean} is_you
*/
BaseUser.prototype['is_you'] = undefined;
/**
* Boolean that indicates whether the user is deleted from the company
* @member {Boolean} is_deleted
*/
BaseUser.prototype['is_deleted'] = undefined;
// Implement BaseUserMeAllOf interface:
/**
* The user company ID
Expand Down
11 changes: 11 additions & 0 deletions src/model/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ class Field {

delete data['last_updated_by_user_id'];
}
if (data.hasOwnProperty('created_by_user_id')) {
obj['created_by_user_id'] = ApiClient.convertToType(data['created_by_user_id'], 'Number');

delete data['created_by_user_id'];
}
if (data.hasOwnProperty('active_flag')) {
obj['active_flag'] = ApiClient.convertToType(data['active_flag'], 'Boolean');

Expand Down Expand Up @@ -222,6 +227,12 @@ Field.prototype['update_time'] = undefined;
*/
Field.prototype['last_updated_by_user_id'] = undefined;

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

/**
* The active flag of the field
* @member {Boolean} active_flag
Expand Down
21 changes: 1 addition & 20 deletions src/model/ListPermittedUsersResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

import ApiClient from '../ApiClient';
import BaseResponse from './BaseResponse';
import ListPermittedUsersResponseAllOf from './ListPermittedUsersResponseAllOf';
import ListPermittedUsersResponseAllOfData from './ListPermittedUsersResponseAllOfData';

/**
* The ListPermittedUsersResponse model module.
Expand All @@ -26,10 +24,9 @@ class ListPermittedUsersResponse {
* Constructs a new <code>ListPermittedUsersResponse</code>.
* @alias module:model/ListPermittedUsersResponse
* @implements module:model/BaseResponse
* @implements module:model/ListPermittedUsersResponseAllOf
*/
constructor() {
BaseResponse.initialize(this);ListPermittedUsersResponseAllOf.initialize(this);
BaseResponse.initialize(this);
ListPermittedUsersResponse.initialize(this);
}

Expand All @@ -52,18 +49,12 @@ class ListPermittedUsersResponse {
if (data) {
obj = obj || new ListPermittedUsersResponse();
BaseResponse.constructFromObject(data, obj);
ListPermittedUsersResponseAllOf.constructFromObject(data, obj);

if (data.hasOwnProperty('success')) {
obj['success'] = ApiClient.convertToType(data['success'], 'Boolean');

delete data['success'];
}
if (data.hasOwnProperty('data')) {
obj['data'] = ListPermittedUsersResponseAllOfData.constructFromObject(data['data']);

delete data['data'];
}

if (Object.keys(data).length > 0) {
Object.assign(obj, data);
Expand All @@ -82,23 +73,13 @@ class ListPermittedUsersResponse {
*/
ListPermittedUsersResponse.prototype['success'] = undefined;

/**
* @member {module:model/ListPermittedUsersResponseAllOfData} data
*/
ListPermittedUsersResponse.prototype['data'] = undefined;


// Implement BaseResponse interface:
/**
* If the response is successful or not
* @member {Boolean} success
*/
BaseResponse.prototype['success'] = undefined;
// Implement ListPermittedUsersResponseAllOf interface:
/**
* @member {module:model/ListPermittedUsersResponseAllOfData} data
*/
ListPermittedUsersResponseAllOf.prototype['data'] = undefined;



Expand Down
16 changes: 16 additions & 0 deletions src/model/ProductField.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ class ProductField {

delete data['last_updated_by_user_id'];
}
if (data.hasOwnProperty('created_by_user_id')) {
obj['created_by_user_id'] = ApiClient.convertToType(data['created_by_user_id'], 'Number');

delete data['created_by_user_id'];
}
if (data.hasOwnProperty('active_flag')) {
obj['active_flag'] = ApiClient.convertToType(data['active_flag'], 'Boolean');

Expand Down Expand Up @@ -213,6 +218,12 @@ ProductField.prototype['update_time'] = undefined;
*/
ProductField.prototype['last_updated_by_user_id'] = undefined;

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

/**
* Whether or not the product field is currently active
* @member {Boolean} active_flag
Expand Down Expand Up @@ -315,6 +326,11 @@ ProductFieldAllOf.prototype['update_time'] = undefined;
* @member {Number} last_updated_by_user_id
*/
ProductFieldAllOf.prototype['last_updated_by_user_id'] = undefined;
/**
* The ID of the user who created the product field
* @member {Number} created_by_user_id
*/
ProductFieldAllOf.prototype['created_by_user_id'] = undefined;
/**
* Whether or not the product field is currently active
* @member {Boolean} active_flag
Expand Down
11 changes: 11 additions & 0 deletions src/model/ProductFieldAllOf.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ class ProductFieldAllOf {

delete data['last_updated_by_user_id'];
}
if (data.hasOwnProperty('created_by_user_id')) {
obj['created_by_user_id'] = ApiClient.convertToType(data['created_by_user_id'], 'Number');

delete data['created_by_user_id'];
}
if (data.hasOwnProperty('active_flag')) {
obj['active_flag'] = ApiClient.convertToType(data['active_flag'], 'Boolean');

Expand Down Expand Up @@ -170,6 +175,12 @@ ProductFieldAllOf.prototype['update_time'] = undefined;
*/
ProductFieldAllOf.prototype['last_updated_by_user_id'] = undefined;

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

/**
* Whether or not the product field is currently active
* @member {Boolean} active_flag
Expand Down

0 comments on commit bbe9e95

Please sign in to comment.