diff --git a/CHANGELOG.md b/CHANGELOG.md index 71a5c031..963dfd60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,17 +7,6 @@ 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] -### Removed -- Removed all endpoints of the Subscriptions feature - - GET /v1/subscriptions/{id} - - GET /v1/subscriptions/find/{dealId} - - GET /v1/subscriptions/{id}/payments - - POST /v1/subscriptions/recurring - - POST /v1/subscriptions/installment - - PUT /v1/subscriptions/recurring/{id} - - PUT /v1/subscriptions/installment/{id} - - PUT /v1/subscriptions/recurring/{id}/cancel - - DELETE /v1/subscriptions/{id} ## [28.0.2] - 2025-07-07 ### Added diff --git a/docs/v1.md b/docs/v1.md index dca16f00..3bf64a07 100644 --- a/docs/v1.md +++ b/docs/v1.md @@ -255,6 +255,15 @@ StagesApi | getStage | **GET** /stages/{id} | Get one stage StagesApi | getStageDeals | **GET** /stages/{id}/deals | Get deals in a stage StagesApi | getStages | **GET** /stages | Get all stages StagesApi | updateStage | **PUT** /stages/{id} | Update stage details +SubscriptionsApi | addRecurringSubscription | **POST** /subscriptions/recurring | Add a recurring subscription +SubscriptionsApi | addSubscriptionInstallment | **POST** /subscriptions/installment | Add an installment subscription +SubscriptionsApi | cancelRecurringSubscription | **PUT** /subscriptions/recurring/{id}/cancel | Cancel a recurring subscription +SubscriptionsApi | deleteSubscription | **DELETE** /subscriptions/{id} | Delete a subscription +SubscriptionsApi | findSubscriptionByDeal | **GET** /subscriptions/find/{dealId} | Find subscription by deal +SubscriptionsApi | getSubscription | **GET** /subscriptions/{id} | Get details of a subscription +SubscriptionsApi | getSubscriptionPayments | **GET** /subscriptions/{id}/payments | Get all payments of a subscription +SubscriptionsApi | updateRecurringSubscription | **PUT** /subscriptions/recurring/{id} | Update a recurring subscription +SubscriptionsApi | updateSubscriptionInstallment | **PUT** /subscriptions/installment/{id} | Update an installment subscription TasksApi | addTask | **POST** /tasks | Add a task TasksApi | deleteTask | **DELETE** /tasks/{id} | Delete a task TasksApi | getTask | **GET** /tasks/{id} | Get details of a task diff --git a/src/versions/v1/api.ts b/src/versions/v1/api.ts index d08836dd..87fef740 100644 --- a/src/versions/v1/api.ts +++ b/src/versions/v1/api.ts @@ -49,6 +49,7 @@ export * from './api/projects-api'; export * from './api/recents-api'; export * from './api/roles-api'; export * from './api/stages-api'; +export * from './api/subscriptions-api'; export * from './api/tasks-api'; export * from './api/user-connections-api'; export * from './api/user-settings-api'; diff --git a/src/versions/v1/models/index.ts b/src/versions/v1/models/index.ts index 11c027cb..541c73c5 100644 --- a/src/versions/v1/models/index.ts +++ b/src/versions/v1/models/index.ts @@ -78,6 +78,7 @@ export * from './add-product-request-all-of2'; export * from './add-project-request'; export * from './add-project-request-all-of'; export * from './add-project-response'; +export * from './add-recurring-subscription-request'; export * from './add-remote-file-and-link-it-to-item-response'; export * from './add-role-assignment-request'; export * from './add-role-assignment-response'; @@ -88,6 +89,7 @@ export * from './add-roles-response'; export * from './add-roles-response-all-of'; export * from './add-roles-response-data'; export * from './add-stage-request'; +export * from './add-subscription-installment-request'; export * from './add-task-request'; export * from './add-task-response'; export * from './add-team-request'; @@ -136,6 +138,7 @@ export * from './call-log-forbidden-response'; export * from './call-log-gone-response'; export * from './call-log-internal-error-response'; export * from './call-log-not-found-response'; +export * from './cancel-recurring-subscription-request'; export * from './comment'; export * from './comment-post-put-object'; export * from './create-field-request'; @@ -435,6 +438,9 @@ export * from './get-organizations-response'; export * from './get-organizations-response-all-of'; export * from './get-organizations-response-all-of-related-objects'; export * from './get-participants-changelog-response'; +export * from './get-payments-response'; +export * from './get-payments-response-all-of'; +export * from './get-payments-response-all-of-data-inner'; export * from './get-permission-set-response'; export * from './get-permission-set-response-all-of'; export * from './get-permission-sets-response'; @@ -542,6 +548,8 @@ export * from './get-stages-response'; export * from './get-stages-response-data-inner'; export * from './get-subscription-addons-response'; export * from './get-subscription-addons-response-all-of'; +export * from './get-subscriptions-id-response'; +export * from './get-subscriptions-id-response-data'; export * from './get-task-response'; export * from './get-tasks-response'; export * from './get-team-response'; @@ -724,6 +732,7 @@ export * from './stage'; export * from './stage-with-pipeline-info'; export * from './sub-role'; export * from './sub-role-all-of'; +export * from './subscription-item'; export * from './task-response-object'; export * from './task-response-object-all-of'; export * from './team-id'; @@ -768,11 +777,13 @@ export * from './update-project-request1-all-of1'; export * from './update-project-request1-all-of2'; export * from './update-project-request2'; export * from './update-project-response'; +export * from './update-recurring-subscription-request'; export * from './update-role-response'; export * from './update-role-response-all-of'; export * from './update-role-response-data'; export * from './update-stage-request'; export * from './update-stage-request-all-of'; +export * from './update-subscription-installment-request'; export * from './update-task-plan-item-response'; export * from './update-task-response'; export * from './update-team-request';