pipedrive 36.0.1 → 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/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/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/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/package.json +1 -1
|
@@ -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 { AddDealFieldOptions200Response } from '../models';
|
|
16
16
|
import { AddDealFieldOptionsRequestInner } from '../models';
|
|
17
17
|
import { AddProductField200Response } from '../models';
|
|
@@ -111,6 +111,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
113
|
addProductField(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
114
|
+
/**
|
|
115
|
+
* Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
116
|
+
* @summary Create one product field
|
|
117
|
+
* @param {AddProductFieldRequest} AddProductFieldRequest
|
|
118
|
+
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
addProductFieldWithHttpInfo(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProductField200Response>>>;
|
|
114
122
|
/**
|
|
115
123
|
* 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.
|
|
116
124
|
* @summary Add product field options in bulk
|
|
@@ -120,6 +128,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
120
128
|
* @throws {RequiredError}
|
|
121
129
|
*/
|
|
122
130
|
addProductFieldOptions(field_code: string, AddDealFieldOptionsRequestInner: AddDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
131
|
+
/**
|
|
132
|
+
* Same as `addProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
133
|
+
* @summary Add product field options in bulk
|
|
134
|
+
* @param {string} field_code The unique code identifying the field
|
|
135
|
+
* @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
|
|
136
|
+
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
addProductFieldOptionsWithHttpInfo(field_code: string, AddDealFieldOptionsRequestInner: AddDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
123
140
|
/**
|
|
124
141
|
* Marks a custom field as deleted.
|
|
125
142
|
* @summary Delete one product field
|
|
@@ -128,6 +145,14 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
128
145
|
* @throws {RequiredError}
|
|
129
146
|
*/
|
|
130
147
|
deleteProductField(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePersonField200Response>>;
|
|
148
|
+
/**
|
|
149
|
+
* Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
150
|
+
* @summary Delete one product field
|
|
151
|
+
* @param {string} field_code The unique code identifying the field
|
|
152
|
+
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
deleteProductFieldWithHttpInfo(field_code: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeletePersonField200Response>>>;
|
|
131
156
|
/**
|
|
132
157
|
* 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.
|
|
133
158
|
* @summary Delete product field options in bulk
|
|
@@ -137,6 +162,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
137
162
|
* @throws {RequiredError}
|
|
138
163
|
*/
|
|
139
164
|
deleteProductFieldOptions(field_code: string, DeleteDealFieldOptionsRequestInner: DeleteDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
165
|
+
/**
|
|
166
|
+
* Same as `deleteProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
167
|
+
* @summary Delete product field options in bulk
|
|
168
|
+
* @param {string} field_code The unique code identifying the field
|
|
169
|
+
* @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
|
|
170
|
+
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
deleteProductFieldOptionsWithHttpInfo(field_code: string, DeleteDealFieldOptionsRequestInner: DeleteDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
140
174
|
/**
|
|
141
175
|
* Returns metadata about a specific product field.
|
|
142
176
|
* @summary Get one product field
|
|
@@ -146,6 +180,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
146
180
|
* @throws {RequiredError}
|
|
147
181
|
*/
|
|
148
182
|
getProductField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
183
|
+
/**
|
|
184
|
+
* Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
185
|
+
* @summary Get one product field
|
|
186
|
+
* @param {string} field_code The unique code identifying the field
|
|
187
|
+
* @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
188
|
+
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
getProductFieldWithHttpInfo(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProductField200Response>>>;
|
|
149
192
|
/**
|
|
150
193
|
* Returns metadata about all product fields in the company.
|
|
151
194
|
* @summary Get all product fields
|
|
@@ -156,6 +199,16 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
156
199
|
* @throws {RequiredError}
|
|
157
200
|
*/
|
|
158
201
|
getProductFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFields200Response>>;
|
|
202
|
+
/**
|
|
203
|
+
* Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
204
|
+
* @summary Get all product fields
|
|
205
|
+
* @param {Set<'ui_visibility'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
206
|
+
* @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.
|
|
207
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
208
|
+
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
getProductFieldsWithHttpInfo(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProductFields200Response>>>;
|
|
159
212
|
/**
|
|
160
213
|
* 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.
|
|
161
214
|
* @summary Update one product field
|
|
@@ -165,6 +218,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
165
218
|
* @throws {RequiredError}
|
|
166
219
|
*/
|
|
167
220
|
updateProductField(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
221
|
+
/**
|
|
222
|
+
* Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
223
|
+
* @summary Update one product field
|
|
224
|
+
* @param {string} field_code The unique code identifying the field
|
|
225
|
+
* @param {UpdateProductFieldRequest} UpdateProductFieldRequest
|
|
226
|
+
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
updateProductFieldWithHttpInfo(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddProductField200Response>>>;
|
|
168
230
|
/**
|
|
169
231
|
* 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.
|
|
170
232
|
* @summary Update product field options in bulk
|
|
@@ -174,6 +236,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
174
236
|
* @throws {RequiredError}
|
|
175
237
|
*/
|
|
176
238
|
updateProductFieldOptions(field_code: string, UpdateDealFieldOptionsRequestInner: UpdateDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddDealFieldOptions200Response>>;
|
|
239
|
+
/**
|
|
240
|
+
* Same as `updateProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
241
|
+
* @summary Update product field options in bulk
|
|
242
|
+
* @param {string} field_code The unique code identifying the field
|
|
243
|
+
* @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
|
|
244
|
+
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
updateProductFieldOptionsWithHttpInfo(field_code: string, UpdateDealFieldOptionsRequestInner: UpdateDealFieldOptionsRequestInner[]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddDealFieldOptions200Response>>>;
|
|
177
248
|
};
|
|
178
249
|
/**
|
|
179
250
|
* ProductFieldsApi - factory interface
|
|
@@ -188,6 +259,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
188
259
|
* @throws {RequiredError}
|
|
189
260
|
*/
|
|
190
261
|
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
262
|
+
addProductFieldWithHttpInfo(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
191
263
|
/**
|
|
192
264
|
* 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.
|
|
193
265
|
* @summary Add product field options in bulk
|
|
@@ -196,6 +268,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
196
268
|
* @throws {RequiredError}
|
|
197
269
|
*/
|
|
198
270
|
addProductFieldOptions(requestParameters: ProductFieldsApiAddProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
271
|
+
addProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiAddProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
199
272
|
/**
|
|
200
273
|
* Marks a custom field as deleted.
|
|
201
274
|
* @summary Delete one product field
|
|
@@ -204,6 +277,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
204
277
|
* @throws {RequiredError}
|
|
205
278
|
*/
|
|
206
279
|
deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeletePersonField200Response>;
|
|
280
|
+
deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeletePersonField200Response>>;
|
|
207
281
|
/**
|
|
208
282
|
* 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.
|
|
209
283
|
* @summary Delete product field options in bulk
|
|
@@ -212,6 +286,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
212
286
|
* @throws {RequiredError}
|
|
213
287
|
*/
|
|
214
288
|
deleteProductFieldOptions(requestParameters: ProductFieldsApiDeleteProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
289
|
+
deleteProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
215
290
|
/**
|
|
216
291
|
* Returns metadata about a specific product field.
|
|
217
292
|
* @summary Get one product field
|
|
@@ -220,6 +295,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
220
295
|
* @throws {RequiredError}
|
|
221
296
|
*/
|
|
222
297
|
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
298
|
+
getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
223
299
|
/**
|
|
224
300
|
* Returns metadata about all product fields in the company.
|
|
225
301
|
* @summary Get all product fields
|
|
@@ -228,6 +304,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
228
304
|
* @throws {RequiredError}
|
|
229
305
|
*/
|
|
230
306
|
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
307
|
+
getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFields200Response>>;
|
|
231
308
|
/**
|
|
232
309
|
* 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.
|
|
233
310
|
* @summary Update one product field
|
|
@@ -236,6 +313,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
236
313
|
* @throws {RequiredError}
|
|
237
314
|
*/
|
|
238
315
|
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
316
|
+
updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
239
317
|
/**
|
|
240
318
|
* 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.
|
|
241
319
|
* @summary Update product field options in bulk
|
|
@@ -244,6 +322,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
244
322
|
* @throws {RequiredError}
|
|
245
323
|
*/
|
|
246
324
|
updateProductFieldOptions(requestParameters: ProductFieldsApiUpdateProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
325
|
+
updateProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
247
326
|
};
|
|
248
327
|
/**
|
|
249
328
|
* Request parameters for addProductField operation in ProductFieldsApi.
|
|
@@ -407,6 +486,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
407
486
|
* @memberof ProductFieldsApi
|
|
408
487
|
*/
|
|
409
488
|
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
489
|
+
/**
|
|
490
|
+
* Same as `addProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
491
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
492
|
+
* @param {ProductFieldsApiAddProductFieldRequest} requestParameters Request parameters.
|
|
493
|
+
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
* @memberof ProductFieldsApi
|
|
496
|
+
*/
|
|
497
|
+
addProductFieldWithHttpInfo(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
410
498
|
/**
|
|
411
499
|
* 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.
|
|
412
500
|
* @summary Add product field options in bulk
|
|
@@ -416,6 +504,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
416
504
|
* @memberof ProductFieldsApi
|
|
417
505
|
*/
|
|
418
506
|
addProductFieldOptions(requestParameters: ProductFieldsApiAddProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
507
|
+
/**
|
|
508
|
+
* Same as `addProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
509
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
510
|
+
* @param {ProductFieldsApiAddProductFieldOptionsRequest} requestParameters Request parameters.
|
|
511
|
+
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
* @memberof ProductFieldsApi
|
|
514
|
+
*/
|
|
515
|
+
addProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiAddProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
419
516
|
/**
|
|
420
517
|
* Marks a custom field as deleted.
|
|
421
518
|
* @summary Delete one product field
|
|
@@ -425,6 +522,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
425
522
|
* @memberof ProductFieldsApi
|
|
426
523
|
*/
|
|
427
524
|
deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<DeletePersonField200Response>;
|
|
525
|
+
/**
|
|
526
|
+
* Same as `deleteProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
527
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
528
|
+
* @param {ProductFieldsApiDeleteProductFieldRequest} requestParameters Request parameters.
|
|
529
|
+
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
* @memberof ProductFieldsApi
|
|
532
|
+
*/
|
|
533
|
+
deleteProductFieldWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldRequest): Promise<ApiResponse<DeletePersonField200Response>>;
|
|
428
534
|
/**
|
|
429
535
|
* 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.
|
|
430
536
|
* @summary Delete product field options in bulk
|
|
@@ -434,6 +540,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
434
540
|
* @memberof ProductFieldsApi
|
|
435
541
|
*/
|
|
436
542
|
deleteProductFieldOptions(requestParameters: ProductFieldsApiDeleteProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
543
|
+
/**
|
|
544
|
+
* Same as `deleteProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
545
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
546
|
+
* @param {ProductFieldsApiDeleteProductFieldOptionsRequest} requestParameters Request parameters.
|
|
547
|
+
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
* @memberof ProductFieldsApi
|
|
550
|
+
*/
|
|
551
|
+
deleteProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiDeleteProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
437
552
|
/**
|
|
438
553
|
* Returns metadata about a specific product field.
|
|
439
554
|
* @summary Get one product field
|
|
@@ -443,6 +558,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
443
558
|
* @memberof ProductFieldsApi
|
|
444
559
|
*/
|
|
445
560
|
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
561
|
+
/**
|
|
562
|
+
* Same as `getProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
563
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
564
|
+
* @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
565
|
+
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
* @memberof ProductFieldsApi
|
|
568
|
+
*/
|
|
569
|
+
getProductFieldWithHttpInfo(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
446
570
|
/**
|
|
447
571
|
* Returns metadata about all product fields in the company.
|
|
448
572
|
* @summary Get all product fields
|
|
@@ -452,6 +576,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
452
576
|
* @memberof ProductFieldsApi
|
|
453
577
|
*/
|
|
454
578
|
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
579
|
+
/**
|
|
580
|
+
* Same as `getProductFields`, but resolves with the response body together with the HTTP status and headers.
|
|
581
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
582
|
+
* @param {ProductFieldsApiGetProductFieldsRequest} requestParameters Request parameters.
|
|
583
|
+
|
|
584
|
+
* @throws {RequiredError}
|
|
585
|
+
* @memberof ProductFieldsApi
|
|
586
|
+
*/
|
|
587
|
+
getProductFieldsWithHttpInfo(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<ApiResponse<GetProductFields200Response>>;
|
|
455
588
|
/**
|
|
456
589
|
* 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.
|
|
457
590
|
* @summary Update one product field
|
|
@@ -461,6 +594,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
461
594
|
* @memberof ProductFieldsApi
|
|
462
595
|
*/
|
|
463
596
|
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
597
|
+
/**
|
|
598
|
+
* Same as `updateProductField`, but resolves with the response body together with the HTTP status and headers.
|
|
599
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
600
|
+
* @param {ProductFieldsApiUpdateProductFieldRequest} requestParameters Request parameters.
|
|
601
|
+
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
* @memberof ProductFieldsApi
|
|
604
|
+
*/
|
|
605
|
+
updateProductFieldWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<ApiResponse<AddProductField200Response>>;
|
|
464
606
|
/**
|
|
465
607
|
* 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.
|
|
466
608
|
* @summary Update product field options in bulk
|
|
@@ -470,4 +612,13 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
470
612
|
* @memberof ProductFieldsApi
|
|
471
613
|
*/
|
|
472
614
|
updateProductFieldOptions(requestParameters: ProductFieldsApiUpdateProductFieldOptionsRequest): Promise<AddDealFieldOptions200Response>;
|
|
615
|
+
/**
|
|
616
|
+
* Same as `updateProductFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
617
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
618
|
+
* @param {ProductFieldsApiUpdateProductFieldOptionsRequest} requestParameters Request parameters.
|
|
619
|
+
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
* @memberof ProductFieldsApi
|
|
622
|
+
*/
|
|
623
|
+
updateProductFieldOptionsWithHttpInfo(requestParameters: ProductFieldsApiUpdateProductFieldOptionsRequest): Promise<ApiResponse<AddDealFieldOptions200Response>>;
|
|
473
624
|
}
|