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 { AddStageRequest } from '../models';
|
|
16
16
|
import { DeleteStageResponse } from '../models';
|
|
17
17
|
import { GetStagesResponse } from '../models';
|
|
@@ -81,6 +81,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
|
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
83
|
addStage(AddStageRequest?: AddStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
|
|
84
|
+
/**
|
|
85
|
+
* Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
|
|
86
|
+
* @summary Add a new stage
|
|
87
|
+
* @param {AddStageRequest} [AddStageRequest]
|
|
88
|
+
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
addStageWithHttpInfo(AddStageRequest?: AddStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
|
|
84
92
|
/**
|
|
85
93
|
* Marks a stage as deleted.
|
|
86
94
|
* @summary Delete a stage
|
|
@@ -89,6 +97,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
|
|
|
89
97
|
* @throws {RequiredError}
|
|
90
98
|
*/
|
|
91
99
|
deleteStage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteStageResponse>>;
|
|
100
|
+
/**
|
|
101
|
+
* Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
|
|
102
|
+
* @summary Delete a stage
|
|
103
|
+
* @param {number} id The ID of the stage
|
|
104
|
+
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
deleteStageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteStageResponse>>>;
|
|
92
108
|
/**
|
|
93
109
|
* Returns data about a specific stage.
|
|
94
110
|
* @summary Get one stage
|
|
@@ -97,6 +113,14 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
|
|
|
97
113
|
* @throws {RequiredError}
|
|
98
114
|
*/
|
|
99
115
|
getStage(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
|
|
116
|
+
/**
|
|
117
|
+
* Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
|
|
118
|
+
* @summary Get one stage
|
|
119
|
+
* @param {number} id The ID of the stage
|
|
120
|
+
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
getStageWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
|
|
100
124
|
/**
|
|
101
125
|
* Returns data about all stages.
|
|
102
126
|
* @summary Get all stages
|
|
@@ -109,6 +133,18 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
|
|
|
109
133
|
* @throws {RequiredError}
|
|
110
134
|
*/
|
|
111
135
|
getStages(pipeline_id?: number, sort_by?: 'id' | 'update_time' | 'add_time' | 'order_nr', sort_direction?: 'asc' | 'desc', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStagesResponse>>;
|
|
136
|
+
/**
|
|
137
|
+
* Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
|
|
138
|
+
* @summary Get all stages
|
|
139
|
+
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
|
140
|
+
* @param {'id' | 'update_time' | 'add_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `order_nr`.
|
|
141
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
142
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
143
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
144
|
+
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
getStagesWithHttpInfo(pipeline_id?: number, sort_by?: 'id' | 'update_time' | 'add_time' | 'order_nr', sort_direction?: 'asc' | 'desc', limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetStagesResponse>>>;
|
|
112
148
|
/**
|
|
113
149
|
* Updates the properties of a stage.
|
|
114
150
|
* @summary Update stage details
|
|
@@ -118,6 +154,15 @@ export declare const StagesApiFp: (configuration?: Configuration) => {
|
|
|
118
154
|
* @throws {RequiredError}
|
|
119
155
|
*/
|
|
120
156
|
updateStage(id: number, UpdateStageRequest?: UpdateStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertStageResponse>>;
|
|
157
|
+
/**
|
|
158
|
+
* Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
|
|
159
|
+
* @summary Update stage details
|
|
160
|
+
* @param {number} id The ID of the stage
|
|
161
|
+
* @param {UpdateStageRequest} [UpdateStageRequest]
|
|
162
|
+
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
updateStageWithHttpInfo(id: number, UpdateStageRequest?: UpdateStageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertStageResponse>>>;
|
|
121
166
|
};
|
|
122
167
|
/**
|
|
123
168
|
* StagesApi - factory interface
|
|
@@ -132,6 +177,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
|
|
|
132
177
|
* @throws {RequiredError}
|
|
133
178
|
*/
|
|
134
179
|
addStage(requestParameters?: StagesApiAddStageRequest): Promise<UpsertStageResponse>;
|
|
180
|
+
addStageWithHttpInfo(requestParameters?: StagesApiAddStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
135
181
|
/**
|
|
136
182
|
* Marks a stage as deleted.
|
|
137
183
|
* @summary Delete a stage
|
|
@@ -140,6 +186,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
|
|
|
140
186
|
* @throws {RequiredError}
|
|
141
187
|
*/
|
|
142
188
|
deleteStage(requestParameters: StagesApiDeleteStageRequest): Promise<DeleteStageResponse>;
|
|
189
|
+
deleteStageWithHttpInfo(requestParameters: StagesApiDeleteStageRequest): Promise<ApiResponse<DeleteStageResponse>>;
|
|
143
190
|
/**
|
|
144
191
|
* Returns data about a specific stage.
|
|
145
192
|
* @summary Get one stage
|
|
@@ -148,6 +195,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
|
|
|
148
195
|
* @throws {RequiredError}
|
|
149
196
|
*/
|
|
150
197
|
getStage(requestParameters: StagesApiGetStageRequest): Promise<UpsertStageResponse>;
|
|
198
|
+
getStageWithHttpInfo(requestParameters: StagesApiGetStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
151
199
|
/**
|
|
152
200
|
* Returns data about all stages.
|
|
153
201
|
* @summary Get all stages
|
|
@@ -156,6 +204,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
|
|
|
156
204
|
* @throws {RequiredError}
|
|
157
205
|
*/
|
|
158
206
|
getStages(requestParameters?: StagesApiGetStagesRequest): Promise<GetStagesResponse>;
|
|
207
|
+
getStagesWithHttpInfo(requestParameters?: StagesApiGetStagesRequest): Promise<ApiResponse<GetStagesResponse>>;
|
|
159
208
|
/**
|
|
160
209
|
* Updates the properties of a stage.
|
|
161
210
|
* @summary Update stage details
|
|
@@ -164,6 +213,7 @@ export declare const StagesApiFactory: (configuration?: Configuration, basePath?
|
|
|
164
213
|
* @throws {RequiredError}
|
|
165
214
|
*/
|
|
166
215
|
updateStage(requestParameters: StagesApiUpdateStageRequest): Promise<UpsertStageResponse>;
|
|
216
|
+
updateStageWithHttpInfo(requestParameters: StagesApiUpdateStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
167
217
|
};
|
|
168
218
|
/**
|
|
169
219
|
* Request parameters for addStage operation in StagesApi.
|
|
@@ -276,6 +326,15 @@ export declare class StagesApi extends BaseAPI {
|
|
|
276
326
|
* @memberof StagesApi
|
|
277
327
|
*/
|
|
278
328
|
addStage(requestParameters?: StagesApiAddStageRequest): Promise<UpsertStageResponse>;
|
|
329
|
+
/**
|
|
330
|
+
* Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
|
|
331
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
332
|
+
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
|
333
|
+
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
* @memberof StagesApi
|
|
336
|
+
*/
|
|
337
|
+
addStageWithHttpInfo(requestParameters?: StagesApiAddStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
279
338
|
/**
|
|
280
339
|
* Marks a stage as deleted.
|
|
281
340
|
* @summary Delete a stage
|
|
@@ -285,6 +344,15 @@ export declare class StagesApi extends BaseAPI {
|
|
|
285
344
|
* @memberof StagesApi
|
|
286
345
|
*/
|
|
287
346
|
deleteStage(requestParameters: StagesApiDeleteStageRequest): Promise<DeleteStageResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
|
|
349
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
350
|
+
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
|
351
|
+
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof StagesApi
|
|
354
|
+
*/
|
|
355
|
+
deleteStageWithHttpInfo(requestParameters: StagesApiDeleteStageRequest): Promise<ApiResponse<DeleteStageResponse>>;
|
|
288
356
|
/**
|
|
289
357
|
* Returns data about a specific stage.
|
|
290
358
|
* @summary Get one stage
|
|
@@ -294,6 +362,15 @@ export declare class StagesApi extends BaseAPI {
|
|
|
294
362
|
* @memberof StagesApi
|
|
295
363
|
*/
|
|
296
364
|
getStage(requestParameters: StagesApiGetStageRequest): Promise<UpsertStageResponse>;
|
|
365
|
+
/**
|
|
366
|
+
* Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
|
|
367
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
368
|
+
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
|
369
|
+
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof StagesApi
|
|
372
|
+
*/
|
|
373
|
+
getStageWithHttpInfo(requestParameters: StagesApiGetStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
297
374
|
/**
|
|
298
375
|
* Returns data about all stages.
|
|
299
376
|
* @summary Get all stages
|
|
@@ -303,6 +380,15 @@ export declare class StagesApi extends BaseAPI {
|
|
|
303
380
|
* @memberof StagesApi
|
|
304
381
|
*/
|
|
305
382
|
getStages(requestParameters?: StagesApiGetStagesRequest): Promise<GetStagesResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
|
|
385
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
386
|
+
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
|
387
|
+
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
* @memberof StagesApi
|
|
390
|
+
*/
|
|
391
|
+
getStagesWithHttpInfo(requestParameters?: StagesApiGetStagesRequest): Promise<ApiResponse<GetStagesResponse>>;
|
|
306
392
|
/**
|
|
307
393
|
* Updates the properties of a stage.
|
|
308
394
|
* @summary Update stage details
|
|
@@ -312,4 +398,13 @@ export declare class StagesApi extends BaseAPI {
|
|
|
312
398
|
* @memberof StagesApi
|
|
313
399
|
*/
|
|
314
400
|
updateStage(requestParameters: StagesApiUpdateStageRequest): Promise<UpsertStageResponse>;
|
|
401
|
+
/**
|
|
402
|
+
* Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
|
|
403
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
404
|
+
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
|
405
|
+
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
* @memberof StagesApi
|
|
408
|
+
*/
|
|
409
|
+
updateStageWithHttpInfo(requestParameters: StagesApiUpdateStageRequest): Promise<ApiResponse<UpsertStageResponse>>;
|
|
315
410
|
}
|
|
@@ -242,6 +242,19 @@ export const StagesApiFp = function (configuration) {
|
|
|
242
242
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
243
243
|
});
|
|
244
244
|
},
|
|
245
|
+
/**
|
|
246
|
+
* Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
|
|
247
|
+
* @summary Add a new stage
|
|
248
|
+
* @param {AddStageRequest} [AddStageRequest]
|
|
249
|
+
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
addStageWithHttpInfo(AddStageRequest) {
|
|
253
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addStage(AddStageRequest);
|
|
255
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
256
|
+
});
|
|
257
|
+
},
|
|
245
258
|
/**
|
|
246
259
|
* Marks a stage as deleted.
|
|
247
260
|
* @summary Delete a stage
|
|
@@ -255,6 +268,19 @@ export const StagesApiFp = function (configuration) {
|
|
|
255
268
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
256
269
|
});
|
|
257
270
|
},
|
|
271
|
+
/**
|
|
272
|
+
* Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
|
|
273
|
+
* @summary Delete a stage
|
|
274
|
+
* @param {number} id The ID of the stage
|
|
275
|
+
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
deleteStageWithHttpInfo(id) {
|
|
279
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteStage(id);
|
|
281
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
282
|
+
});
|
|
283
|
+
},
|
|
258
284
|
/**
|
|
259
285
|
* Returns data about a specific stage.
|
|
260
286
|
* @summary Get one stage
|
|
@@ -268,6 +294,19 @@ export const StagesApiFp = function (configuration) {
|
|
|
268
294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
269
295
|
});
|
|
270
296
|
},
|
|
297
|
+
/**
|
|
298
|
+
* Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
|
|
299
|
+
* @summary Get one stage
|
|
300
|
+
* @param {number} id The ID of the stage
|
|
301
|
+
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
getStageWithHttpInfo(id) {
|
|
305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
306
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStage(id);
|
|
307
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
308
|
+
});
|
|
309
|
+
},
|
|
271
310
|
/**
|
|
272
311
|
* Returns data about all stages.
|
|
273
312
|
* @summary Get all stages
|
|
@@ -285,6 +324,23 @@ export const StagesApiFp = function (configuration) {
|
|
|
285
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
286
325
|
});
|
|
287
326
|
},
|
|
327
|
+
/**
|
|
328
|
+
* Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
|
|
329
|
+
* @summary Get all stages
|
|
330
|
+
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
|
331
|
+
* @param {'id' | 'update_time' | 'add_time' | 'order_nr'} [sort_by] The field to sort by. Supported fields: `id`, `update_time`, `add_time`, `order_nr`.
|
|
332
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
333
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
334
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
335
|
+
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
getStagesWithHttpInfo(pipeline_id, sort_by, sort_direction, limit, cursor) {
|
|
339
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
340
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getStages(pipeline_id, sort_by, sort_direction, limit, cursor);
|
|
341
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
342
|
+
});
|
|
343
|
+
},
|
|
288
344
|
/**
|
|
289
345
|
* Updates the properties of a stage.
|
|
290
346
|
* @summary Update stage details
|
|
@@ -299,6 +355,20 @@ export const StagesApiFp = function (configuration) {
|
|
|
299
355
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
356
|
});
|
|
301
357
|
},
|
|
358
|
+
/**
|
|
359
|
+
* Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
|
|
360
|
+
* @summary Update stage details
|
|
361
|
+
* @param {number} id The ID of the stage
|
|
362
|
+
* @param {UpdateStageRequest} [UpdateStageRequest]
|
|
363
|
+
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
updateStageWithHttpInfo(id, UpdateStageRequest) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateStage(id, UpdateStageRequest);
|
|
369
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
370
|
+
});
|
|
371
|
+
},
|
|
302
372
|
};
|
|
303
373
|
};
|
|
304
374
|
/**
|
|
@@ -318,6 +388,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
318
388
|
addStage(requestParameters = {}) {
|
|
319
389
|
return localVarFp.addStage(requestParameters.AddStageRequest).then((request) => request(axios, basePath));
|
|
320
390
|
},
|
|
391
|
+
addStageWithHttpInfo(requestParameters = {}) {
|
|
392
|
+
return localVarFp.addStageWithHttpInfo(requestParameters.AddStageRequest).then((request) => request(axios, basePath));
|
|
393
|
+
},
|
|
321
394
|
/**
|
|
322
395
|
* Marks a stage as deleted.
|
|
323
396
|
* @summary Delete a stage
|
|
@@ -328,6 +401,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
328
401
|
deleteStage(requestParameters) {
|
|
329
402
|
return localVarFp.deleteStage(requestParameters.id).then((request) => request(axios, basePath));
|
|
330
403
|
},
|
|
404
|
+
deleteStageWithHttpInfo(requestParameters) {
|
|
405
|
+
return localVarFp.deleteStageWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
406
|
+
},
|
|
331
407
|
/**
|
|
332
408
|
* Returns data about a specific stage.
|
|
333
409
|
* @summary Get one stage
|
|
@@ -338,6 +414,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
338
414
|
getStage(requestParameters) {
|
|
339
415
|
return localVarFp.getStage(requestParameters.id).then((request) => request(axios, basePath));
|
|
340
416
|
},
|
|
417
|
+
getStageWithHttpInfo(requestParameters) {
|
|
418
|
+
return localVarFp.getStageWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
419
|
+
},
|
|
341
420
|
/**
|
|
342
421
|
* Returns data about all stages.
|
|
343
422
|
* @summary Get all stages
|
|
@@ -348,6 +427,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
348
427
|
getStages(requestParameters = {}) {
|
|
349
428
|
return localVarFp.getStages(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
350
429
|
},
|
|
430
|
+
getStagesWithHttpInfo(requestParameters = {}) {
|
|
431
|
+
return localVarFp.getStagesWithHttpInfo(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
432
|
+
},
|
|
351
433
|
/**
|
|
352
434
|
* Updates the properties of a stage.
|
|
353
435
|
* @summary Update stage details
|
|
@@ -358,6 +440,9 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
|
358
440
|
updateStage(requestParameters) {
|
|
359
441
|
return localVarFp.updateStage(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(axios, basePath));
|
|
360
442
|
},
|
|
443
|
+
updateStageWithHttpInfo(requestParameters) {
|
|
444
|
+
return localVarFp.updateStageWithHttpInfo(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
361
446
|
};
|
|
362
447
|
};
|
|
363
448
|
/**
|
|
@@ -378,6 +463,17 @@ export class StagesApi extends BaseAPI {
|
|
|
378
463
|
addStage(requestParameters = {}) {
|
|
379
464
|
return StagesApiFp(this.configuration).addStage(requestParameters.AddStageRequest).then((request) => request(this.axios, this.basePath));
|
|
380
465
|
}
|
|
466
|
+
/**
|
|
467
|
+
* Same as `addStage`, but resolves with the response body together with the HTTP status and headers.
|
|
468
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
469
|
+
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
|
470
|
+
|
|
471
|
+
* @throws {RequiredError}
|
|
472
|
+
* @memberof StagesApi
|
|
473
|
+
*/
|
|
474
|
+
addStageWithHttpInfo(requestParameters = {}) {
|
|
475
|
+
return StagesApiFp(this.configuration).addStageWithHttpInfo(requestParameters.AddStageRequest).then((request) => request(this.axios, this.basePath));
|
|
476
|
+
}
|
|
381
477
|
/**
|
|
382
478
|
* Marks a stage as deleted.
|
|
383
479
|
* @summary Delete a stage
|
|
@@ -389,6 +485,17 @@ export class StagesApi extends BaseAPI {
|
|
|
389
485
|
deleteStage(requestParameters) {
|
|
390
486
|
return StagesApiFp(this.configuration).deleteStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
391
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* Same as `deleteStage`, but resolves with the response body together with the HTTP status and headers.
|
|
490
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
491
|
+
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
|
492
|
+
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
* @memberof StagesApi
|
|
495
|
+
*/
|
|
496
|
+
deleteStageWithHttpInfo(requestParameters) {
|
|
497
|
+
return StagesApiFp(this.configuration).deleteStageWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
498
|
+
}
|
|
392
499
|
/**
|
|
393
500
|
* Returns data about a specific stage.
|
|
394
501
|
* @summary Get one stage
|
|
@@ -400,6 +507,17 @@ export class StagesApi extends BaseAPI {
|
|
|
400
507
|
getStage(requestParameters) {
|
|
401
508
|
return StagesApiFp(this.configuration).getStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
402
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Same as `getStage`, but resolves with the response body together with the HTTP status and headers.
|
|
512
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
513
|
+
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
|
514
|
+
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
* @memberof StagesApi
|
|
517
|
+
*/
|
|
518
|
+
getStageWithHttpInfo(requestParameters) {
|
|
519
|
+
return StagesApiFp(this.configuration).getStageWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
520
|
+
}
|
|
403
521
|
/**
|
|
404
522
|
* Returns data about all stages.
|
|
405
523
|
* @summary Get all stages
|
|
@@ -411,6 +529,17 @@ export class StagesApi extends BaseAPI {
|
|
|
411
529
|
getStages(requestParameters = {}) {
|
|
412
530
|
return StagesApiFp(this.configuration).getStages(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
413
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* Same as `getStages`, but resolves with the response body together with the HTTP status and headers.
|
|
534
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
535
|
+
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
|
536
|
+
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
* @memberof StagesApi
|
|
539
|
+
*/
|
|
540
|
+
getStagesWithHttpInfo(requestParameters = {}) {
|
|
541
|
+
return StagesApiFp(this.configuration).getStagesWithHttpInfo(requestParameters.pipeline_id, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
542
|
+
}
|
|
414
543
|
/**
|
|
415
544
|
* Updates the properties of a stage.
|
|
416
545
|
* @summary Update stage details
|
|
@@ -422,4 +551,15 @@ export class StagesApi extends BaseAPI {
|
|
|
422
551
|
updateStage(requestParameters) {
|
|
423
552
|
return StagesApiFp(this.configuration).updateStage(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(this.axios, this.basePath));
|
|
424
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* Same as `updateStage`, but resolves with the response body together with the HTTP status and headers.
|
|
556
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
557
|
+
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
|
558
|
+
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
* @memberof StagesApi
|
|
561
|
+
*/
|
|
562
|
+
updateStageWithHttpInfo(requestParameters) {
|
|
563
|
+
return StagesApiFp(this.configuration).updateStageWithHttpInfo(requestParameters.id, requestParameters.UpdateStageRequest).then((request) => request(this.axios, this.basePath));
|
|
564
|
+
}
|
|
425
565
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { AddTaskRequest } from '../models';
|
|
16
16
|
import { AddTaskResponse } from '../models';
|
|
17
17
|
import { DeleteTaskResponse } from '../models';
|
|
@@ -85,6 +85,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
87
|
addTask(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddTaskResponse>>;
|
|
88
|
+
/**
|
|
89
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
90
|
+
* @summary Add a task
|
|
91
|
+
* @param {AddTaskRequest} AddTaskRequest
|
|
92
|
+
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
addTaskWithHttpInfo(AddTaskRequest: AddTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddTaskResponse>>>;
|
|
88
96
|
/**
|
|
89
97
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
90
98
|
* @summary Delete a task
|
|
@@ -93,6 +101,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
93
101
|
* @throws {RequiredError}
|
|
94
102
|
*/
|
|
95
103
|
deleteTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteTaskResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
106
|
+
* @summary Delete a task
|
|
107
|
+
* @param {number} id The ID of the task
|
|
108
|
+
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
deleteTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteTaskResponse>>>;
|
|
96
112
|
/**
|
|
97
113
|
* Returns the details of a specific task.
|
|
98
114
|
* @summary Get details of a task
|
|
@@ -101,6 +117,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
101
117
|
* @throws {RequiredError}
|
|
102
118
|
*/
|
|
103
119
|
getTask(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTaskResponse>>;
|
|
120
|
+
/**
|
|
121
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
122
|
+
* @summary Get details of a task
|
|
123
|
+
* @param {number} id The ID of the task
|
|
124
|
+
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
getTaskWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTaskResponse>>>;
|
|
104
128
|
/**
|
|
105
129
|
* Returns all tasks.
|
|
106
130
|
* @summary Get all tasks
|
|
@@ -115,6 +139,20 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
115
139
|
* @throws {RequiredError}
|
|
116
140
|
*/
|
|
117
141
|
getTasks(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTasksResponse>>;
|
|
142
|
+
/**
|
|
143
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
144
|
+
* @summary Get all tasks
|
|
145
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
146
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
147
|
+
* @param {boolean} [is_done] Whether the task is done or not. If omitted, both done and not done tasks are returned.
|
|
148
|
+
* @param {boolean} [is_milestone] Whether the task is a milestone or not. If omitted, both milestone and non-milestone tasks are returned.
|
|
149
|
+
* @param {number} [assignee_id] If supplied, only tasks assigned to this user are returned
|
|
150
|
+
* @param {number} [project_id] If supplied, only tasks belonging to this project are returned
|
|
151
|
+
* @param {string} [parent_task_id] If `null` is supplied, only root-level tasks (without a parent) are returned. If an integer is supplied, only subtasks of that specific task are returned. By default all tasks are returned.
|
|
152
|
+
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
getTasksWithHttpInfo(cursor?: string, limit?: number, is_done?: boolean, is_milestone?: boolean, assignee_id?: number, project_id?: number, parent_task_id?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetTasksResponse>>>;
|
|
118
156
|
/**
|
|
119
157
|
* Updates a task.
|
|
120
158
|
* @summary Update a task
|
|
@@ -124,6 +162,15 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
124
162
|
* @throws {RequiredError}
|
|
125
163
|
*/
|
|
126
164
|
updateTask(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateTaskResponse>>;
|
|
165
|
+
/**
|
|
166
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
167
|
+
* @summary Update a task
|
|
168
|
+
* @param {number} id The ID of the task
|
|
169
|
+
* @param {UpdateTaskRequest} [UpdateTaskRequest]
|
|
170
|
+
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
updateTaskWithHttpInfo(id: number, UpdateTaskRequest?: UpdateTaskRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateTaskResponse>>>;
|
|
127
174
|
};
|
|
128
175
|
/**
|
|
129
176
|
* TasksApi - factory interface
|
|
@@ -138,6 +185,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
138
185
|
* @throws {RequiredError}
|
|
139
186
|
*/
|
|
140
187
|
addTask(requestParameters: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
188
|
+
addTaskWithHttpInfo(requestParameters: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
141
189
|
/**
|
|
142
190
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
143
191
|
* @summary Delete a task
|
|
@@ -146,6 +194,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
146
194
|
* @throws {RequiredError}
|
|
147
195
|
*/
|
|
148
196
|
deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
197
|
+
deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
149
198
|
/**
|
|
150
199
|
* Returns the details of a specific task.
|
|
151
200
|
* @summary Get details of a task
|
|
@@ -154,6 +203,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
154
203
|
* @throws {RequiredError}
|
|
155
204
|
*/
|
|
156
205
|
getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
206
|
+
getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
157
207
|
/**
|
|
158
208
|
* Returns all tasks.
|
|
159
209
|
* @summary Get all tasks
|
|
@@ -162,6 +212,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
162
212
|
* @throws {RequiredError}
|
|
163
213
|
*/
|
|
164
214
|
getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
215
|
+
getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
165
216
|
/**
|
|
166
217
|
* Updates a task.
|
|
167
218
|
* @summary Update a task
|
|
@@ -170,6 +221,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
170
221
|
* @throws {RequiredError}
|
|
171
222
|
*/
|
|
172
223
|
updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
224
|
+
updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
173
225
|
};
|
|
174
226
|
/**
|
|
175
227
|
* Request parameters for addTask operation in TasksApi.
|
|
@@ -294,6 +346,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
294
346
|
* @memberof TasksApi
|
|
295
347
|
*/
|
|
296
348
|
addTask(requestParameters: TasksApiAddTaskRequest): Promise<AddTaskResponse>;
|
|
349
|
+
/**
|
|
350
|
+
* Same as `addTask`, but resolves with the response body together with the HTTP status and headers.
|
|
351
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
352
|
+
* @param {TasksApiAddTaskRequest} requestParameters Request parameters.
|
|
353
|
+
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof TasksApi
|
|
356
|
+
*/
|
|
357
|
+
addTaskWithHttpInfo(requestParameters: TasksApiAddTaskRequest): Promise<ApiResponse<AddTaskResponse>>;
|
|
297
358
|
/**
|
|
298
359
|
* Marks a task as deleted. If the task has subtasks, those will also be deleted.
|
|
299
360
|
* @summary Delete a task
|
|
@@ -303,6 +364,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
303
364
|
* @memberof TasksApi
|
|
304
365
|
*/
|
|
305
366
|
deleteTask(requestParameters: TasksApiDeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
367
|
+
/**
|
|
368
|
+
* Same as `deleteTask`, but resolves with the response body together with the HTTP status and headers.
|
|
369
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
370
|
+
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
371
|
+
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof TasksApi
|
|
374
|
+
*/
|
|
375
|
+
deleteTaskWithHttpInfo(requestParameters: TasksApiDeleteTaskRequest): Promise<ApiResponse<DeleteTaskResponse>>;
|
|
306
376
|
/**
|
|
307
377
|
* Returns the details of a specific task.
|
|
308
378
|
* @summary Get details of a task
|
|
@@ -312,6 +382,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
312
382
|
* @memberof TasksApi
|
|
313
383
|
*/
|
|
314
384
|
getTask(requestParameters: TasksApiGetTaskRequest): Promise<GetTaskResponse>;
|
|
385
|
+
/**
|
|
386
|
+
* Same as `getTask`, but resolves with the response body together with the HTTP status and headers.
|
|
387
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
388
|
+
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
389
|
+
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof TasksApi
|
|
392
|
+
*/
|
|
393
|
+
getTaskWithHttpInfo(requestParameters: TasksApiGetTaskRequest): Promise<ApiResponse<GetTaskResponse>>;
|
|
315
394
|
/**
|
|
316
395
|
* Returns all tasks.
|
|
317
396
|
* @summary Get all tasks
|
|
@@ -321,6 +400,15 @@ export declare class TasksApi extends BaseAPI {
|
|
|
321
400
|
* @memberof TasksApi
|
|
322
401
|
*/
|
|
323
402
|
getTasks(requestParameters?: TasksApiGetTasksRequest): Promise<GetTasksResponse>;
|
|
403
|
+
/**
|
|
404
|
+
* Same as `getTasks`, but resolves with the response body together with the HTTP status and headers.
|
|
405
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
406
|
+
* @param {TasksApiGetTasksRequest} requestParameters Request parameters.
|
|
407
|
+
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
* @memberof TasksApi
|
|
410
|
+
*/
|
|
411
|
+
getTasksWithHttpInfo(requestParameters?: TasksApiGetTasksRequest): Promise<ApiResponse<GetTasksResponse>>;
|
|
324
412
|
/**
|
|
325
413
|
* Updates a task.
|
|
326
414
|
* @summary Update a task
|
|
@@ -330,4 +418,13 @@ export declare class TasksApi extends BaseAPI {
|
|
|
330
418
|
* @memberof TasksApi
|
|
331
419
|
*/
|
|
332
420
|
updateTask(requestParameters: TasksApiUpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* Same as `updateTask`, but resolves with the response body together with the HTTP status and headers.
|
|
423
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
424
|
+
* @param {TasksApiUpdateTaskRequest} requestParameters Request parameters.
|
|
425
|
+
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof TasksApi
|
|
428
|
+
*/
|
|
429
|
+
updateTaskWithHttpInfo(requestParameters: TasksApiUpdateTaskRequest): Promise<ApiResponse<UpdateTaskResponse>>;
|
|
333
430
|
}
|