Skip to content
Merged
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ 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]
### Fixed
- Added missing `nova` value to the `app` enum returned by `GET /v1/users` in the `user_access` array — accounts with Nova enabled were returning `"app": "nova"`, a value the generated type definitions didn't account for
- Added missing `partnership` and `nova` values to the `app` field on each permission set and to the `app` query parameter (`GET /permissionSets`) — same gap for accounts with a permission set for those apps

## [33.6.0] - 2026-08-06
### Added
Expand Down
12 changes: 6 additions & 6 deletions src/versions/v1/api/permission-sets-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ export const PermissionSetsApiAxiosParamCreator = function (configuration?: Conf
/**
* Returns data about all permission sets.
* @summary Get all permission sets
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by

* @throws {RequiredError}
*/
getPermissionSets: async (app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings', ): Promise<RequestArgs> => {
getPermissionSets: async (app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova', ): Promise<RequestArgs> => {
const localVarPath = `/permissionSets`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -205,11 +205,11 @@ export const PermissionSetsApiFp = function(configuration?: Configuration) {
/**
* Returns data about all permission sets.
* @summary Get all permission sets
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'} [app] The app to filter the permission sets by
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by

* @throws {RequiredError}
*/
async getPermissionSets(app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings', ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermissionSetsResponse>> {
async getPermissionSets(app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova', ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPermissionSetsResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionSets(app, );
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
Expand Down Expand Up @@ -306,10 +306,10 @@ export interface PermissionSetsApiGetPermissionSetAssignmentsRequest {
export interface PermissionSetsApiGetPermissionSetsRequest {
/**
* The app to filter the permission sets by
* @type {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'}
* @type {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'}
* @memberof PermissionSetsApiGetPermissionSets
*/
readonly app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings'
readonly app?: 'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'
}

/**
Expand Down
4 changes: 3 additions & 1 deletion src/versions/v1/models/permission-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export interface PermissionSet {
projects: 'projects',
campaigns: 'campaigns',
global: 'global',
account_settings: 'account_settings'
account_settings: 'account_settings',
partnership: 'partnership',
nova: 'nova'
} as const;

export type PermissionSetAppConst = typeof PermissionSetAppConst[keyof typeof PermissionSetAppConst];
Expand Down
3 changes: 2 additions & 1 deletion src/versions/v1/models/user-access.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export interface UserAccess {
campaigns: 'campaigns',
projects: 'projects',
account_settings: 'account_settings',
partnership: 'partnership'
partnership: 'partnership',
nova: 'nova'
} as const;

export type UserAccessAppConst = typeof UserAccessAppConst[keyof typeof UserAccessAppConst];
Expand Down
3 changes: 2 additions & 1 deletion src/versions/v1/models/user-access1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export interface UserAccess1 {
campaigns: 'campaigns',
projects: 'projects',
account_settings: 'account_settings',
partnership: 'partnership'
partnership: 'partnership',
nova: 'nova'
} as const;

export type UserAccess1AppConst = typeof UserAccess1AppConst[keyof typeof UserAccess1AppConst];
Expand Down
Loading