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
|
@@ -476,6 +476,19 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
476
476
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
477
477
|
});
|
|
478
478
|
},
|
|
479
|
+
/**
|
|
480
|
+
* Same as `addProject`, but resolves with the response body together with the HTTP status and headers.
|
|
481
|
+
* @summary Add a project
|
|
482
|
+
* @param {AddProjectRequest} AddProjectRequest
|
|
483
|
+
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
addProjectWithHttpInfo(AddProjectRequest) {
|
|
487
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
488
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProject(AddProjectRequest);
|
|
489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
490
|
+
});
|
|
491
|
+
},
|
|
479
492
|
/**
|
|
480
493
|
* Archives a project.
|
|
481
494
|
* @summary Archive a project
|
|
@@ -489,6 +502,19 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
489
502
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
490
503
|
});
|
|
491
504
|
},
|
|
505
|
+
/**
|
|
506
|
+
* Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
|
|
507
|
+
* @summary Archive a project
|
|
508
|
+
* @param {number} id The ID of the project
|
|
509
|
+
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
archiveProjectWithHttpInfo(id) {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.archiveProject(id);
|
|
515
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
516
|
+
});
|
|
517
|
+
},
|
|
492
518
|
/**
|
|
493
519
|
* Marks a project as deleted.
|
|
494
520
|
* @summary Delete a project
|
|
@@ -502,6 +528,19 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
502
528
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
503
529
|
});
|
|
504
530
|
},
|
|
531
|
+
/**
|
|
532
|
+
* Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
|
|
533
|
+
* @summary Delete a project
|
|
534
|
+
* @param {number} id The ID of the project
|
|
535
|
+
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
deleteProjectWithHttpInfo(id) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
540
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProject(id);
|
|
541
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
542
|
+
});
|
|
543
|
+
},
|
|
505
544
|
/**
|
|
506
545
|
* Returns all archived projects.
|
|
507
546
|
* @summary Get all archived projects
|
|
@@ -519,6 +558,23 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
519
558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
520
559
|
});
|
|
521
560
|
},
|
|
561
|
+
/**
|
|
562
|
+
* Same as `getArchivedProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
563
|
+
* @summary Get all archived projects
|
|
564
|
+
* @param {number} [filter_id] If supplied, only projects matching the specified filter are returned
|
|
565
|
+
* @param {string} [status] If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
|
|
566
|
+
* @param {number} [phase_id] If supplied, only projects in the specified phase are returned
|
|
567
|
+
* @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.
|
|
568
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
569
|
+
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
getArchivedProjectsWithHttpInfo(filter_id, status, phase_id, limit, cursor) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArchivedProjects(filter_id, status, phase_id, limit, cursor);
|
|
575
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
576
|
+
});
|
|
577
|
+
},
|
|
522
578
|
/**
|
|
523
579
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
524
580
|
* @summary Get details of a project
|
|
@@ -532,6 +588,19 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
532
588
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
533
589
|
});
|
|
534
590
|
},
|
|
591
|
+
/**
|
|
592
|
+
* Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
|
|
593
|
+
* @summary Get details of a project
|
|
594
|
+
* @param {number} id The ID of the project
|
|
595
|
+
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
getProjectWithHttpInfo(id) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProject(id);
|
|
601
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
602
|
+
});
|
|
603
|
+
},
|
|
535
604
|
/**
|
|
536
605
|
* Lists updates about field values of a project.
|
|
537
606
|
* @summary List updates about project field values
|
|
@@ -547,6 +616,21 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
547
616
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
548
617
|
});
|
|
549
618
|
},
|
|
619
|
+
/**
|
|
620
|
+
* Same as `getProjectChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
621
|
+
* @summary List updates about project field values
|
|
622
|
+
* @param {number} id The ID of the project
|
|
623
|
+
* @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.
|
|
624
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
625
|
+
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
*/
|
|
628
|
+
getProjectChangelogWithHttpInfo(id, limit, cursor) {
|
|
629
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
630
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectChangelog(id, limit, cursor);
|
|
631
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
632
|
+
});
|
|
633
|
+
},
|
|
550
634
|
/**
|
|
551
635
|
* Lists the users permitted to access a project.
|
|
552
636
|
* @summary List permitted users
|
|
@@ -560,6 +644,19 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
560
644
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
561
645
|
});
|
|
562
646
|
},
|
|
647
|
+
/**
|
|
648
|
+
* Same as `getProjectUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
649
|
+
* @summary List permitted users
|
|
650
|
+
* @param {number} id The ID of the project
|
|
651
|
+
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
getProjectUsersWithHttpInfo(id) {
|
|
655
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
656
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectUsers(id);
|
|
657
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
658
|
+
});
|
|
659
|
+
},
|
|
563
660
|
/**
|
|
564
661
|
* Returns all non-archived projects.
|
|
565
662
|
* @summary Get all projects
|
|
@@ -580,6 +677,26 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
580
677
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
581
678
|
});
|
|
582
679
|
},
|
|
680
|
+
/**
|
|
681
|
+
* Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
682
|
+
* @summary Get all projects
|
|
683
|
+
* @param {number} [filter_id] If supplied, only projects matching the specified filter are returned
|
|
684
|
+
* @param {string} [status] If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
|
|
685
|
+
* @param {number} [phase_id] If supplied, only projects in the specified phase are returned
|
|
686
|
+
* @param {number} [deal_id] If supplied, only projects associated with the specified deal are returned
|
|
687
|
+
* @param {number} [person_id] If supplied, only projects associated with the specified person are returned
|
|
688
|
+
* @param {number} [org_id] If supplied, only projects associated with the specified organization are returned
|
|
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
|
+
getProjectsWithHttpInfo(filter_id, status, phase_id, deal_id, person_id, org_id, limit, cursor) {
|
|
695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(filter_id, status, phase_id, deal_id, person_id, org_id, limit, cursor);
|
|
697
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
698
|
+
});
|
|
699
|
+
},
|
|
583
700
|
/**
|
|
584
701
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
585
702
|
* @summary Search projects
|
|
@@ -599,6 +716,25 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
599
716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
600
717
|
});
|
|
601
718
|
},
|
|
719
|
+
/**
|
|
720
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
721
|
+
* @summary Search projects
|
|
722
|
+
* @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.
|
|
723
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
724
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
725
|
+
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
726
|
+
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
727
|
+
* @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.
|
|
728
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
729
|
+
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
searchProjectsWithHttpInfo(term, fields, exact_match, person_id, organization_id, limit, cursor) {
|
|
733
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
734
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchProjects(term, fields, exact_match, person_id, organization_id, limit, cursor);
|
|
735
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
736
|
+
});
|
|
737
|
+
},
|
|
602
738
|
/**
|
|
603
739
|
* Updates the properties of a project.
|
|
604
740
|
* @summary Update a project
|
|
@@ -613,6 +749,20 @@ export const ProjectsApiFp = function (configuration) {
|
|
|
613
749
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
614
750
|
});
|
|
615
751
|
},
|
|
752
|
+
/**
|
|
753
|
+
* Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
|
|
754
|
+
* @summary Update a project
|
|
755
|
+
* @param {number} id The ID of the project
|
|
756
|
+
* @param {UpdateProjectRequest} [UpdateProjectRequest]
|
|
757
|
+
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
updateProjectWithHttpInfo(id, UpdateProjectRequest) {
|
|
761
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
762
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProject(id, UpdateProjectRequest);
|
|
763
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
764
|
+
});
|
|
765
|
+
},
|
|
616
766
|
};
|
|
617
767
|
};
|
|
618
768
|
/**
|
|
@@ -632,6 +782,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
632
782
|
addProject(requestParameters) {
|
|
633
783
|
return localVarFp.addProject(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
|
|
634
784
|
},
|
|
785
|
+
addProjectWithHttpInfo(requestParameters) {
|
|
786
|
+
return localVarFp.addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
|
|
787
|
+
},
|
|
635
788
|
/**
|
|
636
789
|
* Archives a project.
|
|
637
790
|
* @summary Archive a project
|
|
@@ -642,6 +795,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
642
795
|
archiveProject(requestParameters) {
|
|
643
796
|
return localVarFp.archiveProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
644
797
|
},
|
|
798
|
+
archiveProjectWithHttpInfo(requestParameters) {
|
|
799
|
+
return localVarFp.archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
800
|
+
},
|
|
645
801
|
/**
|
|
646
802
|
* Marks a project as deleted.
|
|
647
803
|
* @summary Delete a project
|
|
@@ -652,6 +808,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
652
808
|
deleteProject(requestParameters) {
|
|
653
809
|
return localVarFp.deleteProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
654
810
|
},
|
|
811
|
+
deleteProjectWithHttpInfo(requestParameters) {
|
|
812
|
+
return localVarFp.deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
813
|
+
},
|
|
655
814
|
/**
|
|
656
815
|
* Returns all archived projects.
|
|
657
816
|
* @summary Get all archived projects
|
|
@@ -662,6 +821,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
662
821
|
getArchivedProjects(requestParameters = {}) {
|
|
663
822
|
return localVarFp.getArchivedProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
664
823
|
},
|
|
824
|
+
getArchivedProjectsWithHttpInfo(requestParameters = {}) {
|
|
825
|
+
return localVarFp.getArchivedProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
826
|
+
},
|
|
665
827
|
/**
|
|
666
828
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
667
829
|
* @summary Get details of a project
|
|
@@ -672,6 +834,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
672
834
|
getProject(requestParameters) {
|
|
673
835
|
return localVarFp.getProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
674
836
|
},
|
|
837
|
+
getProjectWithHttpInfo(requestParameters) {
|
|
838
|
+
return localVarFp.getProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
839
|
+
},
|
|
675
840
|
/**
|
|
676
841
|
* Lists updates about field values of a project.
|
|
677
842
|
* @summary List updates about project field values
|
|
@@ -682,6 +847,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
682
847
|
getProjectChangelog(requestParameters) {
|
|
683
848
|
return localVarFp.getProjectChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
684
849
|
},
|
|
850
|
+
getProjectChangelogWithHttpInfo(requestParameters) {
|
|
851
|
+
return localVarFp.getProjectChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
852
|
+
},
|
|
685
853
|
/**
|
|
686
854
|
* Lists the users permitted to access a project.
|
|
687
855
|
* @summary List permitted users
|
|
@@ -692,6 +860,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
692
860
|
getProjectUsers(requestParameters) {
|
|
693
861
|
return localVarFp.getProjectUsers(requestParameters.id).then((request) => request(axios, basePath));
|
|
694
862
|
},
|
|
863
|
+
getProjectUsersWithHttpInfo(requestParameters) {
|
|
864
|
+
return localVarFp.getProjectUsersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
865
|
+
},
|
|
695
866
|
/**
|
|
696
867
|
* Returns all non-archived projects.
|
|
697
868
|
* @summary Get all projects
|
|
@@ -702,6 +873,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
702
873
|
getProjects(requestParameters = {}) {
|
|
703
874
|
return localVarFp.getProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
704
875
|
},
|
|
876
|
+
getProjectsWithHttpInfo(requestParameters = {}) {
|
|
877
|
+
return localVarFp.getProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
878
|
+
},
|
|
705
879
|
/**
|
|
706
880
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
707
881
|
* @summary Search projects
|
|
@@ -712,6 +886,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
712
886
|
searchProjects(requestParameters) {
|
|
713
887
|
return localVarFp.searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
714
888
|
},
|
|
889
|
+
searchProjectsWithHttpInfo(requestParameters) {
|
|
890
|
+
return localVarFp.searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
891
|
+
},
|
|
715
892
|
/**
|
|
716
893
|
* Updates the properties of a project.
|
|
717
894
|
* @summary Update a project
|
|
@@ -722,6 +899,9 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
722
899
|
updateProject(requestParameters) {
|
|
723
900
|
return localVarFp.updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
|
|
724
901
|
},
|
|
902
|
+
updateProjectWithHttpInfo(requestParameters) {
|
|
903
|
+
return localVarFp.updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
|
|
904
|
+
},
|
|
725
905
|
};
|
|
726
906
|
};
|
|
727
907
|
/**
|
|
@@ -742,6 +922,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
742
922
|
addProject(requestParameters) {
|
|
743
923
|
return ProjectsApiFp(this.configuration).addProject(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
744
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* Same as `addProject`, 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 {ProjectsApiAddProjectRequest} requestParameters Request parameters.
|
|
929
|
+
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
* @memberof ProjectsApi
|
|
932
|
+
*/
|
|
933
|
+
addProjectWithHttpInfo(requestParameters) {
|
|
934
|
+
return ProjectsApiFp(this.configuration).addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
935
|
+
}
|
|
745
936
|
/**
|
|
746
937
|
* Archives a project.
|
|
747
938
|
* @summary Archive a project
|
|
@@ -753,6 +944,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
753
944
|
archiveProject(requestParameters) {
|
|
754
945
|
return ProjectsApiFp(this.configuration).archiveProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
755
946
|
}
|
|
947
|
+
/**
|
|
948
|
+
* Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
|
|
949
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
950
|
+
* @param {ProjectsApiArchiveProjectRequest} requestParameters Request parameters.
|
|
951
|
+
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
* @memberof ProjectsApi
|
|
954
|
+
*/
|
|
955
|
+
archiveProjectWithHttpInfo(requestParameters) {
|
|
956
|
+
return ProjectsApiFp(this.configuration).archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
957
|
+
}
|
|
756
958
|
/**
|
|
757
959
|
* Marks a project as deleted.
|
|
758
960
|
* @summary Delete a project
|
|
@@ -764,6 +966,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
764
966
|
deleteProject(requestParameters) {
|
|
765
967
|
return ProjectsApiFp(this.configuration).deleteProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
766
968
|
}
|
|
969
|
+
/**
|
|
970
|
+
* Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
|
|
971
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
972
|
+
* @param {ProjectsApiDeleteProjectRequest} requestParameters Request parameters.
|
|
973
|
+
|
|
974
|
+
* @throws {RequiredError}
|
|
975
|
+
* @memberof ProjectsApi
|
|
976
|
+
*/
|
|
977
|
+
deleteProjectWithHttpInfo(requestParameters) {
|
|
978
|
+
return ProjectsApiFp(this.configuration).deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
979
|
+
}
|
|
767
980
|
/**
|
|
768
981
|
* Returns all archived projects.
|
|
769
982
|
* @summary Get all archived projects
|
|
@@ -775,6 +988,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
775
988
|
getArchivedProjects(requestParameters = {}) {
|
|
776
989
|
return ProjectsApiFp(this.configuration).getArchivedProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
777
990
|
}
|
|
991
|
+
/**
|
|
992
|
+
* Same as `getArchivedProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
993
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
994
|
+
* @param {ProjectsApiGetArchivedProjectsRequest} requestParameters Request parameters.
|
|
995
|
+
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
* @memberof ProjectsApi
|
|
998
|
+
*/
|
|
999
|
+
getArchivedProjectsWithHttpInfo(requestParameters = {}) {
|
|
1000
|
+
return ProjectsApiFp(this.configuration).getArchivedProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1001
|
+
}
|
|
778
1002
|
/**
|
|
779
1003
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
780
1004
|
* @summary Get details of a project
|
|
@@ -786,6 +1010,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
786
1010
|
getProject(requestParameters) {
|
|
787
1011
|
return ProjectsApiFp(this.configuration).getProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
788
1012
|
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
|
|
1015
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1016
|
+
* @param {ProjectsApiGetProjectRequest} requestParameters Request parameters.
|
|
1017
|
+
|
|
1018
|
+
* @throws {RequiredError}
|
|
1019
|
+
* @memberof ProjectsApi
|
|
1020
|
+
*/
|
|
1021
|
+
getProjectWithHttpInfo(requestParameters) {
|
|
1022
|
+
return ProjectsApiFp(this.configuration).getProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
1023
|
+
}
|
|
789
1024
|
/**
|
|
790
1025
|
* Lists updates about field values of a project.
|
|
791
1026
|
* @summary List updates about project field values
|
|
@@ -797,6 +1032,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
797
1032
|
getProjectChangelog(requestParameters) {
|
|
798
1033
|
return ProjectsApiFp(this.configuration).getProjectChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
799
1034
|
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Same as `getProjectChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
1037
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1038
|
+
* @param {ProjectsApiGetProjectChangelogRequest} requestParameters Request parameters.
|
|
1039
|
+
|
|
1040
|
+
* @throws {RequiredError}
|
|
1041
|
+
* @memberof ProjectsApi
|
|
1042
|
+
*/
|
|
1043
|
+
getProjectChangelogWithHttpInfo(requestParameters) {
|
|
1044
|
+
return ProjectsApiFp(this.configuration).getProjectChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1045
|
+
}
|
|
800
1046
|
/**
|
|
801
1047
|
* Lists the users permitted to access a project.
|
|
802
1048
|
* @summary List permitted users
|
|
@@ -808,6 +1054,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
808
1054
|
getProjectUsers(requestParameters) {
|
|
809
1055
|
return ProjectsApiFp(this.configuration).getProjectUsers(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
810
1056
|
}
|
|
1057
|
+
/**
|
|
1058
|
+
* Same as `getProjectUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
1059
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1060
|
+
* @param {ProjectsApiGetProjectUsersRequest} requestParameters Request parameters.
|
|
1061
|
+
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
* @memberof ProjectsApi
|
|
1064
|
+
*/
|
|
1065
|
+
getProjectUsersWithHttpInfo(requestParameters) {
|
|
1066
|
+
return ProjectsApiFp(this.configuration).getProjectUsersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
1067
|
+
}
|
|
811
1068
|
/**
|
|
812
1069
|
* Returns all non-archived projects.
|
|
813
1070
|
* @summary Get all projects
|
|
@@ -819,6 +1076,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
819
1076
|
getProjects(requestParameters = {}) {
|
|
820
1077
|
return ProjectsApiFp(this.configuration).getProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
821
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1081
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1082
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1083
|
+
|
|
1084
|
+
* @throws {RequiredError}
|
|
1085
|
+
* @memberof ProjectsApi
|
|
1086
|
+
*/
|
|
1087
|
+
getProjectsWithHttpInfo(requestParameters = {}) {
|
|
1088
|
+
return ProjectsApiFp(this.configuration).getProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1089
|
+
}
|
|
822
1090
|
/**
|
|
823
1091
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
824
1092
|
* @summary Search projects
|
|
@@ -830,6 +1098,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
830
1098
|
searchProjects(requestParameters) {
|
|
831
1099
|
return ProjectsApiFp(this.configuration).searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
832
1100
|
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1103
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1104
|
+
* @param {ProjectsApiSearchProjectsRequest} requestParameters Request parameters.
|
|
1105
|
+
|
|
1106
|
+
* @throws {RequiredError}
|
|
1107
|
+
* @memberof ProjectsApi
|
|
1108
|
+
*/
|
|
1109
|
+
searchProjectsWithHttpInfo(requestParameters) {
|
|
1110
|
+
return ProjectsApiFp(this.configuration).searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1111
|
+
}
|
|
833
1112
|
/**
|
|
834
1113
|
* Updates the properties of a project.
|
|
835
1114
|
* @summary Update a project
|
|
@@ -841,4 +1120,15 @@ export class ProjectsApi extends BaseAPI {
|
|
|
841
1120
|
updateProject(requestParameters) {
|
|
842
1121
|
return ProjectsApiFp(this.configuration).updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
843
1122
|
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
|
|
1125
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1126
|
+
* @param {ProjectsApiUpdateProjectRequest} requestParameters Request parameters.
|
|
1127
|
+
|
|
1128
|
+
* @throws {RequiredError}
|
|
1129
|
+
* @memberof ProjectsApi
|
|
1130
|
+
*/
|
|
1131
|
+
updateProjectWithHttpInfo(requestParameters) {
|
|
1132
|
+
return ProjectsApiFp(this.configuration).updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
1133
|
+
}
|
|
844
1134
|
}
|