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 { AddDealFollowerRequest } from '../models';
|
|
16
16
|
import { AddFollowerResponse } from '../models';
|
|
17
17
|
import { AddProductImageResponse } from '../models';
|
|
@@ -232,6 +232,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
234
|
addProduct(AddProductRequest?: AddProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
|
|
235
|
+
/**
|
|
236
|
+
* Same as `addProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
237
|
+
* @summary Add a product
|
|
238
|
+
* @param {AddProductRequest} [AddProductRequest]
|
|
239
|
+
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
addProductWithHttpInfo(AddProductRequest?: AddProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductResponse>>>;
|
|
235
243
|
/**
|
|
236
244
|
* Adds a user as a follower to the product.
|
|
237
245
|
* @summary Add a follower to a product
|
|
@@ -241,6 +249,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
241
249
|
* @throws {RequiredError}
|
|
242
250
|
*/
|
|
243
251
|
addProductFollower(id: number, AddDealFollowerRequest?: AddDealFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddFollowerResponse>>;
|
|
252
|
+
/**
|
|
253
|
+
* Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
254
|
+
* @summary Add a follower to a product
|
|
255
|
+
* @param {number} id The ID of the product
|
|
256
|
+
* @param {AddDealFollowerRequest} [AddDealFollowerRequest]
|
|
257
|
+
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
addProductFollowerWithHttpInfo(id: number, AddDealFollowerRequest?: AddDealFollowerRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddFollowerResponse>>>;
|
|
244
261
|
/**
|
|
245
262
|
* Adds a new product variation.
|
|
246
263
|
* @summary Add a product variation
|
|
@@ -250,6 +267,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
250
267
|
* @throws {RequiredError}
|
|
251
268
|
*/
|
|
252
269
|
addProductVariation(id: number, AddProductVariationRequest?: AddProductVariationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductVariationResponse>>;
|
|
270
|
+
/**
|
|
271
|
+
* Same as `addProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
272
|
+
* @summary Add a product variation
|
|
273
|
+
* @param {number} id The ID of the product
|
|
274
|
+
* @param {AddProductVariationRequest} [AddProductVariationRequest]
|
|
275
|
+
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
addProductVariationWithHttpInfo(id: number, AddProductVariationRequest?: AddProductVariationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductVariationResponse>>>;
|
|
253
279
|
/**
|
|
254
280
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
|
255
281
|
* @summary Delete a product
|
|
@@ -258,6 +284,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
258
284
|
* @throws {RequiredError}
|
|
259
285
|
*/
|
|
260
286
|
deleteProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductResponse>>;
|
|
287
|
+
/**
|
|
288
|
+
* Same as `deleteProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
289
|
+
* @summary Delete a product
|
|
290
|
+
* @param {number} id The ID of the product
|
|
291
|
+
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
deleteProductWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductResponse>>>;
|
|
261
295
|
/**
|
|
262
296
|
* Deletes a user follower from the product.
|
|
263
297
|
* @summary Delete a follower from a product
|
|
@@ -267,6 +301,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
267
301
|
* @throws {RequiredError}
|
|
268
302
|
*/
|
|
269
303
|
deleteProductFollower(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFollowerResponse>>;
|
|
304
|
+
/**
|
|
305
|
+
* Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
306
|
+
* @summary Delete a follower from a product
|
|
307
|
+
* @param {number} id The ID of the product
|
|
308
|
+
* @param {number} follower_id The ID of the following user
|
|
309
|
+
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
deleteProductFollowerWithHttpInfo(id: number, follower_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFollowerResponse>>>;
|
|
270
313
|
/**
|
|
271
314
|
* Deletes the image of a product.
|
|
272
315
|
* @summary Delete an image of a product
|
|
@@ -275,6 +318,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
275
318
|
* @throws {RequiredError}
|
|
276
319
|
*/
|
|
277
320
|
deleteProductImage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductImageResponse>>;
|
|
321
|
+
/**
|
|
322
|
+
* Same as `deleteProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
323
|
+
* @summary Delete an image of a product
|
|
324
|
+
* @param {number} id The ID of the product
|
|
325
|
+
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
deleteProductImageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductImageResponse>>>;
|
|
278
329
|
/**
|
|
279
330
|
* Deletes a product variation.
|
|
280
331
|
* @summary Delete a product variation
|
|
@@ -284,6 +335,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
284
335
|
* @throws {RequiredError}
|
|
285
336
|
*/
|
|
286
337
|
deleteProductVariation(id: number, product_variation_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductVariationResponse>>;
|
|
338
|
+
/**
|
|
339
|
+
* Same as `deleteProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
340
|
+
* @summary Delete a product variation
|
|
341
|
+
* @param {number} id The ID of the product
|
|
342
|
+
* @param {number} product_variation_id The ID of the product variation
|
|
343
|
+
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
deleteProductVariationWithHttpInfo(id: number, product_variation_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProductVariationResponse>>>;
|
|
287
347
|
/**
|
|
288
348
|
* Creates a duplicate of an existing product including all variations, prices, and custom fields.
|
|
289
349
|
* @summary Duplicate a product
|
|
@@ -292,6 +352,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
292
352
|
* @throws {RequiredError}
|
|
293
353
|
*/
|
|
294
354
|
duplicateProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
|
|
355
|
+
/**
|
|
356
|
+
* Same as `duplicateProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
357
|
+
* @summary Duplicate a product
|
|
358
|
+
* @param {number} id The ID of the product
|
|
359
|
+
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
duplicateProductWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductResponse>>>;
|
|
295
363
|
/**
|
|
296
364
|
* Returns data about a specific product.
|
|
297
365
|
* @summary Get one product
|
|
@@ -300,6 +368,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
300
368
|
* @throws {RequiredError}
|
|
301
369
|
*/
|
|
302
370
|
getProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
|
|
371
|
+
/**
|
|
372
|
+
* Same as `getProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
373
|
+
* @summary Get one product
|
|
374
|
+
* @param {number} id The ID of the product
|
|
375
|
+
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
getProductWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductResponse>>>;
|
|
303
379
|
/**
|
|
304
380
|
* Lists users who are following the product.
|
|
305
381
|
* @summary List followers of a product
|
|
@@ -310,6 +386,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
310
386
|
* @throws {RequiredError}
|
|
311
387
|
*/
|
|
312
388
|
getProductFollowers(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFollowersResponse>>;
|
|
389
|
+
/**
|
|
390
|
+
* Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
391
|
+
* @summary List followers of a product
|
|
392
|
+
* @param {number} id The ID of the product
|
|
393
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
394
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
395
|
+
|
|
396
|
+
* @throws {RequiredError}
|
|
397
|
+
*/
|
|
398
|
+
getProductFollowersWithHttpInfo(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFollowersResponse>>>;
|
|
313
399
|
/**
|
|
314
400
|
* Lists changelogs about users have followed the product.
|
|
315
401
|
* @summary List followers changelog of a product
|
|
@@ -320,6 +406,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
320
406
|
* @throws {RequiredError}
|
|
321
407
|
*/
|
|
322
408
|
getProductFollowersChangelog(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFollowerChangelogsResponse>>;
|
|
409
|
+
/**
|
|
410
|
+
* Same as `getProductFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
411
|
+
* @summary List followers changelog of a product
|
|
412
|
+
* @param {number} id The ID of the product
|
|
413
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
414
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
415
|
+
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
getProductFollowersChangelogWithHttpInfo(id: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFollowerChangelogsResponse>>>;
|
|
323
419
|
/**
|
|
324
420
|
* Retrieves the image of a product. The public URL has a limited lifetime of 7 days.
|
|
325
421
|
* @summary Get image of a product
|
|
@@ -328,6 +424,14 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
328
424
|
* @throws {RequiredError}
|
|
329
425
|
*/
|
|
330
426
|
getProductImage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductImageResponse>>;
|
|
427
|
+
/**
|
|
428
|
+
* Same as `getProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
429
|
+
* @summary Get image of a product
|
|
430
|
+
* @param {number} id The ID of the product
|
|
431
|
+
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
getProductImageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductImageResponse>>>;
|
|
331
435
|
/**
|
|
332
436
|
* Returns data about all product variations.
|
|
333
437
|
* @summary Get all product variations
|
|
@@ -338,6 +442,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
338
442
|
* @throws {RequiredError}
|
|
339
443
|
*/
|
|
340
444
|
getProductVariations(id: number, cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductVariationsResponse>>;
|
|
445
|
+
/**
|
|
446
|
+
* Same as `getProductVariations`, but resolves with the response body together with the HTTP status and headers.
|
|
447
|
+
* @summary Get all product variations
|
|
448
|
+
* @param {number} id The ID of the product
|
|
449
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
450
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
451
|
+
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
getProductVariationsWithHttpInfo(id: number, cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductVariationsResponse>>>;
|
|
341
455
|
/**
|
|
342
456
|
* Returns data about all products.
|
|
343
457
|
* @summary Get all products
|
|
@@ -354,6 +468,22 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
354
468
|
* @throws {RequiredError}
|
|
355
469
|
*/
|
|
356
470
|
getProducts(owner_id?: number, ids?: Set<number>, custom_fields?: Set<string>, filter_id?: number, cursor?: string, limit?: number, sort_by?: 'id' | 'name' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc', updated_since?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductsResponse>>;
|
|
471
|
+
/**
|
|
472
|
+
* Same as `getProducts`, but resolves with the response body together with the HTTP status and headers.
|
|
473
|
+
* @summary Get all products
|
|
474
|
+
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
475
|
+
* @param {Set<number>} [ids] Optional comma separated array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
476
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
477
|
+
* @param {number} [filter_id] The ID of the filter to use
|
|
478
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
479
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
480
|
+
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
481
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
482
|
+
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
483
|
+
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
getProductsWithHttpInfo(owner_id?: number, ids?: Set<number>, custom_fields?: Set<string>, filter_id?: number, cursor?: string, limit?: number, sort_by?: 'id' | 'name' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc', updated_since?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductsResponse>>>;
|
|
357
487
|
/**
|
|
358
488
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
359
489
|
* @summary Search products
|
|
@@ -367,6 +497,19 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
367
497
|
* @throws {RequiredError}
|
|
368
498
|
*/
|
|
369
499
|
searchProducts(term: string, fields?: Set<'code' | 'custom_fields' | 'name'>, exact_match?: boolean, include_fields?: Set<'product.price'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductSearchResponse>>;
|
|
500
|
+
/**
|
|
501
|
+
* Same as `searchProducts`, but resolves with the response body together with the HTTP status and headers.
|
|
502
|
+
* @summary Search products
|
|
503
|
+
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
504
|
+
* @param {Set<'code' | 'custom_fields' | 'name'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
505
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
506
|
+
* @param {Set<'product.price'>} [include_fields] Supports including optional fields in the results which are not provided by default
|
|
507
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 100 is allowed.
|
|
508
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
509
|
+
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
searchProductsWithHttpInfo(term: string, fields?: Set<'code' | 'custom_fields' | 'name'>, exact_match?: boolean, include_fields?: Set<'product.price'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductSearchResponse>>>;
|
|
370
513
|
/**
|
|
371
514
|
* Updates product data.
|
|
372
515
|
* @summary Update a product
|
|
@@ -376,6 +519,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
376
519
|
* @throws {RequiredError}
|
|
377
520
|
*/
|
|
378
521
|
updateProduct(id: number, UpdateProductRequest?: UpdateProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateProductResponse>>;
|
|
522
|
+
/**
|
|
523
|
+
* Same as `updateProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
524
|
+
* @summary Update a product
|
|
525
|
+
* @param {number} id The ID of the product
|
|
526
|
+
* @param {UpdateProductRequest} [UpdateProductRequest]
|
|
527
|
+
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
updateProductWithHttpInfo(id: number, UpdateProductRequest?: UpdateProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateProductResponse>>>;
|
|
379
531
|
/**
|
|
380
532
|
* Updates the image of a product.
|
|
381
533
|
* @summary Update an image for a product
|
|
@@ -385,6 +537,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
385
537
|
* @throws {RequiredError}
|
|
386
538
|
*/
|
|
387
539
|
updateProductImage(id: number, data: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateProductImageResponse>>;
|
|
540
|
+
/**
|
|
541
|
+
* Same as `updateProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
542
|
+
* @summary Update an image for a product
|
|
543
|
+
* @param {number} id The ID of the product
|
|
544
|
+
* @param {File} data One image supplied in the multipart/form-data encoding
|
|
545
|
+
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
*/
|
|
548
|
+
updateProductImageWithHttpInfo(id: number, data: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateProductImageResponse>>>;
|
|
388
549
|
/**
|
|
389
550
|
* Updates product variation data.
|
|
390
551
|
* @summary Update a product variation
|
|
@@ -395,6 +556,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
395
556
|
* @throws {RequiredError}
|
|
396
557
|
*/
|
|
397
558
|
updateProductVariation(id: number, product_variation_id: number, UpdateProductVariationRequest?: UpdateProductVariationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductVariationResponse>>;
|
|
559
|
+
/**
|
|
560
|
+
* Same as `updateProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
561
|
+
* @summary Update a product variation
|
|
562
|
+
* @param {number} id The ID of the product
|
|
563
|
+
* @param {number} product_variation_id The ID of the product variation
|
|
564
|
+
* @param {UpdateProductVariationRequest} [UpdateProductVariationRequest]
|
|
565
|
+
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
*/
|
|
568
|
+
updateProductVariationWithHttpInfo(id: number, product_variation_id: number, UpdateProductVariationRequest?: UpdateProductVariationRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductVariationResponse>>>;
|
|
398
569
|
/**
|
|
399
570
|
* Uploads an image for a product.
|
|
400
571
|
* @summary Upload an image for a product
|
|
@@ -404,6 +575,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
404
575
|
* @throws {RequiredError}
|
|
405
576
|
*/
|
|
406
577
|
uploadProductImage(id: number, data: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductImageResponse>>;
|
|
578
|
+
/**
|
|
579
|
+
* Same as `uploadProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
580
|
+
* @summary Upload an image for a product
|
|
581
|
+
* @param {number} id The ID of the product
|
|
582
|
+
* @param {File} data One image supplied in the multipart/form-data encoding
|
|
583
|
+
|
|
584
|
+
* @throws {RequiredError}
|
|
585
|
+
*/
|
|
586
|
+
uploadProductImageWithHttpInfo(id: number, data: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProductImageResponse>>>;
|
|
407
587
|
};
|
|
408
588
|
/**
|
|
409
589
|
* ProductsApi - factory interface
|
|
@@ -418,6 +598,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
418
598
|
* @throws {RequiredError}
|
|
419
599
|
*/
|
|
420
600
|
addProduct(requestParameters?: ProductsApiAddProductRequest): Promise<GetProductResponse>;
|
|
601
|
+
addProductWithHttpInfo(requestParameters?: ProductsApiAddProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
421
602
|
/**
|
|
422
603
|
* Adds a user as a follower to the product.
|
|
423
604
|
* @summary Add a follower to a product
|
|
@@ -426,6 +607,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
426
607
|
* @throws {RequiredError}
|
|
427
608
|
*/
|
|
428
609
|
addProductFollower(requestParameters: ProductsApiAddProductFollowerRequest): Promise<AddFollowerResponse>;
|
|
610
|
+
addProductFollowerWithHttpInfo(requestParameters: ProductsApiAddProductFollowerRequest): Promise<ApiResponse<AddFollowerResponse>>;
|
|
429
611
|
/**
|
|
430
612
|
* Adds a new product variation.
|
|
431
613
|
* @summary Add a product variation
|
|
@@ -434,6 +616,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
434
616
|
* @throws {RequiredError}
|
|
435
617
|
*/
|
|
436
618
|
addProductVariation(requestParameters: ProductsApiAddProductVariationRequest): Promise<GetProductVariationResponse>;
|
|
619
|
+
addProductVariationWithHttpInfo(requestParameters: ProductsApiAddProductVariationRequest): Promise<ApiResponse<GetProductVariationResponse>>;
|
|
437
620
|
/**
|
|
438
621
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
|
439
622
|
* @summary Delete a product
|
|
@@ -442,6 +625,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
442
625
|
* @throws {RequiredError}
|
|
443
626
|
*/
|
|
444
627
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest): Promise<DeleteProductResponse>;
|
|
628
|
+
deleteProductWithHttpInfo(requestParameters: ProductsApiDeleteProductRequest): Promise<ApiResponse<DeleteProductResponse>>;
|
|
445
629
|
/**
|
|
446
630
|
* Deletes a user follower from the product.
|
|
447
631
|
* @summary Delete a follower from a product
|
|
@@ -450,6 +634,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
450
634
|
* @throws {RequiredError}
|
|
451
635
|
*/
|
|
452
636
|
deleteProductFollower(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<DeleteFollowerResponse>;
|
|
637
|
+
deleteProductFollowerWithHttpInfo(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<ApiResponse<DeleteFollowerResponse>>;
|
|
453
638
|
/**
|
|
454
639
|
* Deletes the image of a product.
|
|
455
640
|
* @summary Delete an image of a product
|
|
@@ -458,6 +643,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
458
643
|
* @throws {RequiredError}
|
|
459
644
|
*/
|
|
460
645
|
deleteProductImage(requestParameters: ProductsApiDeleteProductImageRequest): Promise<DeleteProductImageResponse>;
|
|
646
|
+
deleteProductImageWithHttpInfo(requestParameters: ProductsApiDeleteProductImageRequest): Promise<ApiResponse<DeleteProductImageResponse>>;
|
|
461
647
|
/**
|
|
462
648
|
* Deletes a product variation.
|
|
463
649
|
* @summary Delete a product variation
|
|
@@ -466,6 +652,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
466
652
|
* @throws {RequiredError}
|
|
467
653
|
*/
|
|
468
654
|
deleteProductVariation(requestParameters: ProductsApiDeleteProductVariationRequest): Promise<DeleteProductVariationResponse>;
|
|
655
|
+
deleteProductVariationWithHttpInfo(requestParameters: ProductsApiDeleteProductVariationRequest): Promise<ApiResponse<DeleteProductVariationResponse>>;
|
|
469
656
|
/**
|
|
470
657
|
* Creates a duplicate of an existing product including all variations, prices, and custom fields.
|
|
471
658
|
* @summary Duplicate a product
|
|
@@ -474,6 +661,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
474
661
|
* @throws {RequiredError}
|
|
475
662
|
*/
|
|
476
663
|
duplicateProduct(requestParameters: ProductsApiDuplicateProductRequest): Promise<GetProductResponse>;
|
|
664
|
+
duplicateProductWithHttpInfo(requestParameters: ProductsApiDuplicateProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
477
665
|
/**
|
|
478
666
|
* Returns data about a specific product.
|
|
479
667
|
* @summary Get one product
|
|
@@ -482,6 +670,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
482
670
|
* @throws {RequiredError}
|
|
483
671
|
*/
|
|
484
672
|
getProduct(requestParameters: ProductsApiGetProductRequest): Promise<GetProductResponse>;
|
|
673
|
+
getProductWithHttpInfo(requestParameters: ProductsApiGetProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
485
674
|
/**
|
|
486
675
|
* Lists users who are following the product.
|
|
487
676
|
* @summary List followers of a product
|
|
@@ -490,6 +679,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
490
679
|
* @throws {RequiredError}
|
|
491
680
|
*/
|
|
492
681
|
getProductFollowers(requestParameters: ProductsApiGetProductFollowersRequest): Promise<GetFollowersResponse>;
|
|
682
|
+
getProductFollowersWithHttpInfo(requestParameters: ProductsApiGetProductFollowersRequest): Promise<ApiResponse<GetFollowersResponse>>;
|
|
493
683
|
/**
|
|
494
684
|
* Lists changelogs about users have followed the product.
|
|
495
685
|
* @summary List followers changelog of a product
|
|
@@ -498,6 +688,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
498
688
|
* @throws {RequiredError}
|
|
499
689
|
*/
|
|
500
690
|
getProductFollowersChangelog(requestParameters: ProductsApiGetProductFollowersChangelogRequest): Promise<GetFollowerChangelogsResponse>;
|
|
691
|
+
getProductFollowersChangelogWithHttpInfo(requestParameters: ProductsApiGetProductFollowersChangelogRequest): Promise<ApiResponse<GetFollowerChangelogsResponse>>;
|
|
501
692
|
/**
|
|
502
693
|
* Retrieves the image of a product. The public URL has a limited lifetime of 7 days.
|
|
503
694
|
* @summary Get image of a product
|
|
@@ -506,6 +697,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
506
697
|
* @throws {RequiredError}
|
|
507
698
|
*/
|
|
508
699
|
getProductImage(requestParameters: ProductsApiGetProductImageRequest): Promise<GetProductImageResponse>;
|
|
700
|
+
getProductImageWithHttpInfo(requestParameters: ProductsApiGetProductImageRequest): Promise<ApiResponse<GetProductImageResponse>>;
|
|
509
701
|
/**
|
|
510
702
|
* Returns data about all product variations.
|
|
511
703
|
* @summary Get all product variations
|
|
@@ -514,6 +706,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
514
706
|
* @throws {RequiredError}
|
|
515
707
|
*/
|
|
516
708
|
getProductVariations(requestParameters: ProductsApiGetProductVariationsRequest): Promise<GetProductVariationsResponse>;
|
|
709
|
+
getProductVariationsWithHttpInfo(requestParameters: ProductsApiGetProductVariationsRequest): Promise<ApiResponse<GetProductVariationsResponse>>;
|
|
517
710
|
/**
|
|
518
711
|
* Returns data about all products.
|
|
519
712
|
* @summary Get all products
|
|
@@ -522,6 +715,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
522
715
|
* @throws {RequiredError}
|
|
523
716
|
*/
|
|
524
717
|
getProducts(requestParameters?: ProductsApiGetProductsRequest): Promise<GetProductsResponse>;
|
|
718
|
+
getProductsWithHttpInfo(requestParameters?: ProductsApiGetProductsRequest): Promise<ApiResponse<GetProductsResponse>>;
|
|
525
719
|
/**
|
|
526
720
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
527
721
|
* @summary Search products
|
|
@@ -530,6 +724,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
530
724
|
* @throws {RequiredError}
|
|
531
725
|
*/
|
|
532
726
|
searchProducts(requestParameters: ProductsApiSearchProductsRequest): Promise<GetProductSearchResponse>;
|
|
727
|
+
searchProductsWithHttpInfo(requestParameters: ProductsApiSearchProductsRequest): Promise<ApiResponse<GetProductSearchResponse>>;
|
|
533
728
|
/**
|
|
534
729
|
* Updates product data.
|
|
535
730
|
* @summary Update a product
|
|
@@ -538,6 +733,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
538
733
|
* @throws {RequiredError}
|
|
539
734
|
*/
|
|
540
735
|
updateProduct(requestParameters: ProductsApiUpdateProductRequest): Promise<UpdateProductResponse>;
|
|
736
|
+
updateProductWithHttpInfo(requestParameters: ProductsApiUpdateProductRequest): Promise<ApiResponse<UpdateProductResponse>>;
|
|
541
737
|
/**
|
|
542
738
|
* Updates the image of a product.
|
|
543
739
|
* @summary Update an image for a product
|
|
@@ -546,6 +742,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
546
742
|
* @throws {RequiredError}
|
|
547
743
|
*/
|
|
548
744
|
updateProductImage(requestParameters: ProductsApiUpdateProductImageRequest): Promise<UpdateProductImageResponse>;
|
|
745
|
+
updateProductImageWithHttpInfo(requestParameters: ProductsApiUpdateProductImageRequest): Promise<ApiResponse<UpdateProductImageResponse>>;
|
|
549
746
|
/**
|
|
550
747
|
* Updates product variation data.
|
|
551
748
|
* @summary Update a product variation
|
|
@@ -554,6 +751,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
554
751
|
* @throws {RequiredError}
|
|
555
752
|
*/
|
|
556
753
|
updateProductVariation(requestParameters: ProductsApiUpdateProductVariationRequest): Promise<GetProductVariationResponse>;
|
|
754
|
+
updateProductVariationWithHttpInfo(requestParameters: ProductsApiUpdateProductVariationRequest): Promise<ApiResponse<GetProductVariationResponse>>;
|
|
557
755
|
/**
|
|
558
756
|
* Uploads an image for a product.
|
|
559
757
|
* @summary Upload an image for a product
|
|
@@ -562,6 +760,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
562
760
|
* @throws {RequiredError}
|
|
563
761
|
*/
|
|
564
762
|
uploadProductImage(requestParameters: ProductsApiUploadProductImageRequest): Promise<AddProductImageResponse>;
|
|
763
|
+
uploadProductImageWithHttpInfo(requestParameters: ProductsApiUploadProductImageRequest): Promise<ApiResponse<AddProductImageResponse>>;
|
|
565
764
|
};
|
|
566
765
|
/**
|
|
567
766
|
* Request parameters for addProduct operation in ProductsApi.
|
|
@@ -994,6 +1193,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
994
1193
|
* @memberof ProductsApi
|
|
995
1194
|
*/
|
|
996
1195
|
addProduct(requestParameters?: ProductsApiAddProductRequest): Promise<GetProductResponse>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Same as `addProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
1198
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1199
|
+
* @param {ProductsApiAddProductRequest} requestParameters Request parameters.
|
|
1200
|
+
|
|
1201
|
+
* @throws {RequiredError}
|
|
1202
|
+
* @memberof ProductsApi
|
|
1203
|
+
*/
|
|
1204
|
+
addProductWithHttpInfo(requestParameters?: ProductsApiAddProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
997
1205
|
/**
|
|
998
1206
|
* Adds a user as a follower to the product.
|
|
999
1207
|
* @summary Add a follower to a product
|
|
@@ -1003,6 +1211,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1003
1211
|
* @memberof ProductsApi
|
|
1004
1212
|
*/
|
|
1005
1213
|
addProductFollower(requestParameters: ProductsApiAddProductFollowerRequest): Promise<AddFollowerResponse>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Same as `addProductFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
1216
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1217
|
+
* @param {ProductsApiAddProductFollowerRequest} requestParameters Request parameters.
|
|
1218
|
+
|
|
1219
|
+
* @throws {RequiredError}
|
|
1220
|
+
* @memberof ProductsApi
|
|
1221
|
+
*/
|
|
1222
|
+
addProductFollowerWithHttpInfo(requestParameters: ProductsApiAddProductFollowerRequest): Promise<ApiResponse<AddFollowerResponse>>;
|
|
1006
1223
|
/**
|
|
1007
1224
|
* Adds a new product variation.
|
|
1008
1225
|
* @summary Add a product variation
|
|
@@ -1012,6 +1229,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1012
1229
|
* @memberof ProductsApi
|
|
1013
1230
|
*/
|
|
1014
1231
|
addProductVariation(requestParameters: ProductsApiAddProductVariationRequest): Promise<GetProductVariationResponse>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Same as `addProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
1234
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1235
|
+
* @param {ProductsApiAddProductVariationRequest} requestParameters Request parameters.
|
|
1236
|
+
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
* @memberof ProductsApi
|
|
1239
|
+
*/
|
|
1240
|
+
addProductVariationWithHttpInfo(requestParameters: ProductsApiAddProductVariationRequest): Promise<ApiResponse<GetProductVariationResponse>>;
|
|
1015
1241
|
/**
|
|
1016
1242
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
|
1017
1243
|
* @summary Delete a product
|
|
@@ -1021,6 +1247,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1021
1247
|
* @memberof ProductsApi
|
|
1022
1248
|
*/
|
|
1023
1249
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest): Promise<DeleteProductResponse>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Same as `deleteProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
1252
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1253
|
+
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
|
1254
|
+
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
* @memberof ProductsApi
|
|
1257
|
+
*/
|
|
1258
|
+
deleteProductWithHttpInfo(requestParameters: ProductsApiDeleteProductRequest): Promise<ApiResponse<DeleteProductResponse>>;
|
|
1024
1259
|
/**
|
|
1025
1260
|
* Deletes a user follower from the product.
|
|
1026
1261
|
* @summary Delete a follower from a product
|
|
@@ -1030,6 +1265,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1030
1265
|
* @memberof ProductsApi
|
|
1031
1266
|
*/
|
|
1032
1267
|
deleteProductFollower(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<DeleteFollowerResponse>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Same as `deleteProductFollower`, but resolves with the response body together with the HTTP status and headers.
|
|
1270
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1271
|
+
* @param {ProductsApiDeleteProductFollowerRequest} requestParameters Request parameters.
|
|
1272
|
+
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
* @memberof ProductsApi
|
|
1275
|
+
*/
|
|
1276
|
+
deleteProductFollowerWithHttpInfo(requestParameters: ProductsApiDeleteProductFollowerRequest): Promise<ApiResponse<DeleteFollowerResponse>>;
|
|
1033
1277
|
/**
|
|
1034
1278
|
* Deletes the image of a product.
|
|
1035
1279
|
* @summary Delete an image of a product
|
|
@@ -1039,6 +1283,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1039
1283
|
* @memberof ProductsApi
|
|
1040
1284
|
*/
|
|
1041
1285
|
deleteProductImage(requestParameters: ProductsApiDeleteProductImageRequest): Promise<DeleteProductImageResponse>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Same as `deleteProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
1288
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1289
|
+
* @param {ProductsApiDeleteProductImageRequest} requestParameters Request parameters.
|
|
1290
|
+
|
|
1291
|
+
* @throws {RequiredError}
|
|
1292
|
+
* @memberof ProductsApi
|
|
1293
|
+
*/
|
|
1294
|
+
deleteProductImageWithHttpInfo(requestParameters: ProductsApiDeleteProductImageRequest): Promise<ApiResponse<DeleteProductImageResponse>>;
|
|
1042
1295
|
/**
|
|
1043
1296
|
* Deletes a product variation.
|
|
1044
1297
|
* @summary Delete a product variation
|
|
@@ -1048,6 +1301,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1048
1301
|
* @memberof ProductsApi
|
|
1049
1302
|
*/
|
|
1050
1303
|
deleteProductVariation(requestParameters: ProductsApiDeleteProductVariationRequest): Promise<DeleteProductVariationResponse>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Same as `deleteProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
1306
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1307
|
+
* @param {ProductsApiDeleteProductVariationRequest} requestParameters Request parameters.
|
|
1308
|
+
|
|
1309
|
+
* @throws {RequiredError}
|
|
1310
|
+
* @memberof ProductsApi
|
|
1311
|
+
*/
|
|
1312
|
+
deleteProductVariationWithHttpInfo(requestParameters: ProductsApiDeleteProductVariationRequest): Promise<ApiResponse<DeleteProductVariationResponse>>;
|
|
1051
1313
|
/**
|
|
1052
1314
|
* Creates a duplicate of an existing product including all variations, prices, and custom fields.
|
|
1053
1315
|
* @summary Duplicate a product
|
|
@@ -1057,6 +1319,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1057
1319
|
* @memberof ProductsApi
|
|
1058
1320
|
*/
|
|
1059
1321
|
duplicateProduct(requestParameters: ProductsApiDuplicateProductRequest): Promise<GetProductResponse>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Same as `duplicateProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
1324
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1325
|
+
* @param {ProductsApiDuplicateProductRequest} requestParameters Request parameters.
|
|
1326
|
+
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
* @memberof ProductsApi
|
|
1329
|
+
*/
|
|
1330
|
+
duplicateProductWithHttpInfo(requestParameters: ProductsApiDuplicateProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
1060
1331
|
/**
|
|
1061
1332
|
* Returns data about a specific product.
|
|
1062
1333
|
* @summary Get one product
|
|
@@ -1066,6 +1337,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1066
1337
|
* @memberof ProductsApi
|
|
1067
1338
|
*/
|
|
1068
1339
|
getProduct(requestParameters: ProductsApiGetProductRequest): Promise<GetProductResponse>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Same as `getProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
1342
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1343
|
+
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
1344
|
+
|
|
1345
|
+
* @throws {RequiredError}
|
|
1346
|
+
* @memberof ProductsApi
|
|
1347
|
+
*/
|
|
1348
|
+
getProductWithHttpInfo(requestParameters: ProductsApiGetProductRequest): Promise<ApiResponse<GetProductResponse>>;
|
|
1069
1349
|
/**
|
|
1070
1350
|
* Lists users who are following the product.
|
|
1071
1351
|
* @summary List followers of a product
|
|
@@ -1075,6 +1355,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1075
1355
|
* @memberof ProductsApi
|
|
1076
1356
|
*/
|
|
1077
1357
|
getProductFollowers(requestParameters: ProductsApiGetProductFollowersRequest): Promise<GetFollowersResponse>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Same as `getProductFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
1360
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1361
|
+
* @param {ProductsApiGetProductFollowersRequest} requestParameters Request parameters.
|
|
1362
|
+
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
* @memberof ProductsApi
|
|
1365
|
+
*/
|
|
1366
|
+
getProductFollowersWithHttpInfo(requestParameters: ProductsApiGetProductFollowersRequest): Promise<ApiResponse<GetFollowersResponse>>;
|
|
1078
1367
|
/**
|
|
1079
1368
|
* Lists changelogs about users have followed the product.
|
|
1080
1369
|
* @summary List followers changelog of a product
|
|
@@ -1084,6 +1373,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1084
1373
|
* @memberof ProductsApi
|
|
1085
1374
|
*/
|
|
1086
1375
|
getProductFollowersChangelog(requestParameters: ProductsApiGetProductFollowersChangelogRequest): Promise<GetFollowerChangelogsResponse>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Same as `getProductFollowersChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
1378
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1379
|
+
* @param {ProductsApiGetProductFollowersChangelogRequest} requestParameters Request parameters.
|
|
1380
|
+
|
|
1381
|
+
* @throws {RequiredError}
|
|
1382
|
+
* @memberof ProductsApi
|
|
1383
|
+
*/
|
|
1384
|
+
getProductFollowersChangelogWithHttpInfo(requestParameters: ProductsApiGetProductFollowersChangelogRequest): Promise<ApiResponse<GetFollowerChangelogsResponse>>;
|
|
1087
1385
|
/**
|
|
1088
1386
|
* Retrieves the image of a product. The public URL has a limited lifetime of 7 days.
|
|
1089
1387
|
* @summary Get image of a product
|
|
@@ -1093,6 +1391,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1093
1391
|
* @memberof ProductsApi
|
|
1094
1392
|
*/
|
|
1095
1393
|
getProductImage(requestParameters: ProductsApiGetProductImageRequest): Promise<GetProductImageResponse>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Same as `getProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
1396
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1397
|
+
* @param {ProductsApiGetProductImageRequest} requestParameters Request parameters.
|
|
1398
|
+
|
|
1399
|
+
* @throws {RequiredError}
|
|
1400
|
+
* @memberof ProductsApi
|
|
1401
|
+
*/
|
|
1402
|
+
getProductImageWithHttpInfo(requestParameters: ProductsApiGetProductImageRequest): Promise<ApiResponse<GetProductImageResponse>>;
|
|
1096
1403
|
/**
|
|
1097
1404
|
* Returns data about all product variations.
|
|
1098
1405
|
* @summary Get all product variations
|
|
@@ -1102,6 +1409,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1102
1409
|
* @memberof ProductsApi
|
|
1103
1410
|
*/
|
|
1104
1411
|
getProductVariations(requestParameters: ProductsApiGetProductVariationsRequest): Promise<GetProductVariationsResponse>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Same as `getProductVariations`, but resolves with the response body together with the HTTP status and headers.
|
|
1414
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1415
|
+
* @param {ProductsApiGetProductVariationsRequest} requestParameters Request parameters.
|
|
1416
|
+
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
* @memberof ProductsApi
|
|
1419
|
+
*/
|
|
1420
|
+
getProductVariationsWithHttpInfo(requestParameters: ProductsApiGetProductVariationsRequest): Promise<ApiResponse<GetProductVariationsResponse>>;
|
|
1105
1421
|
/**
|
|
1106
1422
|
* Returns data about all products.
|
|
1107
1423
|
* @summary Get all products
|
|
@@ -1111,6 +1427,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1111
1427
|
* @memberof ProductsApi
|
|
1112
1428
|
*/
|
|
1113
1429
|
getProducts(requestParameters?: ProductsApiGetProductsRequest): Promise<GetProductsResponse>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Same as `getProducts`, but resolves with the response body together with the HTTP status and headers.
|
|
1432
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1433
|
+
* @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
|
|
1434
|
+
|
|
1435
|
+
* @throws {RequiredError}
|
|
1436
|
+
* @memberof ProductsApi
|
|
1437
|
+
*/
|
|
1438
|
+
getProductsWithHttpInfo(requestParameters?: ProductsApiGetProductsRequest): Promise<ApiResponse<GetProductsResponse>>;
|
|
1114
1439
|
/**
|
|
1115
1440
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
1116
1441
|
* @summary Search products
|
|
@@ -1120,6 +1445,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1120
1445
|
* @memberof ProductsApi
|
|
1121
1446
|
*/
|
|
1122
1447
|
searchProducts(requestParameters: ProductsApiSearchProductsRequest): Promise<GetProductSearchResponse>;
|
|
1448
|
+
/**
|
|
1449
|
+
* Same as `searchProducts`, but resolves with the response body together with the HTTP status and headers.
|
|
1450
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1451
|
+
* @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
|
|
1452
|
+
|
|
1453
|
+
* @throws {RequiredError}
|
|
1454
|
+
* @memberof ProductsApi
|
|
1455
|
+
*/
|
|
1456
|
+
searchProductsWithHttpInfo(requestParameters: ProductsApiSearchProductsRequest): Promise<ApiResponse<GetProductSearchResponse>>;
|
|
1123
1457
|
/**
|
|
1124
1458
|
* Updates product data.
|
|
1125
1459
|
* @summary Update a product
|
|
@@ -1129,6 +1463,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1129
1463
|
* @memberof ProductsApi
|
|
1130
1464
|
*/
|
|
1131
1465
|
updateProduct(requestParameters: ProductsApiUpdateProductRequest): Promise<UpdateProductResponse>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Same as `updateProduct`, but resolves with the response body together with the HTTP status and headers.
|
|
1468
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1469
|
+
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
|
1470
|
+
|
|
1471
|
+
* @throws {RequiredError}
|
|
1472
|
+
* @memberof ProductsApi
|
|
1473
|
+
*/
|
|
1474
|
+
updateProductWithHttpInfo(requestParameters: ProductsApiUpdateProductRequest): Promise<ApiResponse<UpdateProductResponse>>;
|
|
1132
1475
|
/**
|
|
1133
1476
|
* Updates the image of a product.
|
|
1134
1477
|
* @summary Update an image for a product
|
|
@@ -1138,6 +1481,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1138
1481
|
* @memberof ProductsApi
|
|
1139
1482
|
*/
|
|
1140
1483
|
updateProductImage(requestParameters: ProductsApiUpdateProductImageRequest): Promise<UpdateProductImageResponse>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Same as `updateProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
1486
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1487
|
+
* @param {ProductsApiUpdateProductImageRequest} requestParameters Request parameters.
|
|
1488
|
+
|
|
1489
|
+
* @throws {RequiredError}
|
|
1490
|
+
* @memberof ProductsApi
|
|
1491
|
+
*/
|
|
1492
|
+
updateProductImageWithHttpInfo(requestParameters: ProductsApiUpdateProductImageRequest): Promise<ApiResponse<UpdateProductImageResponse>>;
|
|
1141
1493
|
/**
|
|
1142
1494
|
* Updates product variation data.
|
|
1143
1495
|
* @summary Update a product variation
|
|
@@ -1147,6 +1499,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1147
1499
|
* @memberof ProductsApi
|
|
1148
1500
|
*/
|
|
1149
1501
|
updateProductVariation(requestParameters: ProductsApiUpdateProductVariationRequest): Promise<GetProductVariationResponse>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Same as `updateProductVariation`, but resolves with the response body together with the HTTP status and headers.
|
|
1504
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1505
|
+
* @param {ProductsApiUpdateProductVariationRequest} requestParameters Request parameters.
|
|
1506
|
+
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
* @memberof ProductsApi
|
|
1509
|
+
*/
|
|
1510
|
+
updateProductVariationWithHttpInfo(requestParameters: ProductsApiUpdateProductVariationRequest): Promise<ApiResponse<GetProductVariationResponse>>;
|
|
1150
1511
|
/**
|
|
1151
1512
|
* Uploads an image for a product.
|
|
1152
1513
|
* @summary Upload an image for a product
|
|
@@ -1156,4 +1517,13 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1156
1517
|
* @memberof ProductsApi
|
|
1157
1518
|
*/
|
|
1158
1519
|
uploadProductImage(requestParameters: ProductsApiUploadProductImageRequest): Promise<AddProductImageResponse>;
|
|
1520
|
+
/**
|
|
1521
|
+
* Same as `uploadProductImage`, but resolves with the response body together with the HTTP status and headers.
|
|
1522
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1523
|
+
* @param {ProductsApiUploadProductImageRequest} requestParameters Request parameters.
|
|
1524
|
+
|
|
1525
|
+
* @throws {RequiredError}
|
|
1526
|
+
* @memberof ProductsApi
|
|
1527
|
+
*/
|
|
1528
|
+
uploadProductImageWithHttpInfo(requestParameters: ProductsApiUploadProductImageRequest): Promise<ApiResponse<AddProductImageResponse>>;
|
|
1159
1529
|
}
|