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 { AddDealFollowerRequest } from '../models';
|
|
16
16
|
import { AddFollowerResponse } from '../models';
|
|
17
17
|
import { AddOrganizationRequest } from '../models';
|
|
@@ -149,6 +149,14 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
151
|
addOrganization(AddOrganizationRequest?: AddOrganizationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertOrganizationResponse>>;
|
|
152
|
+
/**
|
|
153
|
+
* Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
154
|
+
* @summary Add a new organization
|
|
155
|
+
* @param {AddOrganizationRequest} [AddOrganizationRequest]
|
|
156
|
+
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
addOrganizationWithHttpInfo(AddOrganizationRequest?: AddOrganizationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertOrganizationResponse>>>;
|
|
152
160
|
/**
|
|
153
161
|
* Adds a user as a follower to the organization.
|
|
154
162
|
* @summary Add a follower to an organization
|
|
@@ -158,6 +166,15 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
158
166
|
* @throws {RequiredError}
|
|
159
167
|
*/
|
|
160
168
|
addOrganizationFollower(id: number, AddDealFollowerRequest?: AddDealFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddFollowerResponse>>;
|
|
169
|
+
/**
|
|
170
|
+
* Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
171
|
+
* @summary Add a follower to an organization
|
|
172
|
+
* @param {number} id The ID of the organization
|
|
173
|
+
* @param {AddDealFollowerRequest} [AddDealFollowerRequest]
|
|
174
|
+
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
addOrganizationFollowerWithHttpInfo(id: number, AddDealFollowerRequest?: AddDealFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddFollowerResponse>>>;
|
|
161
178
|
/**
|
|
162
179
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
163
180
|
* @summary Delete a organization
|
|
@@ -166,6 +183,14 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
166
183
|
* @throws {RequiredError}
|
|
167
184
|
*/
|
|
168
185
|
deleteOrganization(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteOrganizationResponse>>;
|
|
186
|
+
/**
|
|
187
|
+
* Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
188
|
+
* @summary Delete a organization
|
|
189
|
+
* @param {number} id The ID of the organization
|
|
190
|
+
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
deleteOrganizationWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteOrganizationResponse>>>;
|
|
169
194
|
/**
|
|
170
195
|
* Deletes a user follower from the organization.
|
|
171
196
|
* @summary Delete a follower from an organization
|
|
@@ -175,6 +200,15 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
175
200
|
* @throws {RequiredError}
|
|
176
201
|
*/
|
|
177
202
|
deleteOrganizationFollower(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFollowerResponse>>;
|
|
203
|
+
/**
|
|
204
|
+
* Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
205
|
+
* @summary Delete a follower from an organization
|
|
206
|
+
* @param {number} id The ID of the organization
|
|
207
|
+
* @param {number} follower_id The ID of the following user
|
|
208
|
+
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
deleteOrganizationFollowerWithHttpInfo(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFollowerResponse>>>;
|
|
178
212
|
/**
|
|
179
213
|
* Returns the details of a specific organization.
|
|
180
214
|
* @summary Get details of a organization
|
|
@@ -187,6 +221,18 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
187
221
|
* @throws {RequiredError}
|
|
188
222
|
*/
|
|
189
223
|
getOrganization(id: number, include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertOrganizationResponse>>;
|
|
224
|
+
/**
|
|
225
|
+
* Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
226
|
+
* @summary Get details of a organization
|
|
227
|
+
* @param {number} id The ID of the organization
|
|
228
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
229
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
230
|
+
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
231
|
+
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
232
|
+
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
getOrganizationWithHttpInfo(id: number, include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertOrganizationResponse>>>;
|
|
190
236
|
/**
|
|
191
237
|
* Lists users who are following the organization.
|
|
192
238
|
* @summary List followers of an organization
|
|
@@ -197,6 +243,16 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
197
243
|
* @throws {RequiredError}
|
|
198
244
|
*/
|
|
199
245
|
getOrganizationFollowers(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFollowersResponse>>;
|
|
246
|
+
/**
|
|
247
|
+
* Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
248
|
+
* @summary List followers of an organization
|
|
249
|
+
* @param {number} id The ID of the organization
|
|
250
|
+
* @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.
|
|
251
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
252
|
+
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getOrganizationFollowersWithHttpInfo(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFollowersResponse>>>;
|
|
200
256
|
/**
|
|
201
257
|
* Lists changelogs about users have followed the organization.
|
|
202
258
|
* @summary List followers changelog of an organization
|
|
@@ -207,6 +263,16 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
207
263
|
* @throws {RequiredError}
|
|
208
264
|
*/
|
|
209
265
|
getOrganizationFollowersChangelog(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFollowerChangelogsResponse>>;
|
|
266
|
+
/**
|
|
267
|
+
* Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
268
|
+
* @summary List followers changelog of an organization
|
|
269
|
+
* @param {number} id The ID of the organization
|
|
270
|
+
* @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.
|
|
271
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
272
|
+
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
getOrganizationFollowersChangelogWithHttpInfo(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFollowerChangelogsResponse>>>;
|
|
210
276
|
/**
|
|
211
277
|
* Returns data about all organizations.
|
|
212
278
|
* @summary Get all organizations
|
|
@@ -227,6 +293,26 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
227
293
|
* @throws {RequiredError}
|
|
228
294
|
*/
|
|
229
295
|
getOrganizations(filter_id?: number, ids?: Set<number>, owner_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationsResponse>>;
|
|
296
|
+
/**
|
|
297
|
+
* Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
|
|
298
|
+
* @summary Get all organizations
|
|
299
|
+
* @param {number} [filter_id] If supplied, only organizations matching the specified filter are returned
|
|
300
|
+
* @param {Set<number>} [ids] Optional comma separated array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
301
|
+
* @param {number} [owner_id] If supplied, only organizations owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
302
|
+
* @param {string} [updated_since] If set, only organizations with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
303
|
+
* @param {string} [updated_until] If set, only organizations with an `update_time` earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
304
|
+
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
305
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
306
|
+
* @param {Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>} [include_fields] Optional comma separated string array of additional fields to include
|
|
307
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
308
|
+
* @param {boolean} [include_option_labels] When provided with a \'true\' value, single option and multiple option custom fields values contain objects in the form of \'{ id: number, label: string }\' instead of plain id
|
|
309
|
+
* @param {boolean} [include_labels] When provided with \'true\' value, response will include an array of label objects in the form of \'{ id: number, label: string }\'
|
|
310
|
+
* @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.
|
|
311
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
312
|
+
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
getOrganizationsWithHttpInfo(filter_id?: number, ids?: Set<number>, owner_id?: number, updated_since?: string, updated_until?: string, sort_by?: 'id' | 'update_time' | 'add_time', sort_direction?: 'asc' | 'desc', include_fields?: Set<'next_activity_id' | 'last_activity_id' | 'open_deals_count' | 'related_open_deals_count' | 'closed_deals_count' | 'related_closed_deals_count' | 'email_messages_count' | 'people_count' | 'activities_count' | 'done_activities_count' | 'undone_activities_count' | 'files_count' | 'notes_count' | 'followers_count' | 'won_deals_count' | 'related_won_deals_count' | 'lost_deals_count' | 'related_lost_deals_count' | 'smart_bcc_email'>, custom_fields?: Set<string>, include_option_labels?: boolean, include_labels?: boolean, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetOrganizationsResponse>>>;
|
|
230
316
|
/**
|
|
231
317
|
* Searches all organizations by name, address, 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.
|
|
232
318
|
* @summary Search organizations
|
|
@@ -239,6 +325,18 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
239
325
|
* @throws {RequiredError}
|
|
240
326
|
*/
|
|
241
327
|
searchOrganization(term: string, fields?: Set<'address' | 'custom_fields' | 'notes' | 'name'>, exact_match?: boolean, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetOrganizationSearchResponse>>;
|
|
328
|
+
/**
|
|
329
|
+
* Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
330
|
+
* @summary Search organizations
|
|
331
|
+
* @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.
|
|
332
|
+
* @param {Set<'address' | 'custom_fields' | 'notes' | 'name'>} [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>.
|
|
333
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
334
|
+
* @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.
|
|
335
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
336
|
+
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
searchOrganizationWithHttpInfo(term: string, fields?: Set<'address' | 'custom_fields' | 'notes' | 'name'>, exact_match?: boolean, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetOrganizationSearchResponse>>>;
|
|
242
340
|
/**
|
|
243
341
|
* Updates the properties of a organization.
|
|
244
342
|
* @summary Update a organization
|
|
@@ -248,6 +346,15 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
248
346
|
* @throws {RequiredError}
|
|
249
347
|
*/
|
|
250
348
|
updateOrganization(id: number, UpdateOrganizationRequest?: UpdateOrganizationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertOrganizationResponse>>;
|
|
349
|
+
/**
|
|
350
|
+
* Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
351
|
+
* @summary Update a organization
|
|
352
|
+
* @param {number} id The ID of the organization
|
|
353
|
+
* @param {UpdateOrganizationRequest} [UpdateOrganizationRequest]
|
|
354
|
+
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
*/
|
|
357
|
+
updateOrganizationWithHttpInfo(id: number, UpdateOrganizationRequest?: UpdateOrganizationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertOrganizationResponse>>>;
|
|
251
358
|
};
|
|
252
359
|
/**
|
|
253
360
|
* OrganizationsApi - factory interface
|
|
@@ -262,6 +369,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
262
369
|
* @throws {RequiredError}
|
|
263
370
|
*/
|
|
264
371
|
addOrganization(requestParameters?: OrganizationsApiAddOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
372
|
+
addOrganizationWithHttpInfo(requestParameters?: OrganizationsApiAddOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
265
373
|
/**
|
|
266
374
|
* Adds a user as a follower to the organization.
|
|
267
375
|
* @summary Add a follower to an organization
|
|
@@ -270,6 +378,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
270
378
|
* @throws {RequiredError}
|
|
271
379
|
*/
|
|
272
380
|
addOrganizationFollower(requestParameters: OrganizationsApiAddOrganizationFollowerRequest): Promise<AddFollowerResponse>;
|
|
381
|
+
addOrganizationFollowerWithHttpInfo(requestParameters: OrganizationsApiAddOrganizationFollowerRequest): Promise<ApiResponse<AddFollowerResponse>>;
|
|
273
382
|
/**
|
|
274
383
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
275
384
|
* @summary Delete a organization
|
|
@@ -278,6 +387,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
278
387
|
* @throws {RequiredError}
|
|
279
388
|
*/
|
|
280
389
|
deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest): Promise<DeleteOrganizationResponse>;
|
|
390
|
+
deleteOrganizationWithHttpInfo(requestParameters: OrganizationsApiDeleteOrganizationRequest): Promise<ApiResponse<DeleteOrganizationResponse>>;
|
|
281
391
|
/**
|
|
282
392
|
* Deletes a user follower from the organization.
|
|
283
393
|
* @summary Delete a follower from an organization
|
|
@@ -286,6 +396,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
286
396
|
* @throws {RequiredError}
|
|
287
397
|
*/
|
|
288
398
|
deleteOrganizationFollower(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest): Promise<DeleteFollowerResponse>;
|
|
399
|
+
deleteOrganizationFollowerWithHttpInfo(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest): Promise<ApiResponse<DeleteFollowerResponse>>;
|
|
289
400
|
/**
|
|
290
401
|
* Returns the details of a specific organization.
|
|
291
402
|
* @summary Get details of a organization
|
|
@@ -294,6 +405,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
294
405
|
* @throws {RequiredError}
|
|
295
406
|
*/
|
|
296
407
|
getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
408
|
+
getOrganizationWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
297
409
|
/**
|
|
298
410
|
* Lists users who are following the organization.
|
|
299
411
|
* @summary List followers of an organization
|
|
@@ -302,6 +414,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
302
414
|
* @throws {RequiredError}
|
|
303
415
|
*/
|
|
304
416
|
getOrganizationFollowers(requestParameters: OrganizationsApiGetOrganizationFollowersRequest): Promise<GetFollowersResponse>;
|
|
417
|
+
getOrganizationFollowersWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationFollowersRequest): Promise<ApiResponse<GetFollowersResponse>>;
|
|
305
418
|
/**
|
|
306
419
|
* Lists changelogs about users have followed the organization.
|
|
307
420
|
* @summary List followers changelog of an organization
|
|
@@ -310,6 +423,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
310
423
|
* @throws {RequiredError}
|
|
311
424
|
*/
|
|
312
425
|
getOrganizationFollowersChangelog(requestParameters: OrganizationsApiGetOrganizationFollowersChangelogRequest): Promise<GetFollowerChangelogsResponse>;
|
|
426
|
+
getOrganizationFollowersChangelogWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationFollowersChangelogRequest): Promise<ApiResponse<GetFollowerChangelogsResponse>>;
|
|
313
427
|
/**
|
|
314
428
|
* Returns data about all organizations.
|
|
315
429
|
* @summary Get all organizations
|
|
@@ -318,6 +432,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
318
432
|
* @throws {RequiredError}
|
|
319
433
|
*/
|
|
320
434
|
getOrganizations(requestParameters?: OrganizationsApiGetOrganizationsRequest): Promise<GetOrganizationsResponse>;
|
|
435
|
+
getOrganizationsWithHttpInfo(requestParameters?: OrganizationsApiGetOrganizationsRequest): Promise<ApiResponse<GetOrganizationsResponse>>;
|
|
321
436
|
/**
|
|
322
437
|
* Searches all organizations by name, address, 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.
|
|
323
438
|
* @summary Search organizations
|
|
@@ -326,6 +441,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
326
441
|
* @throws {RequiredError}
|
|
327
442
|
*/
|
|
328
443
|
searchOrganization(requestParameters: OrganizationsApiSearchOrganizationRequest): Promise<GetOrganizationSearchResponse>;
|
|
444
|
+
searchOrganizationWithHttpInfo(requestParameters: OrganizationsApiSearchOrganizationRequest): Promise<ApiResponse<GetOrganizationSearchResponse>>;
|
|
329
445
|
/**
|
|
330
446
|
* Updates the properties of a organization.
|
|
331
447
|
* @summary Update a organization
|
|
@@ -334,6 +450,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
334
450
|
* @throws {RequiredError}
|
|
335
451
|
*/
|
|
336
452
|
updateOrganization(requestParameters: OrganizationsApiUpdateOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
453
|
+
updateOrganizationWithHttpInfo(requestParameters: OrganizationsApiUpdateOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
337
454
|
};
|
|
338
455
|
/**
|
|
339
456
|
* Request parameters for addOrganization operation in OrganizationsApi.
|
|
@@ -643,6 +760,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
643
760
|
* @memberof OrganizationsApi
|
|
644
761
|
*/
|
|
645
762
|
addOrganization(requestParameters?: OrganizationsApiAddOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
763
|
+
/**
|
|
764
|
+
* Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
765
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
766
|
+
* @param {OrganizationsApiAddOrganizationRequest} requestParameters Request parameters.
|
|
767
|
+
|
|
768
|
+
* @throws {RequiredError}
|
|
769
|
+
* @memberof OrganizationsApi
|
|
770
|
+
*/
|
|
771
|
+
addOrganizationWithHttpInfo(requestParameters?: OrganizationsApiAddOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
646
772
|
/**
|
|
647
773
|
* Adds a user as a follower to the organization.
|
|
648
774
|
* @summary Add a follower to an organization
|
|
@@ -652,6 +778,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
652
778
|
* @memberof OrganizationsApi
|
|
653
779
|
*/
|
|
654
780
|
addOrganizationFollower(requestParameters: OrganizationsApiAddOrganizationFollowerRequest): Promise<AddFollowerResponse>;
|
|
781
|
+
/**
|
|
782
|
+
* Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
783
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
784
|
+
* @param {OrganizationsApiAddOrganizationFollowerRequest} requestParameters Request parameters.
|
|
785
|
+
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
* @memberof OrganizationsApi
|
|
788
|
+
*/
|
|
789
|
+
addOrganizationFollowerWithHttpInfo(requestParameters: OrganizationsApiAddOrganizationFollowerRequest): Promise<ApiResponse<AddFollowerResponse>>;
|
|
655
790
|
/**
|
|
656
791
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
657
792
|
* @summary Delete a organization
|
|
@@ -661,6 +796,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
661
796
|
* @memberof OrganizationsApi
|
|
662
797
|
*/
|
|
663
798
|
deleteOrganization(requestParameters: OrganizationsApiDeleteOrganizationRequest): Promise<DeleteOrganizationResponse>;
|
|
799
|
+
/**
|
|
800
|
+
* Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
801
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
802
|
+
* @param {OrganizationsApiDeleteOrganizationRequest} requestParameters Request parameters.
|
|
803
|
+
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
* @memberof OrganizationsApi
|
|
806
|
+
*/
|
|
807
|
+
deleteOrganizationWithHttpInfo(requestParameters: OrganizationsApiDeleteOrganizationRequest): Promise<ApiResponse<DeleteOrganizationResponse>>;
|
|
664
808
|
/**
|
|
665
809
|
* Deletes a user follower from the organization.
|
|
666
810
|
* @summary Delete a follower from an organization
|
|
@@ -670,6 +814,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
670
814
|
* @memberof OrganizationsApi
|
|
671
815
|
*/
|
|
672
816
|
deleteOrganizationFollower(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest): Promise<DeleteFollowerResponse>;
|
|
817
|
+
/**
|
|
818
|
+
* Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
819
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
820
|
+
* @param {OrganizationsApiDeleteOrganizationFollowerRequest} requestParameters Request parameters.
|
|
821
|
+
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
* @memberof OrganizationsApi
|
|
824
|
+
*/
|
|
825
|
+
deleteOrganizationFollowerWithHttpInfo(requestParameters: OrganizationsApiDeleteOrganizationFollowerRequest): Promise<ApiResponse<DeleteFollowerResponse>>;
|
|
673
826
|
/**
|
|
674
827
|
* Returns the details of a specific organization.
|
|
675
828
|
* @summary Get details of a organization
|
|
@@ -679,6 +832,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
679
832
|
* @memberof OrganizationsApi
|
|
680
833
|
*/
|
|
681
834
|
getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
835
|
+
/**
|
|
836
|
+
* Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
837
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
838
|
+
* @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
|
|
839
|
+
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
* @memberof OrganizationsApi
|
|
842
|
+
*/
|
|
843
|
+
getOrganizationWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
682
844
|
/**
|
|
683
845
|
* Lists users who are following the organization.
|
|
684
846
|
* @summary List followers of an organization
|
|
@@ -688,6 +850,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
688
850
|
* @memberof OrganizationsApi
|
|
689
851
|
*/
|
|
690
852
|
getOrganizationFollowers(requestParameters: OrganizationsApiGetOrganizationFollowersRequest): Promise<GetFollowersResponse>;
|
|
853
|
+
/**
|
|
854
|
+
* Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
855
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
856
|
+
* @param {OrganizationsApiGetOrganizationFollowersRequest} requestParameters Request parameters.
|
|
857
|
+
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
* @memberof OrganizationsApi
|
|
860
|
+
*/
|
|
861
|
+
getOrganizationFollowersWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationFollowersRequest): Promise<ApiResponse<GetFollowersResponse>>;
|
|
691
862
|
/**
|
|
692
863
|
* Lists changelogs about users have followed the organization.
|
|
693
864
|
* @summary List followers changelog of an organization
|
|
@@ -697,6 +868,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
697
868
|
* @memberof OrganizationsApi
|
|
698
869
|
*/
|
|
699
870
|
getOrganizationFollowersChangelog(requestParameters: OrganizationsApiGetOrganizationFollowersChangelogRequest): Promise<GetFollowerChangelogsResponse>;
|
|
871
|
+
/**
|
|
872
|
+
* Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
873
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
874
|
+
* @param {OrganizationsApiGetOrganizationFollowersChangelogRequest} requestParameters Request parameters.
|
|
875
|
+
|
|
876
|
+
* @throws {RequiredError}
|
|
877
|
+
* @memberof OrganizationsApi
|
|
878
|
+
*/
|
|
879
|
+
getOrganizationFollowersChangelogWithHttpInfo(requestParameters: OrganizationsApiGetOrganizationFollowersChangelogRequest): Promise<ApiResponse<GetFollowerChangelogsResponse>>;
|
|
700
880
|
/**
|
|
701
881
|
* Returns data about all organizations.
|
|
702
882
|
* @summary Get all organizations
|
|
@@ -706,6 +886,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
706
886
|
* @memberof OrganizationsApi
|
|
707
887
|
*/
|
|
708
888
|
getOrganizations(requestParameters?: OrganizationsApiGetOrganizationsRequest): Promise<GetOrganizationsResponse>;
|
|
889
|
+
/**
|
|
890
|
+
* Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
|
|
891
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
892
|
+
* @param {OrganizationsApiGetOrganizationsRequest} requestParameters Request parameters.
|
|
893
|
+
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
* @memberof OrganizationsApi
|
|
896
|
+
*/
|
|
897
|
+
getOrganizationsWithHttpInfo(requestParameters?: OrganizationsApiGetOrganizationsRequest): Promise<ApiResponse<GetOrganizationsResponse>>;
|
|
709
898
|
/**
|
|
710
899
|
* Searches all organizations by name, address, 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.
|
|
711
900
|
* @summary Search organizations
|
|
@@ -715,6 +904,15 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
715
904
|
* @memberof OrganizationsApi
|
|
716
905
|
*/
|
|
717
906
|
searchOrganization(requestParameters: OrganizationsApiSearchOrganizationRequest): Promise<GetOrganizationSearchResponse>;
|
|
907
|
+
/**
|
|
908
|
+
* Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
909
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
910
|
+
* @param {OrganizationsApiSearchOrganizationRequest} requestParameters Request parameters.
|
|
911
|
+
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
* @memberof OrganizationsApi
|
|
914
|
+
*/
|
|
915
|
+
searchOrganizationWithHttpInfo(requestParameters: OrganizationsApiSearchOrganizationRequest): Promise<ApiResponse<GetOrganizationSearchResponse>>;
|
|
718
916
|
/**
|
|
719
917
|
* Updates the properties of a organization.
|
|
720
918
|
* @summary Update a organization
|
|
@@ -724,4 +922,13 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
724
922
|
* @memberof OrganizationsApi
|
|
725
923
|
*/
|
|
726
924
|
updateOrganization(requestParameters: OrganizationsApiUpdateOrganizationRequest): Promise<UpsertOrganizationResponse>;
|
|
925
|
+
/**
|
|
926
|
+
* Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
927
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
928
|
+
* @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
929
|
+
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
* @memberof OrganizationsApi
|
|
932
|
+
*/
|
|
933
|
+
updateOrganizationWithHttpInfo(requestParameters: OrganizationsApiUpdateOrganizationRequest): Promise<ApiResponse<UpsertOrganizationResponse>>;
|
|
727
934
|
}
|