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 ProductFieldsApiFp = function (configuration) {
|
|
|
359
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
360
360
|
});
|
|
361
361
|
},
|
|
362
|
+
/**
|
|
363
|
+
* Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
364
|
+
* @summary Create one product field
|
|
365
|
+
* @param {AddProductFieldRequest} AddProductFieldRequest
|
|
366
|
+
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
addProductFieldWithHttpInfo(AddProductFieldRequest) {
|
|
370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProductField(AddProductFieldRequest);
|
|
372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
373
|
+
});
|
|
374
|
+
},
|
|
362
375
|
/**
|
|
363
376
|
* Adds new options to a product 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 product field options in bulk
|
|
@@ -373,6 +386,20 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
373
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
387
|
});
|
|
375
388
|
},
|
|
389
|
+
/**
|
|
390
|
+
* Same as `addProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
391
|
+
* @summary Add product 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
|
+
addProductFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
|
|
398
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProductFieldOptions(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 product field
|
|
@@ -386,6 +413,19 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
386
413
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
414
|
});
|
|
388
415
|
},
|
|
416
|
+
/**
|
|
417
|
+
* Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
418
|
+
* @summary Delete one product field
|
|
419
|
+
* @param {string} field_code The unique code identifying the field
|
|
420
|
+
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
deleteProductFieldWithHttpInfo(field_code) {
|
|
424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
425
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductField(field_code);
|
|
426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
427
|
+
});
|
|
428
|
+
},
|
|
389
429
|
/**
|
|
390
430
|
* Removes existing options from a product 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 product field options in bulk
|
|
@@ -400,6 +440,20 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
400
440
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
401
441
|
});
|
|
402
442
|
},
|
|
443
|
+
/**
|
|
444
|
+
* Same as `deleteProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
445
|
+
* @summary Delete product 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
|
+
deleteProductFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
|
|
452
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
453
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProductFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
455
|
+
});
|
|
456
|
+
},
|
|
403
457
|
/**
|
|
404
458
|
* Returns metadata about a specific product field.
|
|
405
459
|
* @summary Get one product field
|
|
@@ -414,6 +468,20 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
414
468
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
469
|
});
|
|
416
470
|
},
|
|
471
|
+
/**
|
|
472
|
+
* Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
473
|
+
* @summary Get one product field
|
|
474
|
+
* @param {string} field_code The unique code identifying the field
|
|
475
|
+
* @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
476
|
+
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getProductFieldWithHttpInfo(field_code, include_fields) {
|
|
480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
481
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductField(field_code, include_fields);
|
|
482
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
483
|
+
});
|
|
484
|
+
},
|
|
417
485
|
/**
|
|
418
486
|
* Returns metadata about all product fields in the company.
|
|
419
487
|
* @summary Get all product fields
|
|
@@ -429,6 +497,21 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
429
497
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
430
498
|
});
|
|
431
499
|
},
|
|
500
|
+
/**
|
|
501
|
+
* Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
502
|
+
* @summary Get all product fields
|
|
503
|
+
* @param {Set<'ui_visibility'>} [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
|
+
getProductFieldsWithHttpInfo(include_fields, limit, cursor) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProductFields(include_fields, limit, cursor);
|
|
512
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
513
|
+
});
|
|
514
|
+
},
|
|
432
515
|
/**
|
|
433
516
|
* Updates a product 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 product field
|
|
@@ -443,6 +526,20 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
443
526
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
444
527
|
});
|
|
445
528
|
},
|
|
529
|
+
/**
|
|
530
|
+
* Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
531
|
+
* @summary Update one product field
|
|
532
|
+
* @param {string} field_code The unique code identifying the field
|
|
533
|
+
* @param {UpdateProductFieldRequest} UpdateProductFieldRequest
|
|
534
|
+
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
updateProductFieldWithHttpInfo(field_code, UpdateProductFieldRequest) {
|
|
538
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
539
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductField(field_code, UpdateProductFieldRequest);
|
|
540
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
541
|
+
});
|
|
542
|
+
},
|
|
446
543
|
/**
|
|
447
544
|
* Updates existing options for a product 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 product field options in bulk
|
|
@@ -457,6 +554,20 @@ export const ProductFieldsApiFp = function (configuration) {
|
|
|
457
554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
458
555
|
});
|
|
459
556
|
},
|
|
557
|
+
/**
|
|
558
|
+
* Same as `updateProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
559
|
+
* @summary Update product 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
|
+
updateProductFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductFieldOptions(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 ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
476
587
|
addProductField(requestParameters) {
|
|
477
588
|
return localVarFp.addProductField(requestParameters.AddProductFieldRequest).then((request) => request(axios, basePath));
|
|
478
589
|
},
|
|
590
|
+
addProductFieldWithHttpInfo(requestParameters) {
|
|
591
|
+
return localVarFp.addProductFieldWithHttpInfo(requestParameters.AddProductFieldRequest).then((request) => request(axios, basePath));
|
|
592
|
+
},
|
|
479
593
|
/**
|
|
480
594
|
* Adds new options to a product 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 product field options in bulk
|
|
@@ -486,6 +600,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
486
600
|
addProductFieldOptions(requestParameters) {
|
|
487
601
|
return localVarFp.addProductFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
488
602
|
},
|
|
603
|
+
addProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
604
|
+
return localVarFp.addProductFieldOptionsWithHttpInfo(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 product field
|
|
@@ -496,6 +613,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
496
613
|
deleteProductField(requestParameters) {
|
|
497
614
|
return localVarFp.deleteProductField(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
498
615
|
},
|
|
616
|
+
deleteProductFieldWithHttpInfo(requestParameters) {
|
|
617
|
+
return localVarFp.deleteProductFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
618
|
+
},
|
|
499
619
|
/**
|
|
500
620
|
* Removes existing options from a product 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 product field options in bulk
|
|
@@ -506,6 +626,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
506
626
|
deleteProductFieldOptions(requestParameters) {
|
|
507
627
|
return localVarFp.deleteProductFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
508
628
|
},
|
|
629
|
+
deleteProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
630
|
+
return localVarFp.deleteProductFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
631
|
+
},
|
|
509
632
|
/**
|
|
510
633
|
* Returns metadata about a specific product field.
|
|
511
634
|
* @summary Get one product field
|
|
@@ -516,6 +639,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
516
639
|
getProductField(requestParameters) {
|
|
517
640
|
return localVarFp.getProductField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
518
641
|
},
|
|
642
|
+
getProductFieldWithHttpInfo(requestParameters) {
|
|
643
|
+
return localVarFp.getProductFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
644
|
+
},
|
|
519
645
|
/**
|
|
520
646
|
* Returns metadata about all product fields in the company.
|
|
521
647
|
* @summary Get all product fields
|
|
@@ -526,6 +652,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
526
652
|
getProductFields(requestParameters = {}) {
|
|
527
653
|
return localVarFp.getProductFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
528
654
|
},
|
|
655
|
+
getProductFieldsWithHttpInfo(requestParameters = {}) {
|
|
656
|
+
return localVarFp.getProductFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
657
|
+
},
|
|
529
658
|
/**
|
|
530
659
|
* Updates a product 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 product field
|
|
@@ -536,6 +665,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
536
665
|
updateProductField(requestParameters) {
|
|
537
666
|
return localVarFp.updateProductField(requestParameters.field_code, requestParameters.UpdateProductFieldRequest).then((request) => request(axios, basePath));
|
|
538
667
|
},
|
|
668
|
+
updateProductFieldWithHttpInfo(requestParameters) {
|
|
669
|
+
return localVarFp.updateProductFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProductFieldRequest).then((request) => request(axios, basePath));
|
|
670
|
+
},
|
|
539
671
|
/**
|
|
540
672
|
* Updates existing options for a product 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 product field options in bulk
|
|
@@ -546,6 +678,9 @@ export const ProductFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
546
678
|
updateProductFieldOptions(requestParameters) {
|
|
547
679
|
return localVarFp.updateProductFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
548
680
|
},
|
|
681
|
+
updateProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
682
|
+
return localVarFp.updateProductFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
683
|
+
},
|
|
549
684
|
};
|
|
550
685
|
};
|
|
551
686
|
/**
|
|
@@ -566,6 +701,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
566
701
|
addProductField(requestParameters) {
|
|
567
702
|
return ProductFieldsApiFp(this.configuration).addProductField(requestParameters.AddProductFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
568
703
|
}
|
|
704
|
+
/**
|
|
705
|
+
* Same as `addProductField`, 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 {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
|
|
708
|
+
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
* @memberof ProductFieldsApi
|
|
711
|
+
*/
|
|
712
|
+
addProductFieldWithHttpInfo(requestParameters) {
|
|
713
|
+
return ProductFieldsApiFp(this.configuration).addProductFieldWithHttpInfo(requestParameters.AddProductFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
714
|
+
}
|
|
569
715
|
/**
|
|
570
716
|
* Adds new options to a product 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 product field options in bulk
|
|
@@ -577,6 +723,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
577
723
|
addProductFieldOptions(requestParameters) {
|
|
578
724
|
return ProductFieldsApiFp(this.configuration).addProductFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
579
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* Same as `addProductFieldOptions`, 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 {ProductFieldsApiAddProductFieldOptionsRequest} requestParameters Request parameters.
|
|
730
|
+
|
|
731
|
+
* @throws {RequiredError}
|
|
732
|
+
* @memberof ProductFieldsApi
|
|
733
|
+
*/
|
|
734
|
+
addProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
735
|
+
return ProductFieldsApiFp(this.configuration).addProductFieldOptionsWithHttpInfo(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 product field
|
|
@@ -588,6 +745,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
588
745
|
deleteProductField(requestParameters) {
|
|
589
746
|
return ProductFieldsApiFp(this.configuration).deleteProductField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
590
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* Same as `deleteProductField`, 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 {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
|
|
752
|
+
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
* @memberof ProductFieldsApi
|
|
755
|
+
*/
|
|
756
|
+
deleteProductFieldWithHttpInfo(requestParameters) {
|
|
757
|
+
return ProductFieldsApiFp(this.configuration).deleteProductFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
758
|
+
}
|
|
591
759
|
/**
|
|
592
760
|
* Removes existing options from a product 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 product field options in bulk
|
|
@@ -599,6 +767,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
599
767
|
deleteProductFieldOptions(requestParameters) {
|
|
600
768
|
return ProductFieldsApiFp(this.configuration).deleteProductFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
601
769
|
}
|
|
770
|
+
/**
|
|
771
|
+
* Same as `deleteProductFieldOptions`, 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 {ProductFieldsApiDeleteProductFieldOptionsRequest} requestParameters Request parameters.
|
|
774
|
+
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
* @memberof ProductFieldsApi
|
|
777
|
+
*/
|
|
778
|
+
deleteProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
779
|
+
return ProductFieldsApiFp(this.configuration).deleteProductFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
780
|
+
}
|
|
602
781
|
/**
|
|
603
782
|
* Returns metadata about a specific product field.
|
|
604
783
|
* @summary Get one product field
|
|
@@ -610,6 +789,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
610
789
|
getProductField(requestParameters) {
|
|
611
790
|
return ProductFieldsApiFp(this.configuration).getProductField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
612
791
|
}
|
|
792
|
+
/**
|
|
793
|
+
* Same as `getProductField`, 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 {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
796
|
+
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
* @memberof ProductFieldsApi
|
|
799
|
+
*/
|
|
800
|
+
getProductFieldWithHttpInfo(requestParameters) {
|
|
801
|
+
return ProductFieldsApiFp(this.configuration).getProductFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
802
|
+
}
|
|
613
803
|
/**
|
|
614
804
|
* Returns metadata about all product fields in the company.
|
|
615
805
|
* @summary Get all product fields
|
|
@@ -621,6 +811,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
621
811
|
getProductFields(requestParameters = {}) {
|
|
622
812
|
return ProductFieldsApiFp(this.configuration).getProductFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
623
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* Same as `getProductFields`, 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 {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
|
|
818
|
+
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
* @memberof ProductFieldsApi
|
|
821
|
+
*/
|
|
822
|
+
getProductFieldsWithHttpInfo(requestParameters = {}) {
|
|
823
|
+
return ProductFieldsApiFp(this.configuration).getProductFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
824
|
+
}
|
|
624
825
|
/**
|
|
625
826
|
* Updates a product 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 product field
|
|
@@ -632,6 +833,17 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
632
833
|
updateProductField(requestParameters) {
|
|
633
834
|
return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.field_code, requestParameters.UpdateProductFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
634
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
* Same as `updateProductField`, 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 {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
|
|
840
|
+
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
* @memberof ProductFieldsApi
|
|
843
|
+
*/
|
|
844
|
+
updateProductFieldWithHttpInfo(requestParameters) {
|
|
845
|
+
return ProductFieldsApiFp(this.configuration).updateProductFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProductFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
846
|
+
}
|
|
635
847
|
/**
|
|
636
848
|
* Updates existing options for a product 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 product field options in bulk
|
|
@@ -643,4 +855,15 @@ export class ProductFieldsApi extends BaseAPI {
|
|
|
643
855
|
updateProductFieldOptions(requestParameters) {
|
|
644
856
|
return ProductFieldsApiFp(this.configuration).updateProductFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
645
857
|
}
|
|
858
|
+
/**
|
|
859
|
+
* Same as `updateProductFieldOptions`, 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 {ProductFieldsApiUpdateProductFieldOptionsRequest} requestParameters Request parameters.
|
|
862
|
+
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
* @memberof ProductFieldsApi
|
|
865
|
+
*/
|
|
866
|
+
updateProductFieldOptionsWithHttpInfo(requestParameters) {
|
|
867
|
+
return ProductFieldsApiFp(this.configuration).updateProductFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
868
|
+
}
|
|
646
869
|
}
|