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 { GetPipelineDealsConversionRatesInResponse } from '../models';
|
|
16
16
|
import { GetPipelineDealsMovementsStatisticsResponse } from '../models';
|
|
17
17
|
import { GetStageDealsResponse } from '../models';
|
|
@@ -75,6 +75,17 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
77
77
|
getPipelineConversionStatistics(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineDealsConversionRatesInResponse>>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
80
|
+
* @summary Get deals conversion rates in pipeline
|
|
81
|
+
* @param {number} id The ID of the pipeline
|
|
82
|
+
* @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
|
|
83
|
+
* @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
|
|
84
|
+
* @param {number} [user_id] The ID of the user who\'s pipeline metrics statistics to fetch. If omitted, the authorized user will be used.
|
|
85
|
+
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getPipelineConversionStatisticsWithHttpInfo(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>>;
|
|
78
89
|
/**
|
|
79
90
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
80
91
|
* @summary Get deals in a pipeline
|
|
@@ -91,6 +102,22 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
91
102
|
* @throws {RequiredError}
|
|
92
103
|
*/
|
|
93
104
|
getPipelineDeals(id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStageDealsResponse>>;
|
|
105
|
+
/**
|
|
106
|
+
* Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
107
|
+
* @summary Get deals in a pipeline
|
|
108
|
+
* @param {number} id The ID of the pipeline
|
|
109
|
+
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
|
110
|
+
* @param {number} [user_id] If supplied, `filter_id` will not be considered and only deals owned by the given user will be returned. If omitted, deals owned by the authorized user will be returned.
|
|
111
|
+
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
|
112
|
+
* @param {number} [stage_id] If supplied, only deals within the given stage will be returned
|
|
113
|
+
* @param {number} [start] Pagination start
|
|
114
|
+
* @param {number} [limit] Items shown per page
|
|
115
|
+
* @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the `additional_data` or not
|
|
116
|
+
* @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, `per_stages_converted` is returned inside `deals_summary` inside `additional_data` which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to `default_currency` in which case users default currency is used. Only works when `get_summary` parameter flag is enabled.
|
|
117
|
+
* @deprecated
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
getPipelineDealsWithHttpInfo(id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetStageDealsResponse>>>;
|
|
94
121
|
/**
|
|
95
122
|
* Returns statistics for deals movements for the given time period.
|
|
96
123
|
* @summary Get deals movements in pipeline
|
|
@@ -102,6 +129,17 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
|
|
|
102
129
|
* @throws {RequiredError}
|
|
103
130
|
*/
|
|
104
131
|
getPipelineMovementStatistics(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineDealsMovementsStatisticsResponse>>;
|
|
132
|
+
/**
|
|
133
|
+
* Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
134
|
+
* @summary Get deals movements in pipeline
|
|
135
|
+
* @param {number} id The ID of the pipeline
|
|
136
|
+
* @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
|
|
137
|
+
* @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
|
|
138
|
+
* @param {number} [user_id] The ID of the user who\'s pipeline statistics to fetch. If omitted, the authorized user will be used.
|
|
139
|
+
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
getPipelineMovementStatisticsWithHttpInfo(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>>;
|
|
105
143
|
};
|
|
106
144
|
/**
|
|
107
145
|
* PipelinesApi - factory interface
|
|
@@ -116,6 +154,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
116
154
|
* @throws {RequiredError}
|
|
117
155
|
*/
|
|
118
156
|
getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
|
|
157
|
+
getPipelineConversionStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>;
|
|
119
158
|
/**
|
|
120
159
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
121
160
|
* @summary Get deals in a pipeline
|
|
@@ -124,6 +163,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
124
163
|
* @throws {RequiredError}
|
|
125
164
|
*/
|
|
126
165
|
getPipelineDeals(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<GetStageDealsResponse>;
|
|
166
|
+
getPipelineDealsWithHttpInfo(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<ApiResponse<GetStageDealsResponse>>;
|
|
127
167
|
/**
|
|
128
168
|
* Returns statistics for deals movements for the given time period.
|
|
129
169
|
* @summary Get deals movements in pipeline
|
|
@@ -132,6 +172,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
|
|
|
132
172
|
* @throws {RequiredError}
|
|
133
173
|
*/
|
|
134
174
|
getPipelineMovementStatistics(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<GetPipelineDealsMovementsStatisticsResponse>;
|
|
175
|
+
getPipelineMovementStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>;
|
|
135
176
|
};
|
|
136
177
|
/**
|
|
137
178
|
* Request parameters for getPipelineConversionStatistics operation in PipelinesApi.
|
|
@@ -272,6 +313,15 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
272
313
|
* @memberof PipelinesApi
|
|
273
314
|
*/
|
|
274
315
|
getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
|
|
316
|
+
/**
|
|
317
|
+
* Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
318
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
319
|
+
* @param {PipelinesApiGetPipelineConversionStatisticsRequest} requestParameters Request parameters.
|
|
320
|
+
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
* @memberof PipelinesApi
|
|
323
|
+
*/
|
|
324
|
+
getPipelineConversionStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<ApiResponse<GetPipelineDealsConversionRatesInResponse>>;
|
|
275
325
|
/**
|
|
276
326
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
277
327
|
* @summary Get deals in a pipeline
|
|
@@ -281,6 +331,15 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
281
331
|
* @memberof PipelinesApi
|
|
282
332
|
*/
|
|
283
333
|
getPipelineDeals(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<GetStageDealsResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
336
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
337
|
+
* @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
|
|
338
|
+
* @deprecated
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
* @memberof PipelinesApi
|
|
341
|
+
*/
|
|
342
|
+
getPipelineDealsWithHttpInfo(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<ApiResponse<GetStageDealsResponse>>;
|
|
284
343
|
/**
|
|
285
344
|
* Returns statistics for deals movements for the given time period.
|
|
286
345
|
* @summary Get deals movements in pipeline
|
|
@@ -290,4 +349,13 @@ export declare class PipelinesApi extends BaseAPI {
|
|
|
290
349
|
* @memberof PipelinesApi
|
|
291
350
|
*/
|
|
292
351
|
getPipelineMovementStatistics(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<GetPipelineDealsMovementsStatisticsResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
354
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
355
|
+
* @param {PipelinesApiGetPipelineMovementStatisticsRequest} requestParameters Request parameters.
|
|
356
|
+
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof PipelinesApi
|
|
359
|
+
*/
|
|
360
|
+
getPipelineMovementStatisticsWithHttpInfo(requestParameters: PipelinesApiGetPipelineMovementStatisticsRequest): Promise<ApiResponse<GetPipelineDealsMovementsStatisticsResponse>>;
|
|
293
361
|
}
|
|
@@ -238,6 +238,22 @@ const PipelinesApiFp = function (configuration) {
|
|
|
238
238
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
239
239
|
});
|
|
240
240
|
},
|
|
241
|
+
/**
|
|
242
|
+
* Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
243
|
+
* @summary Get deals conversion rates in pipeline
|
|
244
|
+
* @param {number} id The ID of the pipeline
|
|
245
|
+
* @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
|
|
246
|
+
* @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
|
|
247
|
+
* @param {number} [user_id] The ID of the user who\'s pipeline metrics statistics to fetch. If omitted, the authorized user will be used.
|
|
248
|
+
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
getPipelineConversionStatisticsWithHttpInfo(id, start_date, end_date, user_id) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineConversionStatistics(id, start_date, end_date, user_id);
|
|
254
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
255
|
+
});
|
|
256
|
+
},
|
|
241
257
|
/**
|
|
242
258
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
243
259
|
* @summary Get deals in a pipeline
|
|
@@ -259,6 +275,27 @@ const PipelinesApiFp = function (configuration) {
|
|
|
259
275
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
260
276
|
});
|
|
261
277
|
},
|
|
278
|
+
/**
|
|
279
|
+
* Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
280
|
+
* @summary Get deals in a pipeline
|
|
281
|
+
* @param {number} id The ID of the pipeline
|
|
282
|
+
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
|
283
|
+
* @param {number} [user_id] If supplied, `filter_id` will not be considered and only deals owned by the given user will be returned. If omitted, deals owned by the authorized user will be returned.
|
|
284
|
+
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
|
285
|
+
* @param {number} [stage_id] If supplied, only deals within the given stage will be returned
|
|
286
|
+
* @param {number} [start] Pagination start
|
|
287
|
+
* @param {number} [limit] Items shown per page
|
|
288
|
+
* @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the `additional_data` or not
|
|
289
|
+
* @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, `per_stages_converted` is returned inside `deals_summary` inside `additional_data` which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to `default_currency` in which case users default currency is used. Only works when `get_summary` parameter flag is enabled.
|
|
290
|
+
* @deprecated
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
getPipelineDealsWithHttpInfo(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) {
|
|
294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineDeals(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency);
|
|
296
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
297
|
+
});
|
|
298
|
+
},
|
|
262
299
|
/**
|
|
263
300
|
* Returns statistics for deals movements for the given time period.
|
|
264
301
|
* @summary Get deals movements in pipeline
|
|
@@ -275,6 +312,22 @@ const PipelinesApiFp = function (configuration) {
|
|
|
275
312
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
276
313
|
});
|
|
277
314
|
},
|
|
315
|
+
/**
|
|
316
|
+
* Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
317
|
+
* @summary Get deals movements in pipeline
|
|
318
|
+
* @param {number} id The ID of the pipeline
|
|
319
|
+
* @param {string} start_date The start of the period. Date in format of YYYY-MM-DD.
|
|
320
|
+
* @param {string} end_date The end of the period. Date in format of YYYY-MM-DD.
|
|
321
|
+
* @param {number} [user_id] The ID of the user who\'s pipeline statistics to fetch. If omitted, the authorized user will be used.
|
|
322
|
+
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
getPipelineMovementStatisticsWithHttpInfo(id, start_date, end_date, user_id) {
|
|
326
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPipelineMovementStatistics(id, start_date, end_date, user_id);
|
|
328
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
329
|
+
});
|
|
330
|
+
},
|
|
278
331
|
};
|
|
279
332
|
};
|
|
280
333
|
exports.PipelinesApiFp = PipelinesApiFp;
|
|
@@ -295,6 +348,9 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
|
|
|
295
348
|
getPipelineConversionStatistics(requestParameters) {
|
|
296
349
|
return localVarFp.getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
|
|
297
350
|
},
|
|
351
|
+
getPipelineConversionStatisticsWithHttpInfo(requestParameters) {
|
|
352
|
+
return localVarFp.getPipelineConversionStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
|
|
353
|
+
},
|
|
298
354
|
/**
|
|
299
355
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
300
356
|
* @summary Get deals in a pipeline
|
|
@@ -305,6 +361,9 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
|
|
|
305
361
|
getPipelineDeals(requestParameters) {
|
|
306
362
|
return localVarFp.getPipelineDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(axios, basePath));
|
|
307
363
|
},
|
|
364
|
+
getPipelineDealsWithHttpInfo(requestParameters) {
|
|
365
|
+
return localVarFp.getPipelineDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(axios, basePath));
|
|
366
|
+
},
|
|
308
367
|
/**
|
|
309
368
|
* Returns statistics for deals movements for the given time period.
|
|
310
369
|
* @summary Get deals movements in pipeline
|
|
@@ -315,6 +374,9 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
|
|
|
315
374
|
getPipelineMovementStatistics(requestParameters) {
|
|
316
375
|
return localVarFp.getPipelineMovementStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
|
|
317
376
|
},
|
|
377
|
+
getPipelineMovementStatisticsWithHttpInfo(requestParameters) {
|
|
378
|
+
return localVarFp.getPipelineMovementStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
|
|
379
|
+
},
|
|
318
380
|
};
|
|
319
381
|
};
|
|
320
382
|
exports.PipelinesApiFactory = PipelinesApiFactory;
|
|
@@ -336,6 +398,17 @@ class PipelinesApi extends base_1.BaseAPI {
|
|
|
336
398
|
getPipelineConversionStatistics(requestParameters) {
|
|
337
399
|
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
|
|
338
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* Same as `getPipelineConversionStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
403
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
404
|
+
* @param {PipelinesApiGetPipelineConversionStatisticsRequest} requestParameters Request parameters.
|
|
405
|
+
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
* @memberof PipelinesApi
|
|
408
|
+
*/
|
|
409
|
+
getPipelineConversionStatisticsWithHttpInfo(requestParameters) {
|
|
410
|
+
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineConversionStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
|
|
411
|
+
}
|
|
339
412
|
/**
|
|
340
413
|
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?pipeline_id={id}</a> instead.
|
|
341
414
|
* @summary Get deals in a pipeline
|
|
@@ -347,6 +420,17 @@ class PipelinesApi extends base_1.BaseAPI {
|
|
|
347
420
|
getPipelineDeals(requestParameters) {
|
|
348
421
|
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(this.axios, this.basePath));
|
|
349
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* Same as `getPipelineDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
425
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
426
|
+
* @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
|
|
427
|
+
* @deprecated
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
* @memberof PipelinesApi
|
|
430
|
+
*/
|
|
431
|
+
getPipelineDealsWithHttpInfo(requestParameters) {
|
|
432
|
+
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.stage_id, requestParameters.start, requestParameters.limit, requestParameters.get_summary, requestParameters.totals_convert_currency).then((request) => request(this.axios, this.basePath));
|
|
433
|
+
}
|
|
350
434
|
/**
|
|
351
435
|
* Returns statistics for deals movements for the given time period.
|
|
352
436
|
* @summary Get deals movements in pipeline
|
|
@@ -358,5 +442,16 @@ class PipelinesApi extends base_1.BaseAPI {
|
|
|
358
442
|
getPipelineMovementStatistics(requestParameters) {
|
|
359
443
|
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineMovementStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
|
|
360
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* Same as `getPipelineMovementStatistics`, but resolves with the response body together with the HTTP status and headers.
|
|
447
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
448
|
+
* @param {PipelinesApiGetPipelineMovementStatisticsRequest} requestParameters Request parameters.
|
|
449
|
+
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
* @memberof PipelinesApi
|
|
452
|
+
*/
|
|
453
|
+
getPipelineMovementStatisticsWithHttpInfo(requestParameters) {
|
|
454
|
+
return (0, exports.PipelinesApiFp)(this.configuration).getPipelineMovementStatisticsWithHttpInfo(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
|
|
455
|
+
}
|
|
361
456
|
}
|
|
362
457
|
exports.PipelinesApi = PipelinesApi;
|
|
@@ -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 { DeleteProductFieldResponse } from '../models';
|
|
16
16
|
import { DeleteProductFieldsResponse } from '../models';
|
|
17
17
|
import { GetProductFieldResponse } from '../models';
|
|
@@ -87,6 +87,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
89
|
addProductField(ProductFieldAllOf?: ProductFieldAllOf): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
* Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
92
|
+
* @summary Add a new product field
|
|
93
|
+
* @param {ProductFieldAllOf} [ProductFieldAllOf]
|
|
94
|
+
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
addProductFieldWithHttpInfo(ProductFieldAllOf?: ProductFieldAllOf): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
|
|
90
98
|
/**
|
|
91
99
|
* Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
92
100
|
* @summary Delete a product field
|
|
@@ -95,6 +103,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
95
103
|
* @throws {RequiredError}
|
|
96
104
|
*/
|
|
97
105
|
deleteProductField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductFieldResponse>>;
|
|
106
|
+
/**
|
|
107
|
+
* Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
108
|
+
* @summary Delete a product field
|
|
109
|
+
* @param {number} id The ID of the product field
|
|
110
|
+
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
deleteProductFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductFieldResponse>>>;
|
|
98
114
|
/**
|
|
99
115
|
* Marks multiple fields as deleted.
|
|
100
116
|
* @summary Delete multiple product fields in bulk
|
|
@@ -103,6 +119,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
103
119
|
* @throws {RequiredError}
|
|
104
120
|
*/
|
|
105
121
|
deleteProductFields(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductFieldsResponse>>;
|
|
122
|
+
/**
|
|
123
|
+
* Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
124
|
+
* @summary Delete multiple product fields in bulk
|
|
125
|
+
* @param {Set<number>} ids The comma-separated field IDs to delete
|
|
126
|
+
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
deleteProductFieldsWithHttpInfo(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductFieldsResponse>>>;
|
|
106
130
|
/**
|
|
107
131
|
* Returns data about a specific product field.
|
|
108
132
|
* @summary Get one product field
|
|
@@ -111,6 +135,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
111
135
|
* @throws {RequiredError}
|
|
112
136
|
*/
|
|
113
137
|
getProductField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
|
|
138
|
+
/**
|
|
139
|
+
* Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
140
|
+
* @summary Get one product field
|
|
141
|
+
* @param {number} id The ID of the product field
|
|
142
|
+
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getProductFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
|
|
114
146
|
/**
|
|
115
147
|
* Returns data about all product fields.
|
|
116
148
|
* @summary Get all product fields
|
|
@@ -120,6 +152,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
120
152
|
* @throws {RequiredError}
|
|
121
153
|
*/
|
|
122
154
|
getProductFields(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldsResponse>>;
|
|
155
|
+
/**
|
|
156
|
+
* Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
157
|
+
* @summary Get all product fields
|
|
158
|
+
* @param {number} [start] Pagination start
|
|
159
|
+
* @param {number} [limit] Items shown per page
|
|
160
|
+
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getProductFieldsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldsResponse>>>;
|
|
123
164
|
/**
|
|
124
165
|
* Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
125
166
|
* @summary Update a product field
|
|
@@ -129,6 +170,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
129
170
|
* @throws {RequiredError}
|
|
130
171
|
*/
|
|
131
172
|
updateProductField(id: number, UpdateProductFieldResponse?: UpdateProductFieldResponse): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFieldResponse>>;
|
|
173
|
+
/**
|
|
174
|
+
* Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
175
|
+
* @summary Update a product field
|
|
176
|
+
* @param {number} id The ID of the product field
|
|
177
|
+
* @param {UpdateProductFieldResponse} [UpdateProductFieldResponse]
|
|
178
|
+
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
updateProductFieldWithHttpInfo(id: number, UpdateProductFieldResponse?: UpdateProductFieldResponse): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFieldResponse>>>;
|
|
132
182
|
};
|
|
133
183
|
/**
|
|
134
184
|
* ProductFieldsApi - factory interface
|
|
@@ -143,6 +193,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
143
193
|
* @throws {RequiredError}
|
|
144
194
|
*/
|
|
145
195
|
addProductField(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
196
|
+
addProductFieldWithHttpInfo(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
146
197
|
/**
|
|
147
198
|
* Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
148
199
|
* @summary Delete a product field
|
|
@@ -151,6 +202,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
151
202
|
* @throws {RequiredError}
|
|
152
203
|
*/
|
|
153
204
|
deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeleteProductFieldResponse>;
|
|
205
|
+
deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeleteProductFieldResponse>>;
|
|
154
206
|
/**
|
|
155
207
|
* Marks multiple fields as deleted.
|
|
156
208
|
* @summary Delete multiple product fields in bulk
|
|
@@ -159,6 +211,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
159
211
|
* @throws {RequiredError}
|
|
160
212
|
*/
|
|
161
213
|
deleteProductFields(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<DeleteProductFieldsResponse>;
|
|
214
|
+
deleteProductFieldsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<ApiResponse<DeleteProductFieldsResponse>>;
|
|
162
215
|
/**
|
|
163
216
|
* Returns data about a specific product field.
|
|
164
217
|
* @summary Get one product field
|
|
@@ -167,6 +220,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
167
220
|
* @throws {RequiredError}
|
|
168
221
|
*/
|
|
169
222
|
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
223
|
+
getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
170
224
|
/**
|
|
171
225
|
* Returns data about all product fields.
|
|
172
226
|
* @summary Get all product fields
|
|
@@ -175,6 +229,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
175
229
|
* @throws {RequiredError}
|
|
176
230
|
*/
|
|
177
231
|
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFieldsResponse>;
|
|
232
|
+
getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFieldsResponse>>;
|
|
178
233
|
/**
|
|
179
234
|
* Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
180
235
|
* @summary Update a product field
|
|
@@ -183,6 +238,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
183
238
|
* @throws {RequiredError}
|
|
184
239
|
*/
|
|
185
240
|
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
241
|
+
updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
186
242
|
};
|
|
187
243
|
/**
|
|
188
244
|
* Request parameters for addProductField operation in ProductFieldsApi.
|
|
@@ -290,6 +346,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
290
346
|
* @memberof ProductFieldsApi
|
|
291
347
|
*/
|
|
292
348
|
addProductField(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
349
|
+
/**
|
|
350
|
+
* Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
351
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
352
|
+
* @param {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
|
|
353
|
+
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof ProductFieldsApi
|
|
356
|
+
*/
|
|
357
|
+
addProductFieldWithHttpInfo(requestParameters?: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
293
358
|
/**
|
|
294
359
|
* Marks a product field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
295
360
|
* @summary Delete a product field
|
|
@@ -299,6 +364,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
299
364
|
* @memberof ProductFieldsApi
|
|
300
365
|
*/
|
|
301
366
|
deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeleteProductFieldResponse>;
|
|
367
|
+
/**
|
|
368
|
+
* Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
369
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
370
|
+
* @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
|
|
371
|
+
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof ProductFieldsApi
|
|
374
|
+
*/
|
|
375
|
+
deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeleteProductFieldResponse>>;
|
|
302
376
|
/**
|
|
303
377
|
* Marks multiple fields as deleted.
|
|
304
378
|
* @summary Delete multiple product fields in bulk
|
|
@@ -308,6 +382,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
308
382
|
* @memberof ProductFieldsApi
|
|
309
383
|
*/
|
|
310
384
|
deleteProductFields(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<DeleteProductFieldsResponse>;
|
|
385
|
+
/**
|
|
386
|
+
* Same as `deleteProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
387
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
388
|
+
* @param {ProductFieldsApiDeleteProductFieldsRequest} requestParameters Request parameters.
|
|
389
|
+
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof ProductFieldsApi
|
|
392
|
+
*/
|
|
393
|
+
deleteProductFieldsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldsRequest): Promise<ApiResponse<DeleteProductFieldsResponse>>;
|
|
311
394
|
/**
|
|
312
395
|
* Returns data about a specific product field.
|
|
313
396
|
* @summary Get one product field
|
|
@@ -317,6 +400,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
317
400
|
* @memberof ProductFieldsApi
|
|
318
401
|
*/
|
|
319
402
|
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
403
|
+
/**
|
|
404
|
+
* Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
405
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
406
|
+
* @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
407
|
+
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
* @memberof ProductFieldsApi
|
|
410
|
+
*/
|
|
411
|
+
getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
320
412
|
/**
|
|
321
413
|
* Returns data about all product fields.
|
|
322
414
|
* @summary Get all product fields
|
|
@@ -326,6 +418,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
326
418
|
* @memberof ProductFieldsApi
|
|
327
419
|
*/
|
|
328
420
|
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFieldsResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
423
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
424
|
+
* @param {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
|
|
425
|
+
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof ProductFieldsApi
|
|
428
|
+
*/
|
|
429
|
+
getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFieldsResponse>>;
|
|
329
430
|
/**
|
|
330
431
|
* Updates a product field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
331
432
|
* @summary Update a product field
|
|
@@ -335,4 +436,13 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
335
436
|
* @memberof ProductFieldsApi
|
|
336
437
|
*/
|
|
337
438
|
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<GetProductFieldResponse>;
|
|
439
|
+
/**
|
|
440
|
+
* Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
441
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
442
|
+
* @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
|
|
443
|
+
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
* @memberof ProductFieldsApi
|
|
446
|
+
*/
|
|
447
|
+
updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<GetProductFieldResponse>>;
|
|
338
448
|
}
|