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 { AddLeadLabelRequest } from '../models';
|
|
16
16
|
import { DeleteLeadIdResponse } from '../models';
|
|
17
17
|
import { GetLeadLabelsResponse } from '../models';
|
|
@@ -68,6 +68,14 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
|
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
70
|
addLeadLabel(AddLeadLabelRequest?: AddLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertLeadLabelResponse>>;
|
|
71
|
+
/**
|
|
72
|
+
* Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
73
|
+
* @summary Add a lead label
|
|
74
|
+
* @param {AddLeadLabelRequest} [AddLeadLabelRequest]
|
|
75
|
+
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
addLeadLabelWithHttpInfo(AddLeadLabelRequest?: AddLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertLeadLabelResponse>>>;
|
|
71
79
|
/**
|
|
72
80
|
* Deletes a specific lead label.
|
|
73
81
|
* @summary Delete a lead label
|
|
@@ -76,6 +84,14 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
|
|
|
76
84
|
* @throws {RequiredError}
|
|
77
85
|
*/
|
|
78
86
|
deleteLeadLabel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteLeadIdResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
89
|
+
* @summary Delete a lead label
|
|
90
|
+
* @param {string} id The ID of the lead label
|
|
91
|
+
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
deleteLeadLabelWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteLeadIdResponse>>>;
|
|
79
95
|
/**
|
|
80
96
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
81
97
|
* @summary Get all lead labels
|
|
@@ -83,6 +99,13 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
|
|
|
83
99
|
* @throws {RequiredError}
|
|
84
100
|
*/
|
|
85
101
|
getLeadLabels(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadLabelsResponse>>;
|
|
102
|
+
/**
|
|
103
|
+
* Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
|
|
104
|
+
* @summary Get all lead labels
|
|
105
|
+
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
getLeadLabelsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetLeadLabelsResponse>>>;
|
|
86
109
|
/**
|
|
87
110
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
88
111
|
* @summary Update a lead label
|
|
@@ -92,6 +115,15 @@ export declare const LeadLabelsApiFp: (configuration?: Configuration) => {
|
|
|
92
115
|
* @throws {RequiredError}
|
|
93
116
|
*/
|
|
94
117
|
updateLeadLabel(id: string, UpdateLeadLabelRequest?: UpdateLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertLeadLabelResponse>>;
|
|
118
|
+
/**
|
|
119
|
+
* Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
120
|
+
* @summary Update a lead label
|
|
121
|
+
* @param {string} id The ID of the lead label
|
|
122
|
+
* @param {UpdateLeadLabelRequest} [UpdateLeadLabelRequest]
|
|
123
|
+
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
updateLeadLabelWithHttpInfo(id: string, UpdateLeadLabelRequest?: UpdateLeadLabelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertLeadLabelResponse>>>;
|
|
95
127
|
};
|
|
96
128
|
/**
|
|
97
129
|
* LeadLabelsApi - factory interface
|
|
@@ -106,6 +138,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
|
|
|
106
138
|
* @throws {RequiredError}
|
|
107
139
|
*/
|
|
108
140
|
addLeadLabel(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
|
|
141
|
+
addLeadLabelWithHttpInfo(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
|
|
109
142
|
/**
|
|
110
143
|
* Deletes a specific lead label.
|
|
111
144
|
* @summary Delete a lead label
|
|
@@ -114,6 +147,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
|
|
|
114
147
|
* @throws {RequiredError}
|
|
115
148
|
*/
|
|
116
149
|
deleteLeadLabel(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<DeleteLeadIdResponse>;
|
|
150
|
+
deleteLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<ApiResponse<DeleteLeadIdResponse>>;
|
|
117
151
|
/**
|
|
118
152
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
119
153
|
* @summary Get all lead labels
|
|
@@ -121,6 +155,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
|
|
|
121
155
|
* @throws {RequiredError}
|
|
122
156
|
*/
|
|
123
157
|
getLeadLabels(): Promise<GetLeadLabelsResponse>;
|
|
158
|
+
getLeadLabelsWithHttpInfo(): Promise<ApiResponse<GetLeadLabelsResponse>>;
|
|
124
159
|
/**
|
|
125
160
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
126
161
|
* @summary Update a lead label
|
|
@@ -129,6 +164,7 @@ export declare const LeadLabelsApiFactory: (configuration?: Configuration, baseP
|
|
|
129
164
|
* @throws {RequiredError}
|
|
130
165
|
*/
|
|
131
166
|
updateLeadLabel(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
|
|
167
|
+
updateLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
|
|
132
168
|
};
|
|
133
169
|
/**
|
|
134
170
|
* Request parameters for addLeadLabel operation in LeadLabelsApi.
|
|
@@ -191,6 +227,15 @@ export declare class LeadLabelsApi extends BaseAPI {
|
|
|
191
227
|
* @memberof LeadLabelsApi
|
|
192
228
|
*/
|
|
193
229
|
addLeadLabel(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
|
|
230
|
+
/**
|
|
231
|
+
* Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
232
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
233
|
+
* @param {LeadLabelsApiAddLeadLabelRequest} requestParameters Request parameters.
|
|
234
|
+
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
* @memberof LeadLabelsApi
|
|
237
|
+
*/
|
|
238
|
+
addLeadLabelWithHttpInfo(requestParameters?: LeadLabelsApiAddLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
|
|
194
239
|
/**
|
|
195
240
|
* Deletes a specific lead label.
|
|
196
241
|
* @summary Delete a lead label
|
|
@@ -200,6 +245,15 @@ export declare class LeadLabelsApi extends BaseAPI {
|
|
|
200
245
|
* @memberof LeadLabelsApi
|
|
201
246
|
*/
|
|
202
247
|
deleteLeadLabel(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<DeleteLeadIdResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
250
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
251
|
+
* @param {LeadLabelsApiDeleteLeadLabelRequest} requestParameters Request parameters.
|
|
252
|
+
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
* @memberof LeadLabelsApi
|
|
255
|
+
*/
|
|
256
|
+
deleteLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiDeleteLeadLabelRequest): Promise<ApiResponse<DeleteLeadIdResponse>>;
|
|
203
257
|
/**
|
|
204
258
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
205
259
|
* @summary Get all lead labels
|
|
@@ -208,6 +262,14 @@ export declare class LeadLabelsApi extends BaseAPI {
|
|
|
208
262
|
* @memberof LeadLabelsApi
|
|
209
263
|
*/
|
|
210
264
|
getLeadLabels(): Promise<GetLeadLabelsResponse>;
|
|
265
|
+
/**
|
|
266
|
+
* Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
|
|
267
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
268
|
+
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof LeadLabelsApi
|
|
271
|
+
*/
|
|
272
|
+
getLeadLabelsWithHttpInfo(): Promise<ApiResponse<GetLeadLabelsResponse>>;
|
|
211
273
|
/**
|
|
212
274
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
213
275
|
* @summary Update a lead label
|
|
@@ -217,4 +279,13 @@ export declare class LeadLabelsApi extends BaseAPI {
|
|
|
217
279
|
* @memberof LeadLabelsApi
|
|
218
280
|
*/
|
|
219
281
|
updateLeadLabel(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<UpsertLeadLabelResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
284
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
285
|
+
* @param {LeadLabelsApiUpdateLeadLabelRequest} requestParameters Request parameters.
|
|
286
|
+
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof LeadLabelsApi
|
|
289
|
+
*/
|
|
290
|
+
updateLeadLabelWithHttpInfo(requestParameters: LeadLabelsApiUpdateLeadLabelRequest): Promise<ApiResponse<UpsertLeadLabelResponse>>;
|
|
220
291
|
}
|
|
@@ -195,6 +195,19 @@ const LeadLabelsApiFp = function (configuration) {
|
|
|
195
195
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
196
196
|
});
|
|
197
197
|
},
|
|
198
|
+
/**
|
|
199
|
+
* Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
200
|
+
* @summary Add a lead label
|
|
201
|
+
* @param {AddLeadLabelRequest} [AddLeadLabelRequest]
|
|
202
|
+
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
addLeadLabelWithHttpInfo(AddLeadLabelRequest) {
|
|
206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addLeadLabel(AddLeadLabelRequest);
|
|
208
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
209
|
+
});
|
|
210
|
+
},
|
|
198
211
|
/**
|
|
199
212
|
* Deletes a specific lead label.
|
|
200
213
|
* @summary Delete a lead label
|
|
@@ -208,6 +221,19 @@ const LeadLabelsApiFp = function (configuration) {
|
|
|
208
221
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
209
222
|
});
|
|
210
223
|
},
|
|
224
|
+
/**
|
|
225
|
+
* Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
226
|
+
* @summary Delete a lead label
|
|
227
|
+
* @param {string} id The ID of the lead label
|
|
228
|
+
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
deleteLeadLabelWithHttpInfo(id) {
|
|
232
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
233
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteLeadLabel(id);
|
|
234
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
235
|
+
});
|
|
236
|
+
},
|
|
211
237
|
/**
|
|
212
238
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
213
239
|
* @summary Get all lead labels
|
|
@@ -220,6 +246,18 @@ const LeadLabelsApiFp = function (configuration) {
|
|
|
220
246
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
221
247
|
});
|
|
222
248
|
},
|
|
249
|
+
/**
|
|
250
|
+
* Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
|
|
251
|
+
* @summary Get all lead labels
|
|
252
|
+
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getLeadLabelsWithHttpInfo() {
|
|
256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeadLabels();
|
|
258
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
259
|
+
});
|
|
260
|
+
},
|
|
223
261
|
/**
|
|
224
262
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
225
263
|
* @summary Update a lead label
|
|
@@ -234,6 +272,20 @@ const LeadLabelsApiFp = function (configuration) {
|
|
|
234
272
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
235
273
|
});
|
|
236
274
|
},
|
|
275
|
+
/**
|
|
276
|
+
* Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
277
|
+
* @summary Update a lead label
|
|
278
|
+
* @param {string} id The ID of the lead label
|
|
279
|
+
* @param {UpdateLeadLabelRequest} [UpdateLeadLabelRequest]
|
|
280
|
+
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
updateLeadLabelWithHttpInfo(id, UpdateLeadLabelRequest) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateLeadLabel(id, UpdateLeadLabelRequest);
|
|
286
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
287
|
+
});
|
|
288
|
+
},
|
|
237
289
|
};
|
|
238
290
|
};
|
|
239
291
|
exports.LeadLabelsApiFp = LeadLabelsApiFp;
|
|
@@ -254,6 +306,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
|
|
|
254
306
|
addLeadLabel(requestParameters = {}) {
|
|
255
307
|
return localVarFp.addLeadLabel(requestParameters.AddLeadLabelRequest).then((request) => request(axios, basePath));
|
|
256
308
|
},
|
|
309
|
+
addLeadLabelWithHttpInfo(requestParameters = {}) {
|
|
310
|
+
return localVarFp.addLeadLabelWithHttpInfo(requestParameters.AddLeadLabelRequest).then((request) => request(axios, basePath));
|
|
311
|
+
},
|
|
257
312
|
/**
|
|
258
313
|
* Deletes a specific lead label.
|
|
259
314
|
* @summary Delete a lead label
|
|
@@ -264,6 +319,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
|
|
|
264
319
|
deleteLeadLabel(requestParameters) {
|
|
265
320
|
return localVarFp.deleteLeadLabel(requestParameters.id).then((request) => request(axios, basePath));
|
|
266
321
|
},
|
|
322
|
+
deleteLeadLabelWithHttpInfo(requestParameters) {
|
|
323
|
+
return localVarFp.deleteLeadLabelWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
324
|
+
},
|
|
267
325
|
/**
|
|
268
326
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
269
327
|
* @summary Get all lead labels
|
|
@@ -273,6 +331,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
|
|
|
273
331
|
getLeadLabels() {
|
|
274
332
|
return localVarFp.getLeadLabels().then((request) => request(axios, basePath));
|
|
275
333
|
},
|
|
334
|
+
getLeadLabelsWithHttpInfo() {
|
|
335
|
+
return localVarFp.getLeadLabelsWithHttpInfo().then((request) => request(axios, basePath));
|
|
336
|
+
},
|
|
276
337
|
/**
|
|
277
338
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
278
339
|
* @summary Update a lead label
|
|
@@ -283,6 +344,9 @@ const LeadLabelsApiFactory = function (configuration, basePath, axios) {
|
|
|
283
344
|
updateLeadLabel(requestParameters) {
|
|
284
345
|
return localVarFp.updateLeadLabel(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(axios, basePath));
|
|
285
346
|
},
|
|
347
|
+
updateLeadLabelWithHttpInfo(requestParameters) {
|
|
348
|
+
return localVarFp.updateLeadLabelWithHttpInfo(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(axios, basePath));
|
|
349
|
+
},
|
|
286
350
|
};
|
|
287
351
|
};
|
|
288
352
|
exports.LeadLabelsApiFactory = LeadLabelsApiFactory;
|
|
@@ -304,6 +368,17 @@ class LeadLabelsApi extends base_1.BaseAPI {
|
|
|
304
368
|
addLeadLabel(requestParameters = {}) {
|
|
305
369
|
return (0, exports.LeadLabelsApiFp)(this.configuration).addLeadLabel(requestParameters.AddLeadLabelRequest).then((request) => request(this.axios, this.basePath));
|
|
306
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* Same as `addLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
373
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
374
|
+
* @param {LeadLabelsApiAddLeadLabelRequest} requestParameters Request parameters.
|
|
375
|
+
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
* @memberof LeadLabelsApi
|
|
378
|
+
*/
|
|
379
|
+
addLeadLabelWithHttpInfo(requestParameters = {}) {
|
|
380
|
+
return (0, exports.LeadLabelsApiFp)(this.configuration).addLeadLabelWithHttpInfo(requestParameters.AddLeadLabelRequest).then((request) => request(this.axios, this.basePath));
|
|
381
|
+
}
|
|
307
382
|
/**
|
|
308
383
|
* Deletes a specific lead label.
|
|
309
384
|
* @summary Delete a lead label
|
|
@@ -315,6 +390,17 @@ class LeadLabelsApi extends base_1.BaseAPI {
|
|
|
315
390
|
deleteLeadLabel(requestParameters) {
|
|
316
391
|
return (0, exports.LeadLabelsApiFp)(this.configuration).deleteLeadLabel(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
317
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* Same as `deleteLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
395
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
396
|
+
* @param {LeadLabelsApiDeleteLeadLabelRequest} requestParameters Request parameters.
|
|
397
|
+
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
* @memberof LeadLabelsApi
|
|
400
|
+
*/
|
|
401
|
+
deleteLeadLabelWithHttpInfo(requestParameters) {
|
|
402
|
+
return (0, exports.LeadLabelsApiFp)(this.configuration).deleteLeadLabelWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
403
|
+
}
|
|
318
404
|
/**
|
|
319
405
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
|
320
406
|
* @summary Get all lead labels
|
|
@@ -325,6 +411,16 @@ class LeadLabelsApi extends base_1.BaseAPI {
|
|
|
325
411
|
getLeadLabels() {
|
|
326
412
|
return (0, exports.LeadLabelsApiFp)(this.configuration).getLeadLabels().then((request) => request(this.axios, this.basePath));
|
|
327
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Same as `getLeadLabels`, but resolves with the response body together with the HTTP status and headers.
|
|
416
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
417
|
+
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
* @memberof LeadLabelsApi
|
|
420
|
+
*/
|
|
421
|
+
getLeadLabelsWithHttpInfo() {
|
|
422
|
+
return (0, exports.LeadLabelsApiFp)(this.configuration).getLeadLabelsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
423
|
+
}
|
|
328
424
|
/**
|
|
329
425
|
* Updates one or more properties of a lead label. Only properties included in the request will be updated.
|
|
330
426
|
* @summary Update a lead label
|
|
@@ -336,5 +432,16 @@ class LeadLabelsApi extends base_1.BaseAPI {
|
|
|
336
432
|
updateLeadLabel(requestParameters) {
|
|
337
433
|
return (0, exports.LeadLabelsApiFp)(this.configuration).updateLeadLabel(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(this.axios, this.basePath));
|
|
338
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Same as `updateLeadLabel`, but resolves with the response body together with the HTTP status and headers.
|
|
437
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
438
|
+
* @param {LeadLabelsApiUpdateLeadLabelRequest} requestParameters Request parameters.
|
|
439
|
+
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
* @memberof LeadLabelsApi
|
|
442
|
+
*/
|
|
443
|
+
updateLeadLabelWithHttpInfo(requestParameters) {
|
|
444
|
+
return (0, exports.LeadLabelsApiFp)(this.configuration).updateLeadLabelWithHttpInfo(requestParameters.id, requestParameters.UpdateLeadLabelRequest).then((request) => request(this.axios, this.basePath));
|
|
445
|
+
}
|
|
339
446
|
}
|
|
340
447
|
exports.LeadLabelsApi = LeadLabelsApi;
|
|
@@ -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 { GetLeadsSourceResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* LeadSourcesApi - axios parameter creator
|
|
@@ -38,6 +38,13 @@ export declare const LeadSourcesApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
getLeadSources(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadsSourceResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
|
|
43
|
+
* @summary Get all lead sources
|
|
44
|
+
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getLeadSourcesWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetLeadsSourceResponse>>>;
|
|
41
48
|
};
|
|
42
49
|
/**
|
|
43
50
|
* LeadSourcesApi - factory interface
|
|
@@ -51,6 +58,7 @@ export declare const LeadSourcesApiFactory: (configuration?: Configuration, base
|
|
|
51
58
|
* @throws {RequiredError}
|
|
52
59
|
*/
|
|
53
60
|
getLeadSources(): Promise<GetLeadsSourceResponse>;
|
|
61
|
+
getLeadSourcesWithHttpInfo(): Promise<ApiResponse<GetLeadsSourceResponse>>;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* LeadSourcesApi - object-oriented interface
|
|
@@ -67,4 +75,12 @@ export declare class LeadSourcesApi extends BaseAPI {
|
|
|
67
75
|
* @memberof LeadSourcesApi
|
|
68
76
|
*/
|
|
69
77
|
getLeadSources(): Promise<GetLeadsSourceResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getLeadSources`, 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 LeadSourcesApi
|
|
84
|
+
*/
|
|
85
|
+
getLeadSourcesWithHttpInfo(): Promise<ApiResponse<GetLeadsSourceResponse>>;
|
|
70
86
|
}
|
|
@@ -90,6 +90,18 @@ const LeadSourcesApiFp = function (configuration) {
|
|
|
90
90
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
91
91
|
});
|
|
92
92
|
},
|
|
93
|
+
/**
|
|
94
|
+
* Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
|
|
95
|
+
* @summary Get all lead sources
|
|
96
|
+
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getLeadSourcesWithHttpInfo() {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLeadSources();
|
|
102
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
103
|
+
});
|
|
104
|
+
},
|
|
93
105
|
};
|
|
94
106
|
};
|
|
95
107
|
exports.LeadSourcesApiFp = LeadSourcesApiFp;
|
|
@@ -109,6 +121,9 @@ const LeadSourcesApiFactory = function (configuration, basePath, axios) {
|
|
|
109
121
|
getLeadSources() {
|
|
110
122
|
return localVarFp.getLeadSources().then((request) => request(axios, basePath));
|
|
111
123
|
},
|
|
124
|
+
getLeadSourcesWithHttpInfo() {
|
|
125
|
+
return localVarFp.getLeadSourcesWithHttpInfo().then((request) => request(axios, basePath));
|
|
126
|
+
},
|
|
112
127
|
};
|
|
113
128
|
};
|
|
114
129
|
exports.LeadSourcesApiFactory = LeadSourcesApiFactory;
|
|
@@ -129,5 +144,15 @@ class LeadSourcesApi extends base_1.BaseAPI {
|
|
|
129
144
|
getLeadSources() {
|
|
130
145
|
return (0, exports.LeadSourcesApiFp)(this.configuration).getLeadSources().then((request) => request(this.axios, this.basePath));
|
|
131
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Same as `getLeadSources`, but resolves with the response body together with the HTTP status and headers.
|
|
149
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
150
|
+
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof LeadSourcesApi
|
|
153
|
+
*/
|
|
154
|
+
getLeadSourcesWithHttpInfo() {
|
|
155
|
+
return (0, exports.LeadSourcesApiFp)(this.configuration).getLeadSourcesWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
156
|
+
}
|
|
132
157
|
}
|
|
133
158
|
exports.LeadSourcesApi = LeadSourcesApi;
|