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
|
@@ -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
|
}
|
|
@@ -246,6 +246,19 @@ export const TasksApiFp = function (configuration) {
|
|
|
246
246
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
247
247
|
});
|
|
248
248
|
},
|
|
249
|
+
/**
|
|
250
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
251
|
+
* @summary Add a task
|
|
252
|
+
* @param {AddTaskRequest} [AddTaskRequest]
|
|
253
|
+
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
addTaskWithHttpInfo(AddTaskRequest) {
|
|
257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addTask(AddTaskRequest);
|
|
259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
260
|
+
});
|
|
261
|
+
},
|
|
249
262
|
/**
|
|
250
263
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
251
264
|
* @summary Delete a task
|
|
@@ -259,6 +272,19 @@ export const TasksApiFp = function (configuration) {
|
|
|
259
272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
260
273
|
});
|
|
261
274
|
},
|
|
275
|
+
/**
|
|
276
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
277
|
+
* @summary Delete a task
|
|
278
|
+
* @param {number} id The ID of the task
|
|
279
|
+
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
deleteTaskWithHttpInfo(id) {
|
|
283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTask(id);
|
|
285
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
286
|
+
});
|
|
287
|
+
},
|
|
262
288
|
/**
|
|
263
289
|
* Returns the details of a specific task.
|
|
264
290
|
* @summary Get details of a task
|
|
@@ -272,6 +298,19 @@ export const TasksApiFp = function (configuration) {
|
|
|
272
298
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
273
299
|
});
|
|
274
300
|
},
|
|
301
|
+
/**
|
|
302
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
303
|
+
* @summary Get details of a task
|
|
304
|
+
* @param {number} id The ID of the task
|
|
305
|
+
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
getTaskWithHttpInfo(id) {
|
|
309
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
310
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTask(id);
|
|
311
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
312
|
+
});
|
|
313
|
+
},
|
|
275
314
|
/**
|
|
276
315
|
* 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>.
|
|
277
316
|
* @summary Get all tasks
|
|
@@ -290,6 +329,24 @@ export const TasksApiFp = function (configuration) {
|
|
|
290
329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
330
|
});
|
|
292
331
|
},
|
|
332
|
+
/**
|
|
333
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
334
|
+
* @summary Get all tasks
|
|
335
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
336
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
|
|
337
|
+
* @param {number} [assignee_id] If supplied, only tasks that are assigned to this user are returned
|
|
338
|
+
* @param {number} [project_id] If supplied, only tasks that are assigned to this project are returned
|
|
339
|
+
* @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.
|
|
340
|
+
* @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.
|
|
341
|
+
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
getTasksWithHttpInfo(cursor, limit, assignee_id, project_id, parent_task_id, done) {
|
|
345
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
346
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTasks(cursor, limit, assignee_id, project_id, parent_task_id, done);
|
|
347
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
348
|
+
});
|
|
349
|
+
},
|
|
293
350
|
/**
|
|
294
351
|
* Updates a task.
|
|
295
352
|
* @summary Update a task
|
|
@@ -304,6 +361,20 @@ export const TasksApiFp = function (configuration) {
|
|
|
304
361
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
305
362
|
});
|
|
306
363
|
},
|
|
364
|
+
/**
|
|
365
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
366
|
+
* @summary Update a task
|
|
367
|
+
* @param {number} id The ID of the task
|
|
368
|
+
* @param {UpdateProjectRequest2} [UpdateProjectRequest2]
|
|
369
|
+
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
updateTaskWithHttpInfo(id, UpdateProjectRequest2) {
|
|
373
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
374
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTask(id, UpdateProjectRequest2);
|
|
375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
376
|
+
});
|
|
377
|
+
},
|
|
307
378
|
};
|
|
308
379
|
};
|
|
309
380
|
/**
|
|
@@ -323,6 +394,9 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
323
394
|
addTask(requestParameters = {}) {
|
|
324
395
|
return localVarFp.addTask(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
|
|
325
396
|
},
|
|
397
|
+
addTaskWithHttpInfo(requestParameters = {}) {
|
|
398
|
+
return localVarFp.addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(axios, basePath));
|
|
399
|
+
},
|
|
326
400
|
/**
|
|
327
401
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
328
402
|
* @summary Delete a task
|
|
@@ -333,6 +407,9 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
333
407
|
deleteTask(requestParameters) {
|
|
334
408
|
return localVarFp.deleteTask(requestParameters.id).then((request) => request(axios, basePath));
|
|
335
409
|
},
|
|
410
|
+
deleteTaskWithHttpInfo(requestParameters) {
|
|
411
|
+
return localVarFp.deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
412
|
+
},
|
|
336
413
|
/**
|
|
337
414
|
* Returns the details of a specific task.
|
|
338
415
|
* @summary Get details of a task
|
|
@@ -343,6 +420,9 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
343
420
|
getTask(requestParameters) {
|
|
344
421
|
return localVarFp.getTask(requestParameters.id).then((request) => request(axios, basePath));
|
|
345
422
|
},
|
|
423
|
+
getTaskWithHttpInfo(requestParameters) {
|
|
424
|
+
return localVarFp.getTaskWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
425
|
+
},
|
|
346
426
|
/**
|
|
347
427
|
* 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>.
|
|
348
428
|
* @summary Get all tasks
|
|
@@ -353,6 +433,9 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
353
433
|
getTasks(requestParameters = {}) {
|
|
354
434
|
return localVarFp.getTasks(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(axios, basePath));
|
|
355
435
|
},
|
|
436
|
+
getTasksWithHttpInfo(requestParameters = {}) {
|
|
437
|
+
return localVarFp.getTasksWithHttpInfo(requestParameters.cursor, requestParameters.limit, requestParameters.assignee_id, requestParameters.project_id, requestParameters.parent_task_id, requestParameters.done).then((request) => request(axios, basePath));
|
|
438
|
+
},
|
|
356
439
|
/**
|
|
357
440
|
* Updates a task.
|
|
358
441
|
* @summary Update a task
|
|
@@ -363,6 +446,9 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
363
446
|
updateTask(requestParameters) {
|
|
364
447
|
return localVarFp.updateTask(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(axios, basePath));
|
|
365
448
|
},
|
|
449
|
+
updateTaskWithHttpInfo(requestParameters) {
|
|
450
|
+
return localVarFp.updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(axios, basePath));
|
|
451
|
+
},
|
|
366
452
|
};
|
|
367
453
|
};
|
|
368
454
|
/**
|
|
@@ -383,6 +469,17 @@ export class TasksApi extends BaseAPI {
|
|
|
383
469
|
addTask(requestParameters = {}) {
|
|
384
470
|
return TasksApiFp(this.configuration).addTask(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
|
|
385
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
474
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
475
|
+
* @param {TasksApiAddTaskRequest} requestParameters Request parameters.
|
|
476
|
+
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
* @memberof TasksApi
|
|
479
|
+
*/
|
|
480
|
+
addTaskWithHttpInfo(requestParameters = {}) {
|
|
481
|
+
return TasksApiFp(this.configuration).addTaskWithHttpInfo(requestParameters.AddTaskRequest).then((request) => request(this.axios, this.basePath));
|
|
482
|
+
}
|
|
386
483
|
/**
|
|
387
484
|
* Marks a task as deleted. If the task has subtasks then those will also be deleted.
|
|
388
485
|
* @summary Delete a task
|
|
@@ -394,6 +491,17 @@ export class TasksApi extends BaseAPI {
|
|
|
394
491
|
deleteTask(requestParameters) {
|
|
395
492
|
return TasksApiFp(this.configuration).deleteTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
396
493
|
}
|
|
494
|
+
/**
|
|
495
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
496
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
497
|
+
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
498
|
+
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
* @memberof TasksApi
|
|
501
|
+
*/
|
|
502
|
+
deleteTaskWithHttpInfo(requestParameters) {
|
|
503
|
+
return TasksApiFp(this.configuration).deleteTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
504
|
+
}
|
|
397
505
|
/**
|
|
398
506
|
* Returns the details of a specific task.
|
|
399
507
|
* @summary Get details of a task
|
|
@@ -405,6 +513,17 @@ export class TasksApi extends BaseAPI {
|
|
|
405
513
|
getTask(requestParameters) {
|
|
406
514
|
return TasksApiFp(this.configuration).getTask(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
407
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
518
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
519
|
+
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
520
|
+
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
* @memberof TasksApi
|
|
523
|
+
*/
|
|
524
|
+
getTaskWithHttpInfo(requestParameters) {
|
|
525
|
+
return TasksApiFp(this.configuration).getTaskWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
526
|
+
}
|
|
408
527
|
/**
|
|
409
528
|
* 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>.
|
|
410
529
|
* @summary Get all tasks
|
|
@@ -416,6 +535,17 @@ export class TasksApi extends BaseAPI {
|
|
|
416
535
|
getTasks(requestParameters = {}) {
|
|
417
536
|
return 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));
|
|
418
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
540
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
541
|
+
* @param {TasksApiGetTasksRequest} requestParameters Request parameters.
|
|
542
|
+
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
* @memberof TasksApi
|
|
545
|
+
*/
|
|
546
|
+
getTasksWithHttpInfo(requestParameters = {}) {
|
|
547
|
+
return 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));
|
|
548
|
+
}
|
|
419
549
|
/**
|
|
420
550
|
* Updates a task.
|
|
421
551
|
* @summary Update a task
|
|
@@ -427,4 +557,15 @@ export class TasksApi extends BaseAPI {
|
|
|
427
557
|
updateTask(requestParameters) {
|
|
428
558
|
return TasksApiFp(this.configuration).updateTask(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(this.axios, this.basePath));
|
|
429
559
|
}
|
|
560
|
+
/**
|
|
561
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
562
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
563
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
564
|
+
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
* @memberof TasksApi
|
|
567
|
+
*/
|
|
568
|
+
updateTaskWithHttpInfo(requestParameters) {
|
|
569
|
+
return TasksApiFp(this.configuration).updateTaskWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest2).then((request) => request(this.axios, this.basePath));
|
|
570
|
+
}
|
|
430
571
|
}
|
|
@@ -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
|
}
|
|
@@ -83,6 +83,18 @@ export const UserConnectionsApiFp = function (configuration) {
|
|
|
83
83
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
84
84
|
});
|
|
85
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
88
|
+
* @summary Get all user connections
|
|
89
|
+
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
getUserConnectionsWithHttpInfo() {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserConnections();
|
|
95
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
96
|
+
});
|
|
97
|
+
},
|
|
86
98
|
};
|
|
87
99
|
};
|
|
88
100
|
/**
|
|
@@ -101,6 +113,9 @@ export const UserConnectionsApiFactory = function (configuration, basePath, axio
|
|
|
101
113
|
getUserConnections() {
|
|
102
114
|
return localVarFp.getUserConnections().then((request) => request(axios, basePath));
|
|
103
115
|
},
|
|
116
|
+
getUserConnectionsWithHttpInfo() {
|
|
117
|
+
return localVarFp.getUserConnectionsWithHttpInfo().then((request) => request(axios, basePath));
|
|
118
|
+
},
|
|
104
119
|
};
|
|
105
120
|
};
|
|
106
121
|
/**
|
|
@@ -120,4 +135,14 @@ export class UserConnectionsApi extends BaseAPI {
|
|
|
120
135
|
getUserConnections() {
|
|
121
136
|
return UserConnectionsApiFp(this.configuration).getUserConnections().then((request) => request(this.axios, this.basePath));
|
|
122
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Same as `getUserConnections`, but resolves with the response body together with the HTTP status and headers.
|
|
140
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
141
|
+
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
* @memberof UserConnectionsApi
|
|
144
|
+
*/
|
|
145
|
+
getUserConnectionsWithHttpInfo() {
|
|
146
|
+
return UserConnectionsApiFp(this.configuration).getUserConnectionsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
147
|
+
}
|
|
123
148
|
}
|
|
@@ -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
|
}
|
|
@@ -83,6 +83,18 @@ export const UserSettingsApiFp = function (configuration) {
|
|
|
83
83
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
84
84
|
});
|
|
85
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
* Same as `getUserSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
88
|
+
* @summary List settings of an authorized user
|
|
89
|
+
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
getUserSettingsWithHttpInfo() {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserSettings();
|
|
95
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
96
|
+
});
|
|
97
|
+
},
|
|
86
98
|
};
|
|
87
99
|
};
|
|
88
100
|
/**
|
|
@@ -101,6 +113,9 @@ export const UserSettingsApiFactory = function (configuration, basePath, axios)
|
|
|
101
113
|
getUserSettings() {
|
|
102
114
|
return localVarFp.getUserSettings().then((request) => request(axios, basePath));
|
|
103
115
|
},
|
|
116
|
+
getUserSettingsWithHttpInfo() {
|
|
117
|
+
return localVarFp.getUserSettingsWithHttpInfo().then((request) => request(axios, basePath));
|
|
118
|
+
},
|
|
104
119
|
};
|
|
105
120
|
};
|
|
106
121
|
/**
|
|
@@ -120,4 +135,14 @@ export class UserSettingsApi extends BaseAPI {
|
|
|
120
135
|
getUserSettings() {
|
|
121
136
|
return UserSettingsApiFp(this.configuration).getUserSettings().then((request) => request(this.axios, this.basePath));
|
|
122
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Same as `getUserSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
140
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
141
|
+
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
* @memberof UserSettingsApi
|
|
144
|
+
*/
|
|
145
|
+
getUserSettingsWithHttpInfo() {
|
|
146
|
+
return UserSettingsApiFp(this.configuration).getUserSettingsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
147
|
+
}
|
|
123
148
|
}
|