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
|
@@ -366,6 +366,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
366
366
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
367
367
|
});
|
|
368
368
|
},
|
|
369
|
+
/**
|
|
370
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
371
|
+
* @summary Create one person field
|
|
372
|
+
* @param {AddPersonFieldRequest} AddPersonFieldRequest
|
|
373
|
+
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
addPersonFieldWithHttpInfo(AddPersonFieldRequest) {
|
|
377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonField(AddPersonFieldRequest);
|
|
379
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
380
|
+
});
|
|
381
|
+
},
|
|
369
382
|
/**
|
|
370
383
|
* Adds new options to a person 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.
|
|
371
384
|
* @summary Add person field options in bulk
|
|
@@ -380,6 +393,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
380
393
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
381
394
|
});
|
|
382
395
|
},
|
|
396
|
+
/**
|
|
397
|
+
* Same as `addPersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
398
|
+
* @summary Add person field options in bulk
|
|
399
|
+
* @param {string} field_code The unique code identifying the field
|
|
400
|
+
* @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
|
|
401
|
+
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
addPersonFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
|
|
405
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
406
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonFieldOptions(field_code, AddDealFieldOptionsRequestInner);
|
|
407
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
408
|
+
});
|
|
409
|
+
},
|
|
383
410
|
/**
|
|
384
411
|
* Marks a custom field as deleted.
|
|
385
412
|
* @summary Delete one person field
|
|
@@ -393,6 +420,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
393
420
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
394
421
|
});
|
|
395
422
|
},
|
|
423
|
+
/**
|
|
424
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
425
|
+
* @summary Delete one person field
|
|
426
|
+
* @param {string} field_code The unique code identifying the field
|
|
427
|
+
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
deletePersonFieldWithHttpInfo(field_code) {
|
|
431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
432
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonField(field_code);
|
|
433
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
434
|
+
});
|
|
435
|
+
},
|
|
396
436
|
/**
|
|
397
437
|
* Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
398
438
|
* @summary Delete person field options in bulk
|
|
@@ -407,6 +447,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
407
447
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
408
448
|
});
|
|
409
449
|
},
|
|
450
|
+
/**
|
|
451
|
+
* Same as `deletePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
452
|
+
* @summary Delete person field options in bulk
|
|
453
|
+
* @param {string} field_code The unique code identifying the field
|
|
454
|
+
* @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
|
|
455
|
+
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
deletePersonFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
|
|
459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
460
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
|
|
461
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
462
|
+
});
|
|
463
|
+
},
|
|
410
464
|
/**
|
|
411
465
|
* Returns metadata about a specific person field.
|
|
412
466
|
* @summary Get one person field
|
|
@@ -421,6 +475,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
421
475
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
422
476
|
});
|
|
423
477
|
},
|
|
478
|
+
/**
|
|
479
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
480
|
+
* @summary Get one person field
|
|
481
|
+
* @param {string} field_code The unique code identifying the field
|
|
482
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
483
|
+
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
getPersonFieldWithHttpInfo(field_code, include_fields) {
|
|
487
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
488
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonField(field_code, include_fields);
|
|
489
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
490
|
+
});
|
|
491
|
+
},
|
|
424
492
|
/**
|
|
425
493
|
* Returns metadata about all person fields in the company.
|
|
426
494
|
* @summary Get all person fields
|
|
@@ -436,6 +504,21 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
436
504
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
437
505
|
});
|
|
438
506
|
},
|
|
507
|
+
/**
|
|
508
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
509
|
+
* @summary Get all person fields
|
|
510
|
+
* @param {Set<'ui_visibility' | 'important_fields' | 'required_fields'>} [include_fields] Optional comma separated string array of additional data namespaces to include in response
|
|
511
|
+
* @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.
|
|
512
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
513
|
+
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
*/
|
|
516
|
+
getPersonFieldsWithHttpInfo(include_fields, limit, cursor) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFields(include_fields, limit, cursor);
|
|
519
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
520
|
+
});
|
|
521
|
+
},
|
|
439
522
|
/**
|
|
440
523
|
* Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
441
524
|
* @summary Update one person field
|
|
@@ -450,6 +533,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
450
533
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
451
534
|
});
|
|
452
535
|
},
|
|
536
|
+
/**
|
|
537
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
538
|
+
* @summary Update one person field
|
|
539
|
+
* @param {string} field_code The unique code identifying the field
|
|
540
|
+
* @param {UpdatePersonFieldRequest} UpdatePersonFieldRequest
|
|
541
|
+
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
updatePersonFieldWithHttpInfo(field_code, UpdatePersonFieldRequest) {
|
|
545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonField(field_code, UpdatePersonFieldRequest);
|
|
547
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
548
|
+
});
|
|
549
|
+
},
|
|
453
550
|
/**
|
|
454
551
|
* Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
455
552
|
* @summary Update person field options in bulk
|
|
@@ -464,6 +561,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
464
561
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
465
562
|
});
|
|
466
563
|
},
|
|
564
|
+
/**
|
|
565
|
+
* Same as `updatePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
566
|
+
* @summary Update person field options in bulk
|
|
567
|
+
* @param {string} field_code The unique code identifying the field
|
|
568
|
+
* @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
|
|
569
|
+
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
updatePersonFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
|
|
575
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
576
|
+
});
|
|
577
|
+
},
|
|
467
578
|
};
|
|
468
579
|
};
|
|
469
580
|
exports.PersonFieldsApiFp = PersonFieldsApiFp;
|
|
@@ -484,6 +595,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
484
595
|
addPersonField(requestParameters) {
|
|
485
596
|
return localVarFp.addPersonField(requestParameters.AddPersonFieldRequest).then((request) => request(axios, basePath));
|
|
486
597
|
},
|
|
598
|
+
addPersonFieldWithHttpInfo(requestParameters) {
|
|
599
|
+
return localVarFp.addPersonFieldWithHttpInfo(requestParameters.AddPersonFieldRequest).then((request) => request(axios, basePath));
|
|
600
|
+
},
|
|
487
601
|
/**
|
|
488
602
|
* Adds new options to a person 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.
|
|
489
603
|
* @summary Add person field options in bulk
|
|
@@ -494,6 +608,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
494
608
|
addPersonFieldOptions(requestParameters) {
|
|
495
609
|
return localVarFp.addPersonFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
496
610
|
},
|
|
611
|
+
addPersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
612
|
+
return localVarFp.addPersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
613
|
+
},
|
|
497
614
|
/**
|
|
498
615
|
* Marks a custom field as deleted.
|
|
499
616
|
* @summary Delete one person field
|
|
@@ -504,6 +621,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
504
621
|
deletePersonField(requestParameters) {
|
|
505
622
|
return localVarFp.deletePersonField(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
506
623
|
},
|
|
624
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
625
|
+
return localVarFp.deletePersonFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
626
|
+
},
|
|
507
627
|
/**
|
|
508
628
|
* Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
509
629
|
* @summary Delete person field options in bulk
|
|
@@ -514,6 +634,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
514
634
|
deletePersonFieldOptions(requestParameters) {
|
|
515
635
|
return localVarFp.deletePersonFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
516
636
|
},
|
|
637
|
+
deletePersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
638
|
+
return localVarFp.deletePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
639
|
+
},
|
|
517
640
|
/**
|
|
518
641
|
* Returns metadata about a specific person field.
|
|
519
642
|
* @summary Get one person field
|
|
@@ -524,6 +647,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
524
647
|
getPersonField(requestParameters) {
|
|
525
648
|
return localVarFp.getPersonField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
526
649
|
},
|
|
650
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
651
|
+
return localVarFp.getPersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(axios, basePath));
|
|
652
|
+
},
|
|
527
653
|
/**
|
|
528
654
|
* Returns metadata about all person fields in the company.
|
|
529
655
|
* @summary Get all person fields
|
|
@@ -534,6 +660,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
534
660
|
getPersonFields(requestParameters = {}) {
|
|
535
661
|
return localVarFp.getPersonFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
536
662
|
},
|
|
663
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
664
|
+
return localVarFp.getPersonFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
665
|
+
},
|
|
537
666
|
/**
|
|
538
667
|
* Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
539
668
|
* @summary Update one person field
|
|
@@ -544,6 +673,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
544
673
|
updatePersonField(requestParameters) {
|
|
545
674
|
return localVarFp.updatePersonField(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(axios, basePath));
|
|
546
675
|
},
|
|
676
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
677
|
+
return localVarFp.updatePersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(axios, basePath));
|
|
678
|
+
},
|
|
547
679
|
/**
|
|
548
680
|
* Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
549
681
|
* @summary Update person field options in bulk
|
|
@@ -554,6 +686,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
554
686
|
updatePersonFieldOptions(requestParameters) {
|
|
555
687
|
return localVarFp.updatePersonFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
556
688
|
},
|
|
689
|
+
updatePersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
690
|
+
return localVarFp.updatePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
691
|
+
},
|
|
557
692
|
};
|
|
558
693
|
};
|
|
559
694
|
exports.PersonFieldsApiFactory = PersonFieldsApiFactory;
|
|
@@ -575,6 +710,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
575
710
|
addPersonField(requestParameters) {
|
|
576
711
|
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonField(requestParameters.AddPersonFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
577
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
715
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
716
|
+
* @param {PersonFieldsApiAddPersonFieldRequest} requestParameters Request parameters.
|
|
717
|
+
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
* @memberof PersonFieldsApi
|
|
720
|
+
*/
|
|
721
|
+
addPersonFieldWithHttpInfo(requestParameters) {
|
|
722
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonFieldWithHttpInfo(requestParameters.AddPersonFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
723
|
+
}
|
|
578
724
|
/**
|
|
579
725
|
* Adds new options to a person 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.
|
|
580
726
|
* @summary Add person field options in bulk
|
|
@@ -586,6 +732,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
586
732
|
addPersonFieldOptions(requestParameters) {
|
|
587
733
|
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
588
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* Same as `addPersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
737
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
738
|
+
* @param {PersonFieldsApiAddPersonFieldOptionsRequest} requestParameters Request parameters.
|
|
739
|
+
|
|
740
|
+
* @throws {RequiredError}
|
|
741
|
+
* @memberof PersonFieldsApi
|
|
742
|
+
*/
|
|
743
|
+
addPersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
744
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
745
|
+
}
|
|
589
746
|
/**
|
|
590
747
|
* Marks a custom field as deleted.
|
|
591
748
|
* @summary Delete one person field
|
|
@@ -597,6 +754,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
597
754
|
deletePersonField(requestParameters) {
|
|
598
755
|
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
599
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
759
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
760
|
+
* @param {PersonFieldsApiDeletePersonFieldRequest} requestParameters Request parameters.
|
|
761
|
+
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
* @memberof PersonFieldsApi
|
|
764
|
+
*/
|
|
765
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
766
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
767
|
+
}
|
|
600
768
|
/**
|
|
601
769
|
* Removes existing options from a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
602
770
|
* @summary Delete person field options in bulk
|
|
@@ -608,6 +776,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
608
776
|
deletePersonFieldOptions(requestParameters) {
|
|
609
777
|
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
610
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* Same as `deletePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
781
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
782
|
+
* @param {PersonFieldsApiDeletePersonFieldOptionsRequest} requestParameters Request parameters.
|
|
783
|
+
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
* @memberof PersonFieldsApi
|
|
786
|
+
*/
|
|
787
|
+
deletePersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
788
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
789
|
+
}
|
|
611
790
|
/**
|
|
612
791
|
* Returns metadata about a specific person field.
|
|
613
792
|
* @summary Get one person field
|
|
@@ -619,6 +798,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
619
798
|
getPersonField(requestParameters) {
|
|
620
799
|
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonField(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
621
800
|
}
|
|
801
|
+
/**
|
|
802
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
803
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
804
|
+
* @param {PersonFieldsApiGetPersonFieldRequest} requestParameters Request parameters.
|
|
805
|
+
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
* @memberof PersonFieldsApi
|
|
808
|
+
*/
|
|
809
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
810
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.include_fields).then((request) => request(this.axios, this.basePath));
|
|
811
|
+
}
|
|
622
812
|
/**
|
|
623
813
|
* Returns metadata about all person fields in the company.
|
|
624
814
|
* @summary Get all person fields
|
|
@@ -630,6 +820,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
630
820
|
getPersonFields(requestParameters = {}) {
|
|
631
821
|
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFields(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
632
822
|
}
|
|
823
|
+
/**
|
|
824
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
825
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
826
|
+
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
|
|
827
|
+
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
* @memberof PersonFieldsApi
|
|
830
|
+
*/
|
|
831
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
832
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFieldsWithHttpInfo(requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
833
|
+
}
|
|
633
834
|
/**
|
|
634
835
|
* Updates a person custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
635
836
|
* @summary Update one person field
|
|
@@ -641,6 +842,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
641
842
|
updatePersonField(requestParameters) {
|
|
642
843
|
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonField(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
643
844
|
}
|
|
845
|
+
/**
|
|
846
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
847
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
848
|
+
* @param {PersonFieldsApiUpdatePersonFieldRequest} requestParameters Request parameters.
|
|
849
|
+
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
* @memberof PersonFieldsApi
|
|
852
|
+
*/
|
|
853
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
854
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdatePersonFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
855
|
+
}
|
|
644
856
|
/**
|
|
645
857
|
* Updates existing options for a person custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
646
858
|
* @summary Update person field options in bulk
|
|
@@ -652,5 +864,16 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
652
864
|
updatePersonFieldOptions(requestParameters) {
|
|
653
865
|
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
654
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
* Same as `updatePersonFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
869
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
870
|
+
* @param {PersonFieldsApiUpdatePersonFieldOptionsRequest} requestParameters Request parameters.
|
|
871
|
+
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
* @memberof PersonFieldsApi
|
|
874
|
+
*/
|
|
875
|
+
updatePersonFieldOptionsWithHttpInfo(requestParameters) {
|
|
876
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
877
|
+
}
|
|
655
878
|
}
|
|
656
879
|
exports.PersonFieldsApi = PersonFieldsApi;
|