From c0bcbabb8d4370886b0ae48dc37384c0c56fff51 Mon Sep 17 00:00:00 2001 From: pipedrive-bot Date: Mon, 10 Feb 2025 12:37:57 +0000 Subject: [PATCH] Build 152 - version-patch --- .gitignore | 40 ++++++++++++++++++++++++-- CHANGELOG.md | 2 ++ src/versions/v1/models/base-webhook.ts | 3 +- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e0a32baf..a97f157d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,39 @@ -wwwroot/*.js +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directory node_modules -typings + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history + +.openapi-generator +.idea dist -.idea \ No newline at end of file +wwwroot/*.js +typings \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e40a9fee..b320eb88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] +### Fixed +- Updated supported enum values for webhook types in the `GET /webhooks` endpoint ## [24.1.0] - 2025-02-06 ### Added diff --git a/src/versions/v1/models/base-webhook.ts b/src/versions/v1/models/base-webhook.ts index a6320ff3..19bdd16e 100644 --- a/src/versions/v1/models/base-webhook.ts +++ b/src/versions/v1/models/base-webhook.ts @@ -120,7 +120,8 @@ export interface BaseWebhook { export type BaseWebhookIsActiveConst = typeof BaseWebhookIsActiveConst[keyof typeof BaseWebhookIsActiveConst]; export const BaseWebhookTypeConst = { general: 'general', - app: 'app' + application: 'application', + automation: 'automation' } as const; export type BaseWebhookTypeConst = typeof BaseWebhookTypeConst[keyof typeof BaseWebhookTypeConst];