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
|
@@ -402,6 +402,19 @@ export const UsersApiFp = function (configuration) {
|
|
|
402
402
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
403
403
|
});
|
|
404
404
|
},
|
|
405
|
+
/**
|
|
406
|
+
* Same as `addUser`, but resolves with the response body together with the HTTP status and headers.
|
|
407
|
+
* @summary Add a new user
|
|
408
|
+
* @param {AddUserRequest} [AddUserRequest]
|
|
409
|
+
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
addUserWithHttpInfo(AddUserRequest) {
|
|
413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
414
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addUser(AddUserRequest);
|
|
415
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
416
|
+
});
|
|
417
|
+
},
|
|
405
418
|
/**
|
|
406
419
|
* Finds users by their name.
|
|
407
420
|
* @summary Find users by name
|
|
@@ -416,6 +429,20 @@ export const UsersApiFp = function (configuration) {
|
|
|
416
429
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
430
|
});
|
|
418
431
|
},
|
|
432
|
+
/**
|
|
433
|
+
* Same as `findUsersByName`, but resolves with the response body together with the HTTP status and headers.
|
|
434
|
+
* @summary Find users by name
|
|
435
|
+
* @param {string} term The search term to look for
|
|
436
|
+
* @param {0 | 1} [search_by_email] When enabled, the term will only be matched against email addresses of users. Default: `false`.
|
|
437
|
+
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
findUsersByNameWithHttpInfo(term, search_by_email) {
|
|
441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
442
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.findUsersByName(term, search_by_email);
|
|
443
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
444
|
+
});
|
|
445
|
+
},
|
|
419
446
|
/**
|
|
420
447
|
* Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
|
|
421
448
|
* @summary Get current user data
|
|
@@ -428,6 +455,18 @@ export const UsersApiFp = function (configuration) {
|
|
|
428
455
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
429
456
|
});
|
|
430
457
|
},
|
|
458
|
+
/**
|
|
459
|
+
* Same as `getCurrentUser`, but resolves with the response body together with the HTTP status and headers.
|
|
460
|
+
* @summary Get current user data
|
|
461
|
+
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
getCurrentUserWithHttpInfo() {
|
|
465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
466
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCurrentUser();
|
|
467
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
468
|
+
});
|
|
469
|
+
},
|
|
431
470
|
/**
|
|
432
471
|
* Returns data about a specific user within the company.
|
|
433
472
|
* @summary Get one user
|
|
@@ -441,6 +480,19 @@ export const UsersApiFp = function (configuration) {
|
|
|
441
480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
442
481
|
});
|
|
443
482
|
},
|
|
483
|
+
/**
|
|
484
|
+
* Same as `getUser`, but resolves with the response body together with the HTTP status and headers.
|
|
485
|
+
* @summary Get one user
|
|
486
|
+
* @param {number} id The ID of the user
|
|
487
|
+
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
getUserWithHttpInfo(id) {
|
|
491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
492
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUser(id);
|
|
493
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
494
|
+
});
|
|
495
|
+
},
|
|
444
496
|
/**
|
|
445
497
|
* Lists the followers of a specific user.
|
|
446
498
|
* @summary List followers of a user
|
|
@@ -454,6 +506,19 @@ export const UsersApiFp = function (configuration) {
|
|
|
454
506
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
507
|
});
|
|
456
508
|
},
|
|
509
|
+
/**
|
|
510
|
+
* Same as `getUserFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
511
|
+
* @summary List followers of a user
|
|
512
|
+
* @param {number} id The ID of the user
|
|
513
|
+
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
*/
|
|
516
|
+
getUserFollowersWithHttpInfo(id) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserFollowers(id);
|
|
519
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
520
|
+
});
|
|
521
|
+
},
|
|
457
522
|
/**
|
|
458
523
|
* Lists aggregated permissions over all assigned permission sets for a user.
|
|
459
524
|
* @summary List user permissions
|
|
@@ -467,6 +532,19 @@ export const UsersApiFp = function (configuration) {
|
|
|
467
532
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
468
533
|
});
|
|
469
534
|
},
|
|
535
|
+
/**
|
|
536
|
+
* Same as `getUserPermissions`, but resolves with the response body together with the HTTP status and headers.
|
|
537
|
+
* @summary List user permissions
|
|
538
|
+
* @param {number} id The ID of the user
|
|
539
|
+
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
getUserPermissionsWithHttpInfo(id) {
|
|
543
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
544
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPermissions(id);
|
|
545
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
546
|
+
});
|
|
547
|
+
},
|
|
470
548
|
/**
|
|
471
549
|
* Lists role assignments for a user.
|
|
472
550
|
* @summary List role assignments
|
|
@@ -482,6 +560,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
482
560
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
483
561
|
});
|
|
484
562
|
},
|
|
563
|
+
/**
|
|
564
|
+
* Same as `getUserRoleAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
565
|
+
* @summary List role assignments
|
|
566
|
+
* @param {number} id The ID of the user
|
|
567
|
+
* @param {number} [start] Pagination start
|
|
568
|
+
* @param {number} [limit] Items shown per page
|
|
569
|
+
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
getUserRoleAssignmentsWithHttpInfo(id, start, limit) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserRoleAssignments(id, start, limit);
|
|
575
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
576
|
+
});
|
|
577
|
+
},
|
|
485
578
|
/**
|
|
486
579
|
* Lists the settings of user\'s assigned role.
|
|
487
580
|
* @summary List user role settings
|
|
@@ -495,6 +588,19 @@ export const UsersApiFp = function (configuration) {
|
|
|
495
588
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
496
589
|
});
|
|
497
590
|
},
|
|
591
|
+
/**
|
|
592
|
+
* Same as `getUserRoleSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
593
|
+
* @summary List user role settings
|
|
594
|
+
* @param {number} id The ID of the user
|
|
595
|
+
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
getUserRoleSettingsWithHttpInfo(id) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserRoleSettings(id);
|
|
601
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
602
|
+
});
|
|
603
|
+
},
|
|
498
604
|
/**
|
|
499
605
|
* Returns data about all users within the company.
|
|
500
606
|
* @summary Get all users
|
|
@@ -507,6 +613,18 @@ export const UsersApiFp = function (configuration) {
|
|
|
507
613
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
614
|
});
|
|
509
615
|
},
|
|
616
|
+
/**
|
|
617
|
+
* Same as `getUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
618
|
+
* @summary Get all users
|
|
619
|
+
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
getUsersWithHttpInfo() {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsers();
|
|
625
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
626
|
+
});
|
|
627
|
+
},
|
|
510
628
|
/**
|
|
511
629
|
* Updates the properties of a user. Currently, only `active_flag` can be updated.
|
|
512
630
|
* @summary Update user details
|
|
@@ -521,6 +639,20 @@ export const UsersApiFp = function (configuration) {
|
|
|
521
639
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
522
640
|
});
|
|
523
641
|
},
|
|
642
|
+
/**
|
|
643
|
+
* Same as `updateUser`, but resolves with the response body together with the HTTP status and headers.
|
|
644
|
+
* @summary Update user details
|
|
645
|
+
* @param {number} id The ID of the user
|
|
646
|
+
* @param {UpdateUserRequest} [UpdateUserRequest]
|
|
647
|
+
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
*/
|
|
650
|
+
updateUserWithHttpInfo(id, UpdateUserRequest) {
|
|
651
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
652
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(id, UpdateUserRequest);
|
|
653
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
654
|
+
});
|
|
655
|
+
},
|
|
524
656
|
};
|
|
525
657
|
};
|
|
526
658
|
/**
|
|
@@ -540,6 +672,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
540
672
|
addUser(requestParameters = {}) {
|
|
541
673
|
return localVarFp.addUser(requestParameters.AddUserRequest).then((request) => request(axios, basePath));
|
|
542
674
|
},
|
|
675
|
+
addUserWithHttpInfo(requestParameters = {}) {
|
|
676
|
+
return localVarFp.addUserWithHttpInfo(requestParameters.AddUserRequest).then((request) => request(axios, basePath));
|
|
677
|
+
},
|
|
543
678
|
/**
|
|
544
679
|
* Finds users by their name.
|
|
545
680
|
* @summary Find users by name
|
|
@@ -550,6 +685,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
550
685
|
findUsersByName(requestParameters) {
|
|
551
686
|
return localVarFp.findUsersByName(requestParameters.term, requestParameters.search_by_email).then((request) => request(axios, basePath));
|
|
552
687
|
},
|
|
688
|
+
findUsersByNameWithHttpInfo(requestParameters) {
|
|
689
|
+
return localVarFp.findUsersByNameWithHttpInfo(requestParameters.term, requestParameters.search_by_email).then((request) => request(axios, basePath));
|
|
690
|
+
},
|
|
553
691
|
/**
|
|
554
692
|
* Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
|
|
555
693
|
* @summary Get current user data
|
|
@@ -559,6 +697,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
559
697
|
getCurrentUser() {
|
|
560
698
|
return localVarFp.getCurrentUser().then((request) => request(axios, basePath));
|
|
561
699
|
},
|
|
700
|
+
getCurrentUserWithHttpInfo() {
|
|
701
|
+
return localVarFp.getCurrentUserWithHttpInfo().then((request) => request(axios, basePath));
|
|
702
|
+
},
|
|
562
703
|
/**
|
|
563
704
|
* Returns data about a specific user within the company.
|
|
564
705
|
* @summary Get one user
|
|
@@ -569,6 +710,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
569
710
|
getUser(requestParameters) {
|
|
570
711
|
return localVarFp.getUser(requestParameters.id).then((request) => request(axios, basePath));
|
|
571
712
|
},
|
|
713
|
+
getUserWithHttpInfo(requestParameters) {
|
|
714
|
+
return localVarFp.getUserWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
715
|
+
},
|
|
572
716
|
/**
|
|
573
717
|
* Lists the followers of a specific user.
|
|
574
718
|
* @summary List followers of a user
|
|
@@ -579,6 +723,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
579
723
|
getUserFollowers(requestParameters) {
|
|
580
724
|
return localVarFp.getUserFollowers(requestParameters.id).then((request) => request(axios, basePath));
|
|
581
725
|
},
|
|
726
|
+
getUserFollowersWithHttpInfo(requestParameters) {
|
|
727
|
+
return localVarFp.getUserFollowersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
728
|
+
},
|
|
582
729
|
/**
|
|
583
730
|
* Lists aggregated permissions over all assigned permission sets for a user.
|
|
584
731
|
* @summary List user permissions
|
|
@@ -589,6 +736,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
589
736
|
getUserPermissions(requestParameters) {
|
|
590
737
|
return localVarFp.getUserPermissions(requestParameters.id).then((request) => request(axios, basePath));
|
|
591
738
|
},
|
|
739
|
+
getUserPermissionsWithHttpInfo(requestParameters) {
|
|
740
|
+
return localVarFp.getUserPermissionsWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
741
|
+
},
|
|
592
742
|
/**
|
|
593
743
|
* Lists role assignments for a user.
|
|
594
744
|
* @summary List role assignments
|
|
@@ -599,6 +749,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
599
749
|
getUserRoleAssignments(requestParameters) {
|
|
600
750
|
return localVarFp.getUserRoleAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
601
751
|
},
|
|
752
|
+
getUserRoleAssignmentsWithHttpInfo(requestParameters) {
|
|
753
|
+
return localVarFp.getUserRoleAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
754
|
+
},
|
|
602
755
|
/**
|
|
603
756
|
* Lists the settings of user\'s assigned role.
|
|
604
757
|
* @summary List user role settings
|
|
@@ -609,6 +762,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
609
762
|
getUserRoleSettings(requestParameters) {
|
|
610
763
|
return localVarFp.getUserRoleSettings(requestParameters.id).then((request) => request(axios, basePath));
|
|
611
764
|
},
|
|
765
|
+
getUserRoleSettingsWithHttpInfo(requestParameters) {
|
|
766
|
+
return localVarFp.getUserRoleSettingsWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
767
|
+
},
|
|
612
768
|
/**
|
|
613
769
|
* Returns data about all users within the company.
|
|
614
770
|
* @summary Get all users
|
|
@@ -618,6 +774,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
618
774
|
getUsers() {
|
|
619
775
|
return localVarFp.getUsers().then((request) => request(axios, basePath));
|
|
620
776
|
},
|
|
777
|
+
getUsersWithHttpInfo() {
|
|
778
|
+
return localVarFp.getUsersWithHttpInfo().then((request) => request(axios, basePath));
|
|
779
|
+
},
|
|
621
780
|
/**
|
|
622
781
|
* Updates the properties of a user. Currently, only `active_flag` can be updated.
|
|
623
782
|
* @summary Update user details
|
|
@@ -628,6 +787,9 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
628
787
|
updateUser(requestParameters) {
|
|
629
788
|
return localVarFp.updateUser(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(axios, basePath));
|
|
630
789
|
},
|
|
790
|
+
updateUserWithHttpInfo(requestParameters) {
|
|
791
|
+
return localVarFp.updateUserWithHttpInfo(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(axios, basePath));
|
|
792
|
+
},
|
|
631
793
|
};
|
|
632
794
|
};
|
|
633
795
|
/**
|
|
@@ -648,6 +810,17 @@ export class UsersApi extends BaseAPI {
|
|
|
648
810
|
addUser(requestParameters = {}) {
|
|
649
811
|
return UsersApiFp(this.configuration).addUser(requestParameters.AddUserRequest).then((request) => request(this.axios, this.basePath));
|
|
650
812
|
}
|
|
813
|
+
/**
|
|
814
|
+
* Same as `addUser`, but resolves with the response body together with the HTTP status and headers.
|
|
815
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
816
|
+
* @param {UsersApiAddUserRequest} requestParameters Request parameters.
|
|
817
|
+
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
* @memberof UsersApi
|
|
820
|
+
*/
|
|
821
|
+
addUserWithHttpInfo(requestParameters = {}) {
|
|
822
|
+
return UsersApiFp(this.configuration).addUserWithHttpInfo(requestParameters.AddUserRequest).then((request) => request(this.axios, this.basePath));
|
|
823
|
+
}
|
|
651
824
|
/**
|
|
652
825
|
* Finds users by their name.
|
|
653
826
|
* @summary Find users by name
|
|
@@ -659,6 +832,17 @@ export class UsersApi extends BaseAPI {
|
|
|
659
832
|
findUsersByName(requestParameters) {
|
|
660
833
|
return UsersApiFp(this.configuration).findUsersByName(requestParameters.term, requestParameters.search_by_email).then((request) => request(this.axios, this.basePath));
|
|
661
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* Same as `findUsersByName`, but resolves with the response body together with the HTTP status and headers.
|
|
837
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
838
|
+
* @param {UsersApiFindUsersByNameRequest} requestParameters Request parameters.
|
|
839
|
+
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
* @memberof UsersApi
|
|
842
|
+
*/
|
|
843
|
+
findUsersByNameWithHttpInfo(requestParameters) {
|
|
844
|
+
return UsersApiFp(this.configuration).findUsersByNameWithHttpInfo(requestParameters.term, requestParameters.search_by_email).then((request) => request(this.axios, this.basePath));
|
|
845
|
+
}
|
|
662
846
|
/**
|
|
663
847
|
* Returns data about an authorized user within the company with bound company data: company ID, company name, and domain. Note that the `locale` property means \'Date/number format\' in the Pipedrive account settings, not the chosen language.
|
|
664
848
|
* @summary Get current user data
|
|
@@ -669,6 +853,16 @@ export class UsersApi extends BaseAPI {
|
|
|
669
853
|
getCurrentUser() {
|
|
670
854
|
return UsersApiFp(this.configuration).getCurrentUser().then((request) => request(this.axios, this.basePath));
|
|
671
855
|
}
|
|
856
|
+
/**
|
|
857
|
+
* Same as `getCurrentUser`, but resolves with the response body together with the HTTP status and headers.
|
|
858
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
859
|
+
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
* @memberof UsersApi
|
|
862
|
+
*/
|
|
863
|
+
getCurrentUserWithHttpInfo() {
|
|
864
|
+
return UsersApiFp(this.configuration).getCurrentUserWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
865
|
+
}
|
|
672
866
|
/**
|
|
673
867
|
* Returns data about a specific user within the company.
|
|
674
868
|
* @summary Get one user
|
|
@@ -680,6 +874,17 @@ export class UsersApi extends BaseAPI {
|
|
|
680
874
|
getUser(requestParameters) {
|
|
681
875
|
return UsersApiFp(this.configuration).getUser(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
682
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* Same as `getUser`, but resolves with the response body together with the HTTP status and headers.
|
|
879
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
880
|
+
* @param {UsersApiGetUserRequest} requestParameters Request parameters.
|
|
881
|
+
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
* @memberof UsersApi
|
|
884
|
+
*/
|
|
885
|
+
getUserWithHttpInfo(requestParameters) {
|
|
886
|
+
return UsersApiFp(this.configuration).getUserWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
887
|
+
}
|
|
683
888
|
/**
|
|
684
889
|
* Lists the followers of a specific user.
|
|
685
890
|
* @summary List followers of a user
|
|
@@ -691,6 +896,17 @@ export class UsersApi extends BaseAPI {
|
|
|
691
896
|
getUserFollowers(requestParameters) {
|
|
692
897
|
return UsersApiFp(this.configuration).getUserFollowers(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
693
898
|
}
|
|
899
|
+
/**
|
|
900
|
+
* Same as `getUserFollowers`, but resolves with the response body together with the HTTP status and headers.
|
|
901
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
902
|
+
* @param {UsersApiGetUserFollowersRequest} requestParameters Request parameters.
|
|
903
|
+
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
* @memberof UsersApi
|
|
906
|
+
*/
|
|
907
|
+
getUserFollowersWithHttpInfo(requestParameters) {
|
|
908
|
+
return UsersApiFp(this.configuration).getUserFollowersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
909
|
+
}
|
|
694
910
|
/**
|
|
695
911
|
* Lists aggregated permissions over all assigned permission sets for a user.
|
|
696
912
|
* @summary List user permissions
|
|
@@ -702,6 +918,17 @@ export class UsersApi extends BaseAPI {
|
|
|
702
918
|
getUserPermissions(requestParameters) {
|
|
703
919
|
return UsersApiFp(this.configuration).getUserPermissions(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
704
920
|
}
|
|
921
|
+
/**
|
|
922
|
+
* Same as `getUserPermissions`, but resolves with the response body together with the HTTP status and headers.
|
|
923
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
924
|
+
* @param {UsersApiGetUserPermissionsRequest} requestParameters Request parameters.
|
|
925
|
+
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
* @memberof UsersApi
|
|
928
|
+
*/
|
|
929
|
+
getUserPermissionsWithHttpInfo(requestParameters) {
|
|
930
|
+
return UsersApiFp(this.configuration).getUserPermissionsWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
931
|
+
}
|
|
705
932
|
/**
|
|
706
933
|
* Lists role assignments for a user.
|
|
707
934
|
* @summary List role assignments
|
|
@@ -713,6 +940,17 @@ export class UsersApi extends BaseAPI {
|
|
|
713
940
|
getUserRoleAssignments(requestParameters) {
|
|
714
941
|
return UsersApiFp(this.configuration).getUserRoleAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
715
942
|
}
|
|
943
|
+
/**
|
|
944
|
+
* Same as `getUserRoleAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
945
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
946
|
+
* @param {UsersApiGetUserRoleAssignmentsRequest} requestParameters Request parameters.
|
|
947
|
+
|
|
948
|
+
* @throws {RequiredError}
|
|
949
|
+
* @memberof UsersApi
|
|
950
|
+
*/
|
|
951
|
+
getUserRoleAssignmentsWithHttpInfo(requestParameters) {
|
|
952
|
+
return UsersApiFp(this.configuration).getUserRoleAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
953
|
+
}
|
|
716
954
|
/**
|
|
717
955
|
* Lists the settings of user\'s assigned role.
|
|
718
956
|
* @summary List user role settings
|
|
@@ -724,6 +962,17 @@ export class UsersApi extends BaseAPI {
|
|
|
724
962
|
getUserRoleSettings(requestParameters) {
|
|
725
963
|
return UsersApiFp(this.configuration).getUserRoleSettings(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
726
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
* Same as `getUserRoleSettings`, but resolves with the response body together with the HTTP status and headers.
|
|
967
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
968
|
+
* @param {UsersApiGetUserRoleSettingsRequest} requestParameters Request parameters.
|
|
969
|
+
|
|
970
|
+
* @throws {RequiredError}
|
|
971
|
+
* @memberof UsersApi
|
|
972
|
+
*/
|
|
973
|
+
getUserRoleSettingsWithHttpInfo(requestParameters) {
|
|
974
|
+
return UsersApiFp(this.configuration).getUserRoleSettingsWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
975
|
+
}
|
|
727
976
|
/**
|
|
728
977
|
* Returns data about all users within the company.
|
|
729
978
|
* @summary Get all users
|
|
@@ -734,6 +983,16 @@ export class UsersApi extends BaseAPI {
|
|
|
734
983
|
getUsers() {
|
|
735
984
|
return UsersApiFp(this.configuration).getUsers().then((request) => request(this.axios, this.basePath));
|
|
736
985
|
}
|
|
986
|
+
/**
|
|
987
|
+
* Same as `getUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
988
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
989
|
+
|
|
990
|
+
* @throws {RequiredError}
|
|
991
|
+
* @memberof UsersApi
|
|
992
|
+
*/
|
|
993
|
+
getUsersWithHttpInfo() {
|
|
994
|
+
return UsersApiFp(this.configuration).getUsersWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
995
|
+
}
|
|
737
996
|
/**
|
|
738
997
|
* Updates the properties of a user. Currently, only `active_flag` can be updated.
|
|
739
998
|
* @summary Update user details
|
|
@@ -745,4 +1004,15 @@ export class UsersApi extends BaseAPI {
|
|
|
745
1004
|
updateUser(requestParameters) {
|
|
746
1005
|
return UsersApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(this.axios, this.basePath));
|
|
747
1006
|
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Same as `updateUser`, but resolves with the response body together with the HTTP status and headers.
|
|
1009
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1010
|
+
* @param {UsersApiUpdateUserRequest} requestParameters Request parameters.
|
|
1011
|
+
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
* @memberof UsersApi
|
|
1014
|
+
*/
|
|
1015
|
+
updateUserWithHttpInfo(requestParameters) {
|
|
1016
|
+
return UsersApiFp(this.configuration).updateUserWithHttpInfo(requestParameters.id, requestParameters.UpdateUserRequest).then((request) => request(this.axios, this.basePath));
|
|
1017
|
+
}
|
|
748
1018
|
}
|
|
@@ -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 { AddWebhookRequest } from '../models';
|
|
16
16
|
import { BaseResponse } from '../models';
|
|
17
17
|
import { GetWebhookResponse } from '../models';
|
|
@@ -58,6 +58,14 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
60
|
addWebhook(AddWebhookRequest?: AddWebhookRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetWebhookResponse>>;
|
|
61
|
+
/**
|
|
62
|
+
* Same as `addWebhook`, but resolves with the response body together with the HTTP status and headers.
|
|
63
|
+
* @summary Create a new Webhook
|
|
64
|
+
* @param {AddWebhookRequest} [AddWebhookRequest]
|
|
65
|
+
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
addWebhookWithHttpInfo(AddWebhookRequest?: AddWebhookRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetWebhookResponse>>>;
|
|
61
69
|
/**
|
|
62
70
|
* Deletes the specified Webhook.
|
|
63
71
|
* @summary Delete existing Webhook
|
|
@@ -66,6 +74,14 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
66
74
|
* @throws {RequiredError}
|
|
67
75
|
*/
|
|
68
76
|
deleteWebhook(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
|
|
77
|
+
/**
|
|
78
|
+
* Same as `deleteWebhook`, but resolves with the response body together with the HTTP status and headers.
|
|
79
|
+
* @summary Delete existing Webhook
|
|
80
|
+
* @param {number} id The ID of the Webhook to delete
|
|
81
|
+
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
deleteWebhookWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
|
|
69
85
|
/**
|
|
70
86
|
* Returns data about all the Webhooks of a company.
|
|
71
87
|
* @summary Get all Webhooks
|
|
@@ -73,6 +89,13 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
73
89
|
* @throws {RequiredError}
|
|
74
90
|
*/
|
|
75
91
|
getWebhooks(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetWebhooksResponse>>;
|
|
92
|
+
/**
|
|
93
|
+
* Same as `getWebhooks`, but resolves with the response body together with the HTTP status and headers.
|
|
94
|
+
* @summary Get all Webhooks
|
|
95
|
+
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
getWebhooksWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetWebhooksResponse>>>;
|
|
76
99
|
};
|
|
77
100
|
/**
|
|
78
101
|
* WebhooksApi - factory interface
|
|
@@ -87,6 +110,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
87
110
|
* @throws {RequiredError}
|
|
88
111
|
*/
|
|
89
112
|
addWebhook(requestParameters?: WebhooksApiAddWebhookRequest): Promise<GetWebhookResponse>;
|
|
113
|
+
addWebhookWithHttpInfo(requestParameters?: WebhooksApiAddWebhookRequest): Promise<ApiResponse<GetWebhookResponse>>;
|
|
90
114
|
/**
|
|
91
115
|
* Deletes the specified Webhook.
|
|
92
116
|
* @summary Delete existing Webhook
|
|
@@ -95,6 +119,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
95
119
|
* @throws {RequiredError}
|
|
96
120
|
*/
|
|
97
121
|
deleteWebhook(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<BaseResponse>;
|
|
122
|
+
deleteWebhookWithHttpInfo(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<ApiResponse<BaseResponse>>;
|
|
98
123
|
/**
|
|
99
124
|
* Returns data about all the Webhooks of a company.
|
|
100
125
|
* @summary Get all Webhooks
|
|
@@ -102,6 +127,7 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
|
|
|
102
127
|
* @throws {RequiredError}
|
|
103
128
|
*/
|
|
104
129
|
getWebhooks(): Promise<GetWebhooksResponse>;
|
|
130
|
+
getWebhooksWithHttpInfo(): Promise<ApiResponse<GetWebhooksResponse>>;
|
|
105
131
|
};
|
|
106
132
|
/**
|
|
107
133
|
* Request parameters for addWebhook operation in WebhooksApi.
|
|
@@ -145,6 +171,15 @@ export declare class WebhooksApi extends BaseAPI {
|
|
|
145
171
|
* @memberof WebhooksApi
|
|
146
172
|
*/
|
|
147
173
|
addWebhook(requestParameters?: WebhooksApiAddWebhookRequest): Promise<GetWebhookResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* Same as `addWebhook`, but resolves with the response body together with the HTTP status and headers.
|
|
176
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
177
|
+
* @param {WebhooksApiAddWebhookRequest} requestParameters Request parameters.
|
|
178
|
+
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
* @memberof WebhooksApi
|
|
181
|
+
*/
|
|
182
|
+
addWebhookWithHttpInfo(requestParameters?: WebhooksApiAddWebhookRequest): Promise<ApiResponse<GetWebhookResponse>>;
|
|
148
183
|
/**
|
|
149
184
|
* Deletes the specified Webhook.
|
|
150
185
|
* @summary Delete existing Webhook
|
|
@@ -154,6 +189,15 @@ export declare class WebhooksApi extends BaseAPI {
|
|
|
154
189
|
* @memberof WebhooksApi
|
|
155
190
|
*/
|
|
156
191
|
deleteWebhook(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<BaseResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Same as `deleteWebhook`, but resolves with the response body together with the HTTP status and headers.
|
|
194
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
195
|
+
* @param {WebhooksApiDeleteWebhookRequest} requestParameters Request parameters.
|
|
196
|
+
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
* @memberof WebhooksApi
|
|
199
|
+
*/
|
|
200
|
+
deleteWebhookWithHttpInfo(requestParameters: WebhooksApiDeleteWebhookRequest): Promise<ApiResponse<BaseResponse>>;
|
|
157
201
|
/**
|
|
158
202
|
* Returns data about all the Webhooks of a company.
|
|
159
203
|
* @summary Get all Webhooks
|
|
@@ -162,4 +206,12 @@ export declare class WebhooksApi extends BaseAPI {
|
|
|
162
206
|
* @memberof WebhooksApi
|
|
163
207
|
*/
|
|
164
208
|
getWebhooks(): Promise<GetWebhooksResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* Same as `getWebhooks`, but resolves with the response body together with the HTTP status and headers.
|
|
211
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
212
|
+
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
* @memberof WebhooksApi
|
|
215
|
+
*/
|
|
216
|
+
getWebhooksWithHttpInfo(): Promise<ApiResponse<GetWebhooksResponse>>;
|
|
165
217
|
}
|