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
|
@@ -120,6 +120,24 @@ const StagesApiFp = function (configuration) {
|
|
|
120
120
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
121
121
|
});
|
|
122
122
|
},
|
|
123
|
+
/**
|
|
124
|
+
* Same as `getStageDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
125
|
+
* @summary Get deals in a stage
|
|
126
|
+
* @param {number} id The ID of the stage
|
|
127
|
+
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
|
128
|
+
* @param {number} [user_id] If supplied, `filter_id` will not be considered and only deals owned by the given user will be returned. If omitted, deals owned by the authorized user will be returned.
|
|
129
|
+
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
|
130
|
+
* @param {number} [start] Pagination start
|
|
131
|
+
* @param {number} [limit] Items shown per page
|
|
132
|
+
* @deprecated
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getStageDealsWithHttpInfo(id, filter_id, user_id, everyone, start, limit) {
|
|
136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStageDeals(id, filter_id, user_id, everyone, start, limit);
|
|
138
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
139
|
+
});
|
|
140
|
+
},
|
|
123
141
|
};
|
|
124
142
|
};
|
|
125
143
|
exports.StagesApiFp = StagesApiFp;
|
|
@@ -140,6 +158,9 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
140
158
|
getStageDeals(requestParameters) {
|
|
141
159
|
return localVarFp.getStageDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
142
160
|
},
|
|
161
|
+
getStageDealsWithHttpInfo(requestParameters) {
|
|
162
|
+
return localVarFp.getStageDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
163
|
+
},
|
|
143
164
|
};
|
|
144
165
|
};
|
|
145
166
|
exports.StagesApiFactory = StagesApiFactory;
|
|
@@ -161,5 +182,16 @@ class StagesApi extends base_1.BaseAPI {
|
|
|
161
182
|
getStageDeals(requestParameters) {
|
|
162
183
|
return (0, exports.StagesApiFp)(this.configuration).getStageDeals(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
163
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Same as `getStageDeals`, but resolves with the response body together with the HTTP status and headers.
|
|
187
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
188
|
+
* @param {StagesApiGetStageDealsRequest} requestParameters Request parameters.
|
|
189
|
+
* @deprecated
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
* @memberof StagesApi
|
|
192
|
+
*/
|
|
193
|
+
getStageDealsWithHttpInfo(requestParameters) {
|
|
194
|
+
return (0, exports.StagesApiFp)(this.configuration).getStageDealsWithHttpInfo(requestParameters.id, requestParameters.filter_id, requestParameters.user_id, requestParameters.everyone, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
195
|
+
}
|
|
164
196
|
}
|
|
165
197
|
exports.StagesApi = StagesApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { AddTaskRequest } from '../models';
|
|
16
16
|
import { AddTaskResponse } from '../models';
|
|
17
17
|
import { DeleteTaskResponse } from '../models';
|
|
@@ -84,6 +84,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
86
|
addTask(AddTaskRequest?: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddTaskResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
89
|
+
* @summary Add a task
|
|
90
|
+
* @param {AddTaskRequest} [AddTaskRequest]
|
|
91
|
+
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
addTaskWithHttpInfo(AddTaskRequest?: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddTaskResponse>>>;
|
|
87
95
|
/**
|
|
88
96
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
89
97
|
* @summary Delete a task
|
|
@@ -92,6 +100,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
92
100
|
* @throws {RequiredError}
|
|
93
101
|
*/
|
|
94
102
|
deleteTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteTaskResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
105
|
+
* @summary Delete a task
|
|
106
|
+
* @param {number} id The ID of the task
|
|
107
|
+
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
deleteTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteTaskResponse>>>;
|
|
95
111
|
/**
|
|
96
112
|
* Returns the details of a specific task.
|
|
97
113
|
* @summary Get details of a task
|
|
@@ -100,6 +116,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
100
116
|
* @throws {RequiredError}
|
|
101
117
|
*/
|
|
102
118
|
getTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTaskResponse>>;
|
|
119
|
+
/**
|
|
120
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
121
|
+
* @summary Get details of a task
|
|
122
|
+
* @param {number} id The ID of the task
|
|
123
|
+
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
getTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTaskResponse>>>;
|
|
103
127
|
/**
|
|
104
128
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
105
129
|
* @summary Get all tasks
|
|
@@ -113,6 +137,19 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
113
137
|
* @throws {RequiredError}
|
|
114
138
|
*/
|
|
115
139
|
getTasks(cursor?: string, limit?: number, assignee_id?: number, project_id?: number, parent_task_id?: number, done?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTasksResponse>>;
|
|
140
|
+
/**
|
|
141
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
142
|
+
* @summary Get all tasks
|
|
143
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
144
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
|
|
145
|
+
* @param {number} [assignee_id] If supplied, only tasks that are assigned to this user are returned
|
|
146
|
+
* @param {number} [project_id] If supplied, only tasks that are assigned to this project are returned
|
|
147
|
+
* @param {number} [parent_task_id] If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned.
|
|
148
|
+
* @param {0 | 1} [done] Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks.
|
|
149
|
+
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getTasksWithHttpInfo(cursor?: string, limit?: number, assignee_id?: number, project_id?: number, parent_task_id?: number, done?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTasksResponse>>>;
|
|
116
153
|
/**
|
|
117
154
|
* Updates a task.
|
|
118
155
|
* @summary Update a task
|
|
@@ -122,6 +159,15 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
122
159
|
* @throws {RequiredError}
|
|
123
160
|
*/
|
|
124
161
|
updateTask(id: number, UpdateProjectRequest2?: UpdateProjectRequest2): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateTaskResponse>>;
|
|
162
|
+
/**
|
|
163
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
164
|
+
* @summary Update a task
|
|
165
|
+
* @param {number} id The ID of the task
|
|
166
|
+
* @param {UpdateProjectRequest2} [UpdateProjectRequest2]
|
|
167
|
+
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
updateTaskWithHttpInfo(id: number, UpdateProjectRequest2?: UpdateProjectRequest2): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateTaskResponse>>>;
|
|
125
171
|
};
|
|
126
172
|
/**
|
|
127
173
|
* TasksApi - factory interface
|
|
@@ -136,6 +182,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
136
182
|
* @throws {RequiredError}
|
|
137
183
|
*/
|
|
138
184
|
addTask(requestParameters?: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
185
|
+
addTaskWithHttpInfo(requestParameters?: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
139
186
|
/**
|
|
140
187
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
141
188
|
* @summary Delete a task
|
|
@@ -144,6 +191,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
144
191
|
* @throws {RequiredError}
|
|
145
192
|
*/
|
|
146
193
|
deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
194
|
+
deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
147
195
|
/**
|
|
148
196
|
* Returns the details of a specific task.
|
|
149
197
|
* @summary Get details of a task
|
|
@@ -152,6 +200,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
152
200
|
* @throws {RequiredError}
|
|
153
201
|
*/
|
|
154
202
|
getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
203
|
+
getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
155
204
|
/**
|
|
156
205
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
157
206
|
* @summary Get all tasks
|
|
@@ -160,6 +209,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
160
209
|
* @throws {RequiredError}
|
|
161
210
|
*/
|
|
162
211
|
getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
212
|
+
getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
163
213
|
/**
|
|
164
214
|
* Updates a task.
|
|
165
215
|
* @summary Update a task
|
|
@@ -168,6 +218,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
168
218
|
* @throws {RequiredError}
|
|
169
219
|
*/
|
|
170
220
|
updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
221
|
+
updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
171
222
|
};
|
|
172
223
|
/**
|
|
173
224
|
* Request parameters for addTask operation in TasksApi.
|
|
@@ -286,6 +337,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
286
337
|
* @memberof TasksApi
|
|
287
338
|
*/
|
|
288
339
|
addTask(requestParameters?: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
340
|
+
/**
|
|
341
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
342
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
343
|
+
* @param {TasksApiAddTaskRequest} requestParameters Request parameters.
|
|
344
|
+
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
* @memberof TasksApi
|
|
347
|
+
*/
|
|
348
|
+
addTaskWithHttpInfo(requestParameters?: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
289
349
|
/**
|
|
290
350
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
291
351
|
* @summary Delete a task
|
|
@@ -295,6 +355,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
295
355
|
* @memberof TasksApi
|
|
296
356
|
*/
|
|
297
357
|
deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
358
|
+
/**
|
|
359
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
360
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
361
|
+
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
362
|
+
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
* @memberof TasksApi
|
|
365
|
+
*/
|
|
366
|
+
deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
298
367
|
/**
|
|
299
368
|
* Returns the details of a specific task.
|
|
300
369
|
* @summary Get details of a task
|
|
@@ -304,6 +373,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
304
373
|
* @memberof TasksApi
|
|
305
374
|
*/
|
|
306
375
|
getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
376
|
+
/**
|
|
377
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
378
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
379
|
+
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
380
|
+
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof TasksApi
|
|
383
|
+
*/
|
|
384
|
+
getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
307
385
|
/**
|
|
308
386
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
309
387
|
* @summary Get all tasks
|
|
@@ -313,6 +391,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
313
391
|
* @memberof TasksApi
|
|
314
392
|
*/
|
|
315
393
|
getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
396
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
397
|
+
* @param {TasksApiGetTasksRequest} requestParameters Request parameters.
|
|
398
|
+
|
|
399
|
+
* @throws {RequiredError}
|
|
400
|
+
* @memberof TasksApi
|
|
401
|
+
*/
|
|
402
|
+
getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
316
403
|
/**
|
|
317
404
|
* Updates a task.
|
|
318
405
|
* @summary Update a task
|
|
@@ -322,4 +409,13 @@ export declare class TasksApi extends BaseAPI {
|
|
|
322
409
|
* @memberof TasksApi
|
|
323
410
|
*/
|
|
324
411
|
updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
412
|
+
/**
|
|
413
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
414
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
415
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
416
|
+
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
* @memberof TasksApi
|
|
419
|
+
*/
|
|
420
|
+
updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
325
421
|
}
|
|
@@ -253,6 +253,19 @@ const TasksApiFp = function (configuration) {
|
|
|
253
253
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
254
254
|
});
|
|
255
255
|
},
|
|
256
|
+
/**
|
|
257
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
258
|
+
* @summary Add a task
|
|
259
|
+
* @param {AddTaskRequest} [AddTaskRequest]
|
|
260
|
+
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
addTaskWithHttpInfo(AddTaskRequest) {
|
|
264
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addTask(AddTaskRequest);
|
|
266
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
267
|
+
});
|
|
268
|
+
},
|
|
256
269
|
/**
|
|
257
270
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
258
271
|
* @summary Delete a task
|
|
@@ -266,6 +279,19 @@ const TasksApiFp = function (configuration) {
|
|
|
266
279
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
267
280
|
});
|
|
268
281
|
},
|
|
282
|
+
/**
|
|
283
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
284
|
+
* @summary Delete a task
|
|
285
|
+
* @param {number} id The ID of the task
|
|
286
|
+
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
deleteTaskWithHttpInfo(id) {
|
|
290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
291
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(id);
|
|
292
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
293
|
+
});
|
|
294
|
+
},
|
|
269
295
|
/**
|
|
270
296
|
* Returns the details of a specific task.
|
|
271
297
|
* @summary Get details of a task
|
|
@@ -279,6 +305,19 @@ const TasksApiFp = function (configuration) {
|
|
|
279
305
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
280
306
|
});
|
|
281
307
|
},
|
|
308
|
+
/**
|
|
309
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
310
|
+
* @summary Get details of a task
|
|
311
|
+
* @param {number} id The ID of the task
|
|
312
|
+
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
getTaskWithHttpInfo(id) {
|
|
316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(id);
|
|
318
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
319
|
+
});
|
|
320
|
+
},
|
|
282
321
|
/**
|
|
283
322
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
284
323
|
* @summary Get all tasks
|
|
@@ -297,6 +336,24 @@ const TasksApiFp = function (configuration) {
|
|
|
297
336
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
298
337
|
});
|
|
299
338
|
},
|
|
339
|
+
/**
|
|
340
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
341
|
+
* @summary Get all tasks
|
|
342
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
343
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
|
|
344
|
+
* @param {number} [assignee_id] If supplied, only tasks that are assigned to this user are returned
|
|
345
|
+
* @param {number} [project_id] If supplied, only tasks that are assigned to this project are returned
|
|
346
|
+
* @param {number} [parent_task_id] If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned.
|
|
347
|
+
* @param {0 | 1} [done] Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks.
|
|
348
|
+
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
getTasksWithHttpInfo(cursor, limit, assignee_id, project_id, parent_task_id, done) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTasks(cursor, limit, assignee_id, project_id, parent_task_id, done);
|
|
354
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
355
|
+
});
|
|
356
|
+
},
|
|
300
357
|
/**
|
|
301
358
|
* Updates a task.
|
|
302
359
|
* @summary Update a task
|
|
@@ -311,6 +368,20 @@ const TasksApiFp = function (configuration) {
|
|
|
311
368
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
312
369
|
});
|
|
313
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
373
|
+
* @summary Update a task
|
|
374
|
+
* @param {number} id The ID of the task
|
|
375
|
+
* @param {UpdateProjectRequest2} [UpdateProjectRequest2]
|
|
376
|
+
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
updateTaskWithHttpInfo(id, UpdateProjectRequest2) {
|
|
380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(id, UpdateProjectRequest2);
|
|
382
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
383
|
+
});
|
|
384
|
+
},
|
|
314
385
|
};
|
|
315
386
|
};
|
|
316
387
|
exports.TasksApiFp = TasksApiFp;
|
|
@@ -331,6 +402,9 @@ const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
331
402
|
addTask(requestParameters = {}) {
|
|
332
403
|
return localVarFp.addTask(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
|
|
333
404
|
},
|
|
405
|
+
addTaskWithHttpInfo(requestParameters = {}) {
|
|
406
|
+
return localVarFp.addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
|
|
407
|
+
},
|
|
334
408
|
/**
|
|
335
409
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
336
410
|
* @summary Delete a task
|
|
@@ -341,6 +415,9 @@ const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
341
415
|
deleteTask(requestParameters) {
|
|
342
416
|
return localVarFp.deleteTask(requestParameters.id).then((request) => request(axios, basePath));
|
|
343
417
|
},
|
|
418
|
+
deleteTaskWithHttpInfo(requestParameters) {
|
|
419
|
+
return localVarFp.deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
420
|
+
},
|
|
344
421
|
/**
|
|
345
422
|
* Returns the details of a specific task.
|
|
346
423
|
* @summary Get details of a task
|
|
@@ -351,6 +428,9 @@ const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
351
428
|
getTask(requestParameters) {
|
|
352
429
|
return localVarFp.getTask(requestParameters.id).then((request) => request(axios, basePath));
|
|
353
430
|
},
|
|
431
|
+
getTaskWithHttpInfo(requestParameters) {
|
|
432
|
+
return localVarFp.getTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
433
|
+
},
|
|
354
434
|
/**
|
|
355
435
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
356
436
|
* @summary Get all tasks
|
|
@@ -361,6 +441,9 @@ const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
361
441
|
getTasks(requestParameters = {}) {
|
|
362
442
|
return localVarFp.getTasks(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(axios, basePath));
|
|
363
443
|
},
|
|
444
|
+
getTasksWithHttpInfo(requestParameters = {}) {
|
|
445
|
+
return localVarFp.getTasksWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(axios, basePath));
|
|
446
|
+
},
|
|
364
447
|
/**
|
|
365
448
|
* Updates a task.
|
|
366
449
|
* @summary Update a task
|
|
@@ -371,6 +454,9 @@ const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
371
454
|
updateTask(requestParameters) {
|
|
372
455
|
return localVarFp.updateTask(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(axios, basePath));
|
|
373
456
|
},
|
|
457
|
+
updateTaskWithHttpInfo(requestParameters) {
|
|
458
|
+
return localVarFp.updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(axios, basePath));
|
|
459
|
+
},
|
|
374
460
|
};
|
|
375
461
|
};
|
|
376
462
|
exports.TasksApiFactory = TasksApiFactory;
|
|
@@ -392,6 +478,17 @@ class TasksApi extends base_1.BaseAPI {
|
|
|
392
478
|
addTask(requestParameters = {}) {
|
|
393
479
|
return (0, exports.TasksApiFp)(this.configuration).addTask(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
|
|
394
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
483
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
484
|
+
* @param {TasksApiAddTaskRequest} requestParameters Request parameters.
|
|
485
|
+
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
* @memberof TasksApi
|
|
488
|
+
*/
|
|
489
|
+
addTaskWithHttpInfo(requestParameters = {}) {
|
|
490
|
+
return (0, exports.TasksApiFp)(this.configuration).addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
|
|
491
|
+
}
|
|
395
492
|
/**
|
|
396
493
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
397
494
|
* @summary Delete a task
|
|
@@ -403,6 +500,17 @@ class TasksApi extends base_1.BaseAPI {
|
|
|
403
500
|
deleteTask(requestParameters) {
|
|
404
501
|
return (0, exports.TasksApiFp)(this.configuration).deleteTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
405
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
505
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
506
|
+
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
507
|
+
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
* @memberof TasksApi
|
|
510
|
+
*/
|
|
511
|
+
deleteTaskWithHttpInfo(requestParameters) {
|
|
512
|
+
return (0, exports.TasksApiFp)(this.configuration).deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
513
|
+
}
|
|
406
514
|
/**
|
|
407
515
|
* Returns the details of a specific task.
|
|
408
516
|
* @summary Get details of a task
|
|
@@ -414,6 +522,17 @@ class TasksApi extends base_1.BaseAPI {
|
|
|
414
522
|
getTask(requestParameters) {
|
|
415
523
|
return (0, exports.TasksApiFp)(this.configuration).getTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
416
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
527
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
528
|
+
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
529
|
+
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
* @memberof TasksApi
|
|
532
|
+
*/
|
|
533
|
+
getTaskWithHttpInfo(requestParameters) {
|
|
534
|
+
return (0, exports.TasksApiFp)(this.configuration).getTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
535
|
+
}
|
|
417
536
|
/**
|
|
418
537
|
* Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>.
|
|
419
538
|
* @summary Get all tasks
|
|
@@ -425,6 +544,17 @@ class TasksApi extends base_1.BaseAPI {
|
|
|
425
544
|
getTasks(requestParameters = {}) {
|
|
426
545
|
return (0, exports.TasksApiFp)(this.configuration).getTasks(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(this.axios, this.basePath));
|
|
427
546
|
}
|
|
547
|
+
/**
|
|
548
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
549
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
550
|
+
* @param {TasksApiGetTasksRequest} requestParameters Request parameters.
|
|
551
|
+
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
* @memberof TasksApi
|
|
554
|
+
*/
|
|
555
|
+
getTasksWithHttpInfo(requestParameters = {}) {
|
|
556
|
+
return (0, exports.TasksApiFp)(this.configuration).getTasksWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(this.axios, this.basePath));
|
|
557
|
+
}
|
|
428
558
|
/**
|
|
429
559
|
* Updates a task.
|
|
430
560
|
* @summary Update a task
|
|
@@ -436,5 +566,16 @@ class TasksApi extends base_1.BaseAPI {
|
|
|
436
566
|
updateTask(requestParameters) {
|
|
437
567
|
return (0, exports.TasksApiFp)(this.configuration).updateTask(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(this.axios, this.basePath));
|
|
438
568
|
}
|
|
569
|
+
/**
|
|
570
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
571
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
572
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
573
|
+
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
* @memberof TasksApi
|
|
576
|
+
*/
|
|
577
|
+
updateTaskWithHttpInfo(requestParameters) {
|
|
578
|
+
return (0, exports.TasksApiFp)(this.configuration).updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(this.axios, this.basePath));
|
|
579
|
+
}
|
|
439
580
|
}
|
|
440
581
|
exports.TasksApi = TasksApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { GetUserConnectionsResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* UserConnectionsApi - axios parameter creator
|
|
@@ -38,6 +38,13 @@ export declare const UserConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
getUserConnections(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetUserConnectionsResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
43
|
+
* @summary Get all user connections
|
|
44
|
+
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getUserConnectionsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetUserConnectionsResponse>>>;
|
|
41
48
|
};
|
|
42
49
|
/**
|
|
43
50
|
* UserConnectionsApi - factory interface
|
|
@@ -51,6 +58,7 @@ export declare const UserConnectionsApiFactory: (configuration?: Configuration,
|
|
|
51
58
|
* @throws {RequiredError}
|
|
52
59
|
*/
|
|
53
60
|
getUserConnections(): Promise<GetUserConnectionsResponse>;
|
|
61
|
+
getUserConnectionsWithHttpInfo(): Promise<ApiResponse<GetUserConnectionsResponse>>;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* UserConnectionsApi - object-oriented interface
|
|
@@ -67,4 +75,12 @@ export declare class UserConnectionsApi extends BaseAPI {
|
|
|
67
75
|
* @memberof UserConnectionsApi
|
|
68
76
|
*/
|
|
69
77
|
getUserConnections(): Promise<GetUserConnectionsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
80
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
81
|
+
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof UserConnectionsApi
|
|
84
|
+
*/
|
|
85
|
+
getUserConnectionsWithHttpInfo(): Promise<ApiResponse<GetUserConnectionsResponse>>;
|
|
70
86
|
}
|
|
@@ -90,6 +90,18 @@ const UserConnectionsApiFp = function (configuration) {
|
|
|
90
90
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
91
91
|
});
|
|
92
92
|
},
|
|
93
|
+
/**
|
|
94
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
95
|
+
* @summary Get all user connections
|
|
96
|
+
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getUserConnectionsWithHttpInfo() {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserConnections();
|
|
102
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
103
|
+
});
|
|
104
|
+
},
|
|
93
105
|
};
|
|
94
106
|
};
|
|
95
107
|
exports.UserConnectionsApiFp = UserConnectionsApiFp;
|
|
@@ -109,6 +121,9 @@ const UserConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
109
121
|
getUserConnections() {
|
|
110
122
|
return localVarFp.getUserConnections().then((request) => request(axios, basePath));
|
|
111
123
|
},
|
|
124
|
+
getUserConnectionsWithHttpInfo() {
|
|
125
|
+
return localVarFp.getUserConnectionsWithHttpInfo().then((request) => request(axios, basePath));
|
|
126
|
+
},
|
|
112
127
|
};
|
|
113
128
|
};
|
|
114
129
|
exports.UserConnectionsApiFactory = UserConnectionsApiFactory;
|
|
@@ -129,5 +144,15 @@ class UserConnectionsApi extends base_1.BaseAPI {
|
|
|
129
144
|
getUserConnections() {
|
|
130
145
|
return (0, exports.UserConnectionsApiFp)(this.configuration).getUserConnections().then((request) => request(this.axios, this.basePath));
|
|
131
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
149
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
150
|
+
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof UserConnectionsApi
|
|
153
|
+
*/
|
|
154
|
+
getUserConnectionsWithHttpInfo() {
|
|
155
|
+
return (0, exports.UserConnectionsApiFp)(this.configuration).getUserConnectionsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
156
|
+
}
|
|
132
157
|
}
|
|
133
158
|
exports.UserConnectionsApi = UserConnectionsApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { GetUserSettingsResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* UserSettingsApi - axios parameter creator
|
|
@@ -38,6 +38,13 @@ export declare const UserSettingsApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
getUserSettings(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetUserSettingsResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Same as `getUserSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
43
|
+
* @summary List settings of an authorized user
|
|
44
|
+
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getUserSettingsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetUserSettingsResponse>>>;
|
|
41
48
|
};
|
|
42
49
|
/**
|
|
43
50
|
* UserSettingsApi - factory interface
|
|
@@ -51,6 +58,7 @@ export declare const UserSettingsApiFactory: (configuration?: Configuration, bas
|
|
|
51
58
|
* @throws {RequiredError}
|
|
52
59
|
*/
|
|
53
60
|
getUserSettings(): Promise<GetUserSettingsResponse>;
|
|
61
|
+
getUserSettingsWithHttpInfo(): Promise<ApiResponse<GetUserSettingsResponse>>;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* UserSettingsApi - object-oriented interface
|
|
@@ -67,4 +75,12 @@ export declare class UserSettingsApi extends BaseAPI {
|
|
|
67
75
|
* @memberof UserSettingsApi
|
|
68
76
|
*/
|
|
69
77
|
getUserSettings(): Promise<GetUserSettingsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getUserSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
80
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
81
|
+
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof UserSettingsApi
|
|
84
|
+
*/
|
|
85
|
+
getUserSettingsWithHttpInfo(): Promise<ApiResponse<GetUserSettingsResponse>>;
|
|
70
86
|
}
|