pipedrive 36.0.1 → 36.1.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/activity-fields-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
- package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
- package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/billing-api.js +25 -0
- package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
- package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
- package/dist/esm/versions/v1/api/channels-api.js +109 -0
- package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
- package/dist/esm/versions/v1/api/currencies-api.js +27 -0
- package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
- package/dist/esm/versions/v1/api/deals-api.js +569 -0
- package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
- package/dist/esm/versions/v1/api/files-api.js +234 -0
- package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
- package/dist/esm/versions/v1/api/filters-api.js +191 -0
- package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
- package/dist/esm/versions/v1/api/goals-api.js +150 -0
- package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
- package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
- package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
- package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
- package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
- package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
- package/dist/esm/versions/v1/api/leads-api.js +237 -0
- package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
- package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
- package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
- package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
- package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
- package/dist/esm/versions/v1/api/meetings-api.js +54 -0
- package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
- package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
- package/dist/esm/versions/v1/api/notes-api.js +296 -0
- package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
- package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
- package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
- package/dist/esm/versions/v1/api/organizations-api.js +258 -0
- package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
- package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
- package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
- package/dist/esm/versions/v1/api/persons-api.js +370 -24
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
- package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
- package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
- package/dist/esm/versions/v1/api/products-api.js +172 -0
- package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
- package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
- package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
- package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
- package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
- package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
- package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
- package/dist/esm/versions/v1/api/projects-api.js +334 -0
- package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
- package/dist/esm/versions/v1/api/recents-api.js +30 -0
- package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
- package/dist/esm/versions/v1/api/roles-api.js +333 -0
- package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
- package/dist/esm/versions/v1/api/stages-api.js +32 -0
- package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
- package/dist/esm/versions/v1/api/tasks-api.js +141 -0
- package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
- package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
- package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
- package/dist/esm/versions/v1/api/users-api.js +270 -0
- package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
- package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
- package/dist/esm/versions/v1/base.d.ts +17 -0
- package/dist/esm/versions/v1/base.js +22 -0
- package/dist/esm/versions/v1/common.d.ts +1 -1
- package/dist/esm/versions/v1/common.js +7 -4
- package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
- package/dist/esm/versions/v2/api/activities-api.js +151 -0
- package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
- package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
- package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
- package/dist/esm/versions/v2/api/beta-api.js +666 -0
- package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
- package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
- package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
- package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
- package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
- package/dist/esm/versions/v2/api/deals-api.js +516 -1
- package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
- package/dist/esm/versions/v2/api/item-search-api.js +66 -0
- package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
- package/dist/esm/versions/v2/api/leads-api.js +90 -0
- package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
- package/dist/esm/versions/v2/api/organizations-api.js +297 -0
- package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
- package/dist/esm/versions/v2/api/persons-api.js +328 -0
- package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
- package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
- package/dist/esm/versions/v2/api/products-api.js +541 -0
- package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
- package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
- package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
- package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
- package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
- package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
- package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
- package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
- package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
- package/dist/esm/versions/v2/api/projects-api.js +290 -0
- package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
- package/dist/esm/versions/v2/api/stages-api.js +140 -0
- package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
- package/dist/esm/versions/v2/api/tasks-api.js +142 -0
- package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
- package/dist/esm/versions/v2/api/users-api.js +29 -0
- package/dist/esm/versions/v2/base.d.ts +17 -0
- package/dist/esm/versions/v2/base.js +22 -0
- package/dist/esm/versions/v2/common.d.ts +1 -1
- package/dist/esm/versions/v2/common.js +7 -4
- package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
- package/dist/versions/v1/api/activity-fields-api.js +25 -0
- package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
- package/dist/versions/v1/api/activity-types-api.js +107 -0
- package/dist/versions/v1/api/billing-api.d.ts +17 -1
- package/dist/versions/v1/api/billing-api.js +25 -0
- package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
- package/dist/versions/v1/api/call-logs-api.js +137 -0
- package/dist/versions/v1/api/channels-api.d.ts +74 -1
- package/dist/versions/v1/api/channels-api.js +109 -0
- package/dist/versions/v1/api/currencies-api.d.ts +19 -1
- package/dist/versions/v1/api/currencies-api.js +27 -0
- package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/deal-fields-api.js +164 -0
- package/dist/versions/v1/api/deals-api.d.ts +399 -1
- package/dist/versions/v1/api/deals-api.js +569 -0
- package/dist/versions/v1/api/files-api.d.ts +163 -1
- package/dist/versions/v1/api/files-api.js +234 -0
- package/dist/versions/v1/api/filters-api.d.ts +129 -1
- package/dist/versions/v1/api/filters-api.js +191 -0
- package/dist/versions/v1/api/goals-api.d.ts +106 -1
- package/dist/versions/v1/api/goals-api.js +150 -0
- package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
- package/dist/versions/v1/api/lead-fields-api.js +28 -0
- package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
- package/dist/versions/v1/api/lead-labels-api.js +107 -0
- package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
- package/dist/versions/v1/api/lead-sources-api.js +25 -0
- package/dist/versions/v1/api/leads-api.d.ts +166 -1
- package/dist/versions/v1/api/leads-api.js +237 -0
- package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
- package/dist/versions/v1/api/legacy-teams-api.js +223 -0
- package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
- package/dist/versions/v1/api/mailbox-api.js +170 -0
- package/dist/versions/v1/api/meetings-api.d.ts +37 -1
- package/dist/versions/v1/api/meetings-api.js +54 -0
- package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
- package/dist/versions/v1/api/note-fields-api.js +25 -0
- package/dist/versions/v1/api/notes-api.d.ts +207 -1
- package/dist/versions/v1/api/notes-api.js +296 -0
- package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/organization-fields-api.js +164 -0
- package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
- package/dist/versions/v1/api/organization-relationships-api.js +137 -0
- package/dist/versions/v1/api/organizations-api.d.ts +178 -1
- package/dist/versions/v1/api/organizations-api.js +258 -0
- package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
- package/dist/versions/v1/api/permission-sets-api.js +83 -0
- package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/person-fields-api.js +164 -0
- package/dist/versions/v1/api/persons-api.d.ts +275 -37
- package/dist/versions/v1/api/persons-api.js +370 -24
- package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
- package/dist/versions/v1/api/pipelines-api.js +95 -0
- package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/product-fields-api.js +164 -0
- package/dist/versions/v1/api/products-api.d.ts +119 -1
- package/dist/versions/v1/api/products-api.js +172 -0
- package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
- package/dist/versions/v1/api/project-boards-api.js +52 -0
- package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
- package/dist/versions/v1/api/project-phases-api.js +54 -0
- package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
- package/dist/versions/v1/api/project-templates-api.js +55 -0
- package/dist/versions/v1/api/projects-api.d.ts +227 -1
- package/dist/versions/v1/api/projects-api.js +334 -0
- package/dist/versions/v1/api/recents-api.d.ts +22 -1
- package/dist/versions/v1/api/recents-api.js +30 -0
- package/dist/versions/v1/api/roles-api.d.ts +226 -1
- package/dist/versions/v1/api/roles-api.js +333 -0
- package/dist/versions/v1/api/stages-api.d.ts +24 -1
- package/dist/versions/v1/api/stages-api.js +32 -0
- package/dist/versions/v1/api/tasks-api.d.ts +97 -1
- package/dist/versions/v1/api/tasks-api.js +141 -0
- package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
- package/dist/versions/v1/api/user-connections-api.js +25 -0
- package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
- package/dist/versions/v1/api/user-settings-api.js +25 -0
- package/dist/versions/v1/api/users-api.d.ts +181 -1
- package/dist/versions/v1/api/users-api.js +270 -0
- package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
- package/dist/versions/v1/api/webhooks-api.js +79 -0
- package/dist/versions/v1/base.d.ts +17 -0
- package/dist/versions/v1/base.js +24 -1
- package/dist/versions/v1/common.d.ts +1 -1
- package/dist/versions/v1/common.js +6 -3
- package/dist/versions/v2/api/activities-api.d.ts +107 -1
- package/dist/versions/v2/api/activities-api.js +151 -0
- package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
- package/dist/versions/v2/api/activity-fields-api.js +57 -0
- package/dist/versions/v2/api/beta-api.d.ts +451 -1
- package/dist/versions/v2/api/beta-api.js +666 -0
- package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/deal-fields-api.js +223 -0
- package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
- package/dist/versions/v2/api/deal-installments-api.js +116 -0
- package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
- package/dist/versions/v2/api/deal-products-api.js +203 -0
- package/dist/versions/v2/api/deals-api.d.ts +363 -1
- package/dist/versions/v2/api/deals-api.js +516 -1
- package/dist/versions/v2/api/item-search-api.d.ts +49 -1
- package/dist/versions/v2/api/item-search-api.js +66 -0
- package/dist/versions/v2/api/leads-api.d.ts +64 -1
- package/dist/versions/v2/api/leads-api.js +90 -0
- package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/organization-fields-api.js +223 -0
- package/dist/versions/v2/api/organizations-api.d.ts +208 -1
- package/dist/versions/v2/api/organizations-api.js +297 -0
- package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/person-fields-api.js +223 -0
- package/dist/versions/v2/api/persons-api.d.ts +230 -1
- package/dist/versions/v2/api/persons-api.js +328 -0
- package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
- package/dist/versions/v2/api/pipelines-api.js +139 -0
- package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/product-fields-api.js +223 -0
- package/dist/versions/v2/api/products-api.d.ts +371 -1
- package/dist/versions/v2/api/products-api.js +541 -0
- package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
- package/dist/versions/v2/api/project-boards-api.js +134 -0
- package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
- package/dist/versions/v2/api/project-fields-api.js +221 -0
- package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
- package/dist/versions/v2/api/project-phases-api.js +136 -0
- package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
- package/dist/versions/v2/api/project-templates-api.js +55 -0
- package/dist/versions/v2/api/projects-api.d.ts +201 -1
- package/dist/versions/v2/api/projects-api.js +290 -0
- package/dist/versions/v2/api/stages-api.d.ts +96 -1
- package/dist/versions/v2/api/stages-api.js +140 -0
- package/dist/versions/v2/api/tasks-api.d.ts +98 -1
- package/dist/versions/v2/api/tasks-api.js +142 -0
- package/dist/versions/v2/api/users-api.d.ts +21 -1
- package/dist/versions/v2/api/users-api.js +29 -0
- package/dist/versions/v2/base.d.ts +17 -0
- package/dist/versions/v2/base.js +24 -1
- package/dist/versions/v2/common.d.ts +1 -1
- package/dist/versions/v2/common.js +6 -3
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { AddDealFieldOptions200Response } from '../models';
|
|
16
16
|
import { AddDealFieldOptionsRequestInner } from '../models';
|
|
17
17
|
import { AddProjectBoardRequest } from '../models';
|
|
@@ -269,6 +269,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
269
269
|
* @throws {RequiredError}
|
|
270
270
|
*/
|
|
271
271
|
addProjectBoard(AddProjectBoardRequest: AddProjectBoardRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectBoardResponse>>;
|
|
272
|
+
/**
|
|
273
|
+
* Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
274
|
+
* @summary Add a project board
|
|
275
|
+
* @param {AddProjectBoardRequest} AddProjectBoardRequest
|
|
276
|
+
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
addProjectBoardWithHttpInfo(AddProjectBoardRequest: AddProjectBoardRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectBoardResponse>>>;
|
|
272
280
|
/**
|
|
273
281
|
* Creates a new project custom field.
|
|
274
282
|
* @summary Create one project field
|
|
@@ -277,6 +285,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
277
285
|
* @throws {RequiredError}
|
|
278
286
|
*/
|
|
279
287
|
addProjectField(AddProjectFieldRequest: AddProjectFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProjectField200Response>>;
|
|
288
|
+
/**
|
|
289
|
+
* Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
290
|
+
* @summary Create one project field
|
|
291
|
+
* @param {AddProjectFieldRequest} AddProjectFieldRequest
|
|
292
|
+
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
addProjectFieldWithHttpInfo(AddProjectFieldRequest: AddProjectFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProjectField200Response>>>;
|
|
280
296
|
/**
|
|
281
297
|
* Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
282
298
|
* @summary Add project field options in bulk
|
|
@@ -286,6 +302,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
286
302
|
* @throws {RequiredError}
|
|
287
303
|
*/
|
|
288
304
|
addProjectFieldOptions(field_code: string, AddDealFieldOptionsRequestInner: AddDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
305
|
+
/**
|
|
306
|
+
* Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
307
|
+
* @summary Add project field options in bulk
|
|
308
|
+
* @param {string} field_code The unique code identifying the field
|
|
309
|
+
* @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
|
|
310
|
+
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
addProjectFieldOptionsWithHttpInfo(field_code: string, AddDealFieldOptionsRequestInner: AddDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
289
314
|
/**
|
|
290
315
|
* Adds a new project phase to a board.
|
|
291
316
|
* @summary Add a project phase
|
|
@@ -294,6 +319,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
294
319
|
* @throws {RequiredError}
|
|
295
320
|
*/
|
|
296
321
|
addProjectPhase(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
322
|
+
/**
|
|
323
|
+
* Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
324
|
+
* @summary Add a project phase
|
|
325
|
+
* @param {AddProjectPhaseRequest} AddProjectPhaseRequest
|
|
326
|
+
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
addProjectPhaseWithHttpInfo(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
297
330
|
/**
|
|
298
331
|
* Adds a new task.
|
|
299
332
|
* @summary Add a task
|
|
@@ -302,6 +335,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
302
335
|
* @throws {RequiredError}
|
|
303
336
|
*/
|
|
304
337
|
addTask(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddTaskResponse>>;
|
|
338
|
+
/**
|
|
339
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
340
|
+
* @summary Add a task
|
|
341
|
+
* @param {AddTaskRequest} AddTaskRequest
|
|
342
|
+
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
addTaskWithHttpInfo(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddTaskResponse>>>;
|
|
305
346
|
/**
|
|
306
347
|
* Marks a project board as deleted.
|
|
307
348
|
* @summary Delete a project board
|
|
@@ -310,6 +351,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
310
351
|
* @throws {RequiredError}
|
|
311
352
|
*/
|
|
312
353
|
deleteProjectBoard(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectBoardResponse>>;
|
|
354
|
+
/**
|
|
355
|
+
* Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
356
|
+
* @summary Delete a project board
|
|
357
|
+
* @param {number} id The ID of the project board
|
|
358
|
+
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
deleteProjectBoardWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectBoardResponse>>>;
|
|
313
362
|
/**
|
|
314
363
|
* Marks a custom field as deleted.
|
|
315
364
|
* @summary Delete one project field
|
|
@@ -318,6 +367,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
318
367
|
* @throws {RequiredError}
|
|
319
368
|
*/
|
|
320
369
|
deleteProjectField(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectField200Response>>;
|
|
370
|
+
/**
|
|
371
|
+
* Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
372
|
+
* @summary Delete one project field
|
|
373
|
+
* @param {string} field_code The unique code identifying the field
|
|
374
|
+
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
deleteProjectFieldWithHttpInfo(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectField200Response>>>;
|
|
321
378
|
/**
|
|
322
379
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
323
380
|
* @summary Delete project field options in bulk
|
|
@@ -327,6 +384,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
327
384
|
* @throws {RequiredError}
|
|
328
385
|
*/
|
|
329
386
|
deleteProjectFieldOptions(field_code: string, DeleteDealFieldOptionsRequestInner: DeleteDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
387
|
+
/**
|
|
388
|
+
* Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
389
|
+
* @summary Delete project field options in bulk
|
|
390
|
+
* @param {string} field_code The unique code identifying the field
|
|
391
|
+
* @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
|
|
392
|
+
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
deleteProjectFieldOptionsWithHttpInfo(field_code: string, DeleteDealFieldOptionsRequestInner: DeleteDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
330
396
|
/**
|
|
331
397
|
* Marks a project phase as deleted.
|
|
332
398
|
* @summary Delete a project phase
|
|
@@ -335,6 +401,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
335
401
|
* @throws {RequiredError}
|
|
336
402
|
*/
|
|
337
403
|
deleteProjectPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectPhaseResponse>>;
|
|
404
|
+
/**
|
|
405
|
+
* Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
406
|
+
* @summary Delete a project phase
|
|
407
|
+
* @param {number} id The ID of the project phase
|
|
408
|
+
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
deleteProjectPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectPhaseResponse>>>;
|
|
338
412
|
/**
|
|
339
413
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
340
414
|
* @summary Delete a task
|
|
@@ -343,6 +417,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
343
417
|
* @throws {RequiredError}
|
|
344
418
|
*/
|
|
345
419
|
deleteTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteTaskResponse>>;
|
|
420
|
+
/**
|
|
421
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
422
|
+
* @summary Delete a task
|
|
423
|
+
* @param {number} id The ID of the task
|
|
424
|
+
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
deleteTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteTaskResponse>>>;
|
|
346
428
|
/**
|
|
347
429
|
* Returns metadata about a specific project field.
|
|
348
430
|
* @summary Get one project field
|
|
@@ -351,6 +433,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
351
433
|
* @throws {RequiredError}
|
|
352
434
|
*/
|
|
353
435
|
getProjectField(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProjectField200Response>>;
|
|
436
|
+
/**
|
|
437
|
+
* Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
438
|
+
* @summary Get one project field
|
|
439
|
+
* @param {string} field_code The unique code identifying the field
|
|
440
|
+
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
getProjectFieldWithHttpInfo(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProjectField200Response>>>;
|
|
354
444
|
/**
|
|
355
445
|
* Returns metadata about all project fields in the company.
|
|
356
446
|
* @summary Get all project fields
|
|
@@ -360,6 +450,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
360
450
|
* @throws {RequiredError}
|
|
361
451
|
*/
|
|
362
452
|
getProjectFields(limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectFields200Response>>;
|
|
453
|
+
/**
|
|
454
|
+
* Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
|
|
455
|
+
* @summary Get all project fields
|
|
456
|
+
* @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.
|
|
457
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
458
|
+
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
getProjectFieldsWithHttpInfo(limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectFields200Response>>>;
|
|
363
462
|
/**
|
|
364
463
|
* Returns the details of a specific project board.
|
|
365
464
|
* @summary Get details of a project board
|
|
@@ -368,6 +467,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
368
467
|
* @throws {RequiredError}
|
|
369
468
|
*/
|
|
370
469
|
getProjectsBoard(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectBoardResponse>>;
|
|
470
|
+
/**
|
|
471
|
+
* Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
472
|
+
* @summary Get details of a project board
|
|
473
|
+
* @param {number} id The ID of the project board
|
|
474
|
+
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
getProjectsBoardWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectBoardResponse>>>;
|
|
371
478
|
/**
|
|
372
479
|
* Returns all active project boards.
|
|
373
480
|
* @summary Get all project boards
|
|
@@ -375,6 +482,13 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
375
482
|
* @throws {RequiredError}
|
|
376
483
|
*/
|
|
377
484
|
getProjectsBoards(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectBoardsResponse>>;
|
|
485
|
+
/**
|
|
486
|
+
* Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
|
|
487
|
+
* @summary Get all project boards
|
|
488
|
+
|
|
489
|
+
* @throws {RequiredError}
|
|
490
|
+
*/
|
|
491
|
+
getProjectsBoardsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectBoardsResponse>>>;
|
|
378
492
|
/**
|
|
379
493
|
* Returns the details of a specific project phase.
|
|
380
494
|
* @summary Get details of a project phase
|
|
@@ -383,6 +497,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
383
497
|
* @throws {RequiredError}
|
|
384
498
|
*/
|
|
385
499
|
getProjectsPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
500
|
+
/**
|
|
501
|
+
* Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
502
|
+
* @summary Get details of a project phase
|
|
503
|
+
* @param {number} id The ID of the project phase
|
|
504
|
+
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
getProjectsPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
386
508
|
/**
|
|
387
509
|
* Returns all active project phases under a specific board.
|
|
388
510
|
* @summary Get project phases
|
|
@@ -391,6 +513,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
391
513
|
* @throws {RequiredError}
|
|
392
514
|
*/
|
|
393
515
|
getProjectsPhases(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhasesResponse>>;
|
|
516
|
+
/**
|
|
517
|
+
* Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
|
|
518
|
+
* @summary Get project phases
|
|
519
|
+
* @param {number} board_id The ID of the board for which phases are requested
|
|
520
|
+
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
getProjectsPhasesWithHttpInfo(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhasesResponse>>>;
|
|
394
524
|
/**
|
|
395
525
|
* Returns the details of a specific task.
|
|
396
526
|
* @summary Get details of a task
|
|
@@ -399,6 +529,14 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
399
529
|
* @throws {RequiredError}
|
|
400
530
|
*/
|
|
401
531
|
getTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTaskResponse>>;
|
|
532
|
+
/**
|
|
533
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
534
|
+
* @summary Get details of a task
|
|
535
|
+
* @param {number} id The ID of the task
|
|
536
|
+
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
getTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTaskResponse>>>;
|
|
402
540
|
/**
|
|
403
541
|
* Returns all tasks.
|
|
404
542
|
* @summary Get all tasks
|
|
@@ -413,6 +551,20 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
413
551
|
* @throws {RequiredError}
|
|
414
552
|
*/
|
|
415
553
|
getTasks(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTasksResponse>>;
|
|
554
|
+
/**
|
|
555
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
556
|
+
* @summary Get all tasks
|
|
557
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
558
|
+
* @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.
|
|
559
|
+
* @param {boolean} [is_done] Whether the task is done or not. If omitted, both done and not done tasks are returned.
|
|
560
|
+
* @param {boolean} [is_milestone] Whether the task is a milestone or not. If omitted, both milestone and non-milestone tasks are returned.
|
|
561
|
+
* @param {number} [assignee_id] If supplied, only tasks assigned to this user are returned
|
|
562
|
+
* @param {number} [project_id] If supplied, only tasks belonging to this project are returned
|
|
563
|
+
* @param {string} [parent_task_id] If `null` is supplied, only root-level tasks (without a parent) are returned. If an integer is supplied, only subtasks of that specific task are returned. By default all tasks are returned.
|
|
564
|
+
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
*/
|
|
567
|
+
getTasksWithHttpInfo(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTasksResponse>>>;
|
|
416
568
|
/**
|
|
417
569
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
418
570
|
* @summary Search projects
|
|
@@ -427,6 +579,20 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
427
579
|
* @throws {RequiredError}
|
|
428
580
|
*/
|
|
429
581
|
searchProjects(term: string, fields?: Set<'custom_fields' | 'notes' | 'title' | 'description'>, exact_match?: boolean, person_id?: number, organization_id?: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectSearchResponse>>;
|
|
582
|
+
/**
|
|
583
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
584
|
+
* @summary Search projects
|
|
585
|
+
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
586
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
587
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
588
|
+
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
589
|
+
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
590
|
+
* @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 100 is allowed.
|
|
591
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
592
|
+
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
searchProjectsWithHttpInfo(term: string, fields?: Set<'custom_fields' | 'notes' | 'title' | 'description'>, exact_match?: boolean, person_id?: number, organization_id?: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectSearchResponse>>>;
|
|
430
596
|
/**
|
|
431
597
|
* Updates the properties of a project board.
|
|
432
598
|
* @summary Update a project board
|
|
@@ -436,6 +602,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
436
602
|
* @throws {RequiredError}
|
|
437
603
|
*/
|
|
438
604
|
updateProjectBoard(id: number, UpdateProjectBoardRequest?: UpdateProjectBoardRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectBoardResponse>>;
|
|
605
|
+
/**
|
|
606
|
+
* Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
607
|
+
* @summary Update a project board
|
|
608
|
+
* @param {number} id The ID of the project board
|
|
609
|
+
* @param {UpdateProjectBoardRequest} [UpdateProjectBoardRequest]
|
|
610
|
+
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
updateProjectBoardWithHttpInfo(id: number, UpdateProjectBoardRequest?: UpdateProjectBoardRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectBoardResponse>>>;
|
|
439
614
|
/**
|
|
440
615
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
441
616
|
* @summary Update one project field
|
|
@@ -445,6 +620,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
445
620
|
* @throws {RequiredError}
|
|
446
621
|
*/
|
|
447
622
|
updateProjectField(field_code: string, UpdateProjectFieldRequest: UpdateProjectFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProjectField200Response>>;
|
|
623
|
+
/**
|
|
624
|
+
* Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
625
|
+
* @summary Update one project field
|
|
626
|
+
* @param {string} field_code The unique code identifying the field
|
|
627
|
+
* @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
|
|
628
|
+
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
updateProjectFieldWithHttpInfo(field_code: string, UpdateProjectFieldRequest: UpdateProjectFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProjectField200Response>>>;
|
|
448
632
|
/**
|
|
449
633
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
450
634
|
* @summary Update project field options in bulk
|
|
@@ -454,6 +638,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
454
638
|
* @throws {RequiredError}
|
|
455
639
|
*/
|
|
456
640
|
updateProjectFieldOptions(field_code: string, UpdateDealFieldOptionsRequestInner: UpdateDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
641
|
+
/**
|
|
642
|
+
* Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
643
|
+
* @summary Update project field options in bulk
|
|
644
|
+
* @param {string} field_code The unique code identifying the field
|
|
645
|
+
* @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
|
|
646
|
+
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
updateProjectFieldOptionsWithHttpInfo(field_code: string, UpdateDealFieldOptionsRequestInner: UpdateDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
457
650
|
/**
|
|
458
651
|
* Updates the properties of a project phase.
|
|
459
652
|
* @summary Update a project phase
|
|
@@ -463,6 +656,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
463
656
|
* @throws {RequiredError}
|
|
464
657
|
*/
|
|
465
658
|
updateProjectPhase(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
659
|
+
/**
|
|
660
|
+
* Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
661
|
+
* @summary Update a project phase
|
|
662
|
+
* @param {number} id The ID of the project phase
|
|
663
|
+
* @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
|
|
664
|
+
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
updateProjectPhaseWithHttpInfo(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
466
668
|
/**
|
|
467
669
|
* Updates a task.
|
|
468
670
|
* @summary Update a task
|
|
@@ -472,6 +674,15 @@ export declare const BetaApiFp: (configuration?: Configuration) => {
|
|
|
472
674
|
* @throws {RequiredError}
|
|
473
675
|
*/
|
|
474
676
|
updateTask(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateTaskResponse>>;
|
|
677
|
+
/**
|
|
678
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
679
|
+
* @summary Update a task
|
|
680
|
+
* @param {number} id The ID of the task
|
|
681
|
+
* @param {UpdateTaskRequest} [UpdateTaskRequest]
|
|
682
|
+
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
*/
|
|
685
|
+
updateTaskWithHttpInfo(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateTaskResponse>>>;
|
|
475
686
|
};
|
|
476
687
|
/**
|
|
477
688
|
* BetaApi - factory interface
|
|
@@ -486,6 +697,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
486
697
|
* @throws {RequiredError}
|
|
487
698
|
*/
|
|
488
699
|
addProjectBoard(requestParameters: BetaApiAddProjectBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
700
|
+
addProjectBoardWithHttpInfo(requestParameters: BetaApiAddProjectBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
489
701
|
/**
|
|
490
702
|
* Creates a new project custom field.
|
|
491
703
|
* @summary Create one project field
|
|
@@ -494,6 +706,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
494
706
|
* @throws {RequiredError}
|
|
495
707
|
*/
|
|
496
708
|
addProjectField(requestParameters: BetaApiAddProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
709
|
+
addProjectFieldWithHttpInfo(requestParameters: BetaApiAddProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
497
710
|
/**
|
|
498
711
|
* Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
499
712
|
* @summary Add project field options in bulk
|
|
@@ -502,6 +715,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
502
715
|
* @throws {RequiredError}
|
|
503
716
|
*/
|
|
504
717
|
addProjectFieldOptions(requestParameters: BetaApiAddProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
718
|
+
addProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiAddProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
505
719
|
/**
|
|
506
720
|
* Adds a new project phase to a board.
|
|
507
721
|
* @summary Add a project phase
|
|
@@ -510,6 +724,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
510
724
|
* @throws {RequiredError}
|
|
511
725
|
*/
|
|
512
726
|
addProjectPhase(requestParameters: BetaApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
727
|
+
addProjectPhaseWithHttpInfo(requestParameters: BetaApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
513
728
|
/**
|
|
514
729
|
* Adds a new task.
|
|
515
730
|
* @summary Add a task
|
|
@@ -518,6 +733,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
518
733
|
* @throws {RequiredError}
|
|
519
734
|
*/
|
|
520
735
|
addTask(requestParameters: BetaApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
736
|
+
addTaskWithHttpInfo(requestParameters: BetaApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
521
737
|
/**
|
|
522
738
|
* Marks a project board as deleted.
|
|
523
739
|
* @summary Delete a project board
|
|
@@ -526,6 +742,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
526
742
|
* @throws {RequiredError}
|
|
527
743
|
*/
|
|
528
744
|
deleteProjectBoard(requestParameters: BetaApiDeleteProjectBoardRequest): Promise<DeleteProjectBoardResponse>;
|
|
745
|
+
deleteProjectBoardWithHttpInfo(requestParameters: BetaApiDeleteProjectBoardRequest): Promise<ApiResponse<DeleteProjectBoardResponse>>;
|
|
529
746
|
/**
|
|
530
747
|
* Marks a custom field as deleted.
|
|
531
748
|
* @summary Delete one project field
|
|
@@ -534,6 +751,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
534
751
|
* @throws {RequiredError}
|
|
535
752
|
*/
|
|
536
753
|
deleteProjectField(requestParameters: BetaApiDeleteProjectFieldRequest): Promise<DeleteProjectField200Response>;
|
|
754
|
+
deleteProjectFieldWithHttpInfo(requestParameters: BetaApiDeleteProjectFieldRequest): Promise<ApiResponse<DeleteProjectField200Response>>;
|
|
537
755
|
/**
|
|
538
756
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
539
757
|
* @summary Delete project field options in bulk
|
|
@@ -542,6 +760,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
542
760
|
* @throws {RequiredError}
|
|
543
761
|
*/
|
|
544
762
|
deleteProjectFieldOptions(requestParameters: BetaApiDeleteProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
763
|
+
deleteProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiDeleteProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
545
764
|
/**
|
|
546
765
|
* Marks a project phase as deleted.
|
|
547
766
|
* @summary Delete a project phase
|
|
@@ -550,6 +769,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
550
769
|
* @throws {RequiredError}
|
|
551
770
|
*/
|
|
552
771
|
deleteProjectPhase(requestParameters: BetaApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
|
|
772
|
+
deleteProjectPhaseWithHttpInfo(requestParameters: BetaApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
|
|
553
773
|
/**
|
|
554
774
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
555
775
|
* @summary Delete a task
|
|
@@ -558,6 +778,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
558
778
|
* @throws {RequiredError}
|
|
559
779
|
*/
|
|
560
780
|
deleteTask(requestParameters: BetaApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
781
|
+
deleteTaskWithHttpInfo(requestParameters: BetaApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
561
782
|
/**
|
|
562
783
|
* Returns metadata about a specific project field.
|
|
563
784
|
* @summary Get one project field
|
|
@@ -566,6 +787,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
566
787
|
* @throws {RequiredError}
|
|
567
788
|
*/
|
|
568
789
|
getProjectField(requestParameters: BetaApiGetProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
790
|
+
getProjectFieldWithHttpInfo(requestParameters: BetaApiGetProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
569
791
|
/**
|
|
570
792
|
* Returns metadata about all project fields in the company.
|
|
571
793
|
* @summary Get all project fields
|
|
@@ -574,6 +796,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
574
796
|
* @throws {RequiredError}
|
|
575
797
|
*/
|
|
576
798
|
getProjectFields(requestParameters?: BetaApiGetProjectFieldsRequest): Promise<GetProjectFields200Response>;
|
|
799
|
+
getProjectFieldsWithHttpInfo(requestParameters?: BetaApiGetProjectFieldsRequest): Promise<ApiResponse<GetProjectFields200Response>>;
|
|
577
800
|
/**
|
|
578
801
|
* Returns the details of a specific project board.
|
|
579
802
|
* @summary Get details of a project board
|
|
@@ -582,6 +805,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
582
805
|
* @throws {RequiredError}
|
|
583
806
|
*/
|
|
584
807
|
getProjectsBoard(requestParameters: BetaApiGetProjectsBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
808
|
+
getProjectsBoardWithHttpInfo(requestParameters: BetaApiGetProjectsBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
585
809
|
/**
|
|
586
810
|
* Returns all active project boards.
|
|
587
811
|
* @summary Get all project boards
|
|
@@ -589,6 +813,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
589
813
|
* @throws {RequiredError}
|
|
590
814
|
*/
|
|
591
815
|
getProjectsBoards(): Promise<GetProjectBoardsResponse>;
|
|
816
|
+
getProjectsBoardsWithHttpInfo(): Promise<ApiResponse<GetProjectBoardsResponse>>;
|
|
592
817
|
/**
|
|
593
818
|
* Returns the details of a specific project phase.
|
|
594
819
|
* @summary Get details of a project phase
|
|
@@ -597,6 +822,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
597
822
|
* @throws {RequiredError}
|
|
598
823
|
*/
|
|
599
824
|
getProjectsPhase(requestParameters: BetaApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
825
|
+
getProjectsPhaseWithHttpInfo(requestParameters: BetaApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
600
826
|
/**
|
|
601
827
|
* Returns all active project phases under a specific board.
|
|
602
828
|
* @summary Get project phases
|
|
@@ -605,6 +831,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
605
831
|
* @throws {RequiredError}
|
|
606
832
|
*/
|
|
607
833
|
getProjectsPhases(requestParameters: BetaApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
|
|
834
|
+
getProjectsPhasesWithHttpInfo(requestParameters: BetaApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
|
|
608
835
|
/**
|
|
609
836
|
* Returns the details of a specific task.
|
|
610
837
|
* @summary Get details of a task
|
|
@@ -613,6 +840,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
613
840
|
* @throws {RequiredError}
|
|
614
841
|
*/
|
|
615
842
|
getTask(requestParameters: BetaApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
843
|
+
getTaskWithHttpInfo(requestParameters: BetaApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
616
844
|
/**
|
|
617
845
|
* Returns all tasks.
|
|
618
846
|
* @summary Get all tasks
|
|
@@ -621,6 +849,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
621
849
|
* @throws {RequiredError}
|
|
622
850
|
*/
|
|
623
851
|
getTasks(requestParameters?: BetaApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
852
|
+
getTasksWithHttpInfo(requestParameters?: BetaApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
624
853
|
/**
|
|
625
854
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
626
855
|
* @summary Search projects
|
|
@@ -629,6 +858,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
629
858
|
* @throws {RequiredError}
|
|
630
859
|
*/
|
|
631
860
|
searchProjects(requestParameters: BetaApiSearchProjectsRequest): Promise<GetProjectSearchResponse>;
|
|
861
|
+
searchProjectsWithHttpInfo(requestParameters: BetaApiSearchProjectsRequest): Promise<ApiResponse<GetProjectSearchResponse>>;
|
|
632
862
|
/**
|
|
633
863
|
* Updates the properties of a project board.
|
|
634
864
|
* @summary Update a project board
|
|
@@ -637,6 +867,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
637
867
|
* @throws {RequiredError}
|
|
638
868
|
*/
|
|
639
869
|
updateProjectBoard(requestParameters: BetaApiUpdateProjectBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
870
|
+
updateProjectBoardWithHttpInfo(requestParameters: BetaApiUpdateProjectBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
640
871
|
/**
|
|
641
872
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
642
873
|
* @summary Update one project field
|
|
@@ -645,6 +876,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
645
876
|
* @throws {RequiredError}
|
|
646
877
|
*/
|
|
647
878
|
updateProjectField(requestParameters: BetaApiUpdateProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
879
|
+
updateProjectFieldWithHttpInfo(requestParameters: BetaApiUpdateProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
648
880
|
/**
|
|
649
881
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
650
882
|
* @summary Update project field options in bulk
|
|
@@ -653,6 +885,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
653
885
|
* @throws {RequiredError}
|
|
654
886
|
*/
|
|
655
887
|
updateProjectFieldOptions(requestParameters: BetaApiUpdateProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
888
|
+
updateProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiUpdateProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
656
889
|
/**
|
|
657
890
|
* Updates the properties of a project phase.
|
|
658
891
|
* @summary Update a project phase
|
|
@@ -661,6 +894,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
661
894
|
* @throws {RequiredError}
|
|
662
895
|
*/
|
|
663
896
|
updateProjectPhase(requestParameters: BetaApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
897
|
+
updateProjectPhaseWithHttpInfo(requestParameters: BetaApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
664
898
|
/**
|
|
665
899
|
* Updates a task.
|
|
666
900
|
* @summary Update a task
|
|
@@ -669,6 +903,7 @@ export declare const BetaApiFactory: (configuration?: Configuration, basePath?:
|
|
|
669
903
|
* @throws {RequiredError}
|
|
670
904
|
*/
|
|
671
905
|
updateTask(requestParameters: BetaApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
906
|
+
updateTaskWithHttpInfo(requestParameters: BetaApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
672
907
|
};
|
|
673
908
|
/**
|
|
674
909
|
* Request parameters for addProjectBoard operation in BetaApi.
|
|
@@ -1105,6 +1340,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1105
1340
|
* @memberof BetaApi
|
|
1106
1341
|
*/
|
|
1107
1342
|
addProjectBoard(requestParameters: BetaApiAddProjectBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Same as `addProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
1345
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1346
|
+
* @param {BetaApiAddProjectBoardRequest} requestParameters Request parameters.
|
|
1347
|
+
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
* @memberof BetaApi
|
|
1350
|
+
*/
|
|
1351
|
+
addProjectBoardWithHttpInfo(requestParameters: BetaApiAddProjectBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
1108
1352
|
/**
|
|
1109
1353
|
* Creates a new project custom field.
|
|
1110
1354
|
* @summary Create one project field
|
|
@@ -1114,6 +1358,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1114
1358
|
* @memberof BetaApi
|
|
1115
1359
|
*/
|
|
1116
1360
|
addProjectField(requestParameters: BetaApiAddProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
1363
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1364
|
+
* @param {BetaApiAddProjectFieldRequest} requestParameters Request parameters.
|
|
1365
|
+
|
|
1366
|
+
* @throws {RequiredError}
|
|
1367
|
+
* @memberof BetaApi
|
|
1368
|
+
*/
|
|
1369
|
+
addProjectFieldWithHttpInfo(requestParameters: BetaApiAddProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
1117
1370
|
/**
|
|
1118
1371
|
* Adds new options to a project custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
1119
1372
|
* @summary Add project field options in bulk
|
|
@@ -1123,6 +1376,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1123
1376
|
* @memberof BetaApi
|
|
1124
1377
|
*/
|
|
1125
1378
|
addProjectFieldOptions(requestParameters: BetaApiAddProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
1379
|
+
/**
|
|
1380
|
+
* Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
1381
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1382
|
+
* @param {BetaApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
1383
|
+
|
|
1384
|
+
* @throws {RequiredError}
|
|
1385
|
+
* @memberof BetaApi
|
|
1386
|
+
*/
|
|
1387
|
+
addProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiAddProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
1126
1388
|
/**
|
|
1127
1389
|
* Adds a new project phase to a board.
|
|
1128
1390
|
* @summary Add a project phase
|
|
@@ -1132,6 +1394,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1132
1394
|
* @memberof BetaApi
|
|
1133
1395
|
*/
|
|
1134
1396
|
addProjectPhase(requestParameters: BetaApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
1399
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1400
|
+
* @param {BetaApiAddProjectPhaseRequest} requestParameters Request parameters.
|
|
1401
|
+
|
|
1402
|
+
* @throws {RequiredError}
|
|
1403
|
+
* @memberof BetaApi
|
|
1404
|
+
*/
|
|
1405
|
+
addProjectPhaseWithHttpInfo(requestParameters: BetaApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
1135
1406
|
/**
|
|
1136
1407
|
* Adds a new task.
|
|
1137
1408
|
* @summary Add a task
|
|
@@ -1141,6 +1412,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1141
1412
|
* @memberof BetaApi
|
|
1142
1413
|
*/
|
|
1143
1414
|
addTask(requestParameters: BetaApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
1417
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1418
|
+
* @param {BetaApiAddTaskRequest} requestParameters Request parameters.
|
|
1419
|
+
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
* @memberof BetaApi
|
|
1422
|
+
*/
|
|
1423
|
+
addTaskWithHttpInfo(requestParameters: BetaApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
1144
1424
|
/**
|
|
1145
1425
|
* Marks a project board as deleted.
|
|
1146
1426
|
* @summary Delete a project board
|
|
@@ -1150,6 +1430,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1150
1430
|
* @memberof BetaApi
|
|
1151
1431
|
*/
|
|
1152
1432
|
deleteProjectBoard(requestParameters: BetaApiDeleteProjectBoardRequest): Promise<DeleteProjectBoardResponse>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Same as `deleteProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
1435
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1436
|
+
* @param {BetaApiDeleteProjectBoardRequest} requestParameters Request parameters.
|
|
1437
|
+
|
|
1438
|
+
* @throws {RequiredError}
|
|
1439
|
+
* @memberof BetaApi
|
|
1440
|
+
*/
|
|
1441
|
+
deleteProjectBoardWithHttpInfo(requestParameters: BetaApiDeleteProjectBoardRequest): Promise<ApiResponse<DeleteProjectBoardResponse>>;
|
|
1153
1442
|
/**
|
|
1154
1443
|
* Marks a custom field as deleted.
|
|
1155
1444
|
* @summary Delete one project field
|
|
@@ -1159,6 +1448,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1159
1448
|
* @memberof BetaApi
|
|
1160
1449
|
*/
|
|
1161
1450
|
deleteProjectField(requestParameters: BetaApiDeleteProjectFieldRequest): Promise<DeleteProjectField200Response>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
1453
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1454
|
+
* @param {BetaApiDeleteProjectFieldRequest} requestParameters Request parameters.
|
|
1455
|
+
|
|
1456
|
+
* @throws {RequiredError}
|
|
1457
|
+
* @memberof BetaApi
|
|
1458
|
+
*/
|
|
1459
|
+
deleteProjectFieldWithHttpInfo(requestParameters: BetaApiDeleteProjectFieldRequest): Promise<ApiResponse<DeleteProjectField200Response>>;
|
|
1162
1460
|
/**
|
|
1163
1461
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
1164
1462
|
* @summary Delete project field options in bulk
|
|
@@ -1168,6 +1466,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1168
1466
|
* @memberof BetaApi
|
|
1169
1467
|
*/
|
|
1170
1468
|
deleteProjectFieldOptions(requestParameters: BetaApiDeleteProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
1471
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1472
|
+
* @param {BetaApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
1473
|
+
|
|
1474
|
+
* @throws {RequiredError}
|
|
1475
|
+
* @memberof BetaApi
|
|
1476
|
+
*/
|
|
1477
|
+
deleteProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiDeleteProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
1171
1478
|
/**
|
|
1172
1479
|
* Marks a project phase as deleted.
|
|
1173
1480
|
* @summary Delete a project phase
|
|
@@ -1177,6 +1484,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1177
1484
|
* @memberof BetaApi
|
|
1178
1485
|
*/
|
|
1179
1486
|
deleteProjectPhase(requestParameters: BetaApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
|
|
1487
|
+
/**
|
|
1488
|
+
* Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
1489
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1490
|
+
* @param {BetaApiDeleteProjectPhaseRequest} requestParameters Request parameters.
|
|
1491
|
+
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
* @memberof BetaApi
|
|
1494
|
+
*/
|
|
1495
|
+
deleteProjectPhaseWithHttpInfo(requestParameters: BetaApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
|
|
1180
1496
|
/**
|
|
1181
1497
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
1182
1498
|
* @summary Delete a task
|
|
@@ -1186,6 +1502,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1186
1502
|
* @memberof BetaApi
|
|
1187
1503
|
*/
|
|
1188
1504
|
deleteTask(requestParameters: BetaApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
1505
|
+
/**
|
|
1506
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
1507
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1508
|
+
* @param {BetaApiDeleteTaskRequest} requestParameters Request parameters.
|
|
1509
|
+
|
|
1510
|
+
* @throws {RequiredError}
|
|
1511
|
+
* @memberof BetaApi
|
|
1512
|
+
*/
|
|
1513
|
+
deleteTaskWithHttpInfo(requestParameters: BetaApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
1189
1514
|
/**
|
|
1190
1515
|
* Returns metadata about a specific project field.
|
|
1191
1516
|
* @summary Get one project field
|
|
@@ -1195,6 +1520,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1195
1520
|
* @memberof BetaApi
|
|
1196
1521
|
*/
|
|
1197
1522
|
getProjectField(requestParameters: BetaApiGetProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
1523
|
+
/**
|
|
1524
|
+
* Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
1525
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1526
|
+
* @param {BetaApiGetProjectFieldRequest} requestParameters Request parameters.
|
|
1527
|
+
|
|
1528
|
+
* @throws {RequiredError}
|
|
1529
|
+
* @memberof BetaApi
|
|
1530
|
+
*/
|
|
1531
|
+
getProjectFieldWithHttpInfo(requestParameters: BetaApiGetProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
1198
1532
|
/**
|
|
1199
1533
|
* Returns metadata about all project fields in the company.
|
|
1200
1534
|
* @summary Get all project fields
|
|
@@ -1204,6 +1538,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1204
1538
|
* @memberof BetaApi
|
|
1205
1539
|
*/
|
|
1206
1540
|
getProjectFields(requestParameters?: BetaApiGetProjectFieldsRequest): Promise<GetProjectFields200Response>;
|
|
1541
|
+
/**
|
|
1542
|
+
* Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
|
|
1543
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1544
|
+
* @param {BetaApiGetProjectFieldsRequest} requestParameters Request parameters.
|
|
1545
|
+
|
|
1546
|
+
* @throws {RequiredError}
|
|
1547
|
+
* @memberof BetaApi
|
|
1548
|
+
*/
|
|
1549
|
+
getProjectFieldsWithHttpInfo(requestParameters?: BetaApiGetProjectFieldsRequest): Promise<ApiResponse<GetProjectFields200Response>>;
|
|
1207
1550
|
/**
|
|
1208
1551
|
* Returns the details of a specific project board.
|
|
1209
1552
|
* @summary Get details of a project board
|
|
@@ -1213,6 +1556,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1213
1556
|
* @memberof BetaApi
|
|
1214
1557
|
*/
|
|
1215
1558
|
getProjectsBoard(requestParameters: BetaApiGetProjectsBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
1559
|
+
/**
|
|
1560
|
+
* Same as `getProjectsBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
1561
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1562
|
+
* @param {BetaApiGetProjectsBoardRequest} requestParameters Request parameters.
|
|
1563
|
+
|
|
1564
|
+
* @throws {RequiredError}
|
|
1565
|
+
* @memberof BetaApi
|
|
1566
|
+
*/
|
|
1567
|
+
getProjectsBoardWithHttpInfo(requestParameters: BetaApiGetProjectsBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
1216
1568
|
/**
|
|
1217
1569
|
* Returns all active project boards.
|
|
1218
1570
|
* @summary Get all project boards
|
|
@@ -1221,6 +1573,14 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1221
1573
|
* @memberof BetaApi
|
|
1222
1574
|
*/
|
|
1223
1575
|
getProjectsBoards(): Promise<GetProjectBoardsResponse>;
|
|
1576
|
+
/**
|
|
1577
|
+
* Same as `getProjectsBoards`, but resolves with the response body together with the HTTP status and headers.
|
|
1578
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1579
|
+
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
* @memberof BetaApi
|
|
1582
|
+
*/
|
|
1583
|
+
getProjectsBoardsWithHttpInfo(): Promise<ApiResponse<GetProjectBoardsResponse>>;
|
|
1224
1584
|
/**
|
|
1225
1585
|
* Returns the details of a specific project phase.
|
|
1226
1586
|
* @summary Get details of a project phase
|
|
@@ -1230,6 +1590,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1230
1590
|
* @memberof BetaApi
|
|
1231
1591
|
*/
|
|
1232
1592
|
getProjectsPhase(requestParameters: BetaApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
1593
|
+
/**
|
|
1594
|
+
* Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
1595
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1596
|
+
* @param {BetaApiGetProjectsPhaseRequest} requestParameters Request parameters.
|
|
1597
|
+
|
|
1598
|
+
* @throws {RequiredError}
|
|
1599
|
+
* @memberof BetaApi
|
|
1600
|
+
*/
|
|
1601
|
+
getProjectsPhaseWithHttpInfo(requestParameters: BetaApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
1233
1602
|
/**
|
|
1234
1603
|
* Returns all active project phases under a specific board.
|
|
1235
1604
|
* @summary Get project phases
|
|
@@ -1239,6 +1608,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1239
1608
|
* @memberof BetaApi
|
|
1240
1609
|
*/
|
|
1241
1610
|
getProjectsPhases(requestParameters: BetaApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
|
|
1611
|
+
/**
|
|
1612
|
+
* Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
|
|
1613
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1614
|
+
* @param {BetaApiGetProjectsPhasesRequest} requestParameters Request parameters.
|
|
1615
|
+
|
|
1616
|
+
* @throws {RequiredError}
|
|
1617
|
+
* @memberof BetaApi
|
|
1618
|
+
*/
|
|
1619
|
+
getProjectsPhasesWithHttpInfo(requestParameters: BetaApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
|
|
1242
1620
|
/**
|
|
1243
1621
|
* Returns the details of a specific task.
|
|
1244
1622
|
* @summary Get details of a task
|
|
@@ -1248,6 +1626,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1248
1626
|
* @memberof BetaApi
|
|
1249
1627
|
*/
|
|
1250
1628
|
getTask(requestParameters: BetaApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
1631
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1632
|
+
* @param {BetaApiGetTaskRequest} requestParameters Request parameters.
|
|
1633
|
+
|
|
1634
|
+
* @throws {RequiredError}
|
|
1635
|
+
* @memberof BetaApi
|
|
1636
|
+
*/
|
|
1637
|
+
getTaskWithHttpInfo(requestParameters: BetaApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
1251
1638
|
/**
|
|
1252
1639
|
* Returns all tasks.
|
|
1253
1640
|
* @summary Get all tasks
|
|
@@ -1257,6 +1644,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1257
1644
|
* @memberof BetaApi
|
|
1258
1645
|
*/
|
|
1259
1646
|
getTasks(requestParameters?: BetaApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
1647
|
+
/**
|
|
1648
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
1649
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1650
|
+
* @param {BetaApiGetTasksRequest} requestParameters Request parameters.
|
|
1651
|
+
|
|
1652
|
+
* @throws {RequiredError}
|
|
1653
|
+
* @memberof BetaApi
|
|
1654
|
+
*/
|
|
1655
|
+
getTasksWithHttpInfo(requestParameters?: BetaApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
1260
1656
|
/**
|
|
1261
1657
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
1262
1658
|
* @summary Search projects
|
|
@@ -1266,6 +1662,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1266
1662
|
* @memberof BetaApi
|
|
1267
1663
|
*/
|
|
1268
1664
|
searchProjects(requestParameters: BetaApiSearchProjectsRequest): Promise<GetProjectSearchResponse>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1667
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1668
|
+
* @param {BetaApiSearchProjectsRequest} requestParameters Request parameters.
|
|
1669
|
+
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
* @memberof BetaApi
|
|
1672
|
+
*/
|
|
1673
|
+
searchProjectsWithHttpInfo(requestParameters: BetaApiSearchProjectsRequest): Promise<ApiResponse<GetProjectSearchResponse>>;
|
|
1269
1674
|
/**
|
|
1270
1675
|
* Updates the properties of a project board.
|
|
1271
1676
|
* @summary Update a project board
|
|
@@ -1275,6 +1680,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1275
1680
|
* @memberof BetaApi
|
|
1276
1681
|
*/
|
|
1277
1682
|
updateProjectBoard(requestParameters: BetaApiUpdateProjectBoardRequest): Promise<UpsertProjectBoardResponse>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Same as `updateProjectBoard`, but resolves with the response body together with the HTTP status and headers.
|
|
1685
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1686
|
+
* @param {BetaApiUpdateProjectBoardRequest} requestParameters Request parameters.
|
|
1687
|
+
|
|
1688
|
+
* @throws {RequiredError}
|
|
1689
|
+
* @memberof BetaApi
|
|
1690
|
+
*/
|
|
1691
|
+
updateProjectBoardWithHttpInfo(requestParameters: BetaApiUpdateProjectBoardRequest): Promise<ApiResponse<UpsertProjectBoardResponse>>;
|
|
1278
1692
|
/**
|
|
1279
1693
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
1280
1694
|
* @summary Update one project field
|
|
@@ -1284,6 +1698,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1284
1698
|
* @memberof BetaApi
|
|
1285
1699
|
*/
|
|
1286
1700
|
updateProjectField(requestParameters: BetaApiUpdateProjectFieldRequest): Promise<AddProjectField200Response>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
1703
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1704
|
+
* @param {BetaApiUpdateProjectFieldRequest} requestParameters Request parameters.
|
|
1705
|
+
|
|
1706
|
+
* @throws {RequiredError}
|
|
1707
|
+
* @memberof BetaApi
|
|
1708
|
+
*/
|
|
1709
|
+
updateProjectFieldWithHttpInfo(requestParameters: BetaApiUpdateProjectFieldRequest): Promise<ApiResponse<AddProjectField200Response>>;
|
|
1287
1710
|
/**
|
|
1288
1711
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
1289
1712
|
* @summary Update project field options in bulk
|
|
@@ -1293,6 +1716,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1293
1716
|
* @memberof BetaApi
|
|
1294
1717
|
*/
|
|
1295
1718
|
updateProjectFieldOptions(requestParameters: BetaApiUpdateProjectFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
1721
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1722
|
+
* @param {BetaApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
1723
|
+
|
|
1724
|
+
* @throws {RequiredError}
|
|
1725
|
+
* @memberof BetaApi
|
|
1726
|
+
*/
|
|
1727
|
+
updateProjectFieldOptionsWithHttpInfo(requestParameters: BetaApiUpdateProjectFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
1296
1728
|
/**
|
|
1297
1729
|
* Updates the properties of a project phase.
|
|
1298
1730
|
* @summary Update a project phase
|
|
@@ -1302,6 +1734,15 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1302
1734
|
* @memberof BetaApi
|
|
1303
1735
|
*/
|
|
1304
1736
|
updateProjectPhase(requestParameters: BetaApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
1737
|
+
/**
|
|
1738
|
+
* Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
1739
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1740
|
+
* @param {BetaApiUpdateProjectPhaseRequest} requestParameters Request parameters.
|
|
1741
|
+
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
* @memberof BetaApi
|
|
1744
|
+
*/
|
|
1745
|
+
updateProjectPhaseWithHttpInfo(requestParameters: BetaApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
1305
1746
|
/**
|
|
1306
1747
|
* Updates a task.
|
|
1307
1748
|
* @summary Update a task
|
|
@@ -1311,4 +1752,13 @@ export declare class BetaApi extends BaseAPI {
|
|
|
1311
1752
|
* @memberof BetaApi
|
|
1312
1753
|
*/
|
|
1313
1754
|
updateTask(requestParameters: BetaApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
1755
|
+
/**
|
|
1756
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
1757
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1758
|
+
* @param {BetaApiUpdateTaskRequest} requestParameters Request parameters.
|
|
1759
|
+
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
* @memberof BetaApi
|
|
1762
|
+
*/
|
|
1763
|
+
updateTaskWithHttpInfo(requestParameters: BetaApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
1314
1764
|
}
|