Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
### Changed
- Send token in the `x-api-token` header instead of `api_token` query parameter

## [27.1.1] - 2025-05-23
### Fixed
Expand Down
5 changes: 0 additions & 5 deletions src/versions/v1/models/base-deal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ export interface BaseDeal {
*/
'deleted'?: boolean;
/**
* Whether the deal is archived or not
* @type {boolean}
*/
'is_archived'?: boolean;
/**
* The status of the deal
* @type {string}
*/
Expand Down
10 changes: 0 additions & 10 deletions src/versions/v1/models/new-deal-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ export interface NewDealParameters {
*/
'stage_id'?: number;
/**
* Whether the deal is archived or not. If omitted, is_archived will be set to false.
* @type {boolean}
*/
'is_archived'?: boolean;
/**
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
* @type {string}
*/
'archive_time'?: string;
/**
* open = Open, won = Won, lost = Lost, deleted = Deleted. If omitted, status will be set to open.
* @type {string}
*/
Expand Down
5 changes: 0 additions & 5 deletions src/versions/v1/models/update-deal-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ export interface UpdateDealParameters {
*/
'stage_id'?: number;
/**
* Whether the deal is archived or not
* @type {boolean}
*/
'is_archived'?: boolean;
/**
* open = Open, won = Won, lost = Lost, deleted = Deleted.
* @type {string}
*/
Expand Down
8 changes: 4 additions & 4 deletions src/versions/v2/api/beta-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)



Expand Down Expand Up @@ -119,7 +119,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)



Expand Down Expand Up @@ -212,7 +212,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "deals:read"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read"], configuration)



Expand Down Expand Up @@ -321,7 +321,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration)



Expand Down
40 changes: 20 additions & 20 deletions src/versions/v2/api/deals-api.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/versions/v2/api/leads-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)



Expand Down Expand Up @@ -114,7 +114,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration

// authentication oauth2 required
// oauth required
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration)
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration)



Expand Down
10 changes: 0 additions & 10 deletions src/versions/v2/models/add-deal-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ export interface AddDealRequest {
*/
'is_deleted'?: boolean;
/**
* Whether the deal is archived or not
* @type {boolean}
*/
'is_archived'?: boolean;
/**
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
* @type {string}
*/
'archive_time'?: string;
/**
* The status of the deal
* @type {string}
*/
Expand Down
8 changes: 4 additions & 4 deletions src/versions/v2/models/deal-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ export interface DealItem {
*/
'stage_change_time'?: string;
/**
* Whether the deal is deleted or not
* Whether the deal is archived or not
* @type {boolean}
*/
'is_deleted'?: boolean;
'is_archived'?: boolean;
/**
* Whether the deal is archived or not
* Whether the deal is deleted or not
* @type {boolean}
*/
'is_archived'?: boolean;
'is_deleted'?: boolean;
/**
* The status of the deal
* @type {string}
Expand Down
8 changes: 4 additions & 4 deletions src/versions/v2/models/deal-item1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ export interface DealItem1 {
*/
'stage_change_time'?: string;
/**
* Whether the deal is deleted or not
* Whether the deal is archived or not
* @type {boolean}
*/
'is_deleted'?: boolean;
'is_archived'?: boolean;
/**
* Whether the deal is archived or not
* Whether the deal is deleted or not
* @type {boolean}
*/
'is_archived'?: boolean;
'is_deleted'?: boolean;
/**
* The status of the deal
* @type {string}
Expand Down
10 changes: 0 additions & 10 deletions src/versions/v2/models/update-deal-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ export interface UpdateDealRequest {
*/
'is_deleted'?: boolean;
/**
* Whether the deal is archived or not
* @type {boolean}
*/
'is_archived'?: boolean;
/**
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
* @type {string}
*/
'archive_time'?: string;
/**
* The status of the deal
* @type {string}
*/
Expand Down
Loading