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
|
@@ -358,6 +358,19 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
358
358
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
359
359
|
});
|
|
360
360
|
},
|
|
361
|
+
/**
|
|
362
|
+
* Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
363
|
+
* @summary Create one project field
|
|
364
|
+
* @param {AddProjectFieldRequest} AddProjectFieldRequest
|
|
365
|
+
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
addProjectFieldWithHttpInfo(AddProjectFieldRequest) {
|
|
369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
370
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectField(AddProjectFieldRequest);
|
|
371
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
372
|
+
});
|
|
373
|
+
},
|
|
361
374
|
/**
|
|
362
375
|
* Adds new options to a project 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.
|
|
363
376
|
* @summary Add project field options in bulk
|
|
@@ -372,6 +385,20 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
372
385
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
373
386
|
});
|
|
374
387
|
},
|
|
388
|
+
/**
|
|
389
|
+
* Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
390
|
+
* @summary Add project field options in bulk
|
|
391
|
+
* @param {string} field_code The unique code identifying the field
|
|
392
|
+
* @param {Array<AddDealFieldOptionsRequestInner>} AddDealFieldOptionsRequestInner
|
|
393
|
+
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
addProjectFieldOptionsWithHttpInfo(field_code, AddDealFieldOptionsRequestInner) {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProjectFieldOptions(field_code, AddDealFieldOptionsRequestInner);
|
|
399
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
400
|
+
});
|
|
401
|
+
},
|
|
375
402
|
/**
|
|
376
403
|
* Marks a custom field as deleted.
|
|
377
404
|
* @summary Delete one project field
|
|
@@ -385,6 +412,19 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
385
412
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
386
413
|
});
|
|
387
414
|
},
|
|
415
|
+
/**
|
|
416
|
+
* Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
417
|
+
* @summary Delete one project field
|
|
418
|
+
* @param {string} field_code The unique code identifying the field
|
|
419
|
+
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
deleteProjectFieldWithHttpInfo(field_code) {
|
|
423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectField(field_code);
|
|
425
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
426
|
+
});
|
|
427
|
+
},
|
|
388
428
|
/**
|
|
389
429
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
390
430
|
* @summary Delete project field options in bulk
|
|
@@ -399,6 +439,20 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
399
439
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
400
440
|
});
|
|
401
441
|
},
|
|
442
|
+
/**
|
|
443
|
+
* Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
444
|
+
* @summary Delete project field options in bulk
|
|
445
|
+
* @param {string} field_code The unique code identifying the field
|
|
446
|
+
* @param {Array<DeleteDealFieldOptionsRequestInner>} DeleteDealFieldOptionsRequestInner
|
|
447
|
+
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
deleteProjectFieldOptionsWithHttpInfo(field_code, DeleteDealFieldOptionsRequestInner) {
|
|
451
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
452
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProjectFieldOptions(field_code, DeleteDealFieldOptionsRequestInner);
|
|
453
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
454
|
+
});
|
|
455
|
+
},
|
|
402
456
|
/**
|
|
403
457
|
* Returns metadata about a specific project field.
|
|
404
458
|
* @summary Get one project field
|
|
@@ -412,6 +466,19 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
412
466
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
413
467
|
});
|
|
414
468
|
},
|
|
469
|
+
/**
|
|
470
|
+
* Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
471
|
+
* @summary Get one project field
|
|
472
|
+
* @param {string} field_code The unique code identifying the field
|
|
473
|
+
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
getProjectFieldWithHttpInfo(field_code) {
|
|
477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectField(field_code);
|
|
479
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
480
|
+
});
|
|
481
|
+
},
|
|
415
482
|
/**
|
|
416
483
|
* Returns metadata about all project fields in the company.
|
|
417
484
|
* @summary Get all project fields
|
|
@@ -426,6 +493,20 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
426
493
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
427
494
|
});
|
|
428
495
|
},
|
|
496
|
+
/**
|
|
497
|
+
* Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
|
|
498
|
+
* @summary Get all project fields
|
|
499
|
+
* @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.
|
|
500
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
501
|
+
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
getProjectFieldsWithHttpInfo(limit, cursor) {
|
|
505
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
506
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectFields(limit, cursor);
|
|
507
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
508
|
+
});
|
|
509
|
+
},
|
|
429
510
|
/**
|
|
430
511
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
431
512
|
* @summary Update one project field
|
|
@@ -440,6 +521,20 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
440
521
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
441
522
|
});
|
|
442
523
|
},
|
|
524
|
+
/**
|
|
525
|
+
* Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
526
|
+
* @summary Update one project field
|
|
527
|
+
* @param {string} field_code The unique code identifying the field
|
|
528
|
+
* @param {UpdateProjectFieldRequest} UpdateProjectFieldRequest
|
|
529
|
+
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
updateProjectFieldWithHttpInfo(field_code, UpdateProjectFieldRequest) {
|
|
533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectField(field_code, UpdateProjectFieldRequest);
|
|
535
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
536
|
+
});
|
|
537
|
+
},
|
|
443
538
|
/**
|
|
444
539
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
445
540
|
* @summary Update project field options in bulk
|
|
@@ -454,6 +549,20 @@ const ProjectFieldsApiFp = function (configuration) {
|
|
|
454
549
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
455
550
|
});
|
|
456
551
|
},
|
|
552
|
+
/**
|
|
553
|
+
* Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
554
|
+
* @summary Update project field options in bulk
|
|
555
|
+
* @param {string} field_code The unique code identifying the field
|
|
556
|
+
* @param {Array<UpdateDealFieldOptionsRequestInner>} UpdateDealFieldOptionsRequestInner
|
|
557
|
+
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
updateProjectFieldOptionsWithHttpInfo(field_code, UpdateDealFieldOptionsRequestInner) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProjectFieldOptions(field_code, UpdateDealFieldOptionsRequestInner);
|
|
563
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
564
|
+
});
|
|
565
|
+
},
|
|
457
566
|
};
|
|
458
567
|
};
|
|
459
568
|
exports.ProjectFieldsApiFp = ProjectFieldsApiFp;
|
|
@@ -474,6 +583,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
474
583
|
addProjectField(requestParameters) {
|
|
475
584
|
return localVarFp.addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
|
|
476
585
|
},
|
|
586
|
+
addProjectFieldWithHttpInfo(requestParameters) {
|
|
587
|
+
return localVarFp.addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(axios, basePath));
|
|
588
|
+
},
|
|
477
589
|
/**
|
|
478
590
|
* Adds new options to a project 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.
|
|
479
591
|
* @summary Add project field options in bulk
|
|
@@ -484,6 +596,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
484
596
|
addProjectFieldOptions(requestParameters) {
|
|
485
597
|
return localVarFp.addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
486
598
|
},
|
|
599
|
+
addProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
600
|
+
return localVarFp.addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
601
|
+
},
|
|
487
602
|
/**
|
|
488
603
|
* Marks a custom field as deleted.
|
|
489
604
|
* @summary Delete one project field
|
|
@@ -494,6 +609,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
494
609
|
deleteProjectField(requestParameters) {
|
|
495
610
|
return localVarFp.deleteProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
496
611
|
},
|
|
612
|
+
deleteProjectFieldWithHttpInfo(requestParameters) {
|
|
613
|
+
return localVarFp.deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
614
|
+
},
|
|
497
615
|
/**
|
|
498
616
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
499
617
|
* @summary Delete project field options in bulk
|
|
@@ -504,6 +622,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
504
622
|
deleteProjectFieldOptions(requestParameters) {
|
|
505
623
|
return localVarFp.deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
506
624
|
},
|
|
625
|
+
deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
626
|
+
return localVarFp.deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
627
|
+
},
|
|
507
628
|
/**
|
|
508
629
|
* Returns metadata about a specific project field.
|
|
509
630
|
* @summary Get one project field
|
|
@@ -514,6 +635,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
514
635
|
getProjectField(requestParameters) {
|
|
515
636
|
return localVarFp.getProjectField(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
516
637
|
},
|
|
638
|
+
getProjectFieldWithHttpInfo(requestParameters) {
|
|
639
|
+
return localVarFp.getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(axios, basePath));
|
|
640
|
+
},
|
|
517
641
|
/**
|
|
518
642
|
* Returns metadata about all project fields in the company.
|
|
519
643
|
* @summary Get all project fields
|
|
@@ -524,6 +648,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
524
648
|
getProjectFields(requestParameters = {}) {
|
|
525
649
|
return localVarFp.getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
526
650
|
},
|
|
651
|
+
getProjectFieldsWithHttpInfo(requestParameters = {}) {
|
|
652
|
+
return localVarFp.getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
653
|
+
},
|
|
527
654
|
/**
|
|
528
655
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
529
656
|
* @summary Update one project field
|
|
@@ -534,6 +661,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
534
661
|
updateProjectField(requestParameters) {
|
|
535
662
|
return localVarFp.updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
|
|
536
663
|
},
|
|
664
|
+
updateProjectFieldWithHttpInfo(requestParameters) {
|
|
665
|
+
return localVarFp.updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(axios, basePath));
|
|
666
|
+
},
|
|
537
667
|
/**
|
|
538
668
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
539
669
|
* @summary Update project field options in bulk
|
|
@@ -544,6 +674,9 @@ const ProjectFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
544
674
|
updateProjectFieldOptions(requestParameters) {
|
|
545
675
|
return localVarFp.updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
546
676
|
},
|
|
677
|
+
updateProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
678
|
+
return localVarFp.updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(axios, basePath));
|
|
679
|
+
},
|
|
547
680
|
};
|
|
548
681
|
};
|
|
549
682
|
exports.ProjectFieldsApiFactory = ProjectFieldsApiFactory;
|
|
@@ -565,6 +698,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
565
698
|
addProjectField(requestParameters) {
|
|
566
699
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectField(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
567
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* Same as `addProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
703
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
704
|
+
* @param {ProjectFieldsApiAddProjectFieldRequest} requestParameters Request parameters.
|
|
705
|
+
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
* @memberof ProjectFieldsApi
|
|
708
|
+
*/
|
|
709
|
+
addProjectFieldWithHttpInfo(requestParameters) {
|
|
710
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldWithHttpInfo(requestParameters.AddProjectFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
711
|
+
}
|
|
568
712
|
/**
|
|
569
713
|
* Adds new options to a project 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.
|
|
570
714
|
* @summary Add project field options in bulk
|
|
@@ -576,6 +720,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
576
720
|
addProjectFieldOptions(requestParameters) {
|
|
577
721
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldOptions(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
578
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* Same as `addProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
725
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
726
|
+
* @param {ProjectFieldsApiAddProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
727
|
+
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
* @memberof ProjectFieldsApi
|
|
730
|
+
*/
|
|
731
|
+
addProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
732
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).addProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.AddDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
733
|
+
}
|
|
579
734
|
/**
|
|
580
735
|
* Marks a custom field as deleted.
|
|
581
736
|
* @summary Delete one project field
|
|
@@ -587,6 +742,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
587
742
|
deleteProjectField(requestParameters) {
|
|
588
743
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
589
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* Same as `deleteProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
747
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
748
|
+
* @param {ProjectFieldsApiDeleteProjectFieldRequest} requestParameters Request parameters.
|
|
749
|
+
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
* @memberof ProjectFieldsApi
|
|
752
|
+
*/
|
|
753
|
+
deleteProjectFieldWithHttpInfo(requestParameters) {
|
|
754
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
755
|
+
}
|
|
590
756
|
/**
|
|
591
757
|
* Removes existing options from a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the deleted options.
|
|
592
758
|
* @summary Delete project field options in bulk
|
|
@@ -598,6 +764,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
598
764
|
deleteProjectFieldOptions(requestParameters) {
|
|
599
765
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldOptions(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
600
766
|
}
|
|
767
|
+
/**
|
|
768
|
+
* Same as `deleteProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
769
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
770
|
+
* @param {ProjectFieldsApiDeleteProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
771
|
+
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
* @memberof ProjectFieldsApi
|
|
774
|
+
*/
|
|
775
|
+
deleteProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
776
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).deleteProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.DeleteDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
777
|
+
}
|
|
601
778
|
/**
|
|
602
779
|
* Returns metadata about a specific project field.
|
|
603
780
|
* @summary Get one project field
|
|
@@ -609,6 +786,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
609
786
|
getProjectField(requestParameters) {
|
|
610
787
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectField(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
611
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* Same as `getProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
791
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
792
|
+
* @param {ProjectFieldsApiGetProjectFieldRequest} requestParameters Request parameters.
|
|
793
|
+
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
* @memberof ProjectFieldsApi
|
|
796
|
+
*/
|
|
797
|
+
getProjectFieldWithHttpInfo(requestParameters) {
|
|
798
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFieldWithHttpInfo(requestParameters.field_code).then((request) => request(this.axios, this.basePath));
|
|
799
|
+
}
|
|
612
800
|
/**
|
|
613
801
|
* Returns metadata about all project fields in the company.
|
|
614
802
|
* @summary Get all project fields
|
|
@@ -620,6 +808,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
620
808
|
getProjectFields(requestParameters = {}) {
|
|
621
809
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFields(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
622
810
|
}
|
|
811
|
+
/**
|
|
812
|
+
* Same as `getProjectFields`, but resolves with the response body together with the HTTP status and headers.
|
|
813
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
814
|
+
* @param {ProjectFieldsApiGetProjectFieldsRequest} requestParameters Request parameters.
|
|
815
|
+
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
* @memberof ProjectFieldsApi
|
|
818
|
+
*/
|
|
819
|
+
getProjectFieldsWithHttpInfo(requestParameters = {}) {
|
|
820
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).getProjectFieldsWithHttpInfo(requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
821
|
+
}
|
|
623
822
|
/**
|
|
624
823
|
* Updates a project custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
625
824
|
* @summary Update one project field
|
|
@@ -631,6 +830,17 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
631
830
|
updateProjectField(requestParameters) {
|
|
632
831
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectField(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
633
832
|
}
|
|
833
|
+
/**
|
|
834
|
+
* Same as `updateProjectField`, but resolves with the response body together with the HTTP status and headers.
|
|
835
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
836
|
+
* @param {ProjectFieldsApiUpdateProjectFieldRequest} requestParameters Request parameters.
|
|
837
|
+
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
* @memberof ProjectFieldsApi
|
|
840
|
+
*/
|
|
841
|
+
updateProjectFieldWithHttpInfo(requestParameters) {
|
|
842
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldWithHttpInfo(requestParameters.field_code, requestParameters.UpdateProjectFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
843
|
+
}
|
|
634
844
|
/**
|
|
635
845
|
* Updates existing options for a project custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
636
846
|
* @summary Update project field options in bulk
|
|
@@ -642,5 +852,16 @@ class ProjectFieldsApi extends base_1.BaseAPI {
|
|
|
642
852
|
updateProjectFieldOptions(requestParameters) {
|
|
643
853
|
return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldOptions(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
644
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Same as `updateProjectFieldOptions`, but resolves with the response body together with the HTTP status and headers.
|
|
857
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
858
|
+
* @param {ProjectFieldsApiUpdateProjectFieldOptionsRequest} requestParameters Request parameters.
|
|
859
|
+
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
* @memberof ProjectFieldsApi
|
|
862
|
+
*/
|
|
863
|
+
updateProjectFieldOptionsWithHttpInfo(requestParameters) {
|
|
864
|
+
return (0, exports.ProjectFieldsApiFp)(this.configuration).updateProjectFieldOptionsWithHttpInfo(requestParameters.field_code, requestParameters.UpdateDealFieldOptionsRequestInner).then((request) => request(this.axios, this.basePath));
|
|
865
|
+
}
|
|
645
866
|
}
|
|
646
867
|
exports.ProjectFieldsApi = ProjectFieldsApi;
|
|
@@ -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 { AddProjectPhaseRequest } from '../models';
|
|
16
16
|
import { DeleteProjectPhaseResponse } from '../models';
|
|
17
17
|
import { GetProjectPhasesResponse } from '../models';
|
|
@@ -77,6 +77,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
79
|
addProjectPhase(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
80
|
+
/**
|
|
81
|
+
* Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
82
|
+
* @summary Add a project phase
|
|
83
|
+
* @param {AddProjectPhaseRequest} AddProjectPhaseRequest
|
|
84
|
+
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
addProjectPhaseWithHttpInfo(AddProjectPhaseRequest: AddProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
80
88
|
/**
|
|
81
89
|
* Marks a project phase as deleted.
|
|
82
90
|
* @summary Delete a project phase
|
|
@@ -85,6 +93,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
|
|
|
85
93
|
* @throws {RequiredError}
|
|
86
94
|
*/
|
|
87
95
|
deleteProjectPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProjectPhaseResponse>>;
|
|
96
|
+
/**
|
|
97
|
+
* Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
98
|
+
* @summary Delete a project phase
|
|
99
|
+
* @param {number} id The ID of the project phase
|
|
100
|
+
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
deleteProjectPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteProjectPhaseResponse>>>;
|
|
88
104
|
/**
|
|
89
105
|
* Returns the details of a specific project phase.
|
|
90
106
|
* @summary Get details of a project phase
|
|
@@ -93,6 +109,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
|
|
|
93
109
|
* @throws {RequiredError}
|
|
94
110
|
*/
|
|
95
111
|
getProjectsPhase(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
112
|
+
/**
|
|
113
|
+
* Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
114
|
+
* @summary Get details of a project phase
|
|
115
|
+
* @param {number} id The ID of the project phase
|
|
116
|
+
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
getProjectsPhaseWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
96
120
|
/**
|
|
97
121
|
* Returns all active project phases under a specific board.
|
|
98
122
|
* @summary Get project phases
|
|
@@ -101,6 +125,14 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
|
|
|
101
125
|
* @throws {RequiredError}
|
|
102
126
|
*/
|
|
103
127
|
getProjectsPhases(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectPhasesResponse>>;
|
|
128
|
+
/**
|
|
129
|
+
* Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
|
|
130
|
+
* @summary Get project phases
|
|
131
|
+
* @param {number} board_id The ID of the board for which phases are requested
|
|
132
|
+
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getProjectsPhasesWithHttpInfo(board_id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetProjectPhasesResponse>>>;
|
|
104
136
|
/**
|
|
105
137
|
* Updates the properties of a project phase.
|
|
106
138
|
* @summary Update a project phase
|
|
@@ -110,6 +142,15 @@ export declare const ProjectPhasesApiFp: (configuration?: Configuration) => {
|
|
|
110
142
|
* @throws {RequiredError}
|
|
111
143
|
*/
|
|
112
144
|
updateProjectPhase(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertProjectPhaseResponse>>;
|
|
145
|
+
/**
|
|
146
|
+
* Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
147
|
+
* @summary Update a project phase
|
|
148
|
+
* @param {number} id The ID of the project phase
|
|
149
|
+
* @param {UpdateProjectPhaseRequest} [UpdateProjectPhaseRequest]
|
|
150
|
+
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
updateProjectPhaseWithHttpInfo(id: number, UpdateProjectPhaseRequest?: UpdateProjectPhaseRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertProjectPhaseResponse>>>;
|
|
113
154
|
};
|
|
114
155
|
/**
|
|
115
156
|
* ProjectPhasesApi - factory interface
|
|
@@ -124,6 +165,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
|
|
|
124
165
|
* @throws {RequiredError}
|
|
125
166
|
*/
|
|
126
167
|
addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
168
|
+
addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
127
169
|
/**
|
|
128
170
|
* Marks a project phase as deleted.
|
|
129
171
|
* @summary Delete a project phase
|
|
@@ -132,6 +174,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
|
|
|
132
174
|
* @throws {RequiredError}
|
|
133
175
|
*/
|
|
134
176
|
deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
|
|
177
|
+
deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
|
|
135
178
|
/**
|
|
136
179
|
* Returns the details of a specific project phase.
|
|
137
180
|
* @summary Get details of a project phase
|
|
@@ -140,6 +183,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
|
|
|
140
183
|
* @throws {RequiredError}
|
|
141
184
|
*/
|
|
142
185
|
getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
186
|
+
getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
143
187
|
/**
|
|
144
188
|
* Returns all active project phases under a specific board.
|
|
145
189
|
* @summary Get project phases
|
|
@@ -148,6 +192,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
|
|
|
148
192
|
* @throws {RequiredError}
|
|
149
193
|
*/
|
|
150
194
|
getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
|
|
195
|
+
getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
|
|
151
196
|
/**
|
|
152
197
|
* Updates the properties of a project phase.
|
|
153
198
|
* @summary Update a project phase
|
|
@@ -156,6 +201,7 @@ export declare const ProjectPhasesApiFactory: (configuration?: Configuration, ba
|
|
|
156
201
|
* @throws {RequiredError}
|
|
157
202
|
*/
|
|
158
203
|
updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
204
|
+
updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
159
205
|
};
|
|
160
206
|
/**
|
|
161
207
|
* Request parameters for addProjectPhase operation in ProjectPhasesApi.
|
|
@@ -244,6 +290,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
|
|
|
244
290
|
* @memberof ProjectPhasesApi
|
|
245
291
|
*/
|
|
246
292
|
addProjectPhase(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* Same as `addProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
295
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
296
|
+
* @param {ProjectPhasesApiAddProjectPhaseRequest} requestParameters Request parameters.
|
|
297
|
+
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
* @memberof ProjectPhasesApi
|
|
300
|
+
*/
|
|
301
|
+
addProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiAddProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
247
302
|
/**
|
|
248
303
|
* Marks a project phase as deleted.
|
|
249
304
|
* @summary Delete a project phase
|
|
@@ -253,6 +308,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
|
|
|
253
308
|
* @memberof ProjectPhasesApi
|
|
254
309
|
*/
|
|
255
310
|
deleteProjectPhase(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<DeleteProjectPhaseResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* Same as `deleteProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
313
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
314
|
+
* @param {ProjectPhasesApiDeleteProjectPhaseRequest} requestParameters Request parameters.
|
|
315
|
+
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
* @memberof ProjectPhasesApi
|
|
318
|
+
*/
|
|
319
|
+
deleteProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiDeleteProjectPhaseRequest): Promise<ApiResponse<DeleteProjectPhaseResponse>>;
|
|
256
320
|
/**
|
|
257
321
|
* Returns the details of a specific project phase.
|
|
258
322
|
* @summary Get details of a project phase
|
|
@@ -262,6 +326,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
|
|
|
262
326
|
* @memberof ProjectPhasesApi
|
|
263
327
|
*/
|
|
264
328
|
getProjectsPhase(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
329
|
+
/**
|
|
330
|
+
* Same as `getProjectsPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
331
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
332
|
+
* @param {ProjectPhasesApiGetProjectsPhaseRequest} requestParameters Request parameters.
|
|
333
|
+
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
* @memberof ProjectPhasesApi
|
|
336
|
+
*/
|
|
337
|
+
getProjectsPhaseWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
265
338
|
/**
|
|
266
339
|
* Returns all active project phases under a specific board.
|
|
267
340
|
* @summary Get project phases
|
|
@@ -271,6 +344,15 @@ export declare class ProjectPhasesApi extends BaseAPI {
|
|
|
271
344
|
* @memberof ProjectPhasesApi
|
|
272
345
|
*/
|
|
273
346
|
getProjectsPhases(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<GetProjectPhasesResponse>;
|
|
347
|
+
/**
|
|
348
|
+
* Same as `getProjectsPhases`, but resolves with the response body together with the HTTP status and headers.
|
|
349
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
350
|
+
* @param {ProjectPhasesApiGetProjectsPhasesRequest} requestParameters Request parameters.
|
|
351
|
+
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof ProjectPhasesApi
|
|
354
|
+
*/
|
|
355
|
+
getProjectsPhasesWithHttpInfo(requestParameters: ProjectPhasesApiGetProjectsPhasesRequest): Promise<ApiResponse<GetProjectPhasesResponse>>;
|
|
274
356
|
/**
|
|
275
357
|
* Updates the properties of a project phase.
|
|
276
358
|
* @summary Update a project phase
|
|
@@ -280,4 +362,13 @@ export declare class ProjectPhasesApi extends BaseAPI {
|
|
|
280
362
|
* @memberof ProjectPhasesApi
|
|
281
363
|
*/
|
|
282
364
|
updateProjectPhase(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<UpsertProjectPhaseResponse>;
|
|
365
|
+
/**
|
|
366
|
+
* Same as `updateProjectPhase`, but resolves with the response body together with the HTTP status and headers.
|
|
367
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
368
|
+
* @param {ProjectPhasesApiUpdateProjectPhaseRequest} requestParameters Request parameters.
|
|
369
|
+
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof ProjectPhasesApi
|
|
372
|
+
*/
|
|
373
|
+
updateProjectPhaseWithHttpInfo(requestParameters: ProjectPhasesApiUpdateProjectPhaseRequest): Promise<ApiResponse<UpsertProjectPhaseResponse>>;
|
|
283
374
|
}
|