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
|
@@ -359,6 +359,19 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
359
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
360
360
|
});
|
|
361
361
|
},
|
|
362
|
+
/**
|
|
363
|
+
* Same as `addDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
364
|
+
* @summary Create one deal field
|
|
365
|
+
* @param {AddDealFieldRequest} AddDealFieldRequest
|
|
366
|
+
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
addDealFieldWithHttpInfo(AddDealFieldRequest) {
|
|
370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addDealField(AddDealFieldRequest);
|
|
372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
373
|
+
});
|
|
374
|
+
},
|
|
362
375
|
/**
|
|
363
376
|
* Adds new options to a deal custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
364
377
|
* @summary Add deal field options in bulk
|
|
@@ -373,6 +386,20 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
373
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
387
|
});
|
|
375
388
|
},
|
|
389
|
+
/**
|
|
390
|
+
* Same as `addDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
391
|
+
* @summary Add deal field options in bulk
|
|
392
|
+
* @param {string} field_code The unique code identifying the field
|
|
393
|
+
* @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
|
|
394
|
+
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
addDealFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
|
|
398
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addDealFieldOptions(field_code, AddDealFieldOptionsRequestInner);
|
|
400
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
401
|
+
});
|
|
402
|
+
},
|
|
376
403
|
/**
|
|
377
404
|
* Marks a custom field as deleted.
|
|
378
405
|
* @summary Delete one deal field
|
|
@@ -386,6 +413,19 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
386
413
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
414
|
});
|
|
388
415
|
},
|
|
416
|
+
/**
|
|
417
|
+
* Same as `deleteDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
418
|
+
* @summary Delete one deal field
|
|
419
|
+
* @param {string} field_code The unique code identifying the field
|
|
420
|
+
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
deleteDealFieldWithHttpInfo(field_code) {
|
|
424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
425
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDealField(field_code);
|
|
426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
427
|
+
});
|
|
428
|
+
},
|
|
389
429
|
/**
|
|
390
430
|
* Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
391
431
|
* @summary Delete deal field options in bulk
|
|
@@ -400,6 +440,20 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
400
440
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
401
441
|
});
|
|
402
442
|
},
|
|
443
|
+
/**
|
|
444
|
+
* Same as `deleteDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
445
|
+
* @summary Delete deal field options in bulk
|
|
446
|
+
* @param {string} field_code The unique code identifying the field
|
|
447
|
+
* @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
|
|
448
|
+
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
deleteDealFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
|
|
452
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
453
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDealFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
455
|
+
});
|
|
456
|
+
},
|
|
403
457
|
/**
|
|
404
458
|
* Returns metadata about a specific deal field.
|
|
405
459
|
* @summary Get one deal field
|
|
@@ -414,6 +468,20 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
414
468
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
469
|
});
|
|
416
470
|
},
|
|
471
|
+
/**
|
|
472
|
+
* Same as `getDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
473
|
+
* @summary Get one deal field
|
|
474
|
+
* @param {string} field_code The unique code identifying the field
|
|
475
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
476
|
+
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getDealFieldWithHttpInfo(field_code, include_fields) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
481
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealField(field_code, include_fields);
|
|
482
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
483
|
+
});
|
|
484
|
+
},
|
|
417
485
|
/**
|
|
418
486
|
* Returns metadata about all deal fields in the company.
|
|
419
487
|
* @summary Get all deal fields
|
|
@@ -429,6 +497,21 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
429
497
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
430
498
|
});
|
|
431
499
|
},
|
|
500
|
+
/**
|
|
501
|
+
* Same as `getDealFields`, but resolves with the response body together with the HTTP status and headers.
|
|
502
|
+
* @summary Get all deal fields
|
|
503
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
504
|
+
* @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.
|
|
505
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
506
|
+
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
getDealFieldsWithHttpInfo(include_fields, limit, cursor) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealFields(include_fields, limit, cursor);
|
|
512
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
513
|
+
});
|
|
514
|
+
},
|
|
432
515
|
/**
|
|
433
516
|
* Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
434
517
|
* @summary Update one deal field
|
|
@@ -443,6 +526,20 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
443
526
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
444
527
|
});
|
|
445
528
|
},
|
|
529
|
+
/**
|
|
530
|
+
* Same as `updateDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
531
|
+
* @summary Update one deal field
|
|
532
|
+
* @param {string} field_code The unique code identifying the field
|
|
533
|
+
* @param {UpdateDealFieldRequest} UpdateDealFieldRequest
|
|
534
|
+
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
updateDealFieldWithHttpInfo(field_code, UpdateDealFieldRequest) {
|
|
538
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
539
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDealField(field_code, UpdateDealFieldRequest);
|
|
540
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
541
|
+
});
|
|
542
|
+
},
|
|
446
543
|
/**
|
|
447
544
|
* Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
448
545
|
* @summary Update deal field options in bulk
|
|
@@ -457,6 +554,20 @@ export const DealFieldsApiFp = function (configuration) {
|
|
|
457
554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
458
555
|
});
|
|
459
556
|
},
|
|
557
|
+
/**
|
|
558
|
+
* Same as `updateDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
559
|
+
* @summary Update deal field options in bulk
|
|
560
|
+
* @param {string} field_code The unique code identifying the field
|
|
561
|
+
* @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
|
|
562
|
+
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
updateDealFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateDealFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
|
|
568
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
569
|
+
});
|
|
570
|
+
},
|
|
460
571
|
};
|
|
461
572
|
};
|
|
462
573
|
/**
|
|
@@ -476,6 +587,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
476
587
|
addDealField(requestParameters) {
|
|
477
588
|
return localVarFp.addDealField(requestParameters.AddDealFieldRequest).then((request) => request(axios, basePath));
|
|
478
589
|
},
|
|
590
|
+
addDealFieldWithHttpInfo(requestParameters) {
|
|
591
|
+
return localVarFp.addDealFieldWithHttpInfo(requestParameters.AddDealFieldRequest).then((request) => request(axios, basePath));
|
|
592
|
+
},
|
|
479
593
|
/**
|
|
480
594
|
* Adds new options to a deal custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
481
595
|
* @summary Add deal field options in bulk
|
|
@@ -486,6 +600,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
486
600
|
addDealFieldOptions(requestParameters) {
|
|
487
601
|
return localVarFp.addDealFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
488
602
|
},
|
|
603
|
+
addDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
604
|
+
return localVarFp.addDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
605
|
+
},
|
|
489
606
|
/**
|
|
490
607
|
* Marks a custom field as deleted.
|
|
491
608
|
* @summary Delete one deal field
|
|
@@ -496,6 +613,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
496
613
|
deleteDealField(requestParameters) {
|
|
497
614
|
return localVarFp.deleteDealField(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
498
615
|
},
|
|
616
|
+
deleteDealFieldWithHttpInfo(requestParameters) {
|
|
617
|
+
return localVarFp.deleteDealFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
618
|
+
},
|
|
499
619
|
/**
|
|
500
620
|
* Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
501
621
|
* @summary Delete deal field options in bulk
|
|
@@ -506,6 +626,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
506
626
|
deleteDealFieldOptions(requestParameters) {
|
|
507
627
|
return localVarFp.deleteDealFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
508
628
|
},
|
|
629
|
+
deleteDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
630
|
+
return localVarFp.deleteDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
631
|
+
},
|
|
509
632
|
/**
|
|
510
633
|
* Returns metadata about a specific deal field.
|
|
511
634
|
* @summary Get one deal field
|
|
@@ -516,6 +639,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
516
639
|
getDealField(requestParameters) {
|
|
517
640
|
return localVarFp.getDealField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
518
641
|
},
|
|
642
|
+
getDealFieldWithHttpInfo(requestParameters) {
|
|
643
|
+
return localVarFp.getDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
644
|
+
},
|
|
519
645
|
/**
|
|
520
646
|
* Returns metadata about all deal fields in the company.
|
|
521
647
|
* @summary Get all deal fields
|
|
@@ -526,6 +652,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
526
652
|
getDealFields(requestParameters = {}) {
|
|
527
653
|
return localVarFp.getDealFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
528
654
|
},
|
|
655
|
+
getDealFieldsWithHttpInfo(requestParameters = {}) {
|
|
656
|
+
return localVarFp.getDealFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
657
|
+
},
|
|
529
658
|
/**
|
|
530
659
|
* Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
531
660
|
* @summary Update one deal field
|
|
@@ -536,6 +665,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
536
665
|
updateDealField(requestParameters) {
|
|
537
666
|
return localVarFp.updateDealField(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(axios, basePath));
|
|
538
667
|
},
|
|
668
|
+
updateDealFieldWithHttpInfo(requestParameters) {
|
|
669
|
+
return localVarFp.updateDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(axios, basePath));
|
|
670
|
+
},
|
|
539
671
|
/**
|
|
540
672
|
* Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
541
673
|
* @summary Update deal field options in bulk
|
|
@@ -546,6 +678,9 @@ export const DealFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
546
678
|
updateDealFieldOptions(requestParameters) {
|
|
547
679
|
return localVarFp.updateDealFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
548
680
|
},
|
|
681
|
+
updateDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
682
|
+
return localVarFp.updateDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
683
|
+
},
|
|
549
684
|
};
|
|
550
685
|
};
|
|
551
686
|
/**
|
|
@@ -566,6 +701,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
566
701
|
addDealField(requestParameters) {
|
|
567
702
|
return DealFieldsApiFp(this.configuration).addDealField(requestParameters.AddDealFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
568
703
|
}
|
|
704
|
+
/**
|
|
705
|
+
* Same as `addDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
706
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
707
|
+
* @param {DealFieldsApiAddDealFieldRequest} requestParameters Request parameters.
|
|
708
|
+
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
* @memberof DealFieldsApi
|
|
711
|
+
*/
|
|
712
|
+
addDealFieldWithHttpInfo(requestParameters) {
|
|
713
|
+
return DealFieldsApiFp(this.configuration).addDealFieldWithHttpInfo(requestParameters.AddDealFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
714
|
+
}
|
|
569
715
|
/**
|
|
570
716
|
* Adds new options to a deal custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
571
717
|
* @summary Add deal field options in bulk
|
|
@@ -577,6 +723,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
577
723
|
addDealFieldOptions(requestParameters) {
|
|
578
724
|
return DealFieldsApiFp(this.configuration).addDealFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
579
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* Same as `addDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
728
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
729
|
+
* @param {DealFieldsApiAddDealFieldOptionsRequest} requestParameters Request parameters.
|
|
730
|
+
|
|
731
|
+
* @throws {RequiredError}
|
|
732
|
+
* @memberof DealFieldsApi
|
|
733
|
+
*/
|
|
734
|
+
addDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
735
|
+
return DealFieldsApiFp(this.configuration).addDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
736
|
+
}
|
|
580
737
|
/**
|
|
581
738
|
* Marks a custom field as deleted.
|
|
582
739
|
* @summary Delete one deal field
|
|
@@ -588,6 +745,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
588
745
|
deleteDealField(requestParameters) {
|
|
589
746
|
return DealFieldsApiFp(this.configuration).deleteDealField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
590
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* Same as `deleteDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
750
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
751
|
+
* @param {DealFieldsApiDeleteDealFieldRequest} requestParameters Request parameters.
|
|
752
|
+
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
* @memberof DealFieldsApi
|
|
755
|
+
*/
|
|
756
|
+
deleteDealFieldWithHttpInfo(requestParameters) {
|
|
757
|
+
return DealFieldsApiFp(this.configuration).deleteDealFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
758
|
+
}
|
|
591
759
|
/**
|
|
592
760
|
* Removes existing options from a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
593
761
|
* @summary Delete deal field options in bulk
|
|
@@ -599,6 +767,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
599
767
|
deleteDealFieldOptions(requestParameters) {
|
|
600
768
|
return DealFieldsApiFp(this.configuration).deleteDealFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
601
769
|
}
|
|
770
|
+
/**
|
|
771
|
+
* Same as `deleteDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
772
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
773
|
+
* @param {DealFieldsApiDeleteDealFieldOptionsRequest} requestParameters Request parameters.
|
|
774
|
+
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
* @memberof DealFieldsApi
|
|
777
|
+
*/
|
|
778
|
+
deleteDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
779
|
+
return DealFieldsApiFp(this.configuration).deleteDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
780
|
+
}
|
|
602
781
|
/**
|
|
603
782
|
* Returns metadata about a specific deal field.
|
|
604
783
|
* @summary Get one deal field
|
|
@@ -610,6 +789,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
610
789
|
getDealField(requestParameters) {
|
|
611
790
|
return DealFieldsApiFp(this.configuration).getDealField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
612
791
|
}
|
|
792
|
+
/**
|
|
793
|
+
* Same as `getDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
794
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
795
|
+
* @param {DealFieldsApiGetDealFieldRequest} requestParameters Request parameters.
|
|
796
|
+
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
* @memberof DealFieldsApi
|
|
799
|
+
*/
|
|
800
|
+
getDealFieldWithHttpInfo(requestParameters) {
|
|
801
|
+
return DealFieldsApiFp(this.configuration).getDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
802
|
+
}
|
|
613
803
|
/**
|
|
614
804
|
* Returns metadata about all deal fields in the company.
|
|
615
805
|
* @summary Get all deal fields
|
|
@@ -621,6 +811,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
621
811
|
getDealFields(requestParameters = {}) {
|
|
622
812
|
return DealFieldsApiFp(this.configuration).getDealFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
623
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* Same as `getDealFields`, but resolves with the response body together with the HTTP status and headers.
|
|
816
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
817
|
+
* @param {DealFieldsApiGetDealFieldsRequest} requestParameters Request parameters.
|
|
818
|
+
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
* @memberof DealFieldsApi
|
|
821
|
+
*/
|
|
822
|
+
getDealFieldsWithHttpInfo(requestParameters = {}) {
|
|
823
|
+
return DealFieldsApiFp(this.configuration).getDealFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
824
|
+
}
|
|
624
825
|
/**
|
|
625
826
|
* Updates a deal custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
626
827
|
* @summary Update one deal field
|
|
@@ -632,6 +833,17 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
632
833
|
updateDealField(requestParameters) {
|
|
633
834
|
return DealFieldsApiFp(this.configuration).updateDealField(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
634
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
* Same as `updateDealField`, but resolves with the response body together with the HTTP status and headers.
|
|
838
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
839
|
+
* @param {DealFieldsApiUpdateDealFieldRequest} requestParameters Request parameters.
|
|
840
|
+
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
* @memberof DealFieldsApi
|
|
843
|
+
*/
|
|
844
|
+
updateDealFieldWithHttpInfo(requestParameters) {
|
|
845
|
+
return DealFieldsApiFp(this.configuration).updateDealFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
846
|
+
}
|
|
635
847
|
/**
|
|
636
848
|
* Updates existing options for a deal custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
637
849
|
* @summary Update deal field options in bulk
|
|
@@ -643,4 +855,15 @@ export class DealFieldsApi extends BaseAPI {
|
|
|
643
855
|
updateDealFieldOptions(requestParameters) {
|
|
644
856
|
return DealFieldsApiFp(this.configuration).updateDealFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
645
857
|
}
|
|
858
|
+
/**
|
|
859
|
+
* Same as `updateDealFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
860
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
861
|
+
* @param {DealFieldsApiUpdateDealFieldOptionsRequest} requestParameters Request parameters.
|
|
862
|
+
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
* @memberof DealFieldsApi
|
|
865
|
+
*/
|
|
866
|
+
updateDealFieldOptionsWithHttpInfo(requestParameters) {
|
|
867
|
+
return DealFieldsApiFp(this.configuration).updateDealFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
868
|
+
}
|
|
646
869
|
}
|
|
@@ -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 { AddAInstallmentResponse } from '../models';
|
|
16
16
|
import { AddInstallmentRequestBody } from '../models';
|
|
17
17
|
import { DeleteInstallmentResponse } from '../models';
|
|
@@ -78,6 +78,15 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
|
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
80
|
deleteInstallment(id: number, installment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteInstallmentResponse>>;
|
|
81
|
+
/**
|
|
82
|
+
* Same as `deleteInstallment`, but resolves with the response body together with the HTTP status and headers.
|
|
83
|
+
* @summary Delete an installment from a deal
|
|
84
|
+
* @param {number} id The ID of the deal
|
|
85
|
+
* @param {number} installment_id The ID of the installment
|
|
86
|
+
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
deleteInstallmentWithHttpInfo(id: number, installment_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteInstallmentResponse>>>;
|
|
81
90
|
/**
|
|
82
91
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
|
83
92
|
* @summary List installments added to a list of deals
|
|
@@ -90,6 +99,18 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
|
|
|
90
99
|
* @throws {RequiredError}
|
|
91
100
|
*/
|
|
92
101
|
getInstallments(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'billing_date' | 'deal_id', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetInstallmentsResponse>>;
|
|
102
|
+
/**
|
|
103
|
+
* Same as `getInstallments`, but resolves with the response body together with the HTTP status and headers.
|
|
104
|
+
* @summary List installments added to a list of deals
|
|
105
|
+
* @param {Array<number>} deal_ids An array of integers with the IDs of the deals for which the attached installments will be returned. A maximum of 100 deal IDs can be provided.
|
|
106
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
107
|
+
* @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.
|
|
108
|
+
* @param {'id' | 'billing_date' | 'deal_id'} [sort_by] The field to sort by. Supported fields: `id`, `billing_date`, `deal_id`.
|
|
109
|
+
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
110
|
+
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
getInstallmentsWithHttpInfo(deal_ids: Array<number>, cursor?: string, limit?: number, sort_by?: 'id' | 'billing_date' | 'deal_id', sort_direction?: 'asc' | 'desc'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetInstallmentsResponse>>>;
|
|
93
114
|
/**
|
|
94
115
|
* Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
|
|
95
116
|
* @summary Add an installment to a deal
|
|
@@ -99,6 +120,15 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
|
|
|
99
120
|
* @throws {RequiredError}
|
|
100
121
|
*/
|
|
101
122
|
postInstallment(id: number, AddInstallmentRequestBody?: AddInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddAInstallmentResponse>>;
|
|
123
|
+
/**
|
|
124
|
+
* Same as `postInstallment`, but resolves with the response body together with the HTTP status and headers.
|
|
125
|
+
* @summary Add an installment to a deal
|
|
126
|
+
* @param {number} id The ID of the deal
|
|
127
|
+
* @param {AddInstallmentRequestBody} [AddInstallmentRequestBody]
|
|
128
|
+
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
postInstallmentWithHttpInfo(id: number, AddInstallmentRequestBody?: AddInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddAInstallmentResponse>>>;
|
|
102
132
|
/**
|
|
103
133
|
* Edits an installment added to a deal. Only available in Growth and above plans.
|
|
104
134
|
* @summary Update an installment added to a deal
|
|
@@ -109,6 +139,16 @@ export declare const DealInstallmentsApiFp: (configuration?: Configuration) => {
|
|
|
109
139
|
* @throws {RequiredError}
|
|
110
140
|
*/
|
|
111
141
|
updateInstallment(id: number, installment_id: number, UpdateInstallmentRequestBody?: UpdateInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateInstallmentResponse>>;
|
|
142
|
+
/**
|
|
143
|
+
* Same as `updateInstallment`, but resolves with the response body together with the HTTP status and headers.
|
|
144
|
+
* @summary Update an installment added to a deal
|
|
145
|
+
* @param {number} id The ID of the deal
|
|
146
|
+
* @param {number} installment_id The ID of the installment
|
|
147
|
+
* @param {UpdateInstallmentRequestBody} [UpdateInstallmentRequestBody]
|
|
148
|
+
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
updateInstallmentWithHttpInfo(id: number, installment_id: number, UpdateInstallmentRequestBody?: UpdateInstallmentRequestBody): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpdateInstallmentResponse>>>;
|
|
112
152
|
};
|
|
113
153
|
/**
|
|
114
154
|
* DealInstallmentsApi - factory interface
|
|
@@ -123,6 +163,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
|
|
|
123
163
|
* @throws {RequiredError}
|
|
124
164
|
*/
|
|
125
165
|
deleteInstallment(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<DeleteInstallmentResponse>;
|
|
166
|
+
deleteInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<ApiResponse<DeleteInstallmentResponse>>;
|
|
126
167
|
/**
|
|
127
168
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
|
128
169
|
* @summary List installments added to a list of deals
|
|
@@ -131,6 +172,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
|
|
|
131
172
|
* @throws {RequiredError}
|
|
132
173
|
*/
|
|
133
174
|
getInstallments(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<GetInstallmentsResponse>;
|
|
175
|
+
getInstallmentsWithHttpInfo(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<ApiResponse<GetInstallmentsResponse>>;
|
|
134
176
|
/**
|
|
135
177
|
* Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
|
|
136
178
|
* @summary Add an installment to a deal
|
|
@@ -139,6 +181,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
|
|
|
139
181
|
* @throws {RequiredError}
|
|
140
182
|
*/
|
|
141
183
|
postInstallment(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<AddAInstallmentResponse>;
|
|
184
|
+
postInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<ApiResponse<AddAInstallmentResponse>>;
|
|
142
185
|
/**
|
|
143
186
|
* Edits an installment added to a deal. Only available in Growth and above plans.
|
|
144
187
|
* @summary Update an installment added to a deal
|
|
@@ -147,6 +190,7 @@ export declare const DealInstallmentsApiFactory: (configuration?: Configuration,
|
|
|
147
190
|
* @throws {RequiredError}
|
|
148
191
|
*/
|
|
149
192
|
updateInstallment(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<UpdateInstallmentResponse>;
|
|
193
|
+
updateInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<ApiResponse<UpdateInstallmentResponse>>;
|
|
150
194
|
};
|
|
151
195
|
/**
|
|
152
196
|
* Request parameters for deleteInstallment operation in DealInstallmentsApi.
|
|
@@ -264,6 +308,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
|
|
|
264
308
|
* @memberof DealInstallmentsApi
|
|
265
309
|
*/
|
|
266
310
|
deleteInstallment(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<DeleteInstallmentResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* Same as `deleteInstallment`, but resolves with the response body together with the HTTP status and headers.
|
|
313
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
314
|
+
* @param {DealInstallmentsApiDeleteInstallmentRequest} requestParameters Request parameters.
|
|
315
|
+
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
* @memberof DealInstallmentsApi
|
|
318
|
+
*/
|
|
319
|
+
deleteInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiDeleteInstallmentRequest): Promise<ApiResponse<DeleteInstallmentResponse>>;
|
|
267
320
|
/**
|
|
268
321
|
* Lists installments attached to a list of deals. Only available in Growth and above plans.
|
|
269
322
|
* @summary List installments added to a list of deals
|
|
@@ -273,6 +326,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
|
|
|
273
326
|
* @memberof DealInstallmentsApi
|
|
274
327
|
*/
|
|
275
328
|
getInstallments(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<GetInstallmentsResponse>;
|
|
329
|
+
/**
|
|
330
|
+
* Same as `getInstallments`, 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 {DealInstallmentsApiGetInstallmentsRequest} requestParameters Request parameters.
|
|
333
|
+
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
* @memberof DealInstallmentsApi
|
|
336
|
+
*/
|
|
337
|
+
getInstallmentsWithHttpInfo(requestParameters: DealInstallmentsApiGetInstallmentsRequest): Promise<ApiResponse<GetInstallmentsResponse>>;
|
|
276
338
|
/**
|
|
277
339
|
* Adds an installment to a deal. An installment can only be added if the deal includes at least one one-time product. If the deal contains at least one recurring product, adding installments is not allowed. Only available in Growth and above plans.
|
|
278
340
|
* @summary Add an installment to a deal
|
|
@@ -282,6 +344,15 @@ export declare class DealInstallmentsApi extends BaseAPI {
|
|
|
282
344
|
* @memberof DealInstallmentsApi
|
|
283
345
|
*/
|
|
284
346
|
postInstallment(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<AddAInstallmentResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Same as `postInstallment`, 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 {DealInstallmentsApiPostInstallmentRequest} requestParameters Request parameters.
|
|
351
|
+
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof DealInstallmentsApi
|
|
354
|
+
*/
|
|
355
|
+
postInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiPostInstallmentRequest): Promise<ApiResponse<AddAInstallmentResponse>>;
|
|
285
356
|
/**
|
|
286
357
|
* Edits an installment added to a deal. Only available in Growth and above plans.
|
|
287
358
|
* @summary Update an installment added to a deal
|
|
@@ -291,4 +362,13 @@ export declare class DealInstallmentsApi extends BaseAPI {
|
|
|
291
362
|
* @memberof DealInstallmentsApi
|
|
292
363
|
*/
|
|
293
364
|
updateInstallment(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<UpdateInstallmentResponse>;
|
|
365
|
+
/**
|
|
366
|
+
* Same as `updateInstallment`, 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 {DealInstallmentsApiUpdateInstallmentRequest} requestParameters Request parameters.
|
|
369
|
+
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof DealInstallmentsApi
|
|
372
|
+
*/
|
|
373
|
+
updateInstallmentWithHttpInfo(requestParameters: DealInstallmentsApiUpdateInstallmentRequest): Promise<ApiResponse<UpdateInstallmentResponse>>;
|
|
294
374
|
}
|