pipedrive 25.0.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/esm/versions/v1/api/activities-api.js +47 -47
- package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
- package/dist/esm/versions/v1/api/billing-api.js +1 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
- package/dist/esm/versions/v1/api/channels-api.js +4 -4
- package/dist/esm/versions/v1/api/currencies-api.js +1 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/esm/versions/v1/api/deals-api.js +447 -118
- package/dist/esm/versions/v1/api/files-api.js +8 -8
- package/dist/esm/versions/v1/api/filters-api.js +7 -7
- package/dist/esm/versions/v1/api/goals-api.js +5 -5
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +10 -10
- package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +114 -21
- package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
- package/dist/esm/versions/v1/api/meetings-api.js +2 -2
- package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +25 -15
- package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/esm/versions/v1/api/organizations-api.js +88 -88
- package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/esm/versions/v1/api/persons-api.js +78 -78
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
- package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +36 -36
- package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
- package/dist/esm/versions/v1/api/projects-api.js +14 -14
- package/dist/esm/versions/v1/api/recents-api.js +1 -1
- package/dist/esm/versions/v1/api/roles-api.js +12 -12
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +43 -43
- package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/esm/versions/v1/api/tasks-api.js +5 -5
- package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
- package/dist/esm/versions/v1/api/users-api.js +10 -10
- package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
- package/dist/esm/versions/v1/base.d.ts +2 -3
- package/dist/esm/versions/v1/configuration.d.ts +2 -2
- package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
- package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v1/models/index.d.ts +1 -0
- package/dist/esm/versions/v1/models/index.js +1 -0
- package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-project.js +14 -0
- package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/esm/versions/v1/models/note.d.ts +16 -0
- package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +17 -12
- package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/esm/versions/v2/api/beta-api.js +290 -4
- package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/esm/versions/v2/api/deals-api.js +311 -27
- package/dist/esm/versions/v2/api/item-search-api.js +2 -2
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +147 -2
- package/dist/esm/versions/v2/api/organizations-api.js +10 -10
- package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v2/api/persons-api.js +18 -18
- package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/api/stages-api.js +5 -5
- package/dist/esm/versions/v2/api/users-api.js +1 -1
- package/dist/esm/versions/v2/base.d.ts +2 -3
- package/dist/esm/versions/v2/configuration.d.ts +2 -2
- package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
- package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/add-person-request.js +6 -1
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
- package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
- package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/index.d.ts +7 -0
- package/dist/esm/versions/v2/models/index.js +7 -0
- package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/update-person-request.js +6 -1
- package/dist/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/versions/v1/api/activities-api.js +47 -47
- package/dist/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/versions/v1/api/activity-types-api.js +5 -5
- package/dist/versions/v1/api/billing-api.js +1 -1
- package/dist/versions/v1/api/call-logs-api.js +5 -5
- package/dist/versions/v1/api/channels-api.js +4 -4
- package/dist/versions/v1/api/currencies-api.js +1 -1
- package/dist/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/versions/v1/api/deals-api.js +447 -118
- package/dist/versions/v1/api/files-api.js +8 -8
- package/dist/versions/v1/api/filters-api.js +7 -7
- package/dist/versions/v1/api/goals-api.js +5 -5
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +10 -10
- package/dist/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +114 -21
- package/dist/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/versions/v1/api/mailbox-api.js +6 -6
- package/dist/versions/v1/api/meetings-api.js +2 -2
- package/dist/versions/v1/api/note-fields-api.js +1 -1
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +25 -15
- package/dist/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/versions/v1/api/organizations-api.js +88 -88
- package/dist/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/versions/v1/api/person-fields-api.js +6 -6
- package/dist/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/versions/v1/api/persons-api.js +78 -78
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +36 -36
- package/dist/versions/v1/api/product-fields-api.js +6 -6
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +36 -36
- package/dist/versions/v1/api/project-templates-api.js +4 -4
- package/dist/versions/v1/api/projects-api.js +14 -14
- package/dist/versions/v1/api/recents-api.js +1 -1
- package/dist/versions/v1/api/roles-api.js +12 -12
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +43 -43
- package/dist/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/versions/v1/api/tasks-api.js +5 -5
- package/dist/versions/v1/api/user-connections-api.js +1 -1
- package/dist/versions/v1/api/user-settings-api.js +1 -1
- package/dist/versions/v1/api/users-api.js +10 -10
- package/dist/versions/v1/api/webhooks-api.js +3 -3
- package/dist/versions/v1/base.d.ts +2 -3
- package/dist/versions/v1/configuration.d.ts +2 -2
- package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
- package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v1/models/index.d.ts +1 -0
- package/dist/versions/v1/models/index.js +1 -0
- package/dist/versions/v1/models/note-project.d.ts +23 -0
- package/dist/versions/v1/models/note-project.js +15 -0
- package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/versions/v1/models/note.d.ts +16 -0
- package/dist/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +17 -12
- package/dist/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/versions/v2/api/beta-api.js +290 -4
- package/dist/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/versions/v2/api/deals-api.js +311 -27
- package/dist/versions/v2/api/item-search-api.js +2 -2
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +146 -1
- package/dist/versions/v2/api/organizations-api.js +10 -10
- package/dist/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/versions/v2/api/persons-api.js +18 -18
- package/dist/versions/v2/api/pipelines-api.js +5 -5
- package/dist/versions/v2/api/products-api.js +15 -15
- package/dist/versions/v2/api/stages-api.js +5 -5
- package/dist/versions/v2/api/users-api.js +1 -1
- package/dist/versions/v2/base.d.ts +2 -3
- package/dist/versions/v2/configuration.d.ts +2 -2
- package/dist/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
- package/dist/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/versions/v2/models/add-person-request.js +7 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
- package/dist/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/versions/v2/models/get-convert-response.js +15 -0
- package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
- package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/versions/v2/models/get-convert-response1.js +15 -0
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v2/models/index.d.ts +7 -0
- package/dist/versions/v2/models/index.js +7 -0
- package/dist/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/versions/v2/models/update-person-request.js +7 -0
- package/package.json +1 -1
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { AddAInstallmentResponse } from '../models';
|
16
16
|
import { AddAdditionalDiscountRequestBody } from '../models';
|
17
17
|
import { AddAdditionalDiscountResponse } from '../models';
|
18
|
+
import { AddConvertDealToLeadResponse } from '../models';
|
18
19
|
import { AddDealFollowerRequest } from '../models';
|
19
20
|
import { AddDealProductRequest } from '../models';
|
20
21
|
import { AddDealProductResponse } from '../models';
|
@@ -27,6 +28,7 @@ import { DeleteDealResponse } from '../models';
|
|
27
28
|
import { DeleteFollowerResponse } from '../models';
|
28
29
|
import { DeleteInstallmentResponse } from '../models';
|
29
30
|
import { GetAdditionalDiscountsResponse } from '../models';
|
31
|
+
import { GetConvertResponse1 } from '../models';
|
30
32
|
import { GetDealSearchResponse } from '../models';
|
31
33
|
import { GetDealsProductsResponse } from '../models';
|
32
34
|
import { GetDealsResponse } from '../models';
|
@@ -71,6 +73,14 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
71
73
|
* @throws {RequiredError}
|
72
74
|
*/
|
73
75
|
addDealProduct: (id: number, AddDealProductRequest?: AddDealProductRequest) => Promise<RequestArgs>;
|
76
|
+
/**
|
77
|
+
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
|
78
|
+
* @summary Convert a deal to a lead (BETA)
|
79
|
+
* @param {number} id The ID of the deal to convert
|
80
|
+
|
81
|
+
* @throws {RequiredError}
|
82
|
+
*/
|
83
|
+
convertDealToLead: (id: number) => Promise<RequestArgs>;
|
74
84
|
/**
|
75
85
|
* Removes a discount from a deal, changing the deal value if the deal has one-time products attached.
|
76
86
|
* @summary Delete a discount from a deal
|
@@ -123,6 +133,29 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
123
133
|
* @throws {RequiredError}
|
124
134
|
*/
|
125
135
|
getAdditionalDiscounts: (id: number) => Promise<RequestArgs>;
|
136
|
+
/**
|
137
|
+
* Returns data about all archived deals.
|
138
|
+
* @summary Get all archived deals
|
139
|
+
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
140
|
+
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
141
|
+
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
142
|
+
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
143
|
+
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
144
|
+
* @param {number} [pipeline_id] If supplied, only deals in the specified pipeline are returned. If filter_id is provided, this is ignored.
|
145
|
+
* @param {number} [stage_id] If supplied, only deals in the specified stage are returned. If filter_id is provided, this is ignored.
|
146
|
+
* @param {'open' | 'won' | 'lost' | 'deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included. Multiple statuses can be included as a comma separated array. If filter_id is provided, this is ignored.
|
147
|
+
* @param {string} [updated_since] If set, only deals with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
148
|
+
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
149
|
+
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
150
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
151
|
+
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time'} [include_fields] Optional comma separated string array of additional fields to include
|
152
|
+
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
153
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
154
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
155
|
+
|
156
|
+
* @throws {RequiredError}
|
157
|
+
*/
|
158
|
+
getArchivedDeals: (filter_id?: number, ids?: string, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time', custom_fields?: string, limit?: number, cursor?: string) => Promise<RequestArgs>;
|
126
159
|
/**
|
127
160
|
* Returns the details of a specific deal.
|
128
161
|
* @summary Get details of a deal
|
@@ -133,6 +166,15 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
133
166
|
* @throws {RequiredError}
|
134
167
|
*/
|
135
168
|
getDeal: (id: number, include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time', custom_fields?: string) => Promise<RequestArgs>;
|
169
|
+
/**
|
170
|
+
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
171
|
+
* @summary Get Deal conversion status (BETA)
|
172
|
+
* @param {number} id The ID of a deal
|
173
|
+
* @param {string} conversion_id The ID of the conversion
|
174
|
+
|
175
|
+
* @throws {RequiredError}
|
176
|
+
*/
|
177
|
+
getDealConversionStatus: (id: number, conversion_id: string) => Promise<RequestArgs>;
|
136
178
|
/**
|
137
179
|
* Lists users who are following the deal.
|
138
180
|
* @summary List followers of a deal
|
@@ -166,7 +208,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
166
208
|
*/
|
167
209
|
getDealProducts: (id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc') => Promise<RequestArgs>;
|
168
210
|
/**
|
169
|
-
* Returns data about all deals.
|
211
|
+
* Returns data about all not archived deals.
|
170
212
|
* @summary Get all deals
|
171
213
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
172
214
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
@@ -317,6 +359,14 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
317
359
|
* @throws {RequiredError}
|
318
360
|
*/
|
319
361
|
addDealProduct(id: number, AddDealProductRequest?: AddDealProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealProductResponse>>;
|
362
|
+
/**
|
363
|
+
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
|
364
|
+
* @summary Convert a deal to a lead (BETA)
|
365
|
+
* @param {number} id The ID of the deal to convert
|
366
|
+
|
367
|
+
* @throws {RequiredError}
|
368
|
+
*/
|
369
|
+
convertDealToLead(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddConvertDealToLeadResponse>>;
|
320
370
|
/**
|
321
371
|
* Removes a discount from a deal, changing the deal value if the deal has one-time products attached.
|
322
372
|
* @summary Delete a discount from a deal
|
@@ -369,6 +419,29 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
369
419
|
* @throws {RequiredError}
|
370
420
|
*/
|
371
421
|
getAdditionalDiscounts(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetAdditionalDiscountsResponse>>;
|
422
|
+
/**
|
423
|
+
* Returns data about all archived deals.
|
424
|
+
* @summary Get all archived deals
|
425
|
+
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
426
|
+
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
427
|
+
* @param {number} [owner_id] If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
428
|
+
* @param {number} [person_id] If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
429
|
+
* @param {number} [org_id] If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
430
|
+
* @param {number} [pipeline_id] If supplied, only deals in the specified pipeline are returned. If filter_id is provided, this is ignored.
|
431
|
+
* @param {number} [stage_id] If supplied, only deals in the specified stage are returned. If filter_id is provided, this is ignored.
|
432
|
+
* @param {'open' | 'won' | 'lost' | 'deleted'} [status] Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included. Multiple statuses can be included as a comma separated array. If filter_id is provided, this is ignored.
|
433
|
+
* @param {string} [updated_since] If set, only deals with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
434
|
+
* @param {string} [updated_until] If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
435
|
+
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
436
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
437
|
+
* @param {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time'} [include_fields] Optional comma separated string array of additional fields to include
|
438
|
+
* @param {string} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
439
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
440
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
441
|
+
|
442
|
+
* @throws {RequiredError}
|
443
|
+
*/
|
444
|
+
getArchivedDeals(filter_id?: number, ids?: string, owner_id?: number, person_id?: number, org_id?: number, pipeline_id?: number, stage_id?: number, status?: 'open' | 'won' | 'lost' | 'deleted', updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time', custom_fields?: string, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsResponse>>;
|
372
445
|
/**
|
373
446
|
* Returns the details of a specific deal.
|
374
447
|
* @summary Get details of a deal
|
@@ -379,6 +452,15 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
379
452
|
* @throws {RequiredError}
|
380
453
|
*/
|
381
454
|
getDeal(id: number, include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time', custom_fields?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertDealResponse>>;
|
455
|
+
/**
|
456
|
+
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
457
|
+
* @summary Get Deal conversion status (BETA)
|
458
|
+
* @param {number} id The ID of a deal
|
459
|
+
* @param {string} conversion_id The ID of the conversion
|
460
|
+
|
461
|
+
* @throws {RequiredError}
|
462
|
+
*/
|
463
|
+
getDealConversionStatus(id: number, conversion_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetConvertResponse1>>;
|
382
464
|
/**
|
383
465
|
* Lists users who are following the deal.
|
384
466
|
* @summary List followers of a deal
|
@@ -412,7 +494,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
412
494
|
*/
|
413
495
|
getDealProducts(id: number, cursor?: string, limit?: number, sort_by?: 'id' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsProductsResponse>>;
|
414
496
|
/**
|
415
|
-
* Returns data about all deals.
|
497
|
+
* Returns data about all not archived deals.
|
416
498
|
* @summary Get all deals
|
417
499
|
* @param {number} [filter_id] If supplied, only deals matching the specified filter are returned
|
418
500
|
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
@@ -561,6 +643,14 @@ export declare const DealsApiFactory: (configuration?: Configuration, basePath?:
|
|
561
643
|
* @throws {RequiredError}
|
562
644
|
*/
|
563
645
|
addDealProduct(requestParameters: DealsApiAddDealProductRequest): Promise<AddDealProductResponse>;
|
646
|
+
/**
|
647
|
+
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
|
648
|
+
* @summary Convert a deal to a lead (BETA)
|
649
|
+
* @param {DealsApiConvertDealToLeadRequest} requestParameters Request parameters.
|
650
|
+
|
651
|
+
* @throws {RequiredError}
|
652
|
+
*/
|
653
|
+
convertDealToLead(requestParameters: DealsApiConvertDealToLeadRequest): Promise<AddConvertDealToLeadResponse>;
|
564
654
|
/**
|
565
655
|
* Removes a discount from a deal, changing the deal value if the deal has one-time products attached.
|
566
656
|
* @summary Delete a discount from a deal
|
@@ -609,6 +699,14 @@ export declare const DealsApiFactory: (configuration?: Configuration, basePath?:
|
|
609
699
|
* @throws {RequiredError}
|
610
700
|
*/
|
611
701
|
getAdditionalDiscounts(requestParameters: DealsApiGetAdditionalDiscountsRequest): Promise<GetAdditionalDiscountsResponse>;
|
702
|
+
/**
|
703
|
+
* Returns data about all archived deals.
|
704
|
+
* @summary Get all archived deals
|
705
|
+
* @param {DealsApiGetArchivedDealsRequest} requestParameters Request parameters.
|
706
|
+
|
707
|
+
* @throws {RequiredError}
|
708
|
+
*/
|
709
|
+
getArchivedDeals(requestParameters?: DealsApiGetArchivedDealsRequest): Promise<GetDealsResponse>;
|
612
710
|
/**
|
613
711
|
* Returns the details of a specific deal.
|
614
712
|
* @summary Get details of a deal
|
@@ -617,6 +715,14 @@ export declare const DealsApiFactory: (configuration?: Configuration, basePath?:
|
|
617
715
|
* @throws {RequiredError}
|
618
716
|
*/
|
619
717
|
getDeal(requestParameters: DealsApiGetDealRequest): Promise<UpsertDealResponse>;
|
718
|
+
/**
|
719
|
+
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
720
|
+
* @summary Get Deal conversion status (BETA)
|
721
|
+
* @param {DealsApiGetDealConversionStatusRequest} requestParameters Request parameters.
|
722
|
+
|
723
|
+
* @throws {RequiredError}
|
724
|
+
*/
|
725
|
+
getDealConversionStatus(requestParameters: DealsApiGetDealConversionStatusRequest): Promise<GetConvertResponse1>;
|
620
726
|
/**
|
621
727
|
* Lists users who are following the deal.
|
622
728
|
* @summary List followers of a deal
|
@@ -642,7 +748,7 @@ export declare const DealsApiFactory: (configuration?: Configuration, basePath?:
|
|
642
748
|
*/
|
643
749
|
getDealProducts(requestParameters: DealsApiGetDealProductsRequest): Promise<GetDealsProductsResponse>;
|
644
750
|
/**
|
645
|
-
* Returns data about all deals.
|
751
|
+
* Returns data about all not archived deals.
|
646
752
|
* @summary Get all deals
|
647
753
|
* @param {DealsApiGetDealsRequest} requestParameters Request parameters.
|
648
754
|
|
@@ -773,6 +879,19 @@ export interface DealsApiAddDealProductRequest {
|
|
773
879
|
*/
|
774
880
|
readonly AddDealProductRequest?: AddDealProductRequest;
|
775
881
|
}
|
882
|
+
/**
|
883
|
+
* Request parameters for convertDealToLead operation in DealsApi.
|
884
|
+
* @export
|
885
|
+
* @interface DealsApiConvertDealToLeadRequest
|
886
|
+
*/
|
887
|
+
export interface DealsApiConvertDealToLeadRequest {
|
888
|
+
/**
|
889
|
+
* The ID of the deal to convert
|
890
|
+
* @type {number}
|
891
|
+
* @memberof DealsApiConvertDealToLead
|
892
|
+
*/
|
893
|
+
readonly id: number;
|
894
|
+
}
|
776
895
|
/**
|
777
896
|
* Request parameters for deleteAdditionalDiscount operation in DealsApi.
|
778
897
|
* @export
|
@@ -875,6 +994,109 @@ export interface DealsApiGetAdditionalDiscountsRequest {
|
|
875
994
|
*/
|
876
995
|
readonly id: number;
|
877
996
|
}
|
997
|
+
/**
|
998
|
+
* Request parameters for getArchivedDeals operation in DealsApi.
|
999
|
+
* @export
|
1000
|
+
* @interface DealsApiGetArchivedDealsRequest
|
1001
|
+
*/
|
1002
|
+
export interface DealsApiGetArchivedDealsRequest {
|
1003
|
+
/**
|
1004
|
+
* If supplied, only deals matching the specified filter are returned
|
1005
|
+
* @type {number}
|
1006
|
+
* @memberof DealsApiGetArchivedDeals
|
1007
|
+
*/
|
1008
|
+
readonly filter_id?: number;
|
1009
|
+
/**
|
1010
|
+
* Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
1011
|
+
* @type {string}
|
1012
|
+
* @memberof DealsApiGetArchivedDeals
|
1013
|
+
*/
|
1014
|
+
readonly ids?: string;
|
1015
|
+
/**
|
1016
|
+
* If supplied, only deals owned by the specified user are returned. If filter_id is provided, this is ignored.
|
1017
|
+
* @type {number}
|
1018
|
+
* @memberof DealsApiGetArchivedDeals
|
1019
|
+
*/
|
1020
|
+
readonly owner_id?: number;
|
1021
|
+
/**
|
1022
|
+
* If supplied, only deals linked to the specified person are returned. If filter_id is provided, this is ignored.
|
1023
|
+
* @type {number}
|
1024
|
+
* @memberof DealsApiGetArchivedDeals
|
1025
|
+
*/
|
1026
|
+
readonly person_id?: number;
|
1027
|
+
/**
|
1028
|
+
* If supplied, only deals linked to the specified organization are returned. If filter_id is provided, this is ignored.
|
1029
|
+
* @type {number}
|
1030
|
+
* @memberof DealsApiGetArchivedDeals
|
1031
|
+
*/
|
1032
|
+
readonly org_id?: number;
|
1033
|
+
/**
|
1034
|
+
* If supplied, only deals in the specified pipeline are returned. If filter_id is provided, this is ignored.
|
1035
|
+
* @type {number}
|
1036
|
+
* @memberof DealsApiGetArchivedDeals
|
1037
|
+
*/
|
1038
|
+
readonly pipeline_id?: number;
|
1039
|
+
/**
|
1040
|
+
* If supplied, only deals in the specified stage are returned. If filter_id is provided, this is ignored.
|
1041
|
+
* @type {number}
|
1042
|
+
* @memberof DealsApiGetArchivedDeals
|
1043
|
+
*/
|
1044
|
+
readonly stage_id?: number;
|
1045
|
+
/**
|
1046
|
+
* Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included. Multiple statuses can be included as a comma separated array. If filter_id is provided, this is ignored.
|
1047
|
+
* @type {'open' | 'won' | 'lost' | 'deleted'}
|
1048
|
+
* @memberof DealsApiGetArchivedDeals
|
1049
|
+
*/
|
1050
|
+
readonly status?: 'open' | 'won' | 'lost' | 'deleted';
|
1051
|
+
/**
|
1052
|
+
* If set, only deals with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
1053
|
+
* @type {string}
|
1054
|
+
* @memberof DealsApiGetArchivedDeals
|
1055
|
+
*/
|
1056
|
+
readonly updated_since?: string;
|
1057
|
+
/**
|
1058
|
+
* If set, only deals with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
1059
|
+
* @type {string}
|
1060
|
+
* @memberof DealsApiGetArchivedDeals
|
1061
|
+
*/
|
1062
|
+
readonly updated_until?: string;
|
1063
|
+
/**
|
1064
|
+
* The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
1065
|
+
* @type {'id' | 'update_time' | 'add_time'}
|
1066
|
+
* @memberof DealsApiGetArchivedDeals
|
1067
|
+
*/
|
1068
|
+
readonly sort_by?: 'id' | 'update_time' | 'add_time';
|
1069
|
+
/**
|
1070
|
+
* The sorting direction. Supported values: `asc`, `desc`.
|
1071
|
+
* @type {'asc' | 'desc'}
|
1072
|
+
* @memberof DealsApiGetArchivedDeals
|
1073
|
+
*/
|
1074
|
+
readonly sort_direction?: 'asc' | 'desc';
|
1075
|
+
/**
|
1076
|
+
* Optional comma separated string array of additional fields to include
|
1077
|
+
* @type {'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time'}
|
1078
|
+
* @memberof DealsApiGetArchivedDeals
|
1079
|
+
*/
|
1080
|
+
readonly include_fields?: 'next_activity_id' | 'last_activity_id' | 'first_won_time' | 'products_count' | 'files_count' | 'notes_count' | 'followers_count' | 'email_messages_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'participants_count' | 'last_incoming_mail_time' | 'last_outgoing_mail_time';
|
1081
|
+
/**
|
1082
|
+
* Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
1083
|
+
* @type {string}
|
1084
|
+
* @memberof DealsApiGetArchivedDeals
|
1085
|
+
*/
|
1086
|
+
readonly custom_fields?: string;
|
1087
|
+
/**
|
1088
|
+
* For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
1089
|
+
* @type {number}
|
1090
|
+
* @memberof DealsApiGetArchivedDeals
|
1091
|
+
*/
|
1092
|
+
readonly limit?: number;
|
1093
|
+
/**
|
1094
|
+
* For pagination, the marker (an opaque string value) representing the first item on the next page
|
1095
|
+
* @type {string}
|
1096
|
+
* @memberof DealsApiGetArchivedDeals
|
1097
|
+
*/
|
1098
|
+
readonly cursor?: string;
|
1099
|
+
}
|
878
1100
|
/**
|
879
1101
|
* Request parameters for getDeal operation in DealsApi.
|
880
1102
|
* @export
|
@@ -900,6 +1122,25 @@ export interface DealsApiGetDealRequest {
|
|
900
1122
|
*/
|
901
1123
|
readonly custom_fields?: string;
|
902
1124
|
}
|
1125
|
+
/**
|
1126
|
+
* Request parameters for getDealConversionStatus operation in DealsApi.
|
1127
|
+
* @export
|
1128
|
+
* @interface DealsApiGetDealConversionStatusRequest
|
1129
|
+
*/
|
1130
|
+
export interface DealsApiGetDealConversionStatusRequest {
|
1131
|
+
/**
|
1132
|
+
* The ID of a deal
|
1133
|
+
* @type {number}
|
1134
|
+
* @memberof DealsApiGetDealConversionStatus
|
1135
|
+
*/
|
1136
|
+
readonly id: number;
|
1137
|
+
/**
|
1138
|
+
* The ID of the conversion
|
1139
|
+
* @type {string}
|
1140
|
+
* @memberof DealsApiGetDealConversionStatus
|
1141
|
+
*/
|
1142
|
+
readonly conversion_id: string;
|
1143
|
+
}
|
903
1144
|
/**
|
904
1145
|
* Request parameters for getDealFollowers operation in DealsApi.
|
905
1146
|
* @export
|
@@ -1391,6 +1632,15 @@ export declare class DealsApi extends BaseAPI {
|
|
1391
1632
|
* @memberof DealsApi
|
1392
1633
|
*/
|
1393
1634
|
addDealProduct(requestParameters: DealsApiAddDealProductRequest): Promise<AddDealProductResponse>;
|
1635
|
+
/**
|
1636
|
+
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
|
1637
|
+
* @summary Convert a deal to a lead (BETA)
|
1638
|
+
* @param {DealsApiConvertDealToLeadRequest} requestParameters Request parameters.
|
1639
|
+
|
1640
|
+
* @throws {RequiredError}
|
1641
|
+
* @memberof DealsApi
|
1642
|
+
*/
|
1643
|
+
convertDealToLead(requestParameters: DealsApiConvertDealToLeadRequest): Promise<AddConvertDealToLeadResponse>;
|
1394
1644
|
/**
|
1395
1645
|
* Removes a discount from a deal, changing the deal value if the deal has one-time products attached.
|
1396
1646
|
* @summary Delete a discount from a deal
|
@@ -1445,6 +1695,15 @@ export declare class DealsApi extends BaseAPI {
|
|
1445
1695
|
* @memberof DealsApi
|
1446
1696
|
*/
|
1447
1697
|
getAdditionalDiscounts(requestParameters: DealsApiGetAdditionalDiscountsRequest): Promise<GetAdditionalDiscountsResponse>;
|
1698
|
+
/**
|
1699
|
+
* Returns data about all archived deals.
|
1700
|
+
* @summary Get all archived deals
|
1701
|
+
* @param {DealsApiGetArchivedDealsRequest} requestParameters Request parameters.
|
1702
|
+
|
1703
|
+
* @throws {RequiredError}
|
1704
|
+
* @memberof DealsApi
|
1705
|
+
*/
|
1706
|
+
getArchivedDeals(requestParameters?: DealsApiGetArchivedDealsRequest): Promise<GetDealsResponse>;
|
1448
1707
|
/**
|
1449
1708
|
* Returns the details of a specific deal.
|
1450
1709
|
* @summary Get details of a deal
|
@@ -1454,6 +1713,15 @@ export declare class DealsApi extends BaseAPI {
|
|
1454
1713
|
* @memberof DealsApi
|
1455
1714
|
*/
|
1456
1715
|
getDeal(requestParameters: DealsApiGetDealRequest): Promise<UpsertDealResponse>;
|
1716
|
+
/**
|
1717
|
+
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
|
1718
|
+
* @summary Get Deal conversion status (BETA)
|
1719
|
+
* @param {DealsApiGetDealConversionStatusRequest} requestParameters Request parameters.
|
1720
|
+
|
1721
|
+
* @throws {RequiredError}
|
1722
|
+
* @memberof DealsApi
|
1723
|
+
*/
|
1724
|
+
getDealConversionStatus(requestParameters: DealsApiGetDealConversionStatusRequest): Promise<GetConvertResponse1>;
|
1457
1725
|
/**
|
1458
1726
|
* Lists users who are following the deal.
|
1459
1727
|
* @summary List followers of a deal
|
@@ -1482,7 +1750,7 @@ export declare class DealsApi extends BaseAPI {
|
|
1482
1750
|
*/
|
1483
1751
|
getDealProducts(requestParameters: DealsApiGetDealProductsRequest): Promise<GetDealsProductsResponse>;
|
1484
1752
|
/**
|
1485
|
-
* Returns data about all deals.
|
1753
|
+
* Returns data about all not archived deals.
|
1486
1754
|
* @summary Get all deals
|
1487
1755
|
* @param {DealsApiGetDealsRequest} requestParameters Request parameters.
|
1488
1756
|
|