pipedrive 36.0.0 → 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/v1/models/deal-all-of.d.ts +6 -6
- package/dist/esm/versions/v1/models/index.d.ts +0 -3
- package/dist/esm/versions/v1/models/index.js +0 -3
- package/dist/esm/versions/v1/models/note-deal.d.ts +11 -5
- 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/esm/versions/v2/models/index.d.ts +2 -5
- package/dist/esm/versions/v2/models/index.js +2 -5
- package/dist/esm/versions/v2/models/prices-array.d.ts +3 -3
- package/dist/esm/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
- package/dist/{versions/v2/models/prices-array-prices-inner-all-of.d.ts → esm/versions/v2/models/product-price.d.ts} +12 -2
- package/dist/esm/versions/v2/models/product-request.d.ts +3 -3
- 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/v1/models/deal-all-of.d.ts +6 -6
- package/dist/versions/v1/models/index.d.ts +0 -3
- package/dist/versions/v1/models/index.js +0 -3
- package/dist/versions/v1/models/note-deal.d.ts +11 -5
- 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/dist/versions/v2/models/index.d.ts +2 -5
- package/dist/versions/v2/models/index.js +2 -5
- package/dist/versions/v2/models/prices-array.d.ts +3 -3
- package/dist/versions/v2/models/{product-request-prices-inner-all-of.d.ts → product-price-request.d.ts} +12 -2
- package/dist/{esm/versions/v2/models/prices-array-prices-inner-all-of.d.ts → versions/v2/models/product-price.d.ts} +12 -2
- package/dist/versions/v2/models/product-request.d.ts +3 -3
- package/package.json +1 -1
- package/dist/esm/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
- package/dist/esm/versions/v1/models/deal-all-of-org-id.js +0 -14
- package/dist/esm/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
- package/dist/esm/versions/v1/models/deal-all-of-person-id.js +0 -14
- package/dist/esm/versions/v1/models/note-deal-all-of.d.ts +0 -23
- package/dist/esm/versions/v1/models/note-deal-all-of.js +0 -14
- package/dist/esm/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
- package/dist/esm/versions/v2/models/product-price-base.d.ts +0 -28
- package/dist/esm/versions/v2/models/product-price-base.js +0 -14
- package/dist/esm/versions/v2/models/product-request-prices-inner-all-of.js +0 -14
- package/dist/esm/versions/v2/models/product-request-prices-inner.d.ts +0 -18
- package/dist/esm/versions/v2/models/product-request-prices-inner.js +0 -14
- package/dist/versions/v1/models/deal-all-of-org-id.d.ts +0 -17
- package/dist/versions/v1/models/deal-all-of-org-id.js +0 -15
- package/dist/versions/v1/models/deal-all-of-person-id.d.ts +0 -17
- package/dist/versions/v1/models/deal-all-of-person-id.js +0 -15
- package/dist/versions/v1/models/note-deal-all-of.d.ts +0 -23
- package/dist/versions/v1/models/note-deal-all-of.js +0 -15
- package/dist/versions/v2/models/prices-array-prices-inner.d.ts +0 -18
- package/dist/versions/v2/models/product-price-base.d.ts +0 -28
- package/dist/versions/v2/models/product-price-base.js +0 -15
- package/dist/versions/v2/models/product-request-prices-inner-all-of.js +0 -15
- package/dist/versions/v2/models/product-request-prices-inner.d.ts +0 -18
- package/dist/versions/v2/models/product-request-prices-inner.js +0 -15
- /package/dist/esm/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
- /package/dist/esm/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
- /package/dist/versions/v2/models/{prices-array-prices-inner-all-of.js → product-price-request.js} +0 -0
- /package/dist/versions/v2/models/{prices-array-prices-inner.js → product-price.js} +0 -0
|
@@ -508,6 +508,19 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
508
508
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
509
509
|
});
|
|
510
510
|
},
|
|
511
|
+
/**
|
|
512
|
+
* Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
513
|
+
* @summary Add a new organization
|
|
514
|
+
* @param {AddOrganizationRequest} [AddOrganizationRequest]
|
|
515
|
+
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
addOrganizationWithHttpInfo(AddOrganizationRequest) {
|
|
519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
520
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganization(AddOrganizationRequest);
|
|
521
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
522
|
+
});
|
|
523
|
+
},
|
|
511
524
|
/**
|
|
512
525
|
* Adds a user as a follower to the organization.
|
|
513
526
|
* @summary Add a follower to an organization
|
|
@@ -522,6 +535,20 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
522
535
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
523
536
|
});
|
|
524
537
|
},
|
|
538
|
+
/**
|
|
539
|
+
* Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
540
|
+
* @summary Add a follower to an organization
|
|
541
|
+
* @param {number} id The ID of the organization
|
|
542
|
+
* @param {AddDealFollowerRequest} [AddDealFollowerRequest]
|
|
543
|
+
|
|
544
|
+
* @throws {RequiredError}
|
|
545
|
+
*/
|
|
546
|
+
addOrganizationFollowerWithHttpInfo(id, AddDealFollowerRequest) {
|
|
547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganizationFollower(id, AddDealFollowerRequest);
|
|
549
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
550
|
+
});
|
|
551
|
+
},
|
|
525
552
|
/**
|
|
526
553
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
527
554
|
* @summary Delete a organization
|
|
@@ -535,6 +562,19 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
535
562
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
536
563
|
});
|
|
537
564
|
},
|
|
565
|
+
/**
|
|
566
|
+
* Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
567
|
+
* @summary Delete a organization
|
|
568
|
+
* @param {number} id The ID of the organization
|
|
569
|
+
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
deleteOrganizationWithHttpInfo(id) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganization(id);
|
|
575
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
576
|
+
});
|
|
577
|
+
},
|
|
538
578
|
/**
|
|
539
579
|
* Deletes a user follower from the organization.
|
|
540
580
|
* @summary Delete a follower from an organization
|
|
@@ -549,6 +589,20 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
549
589
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
550
590
|
});
|
|
551
591
|
},
|
|
592
|
+
/**
|
|
593
|
+
* Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
594
|
+
* @summary Delete a follower from an organization
|
|
595
|
+
* @param {number} id The ID of the organization
|
|
596
|
+
* @param {number} follower_id The ID of the following user
|
|
597
|
+
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
deleteOrganizationFollowerWithHttpInfo(id, follower_id) {
|
|
601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
602
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationFollower(id, follower_id);
|
|
603
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
604
|
+
});
|
|
605
|
+
},
|
|
552
606
|
/**
|
|
553
607
|
* Returns the details of a specific organization.
|
|
554
608
|
* @summary Get details of a organization
|
|
@@ -566,6 +620,23 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
566
620
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
567
621
|
});
|
|
568
622
|
},
|
|
623
|
+
/**
|
|
624
|
+
* Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
625
|
+
* @summary Get details of a organization
|
|
626
|
+
* @param {number} id The ID of the organization
|
|
627
|
+
* @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
|
|
628
|
+
* @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.
|
|
629
|
+
* @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
|
|
630
|
+
* @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 }\'
|
|
631
|
+
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
*/
|
|
634
|
+
getOrganizationWithHttpInfo(id, include_fields, custom_fields, include_option_labels, include_labels) {
|
|
635
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganization(id, include_fields, custom_fields, include_option_labels, include_labels);
|
|
637
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
638
|
+
});
|
|
639
|
+
},
|
|
569
640
|
/**
|
|
570
641
|
* Lists users who are following the organization.
|
|
571
642
|
* @summary List followers of an organization
|
|
@@ -581,6 +652,21 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
581
652
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
582
653
|
});
|
|
583
654
|
},
|
|
655
|
+
/**
|
|
656
|
+
* Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
657
|
+
* @summary List followers of an organization
|
|
658
|
+
* @param {number} id The ID of the organization
|
|
659
|
+
* @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.
|
|
660
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
661
|
+
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
*/
|
|
664
|
+
getOrganizationFollowersWithHttpInfo(id, limit, cursor) {
|
|
665
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
666
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationFollowers(id, limit, cursor);
|
|
667
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
668
|
+
});
|
|
669
|
+
},
|
|
584
670
|
/**
|
|
585
671
|
* Lists changelogs about users have followed the organization.
|
|
586
672
|
* @summary List followers changelog of an organization
|
|
@@ -596,6 +682,21 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
596
682
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
597
683
|
});
|
|
598
684
|
},
|
|
685
|
+
/**
|
|
686
|
+
* Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
687
|
+
* @summary List followers changelog of an organization
|
|
688
|
+
* @param {number} id The ID of the organization
|
|
689
|
+
* @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.
|
|
690
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
691
|
+
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
*/
|
|
694
|
+
getOrganizationFollowersChangelogWithHttpInfo(id, limit, cursor) {
|
|
695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationFollowersChangelog(id, limit, cursor);
|
|
697
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
698
|
+
});
|
|
699
|
+
},
|
|
599
700
|
/**
|
|
600
701
|
* Returns data about all organizations.
|
|
601
702
|
* @summary Get all organizations
|
|
@@ -621,6 +722,31 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
621
722
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
622
723
|
});
|
|
623
724
|
},
|
|
725
|
+
/**
|
|
726
|
+
* Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
|
|
727
|
+
* @summary Get all organizations
|
|
728
|
+
* @param {number} [filter_id] If supplied, only organizations matching the specified filter are returned
|
|
729
|
+
* @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.
|
|
730
|
+
* @param {number} [owner_id] If supplied, only organizations owned by the specified user are returned. If filter_id is provided, this is ignored.
|
|
731
|
+
* @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.
|
|
732
|
+
* @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.
|
|
733
|
+
* @param {'id' | 'update_time' | 'add_time'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`.
|
|
734
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
735
|
+
* @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
|
|
736
|
+
* @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.
|
|
737
|
+
* @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
|
|
738
|
+
* @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 }\'
|
|
739
|
+
* @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.
|
|
740
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
741
|
+
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
*/
|
|
744
|
+
getOrganizationsWithHttpInfo(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor) {
|
|
745
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizations(filter_id, ids, owner_id, updated_since, updated_until, sort_by, sort_direction, include_fields, custom_fields, include_option_labels, include_labels, limit, cursor);
|
|
747
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
748
|
+
});
|
|
749
|
+
},
|
|
624
750
|
/**
|
|
625
751
|
* 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.
|
|
626
752
|
* @summary Search organizations
|
|
@@ -638,6 +764,23 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
638
764
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
639
765
|
});
|
|
640
766
|
},
|
|
767
|
+
/**
|
|
768
|
+
* Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
769
|
+
* @summary Search organizations
|
|
770
|
+
* @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.
|
|
771
|
+
* @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>.
|
|
772
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
773
|
+
* @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.
|
|
774
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
775
|
+
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
searchOrganizationWithHttpInfo(term, fields, exact_match, limit, cursor) {
|
|
779
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
780
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchOrganization(term, fields, exact_match, limit, cursor);
|
|
781
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
782
|
+
});
|
|
783
|
+
},
|
|
641
784
|
/**
|
|
642
785
|
* Updates the properties of a organization.
|
|
643
786
|
* @summary Update a organization
|
|
@@ -652,6 +795,20 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
652
795
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
653
796
|
});
|
|
654
797
|
},
|
|
798
|
+
/**
|
|
799
|
+
* Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
800
|
+
* @summary Update a organization
|
|
801
|
+
* @param {number} id The ID of the organization
|
|
802
|
+
* @param {UpdateOrganizationRequest} [UpdateOrganizationRequest]
|
|
803
|
+
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
updateOrganizationWithHttpInfo(id, UpdateOrganizationRequest) {
|
|
807
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
808
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganization(id, UpdateOrganizationRequest);
|
|
809
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
810
|
+
});
|
|
811
|
+
},
|
|
655
812
|
};
|
|
656
813
|
};
|
|
657
814
|
exports.OrganizationsApiFp = OrganizationsApiFp;
|
|
@@ -672,6 +829,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
672
829
|
addOrganization(requestParameters = {}) {
|
|
673
830
|
return localVarFp.addOrganization(requestParameters.AddOrganizationRequest).then((request) => request(axios, basePath));
|
|
674
831
|
},
|
|
832
|
+
addOrganizationWithHttpInfo(requestParameters = {}) {
|
|
833
|
+
return localVarFp.addOrganizationWithHttpInfo(requestParameters.AddOrganizationRequest).then((request) => request(axios, basePath));
|
|
834
|
+
},
|
|
675
835
|
/**
|
|
676
836
|
* Adds a user as a follower to the organization.
|
|
677
837
|
* @summary Add a follower to an organization
|
|
@@ -682,6 +842,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
682
842
|
addOrganizationFollower(requestParameters) {
|
|
683
843
|
return localVarFp.addOrganizationFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
|
|
684
844
|
},
|
|
845
|
+
addOrganizationFollowerWithHttpInfo(requestParameters) {
|
|
846
|
+
return localVarFp.addOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(axios, basePath));
|
|
847
|
+
},
|
|
685
848
|
/**
|
|
686
849
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
687
850
|
* @summary Delete a organization
|
|
@@ -692,6 +855,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
692
855
|
deleteOrganization(requestParameters) {
|
|
693
856
|
return localVarFp.deleteOrganization(requestParameters.id).then((request) => request(axios, basePath));
|
|
694
857
|
},
|
|
858
|
+
deleteOrganizationWithHttpInfo(requestParameters) {
|
|
859
|
+
return localVarFp.deleteOrganizationWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
860
|
+
},
|
|
695
861
|
/**
|
|
696
862
|
* Deletes a user follower from the organization.
|
|
697
863
|
* @summary Delete a follower from an organization
|
|
@@ -702,6 +868,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
702
868
|
deleteOrganizationFollower(requestParameters) {
|
|
703
869
|
return localVarFp.deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
|
|
704
870
|
},
|
|
871
|
+
deleteOrganizationFollowerWithHttpInfo(requestParameters) {
|
|
872
|
+
return localVarFp.deleteOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(axios, basePath));
|
|
873
|
+
},
|
|
705
874
|
/**
|
|
706
875
|
* Returns the details of a specific organization.
|
|
707
876
|
* @summary Get details of a organization
|
|
@@ -712,6 +881,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
712
881
|
getOrganization(requestParameters) {
|
|
713
882
|
return localVarFp.getOrganization(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
|
|
714
883
|
},
|
|
884
|
+
getOrganizationWithHttpInfo(requestParameters) {
|
|
885
|
+
return localVarFp.getOrganizationWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(axios, basePath));
|
|
886
|
+
},
|
|
715
887
|
/**
|
|
716
888
|
* Lists users who are following the organization.
|
|
717
889
|
* @summary List followers of an organization
|
|
@@ -722,6 +894,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
722
894
|
getOrganizationFollowers(requestParameters) {
|
|
723
895
|
return localVarFp.getOrganizationFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
724
896
|
},
|
|
897
|
+
getOrganizationFollowersWithHttpInfo(requestParameters) {
|
|
898
|
+
return localVarFp.getOrganizationFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
899
|
+
},
|
|
725
900
|
/**
|
|
726
901
|
* Lists changelogs about users have followed the organization.
|
|
727
902
|
* @summary List followers changelog of an organization
|
|
@@ -732,6 +907,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
732
907
|
getOrganizationFollowersChangelog(requestParameters) {
|
|
733
908
|
return localVarFp.getOrganizationFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
734
909
|
},
|
|
910
|
+
getOrganizationFollowersChangelogWithHttpInfo(requestParameters) {
|
|
911
|
+
return localVarFp.getOrganizationFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
912
|
+
},
|
|
735
913
|
/**
|
|
736
914
|
* Returns data about all organizations.
|
|
737
915
|
* @summary Get all organizations
|
|
@@ -742,6 +920,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
742
920
|
getOrganizations(requestParameters = {}) {
|
|
743
921
|
return localVarFp.getOrganizations(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
744
922
|
},
|
|
923
|
+
getOrganizationsWithHttpInfo(requestParameters = {}) {
|
|
924
|
+
return localVarFp.getOrganizationsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
925
|
+
},
|
|
745
926
|
/**
|
|
746
927
|
* 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.
|
|
747
928
|
* @summary Search organizations
|
|
@@ -752,6 +933,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
752
933
|
searchOrganization(requestParameters) {
|
|
753
934
|
return localVarFp.searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
754
935
|
},
|
|
936
|
+
searchOrganizationWithHttpInfo(requestParameters) {
|
|
937
|
+
return localVarFp.searchOrganizationWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
938
|
+
},
|
|
755
939
|
/**
|
|
756
940
|
* Updates the properties of a organization.
|
|
757
941
|
* @summary Update a organization
|
|
@@ -762,6 +946,9 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
762
946
|
updateOrganization(requestParameters) {
|
|
763
947
|
return localVarFp.updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(axios, basePath));
|
|
764
948
|
},
|
|
949
|
+
updateOrganizationWithHttpInfo(requestParameters) {
|
|
950
|
+
return localVarFp.updateOrganizationWithHttpInfo(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(axios, basePath));
|
|
951
|
+
},
|
|
765
952
|
};
|
|
766
953
|
};
|
|
767
954
|
exports.OrganizationsApiFactory = OrganizationsApiFactory;
|
|
@@ -783,6 +970,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
783
970
|
addOrganization(requestParameters = {}) {
|
|
784
971
|
return (0, exports.OrganizationsApiFp)(this.configuration).addOrganization(requestParameters.AddOrganizationRequest).then((request) => request(this.axios, this.basePath));
|
|
785
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
* Same as `addOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
975
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
976
|
+
* @param {OrganizationsApiAddOrganizationRequest} requestParameters Request parameters.
|
|
977
|
+
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
* @memberof OrganizationsApi
|
|
980
|
+
*/
|
|
981
|
+
addOrganizationWithHttpInfo(requestParameters = {}) {
|
|
982
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).addOrganizationWithHttpInfo(requestParameters.AddOrganizationRequest).then((request) => request(this.axios, this.basePath));
|
|
983
|
+
}
|
|
786
984
|
/**
|
|
787
985
|
* Adds a user as a follower to the organization.
|
|
788
986
|
* @summary Add a follower to an organization
|
|
@@ -794,6 +992,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
794
992
|
addOrganizationFollower(requestParameters) {
|
|
795
993
|
return (0, exports.OrganizationsApiFp)(this.configuration).addOrganizationFollower(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
|
|
796
994
|
}
|
|
995
|
+
/**
|
|
996
|
+
* Same as `addOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
997
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
998
|
+
* @param {OrganizationsApiAddOrganizationFollowerRequest} requestParameters Request parameters.
|
|
999
|
+
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
* @memberof OrganizationsApi
|
|
1002
|
+
*/
|
|
1003
|
+
addOrganizationFollowerWithHttpInfo(requestParameters) {
|
|
1004
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).addOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.AddDealFollowerRequest).then((request) => request(this.axios, this.basePath));
|
|
1005
|
+
}
|
|
797
1006
|
/**
|
|
798
1007
|
* Marks a organization as deleted. After 30 days, the organization will be permanently deleted.
|
|
799
1008
|
* @summary Delete a organization
|
|
@@ -805,6 +1014,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
805
1014
|
deleteOrganization(requestParameters) {
|
|
806
1015
|
return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganization(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
807
1016
|
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Same as `deleteOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
1019
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1020
|
+
* @param {OrganizationsApiDeleteOrganizationRequest} requestParameters Request parameters.
|
|
1021
|
+
|
|
1022
|
+
* @throws {RequiredError}
|
|
1023
|
+
* @memberof OrganizationsApi
|
|
1024
|
+
*/
|
|
1025
|
+
deleteOrganizationWithHttpInfo(requestParameters) {
|
|
1026
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganizationWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
1027
|
+
}
|
|
808
1028
|
/**
|
|
809
1029
|
* Deletes a user follower from the organization.
|
|
810
1030
|
* @summary Delete a follower from an organization
|
|
@@ -816,6 +1036,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
816
1036
|
deleteOrganizationFollower(requestParameters) {
|
|
817
1037
|
return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganizationFollower(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
|
|
818
1038
|
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Same as `deleteOrganizationFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
1041
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1042
|
+
* @param {OrganizationsApiDeleteOrganizationFollowerRequest} requestParameters Request parameters.
|
|
1043
|
+
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
* @memberof OrganizationsApi
|
|
1046
|
+
*/
|
|
1047
|
+
deleteOrganizationFollowerWithHttpInfo(requestParameters) {
|
|
1048
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).deleteOrganizationFollowerWithHttpInfo(requestParameters.id, requestParameters.follower_id).then((request) => request(this.axios, this.basePath));
|
|
1049
|
+
}
|
|
819
1050
|
/**
|
|
820
1051
|
* Returns the details of a specific organization.
|
|
821
1052
|
* @summary Get details of a organization
|
|
@@ -827,6 +1058,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
827
1058
|
getOrganization(requestParameters) {
|
|
828
1059
|
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganization(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
|
|
829
1060
|
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Same as `getOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
1063
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1064
|
+
* @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
|
|
1065
|
+
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
* @memberof OrganizationsApi
|
|
1068
|
+
*/
|
|
1069
|
+
getOrganizationWithHttpInfo(requestParameters) {
|
|
1070
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationWithHttpInfo(requestParameters.id, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels).then((request) => request(this.axios, this.basePath));
|
|
1071
|
+
}
|
|
830
1072
|
/**
|
|
831
1073
|
* Lists users who are following the organization.
|
|
832
1074
|
* @summary List followers of an organization
|
|
@@ -838,6 +1080,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
838
1080
|
getOrganizationFollowers(requestParameters) {
|
|
839
1081
|
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationFollowers(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
840
1082
|
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Same as `getOrganizationFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
1085
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1086
|
+
* @param {OrganizationsApiGetOrganizationFollowersRequest} requestParameters Request parameters.
|
|
1087
|
+
|
|
1088
|
+
* @throws {RequiredError}
|
|
1089
|
+
* @memberof OrganizationsApi
|
|
1090
|
+
*/
|
|
1091
|
+
getOrganizationFollowersWithHttpInfo(requestParameters) {
|
|
1092
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationFollowersWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1093
|
+
}
|
|
841
1094
|
/**
|
|
842
1095
|
* Lists changelogs about users have followed the organization.
|
|
843
1096
|
* @summary List followers changelog of an organization
|
|
@@ -849,6 +1102,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
849
1102
|
getOrganizationFollowersChangelog(requestParameters) {
|
|
850
1103
|
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationFollowersChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
851
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Same as `getOrganizationFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
1107
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1108
|
+
* @param {OrganizationsApiGetOrganizationFollowersChangelogRequest} requestParameters Request parameters.
|
|
1109
|
+
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
* @memberof OrganizationsApi
|
|
1112
|
+
*/
|
|
1113
|
+
getOrganizationFollowersChangelogWithHttpInfo(requestParameters) {
|
|
1114
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationFollowersChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1115
|
+
}
|
|
852
1116
|
/**
|
|
853
1117
|
* Returns data about all organizations.
|
|
854
1118
|
* @summary Get all organizations
|
|
@@ -860,6 +1124,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
860
1124
|
getOrganizations(requestParameters = {}) {
|
|
861
1125
|
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizations(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
862
1126
|
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Same as `getOrganizations`, but resolves with the response body together with the HTTP status and headers.
|
|
1129
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1130
|
+
* @param {OrganizationsApiGetOrganizationsRequest} requestParameters Request parameters.
|
|
1131
|
+
|
|
1132
|
+
* @throws {RequiredError}
|
|
1133
|
+
* @memberof OrganizationsApi
|
|
1134
|
+
*/
|
|
1135
|
+
getOrganizationsWithHttpInfo(requestParameters = {}) {
|
|
1136
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).getOrganizationsWithHttpInfo(requestParameters.filter_id, requestParameters.ids, requestParameters.owner_id, requestParameters.updated_since, requestParameters.updated_until, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.include_fields, requestParameters.custom_fields, requestParameters.include_option_labels, requestParameters.include_labels, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1137
|
+
}
|
|
863
1138
|
/**
|
|
864
1139
|
* 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.
|
|
865
1140
|
* @summary Search organizations
|
|
@@ -871,6 +1146,17 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
871
1146
|
searchOrganization(requestParameters) {
|
|
872
1147
|
return (0, exports.OrganizationsApiFp)(this.configuration).searchOrganization(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
873
1148
|
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Same as `searchOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
1151
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1152
|
+
* @param {OrganizationsApiSearchOrganizationRequest} requestParameters Request parameters.
|
|
1153
|
+
|
|
1154
|
+
* @throws {RequiredError}
|
|
1155
|
+
* @memberof OrganizationsApi
|
|
1156
|
+
*/
|
|
1157
|
+
searchOrganizationWithHttpInfo(requestParameters) {
|
|
1158
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).searchOrganizationWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1159
|
+
}
|
|
874
1160
|
/**
|
|
875
1161
|
* Updates the properties of a organization.
|
|
876
1162
|
* @summary Update a organization
|
|
@@ -882,5 +1168,16 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
882
1168
|
updateOrganization(requestParameters) {
|
|
883
1169
|
return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganization(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(this.axios, this.basePath));
|
|
884
1170
|
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Same as `updateOrganization`, but resolves with the response body together with the HTTP status and headers.
|
|
1173
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1174
|
+
* @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
1175
|
+
|
|
1176
|
+
* @throws {RequiredError}
|
|
1177
|
+
* @memberof OrganizationsApi
|
|
1178
|
+
*/
|
|
1179
|
+
updateOrganizationWithHttpInfo(requestParameters) {
|
|
1180
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganizationWithHttpInfo(requestParameters.id, requestParameters.UpdateOrganizationRequest).then((request) => request(this.axios, this.basePath));
|
|
1181
|
+
}
|
|
885
1182
|
}
|
|
886
1183
|
exports.OrganizationsApi = OrganizationsApi;
|