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
|
@@ -483,6 +483,19 @@ const ProjectsApiFp = function (configuration) {
|
|
|
483
483
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
484
484
|
});
|
|
485
485
|
},
|
|
486
|
+
/**
|
|
487
|
+
* Same as `addProject`, but resolves with the response body together with the HTTP status and headers.
|
|
488
|
+
* @summary Add a project
|
|
489
|
+
* @param {AddProjectRequest} AddProjectRequest
|
|
490
|
+
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
addProjectWithHttpInfo(AddProjectRequest) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addProject(AddProjectRequest);
|
|
496
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
497
|
+
});
|
|
498
|
+
},
|
|
486
499
|
/**
|
|
487
500
|
* Archives a project.
|
|
488
501
|
* @summary Archive a project
|
|
@@ -496,6 +509,19 @@ const ProjectsApiFp = function (configuration) {
|
|
|
496
509
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
497
510
|
});
|
|
498
511
|
},
|
|
512
|
+
/**
|
|
513
|
+
* Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
|
|
514
|
+
* @summary Archive a project
|
|
515
|
+
* @param {number} id The ID of the project
|
|
516
|
+
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
archiveProjectWithHttpInfo(id) {
|
|
520
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.archiveProject(id);
|
|
522
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
523
|
+
});
|
|
524
|
+
},
|
|
499
525
|
/**
|
|
500
526
|
* Marks a project as deleted.
|
|
501
527
|
* @summary Delete a project
|
|
@@ -509,6 +535,19 @@ const ProjectsApiFp = function (configuration) {
|
|
|
509
535
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
510
536
|
});
|
|
511
537
|
},
|
|
538
|
+
/**
|
|
539
|
+
* Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
|
|
540
|
+
* @summary Delete a project
|
|
541
|
+
* @param {number} id The ID of the project
|
|
542
|
+
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
deleteProjectWithHttpInfo(id) {
|
|
546
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProject(id);
|
|
548
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
549
|
+
});
|
|
550
|
+
},
|
|
512
551
|
/**
|
|
513
552
|
* Returns all archived projects.
|
|
514
553
|
* @summary Get all archived projects
|
|
@@ -526,6 +565,23 @@ const ProjectsApiFp = function (configuration) {
|
|
|
526
565
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
527
566
|
});
|
|
528
567
|
},
|
|
568
|
+
/**
|
|
569
|
+
* Same as `getArchivedProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
570
|
+
* @summary Get all archived projects
|
|
571
|
+
* @param {number} [filter_id] If supplied, only projects matching the specified filter are returned
|
|
572
|
+
* @param {string} [status] If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
|
|
573
|
+
* @param {number} [phase_id] If supplied, only projects in the specified phase are returned
|
|
574
|
+
* @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.
|
|
575
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
576
|
+
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
getArchivedProjectsWithHttpInfo(filter_id, status, phase_id, limit, cursor) {
|
|
580
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArchivedProjects(filter_id, status, phase_id, limit, cursor);
|
|
582
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
583
|
+
});
|
|
584
|
+
},
|
|
529
585
|
/**
|
|
530
586
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
531
587
|
* @summary Get details of a project
|
|
@@ -539,6 +595,19 @@ const ProjectsApiFp = function (configuration) {
|
|
|
539
595
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
540
596
|
});
|
|
541
597
|
},
|
|
598
|
+
/**
|
|
599
|
+
* Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
|
|
600
|
+
* @summary Get details of a project
|
|
601
|
+
* @param {number} id The ID of the project
|
|
602
|
+
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
*/
|
|
605
|
+
getProjectWithHttpInfo(id) {
|
|
606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProject(id);
|
|
608
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
609
|
+
});
|
|
610
|
+
},
|
|
542
611
|
/**
|
|
543
612
|
* Lists updates about field values of a project.
|
|
544
613
|
* @summary List updates about project field values
|
|
@@ -554,6 +623,21 @@ const ProjectsApiFp = function (configuration) {
|
|
|
554
623
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
555
624
|
});
|
|
556
625
|
},
|
|
626
|
+
/**
|
|
627
|
+
* Same as `getProjectChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
628
|
+
* @summary List updates about project field values
|
|
629
|
+
* @param {number} id The ID of the project
|
|
630
|
+
* @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.
|
|
631
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
632
|
+
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
getProjectChangelogWithHttpInfo(id, limit, cursor) {
|
|
636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectChangelog(id, limit, cursor);
|
|
638
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
639
|
+
});
|
|
640
|
+
},
|
|
557
641
|
/**
|
|
558
642
|
* Lists the users permitted to access a project.
|
|
559
643
|
* @summary List permitted users
|
|
@@ -567,6 +651,19 @@ const ProjectsApiFp = function (configuration) {
|
|
|
567
651
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
568
652
|
});
|
|
569
653
|
},
|
|
654
|
+
/**
|
|
655
|
+
* Same as `getProjectUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
656
|
+
* @summary List permitted users
|
|
657
|
+
* @param {number} id The ID of the project
|
|
658
|
+
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
getProjectUsersWithHttpInfo(id) {
|
|
662
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectUsers(id);
|
|
664
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
665
|
+
});
|
|
666
|
+
},
|
|
570
667
|
/**
|
|
571
668
|
* Returns all non-archived projects.
|
|
572
669
|
* @summary Get all projects
|
|
@@ -587,6 +684,26 @@ const ProjectsApiFp = function (configuration) {
|
|
|
587
684
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
588
685
|
});
|
|
589
686
|
},
|
|
687
|
+
/**
|
|
688
|
+
* Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
689
|
+
* @summary Get all projects
|
|
690
|
+
* @param {number} [filter_id] If supplied, only projects matching the specified filter are returned
|
|
691
|
+
* @param {string} [status] If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
|
|
692
|
+
* @param {number} [phase_id] If supplied, only projects in the specified phase are returned
|
|
693
|
+
* @param {number} [deal_id] If supplied, only projects associated with the specified deal are returned
|
|
694
|
+
* @param {number} [person_id] If supplied, only projects associated with the specified person are returned
|
|
695
|
+
* @param {number} [org_id] If supplied, only projects associated with the specified organization are returned
|
|
696
|
+
* @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.
|
|
697
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
698
|
+
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
*/
|
|
701
|
+
getProjectsWithHttpInfo(filter_id, status, phase_id, deal_id, person_id, org_id, limit, cursor) {
|
|
702
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
703
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjects(filter_id, status, phase_id, deal_id, person_id, org_id, limit, cursor);
|
|
704
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
705
|
+
});
|
|
706
|
+
},
|
|
590
707
|
/**
|
|
591
708
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
592
709
|
* @summary Search projects
|
|
@@ -606,6 +723,25 @@ const ProjectsApiFp = function (configuration) {
|
|
|
606
723
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
607
724
|
});
|
|
608
725
|
},
|
|
726
|
+
/**
|
|
727
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
728
|
+
* @summary Search projects
|
|
729
|
+
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
730
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
731
|
+
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
732
|
+
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
733
|
+
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
734
|
+
* @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 100 is allowed.
|
|
735
|
+
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
736
|
+
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
searchProjectsWithHttpInfo(term, fields, exact_match, person_id, organization_id, limit, cursor) {
|
|
740
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
741
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchProjects(term, fields, exact_match, person_id, organization_id, limit, cursor);
|
|
742
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
743
|
+
});
|
|
744
|
+
},
|
|
609
745
|
/**
|
|
610
746
|
* Updates the properties of a project.
|
|
611
747
|
* @summary Update a project
|
|
@@ -620,6 +756,20 @@ const ProjectsApiFp = function (configuration) {
|
|
|
620
756
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
621
757
|
});
|
|
622
758
|
},
|
|
759
|
+
/**
|
|
760
|
+
* Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
|
|
761
|
+
* @summary Update a project
|
|
762
|
+
* @param {number} id The ID of the project
|
|
763
|
+
* @param {UpdateProjectRequest} [UpdateProjectRequest]
|
|
764
|
+
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
updateProjectWithHttpInfo(id, UpdateProjectRequest) {
|
|
768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
769
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProject(id, UpdateProjectRequest);
|
|
770
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
771
|
+
});
|
|
772
|
+
},
|
|
623
773
|
};
|
|
624
774
|
};
|
|
625
775
|
exports.ProjectsApiFp = ProjectsApiFp;
|
|
@@ -640,6 +790,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
640
790
|
addProject(requestParameters) {
|
|
641
791
|
return localVarFp.addProject(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
|
|
642
792
|
},
|
|
793
|
+
addProjectWithHttpInfo(requestParameters) {
|
|
794
|
+
return localVarFp.addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(axios, basePath));
|
|
795
|
+
},
|
|
643
796
|
/**
|
|
644
797
|
* Archives a project.
|
|
645
798
|
* @summary Archive a project
|
|
@@ -650,6 +803,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
650
803
|
archiveProject(requestParameters) {
|
|
651
804
|
return localVarFp.archiveProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
652
805
|
},
|
|
806
|
+
archiveProjectWithHttpInfo(requestParameters) {
|
|
807
|
+
return localVarFp.archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
808
|
+
},
|
|
653
809
|
/**
|
|
654
810
|
* Marks a project as deleted.
|
|
655
811
|
* @summary Delete a project
|
|
@@ -660,6 +816,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
660
816
|
deleteProject(requestParameters) {
|
|
661
817
|
return localVarFp.deleteProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
662
818
|
},
|
|
819
|
+
deleteProjectWithHttpInfo(requestParameters) {
|
|
820
|
+
return localVarFp.deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
821
|
+
},
|
|
663
822
|
/**
|
|
664
823
|
* Returns all archived projects.
|
|
665
824
|
* @summary Get all archived projects
|
|
@@ -670,6 +829,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
670
829
|
getArchivedProjects(requestParameters = {}) {
|
|
671
830
|
return localVarFp.getArchivedProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
672
831
|
},
|
|
832
|
+
getArchivedProjectsWithHttpInfo(requestParameters = {}) {
|
|
833
|
+
return localVarFp.getArchivedProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
834
|
+
},
|
|
673
835
|
/**
|
|
674
836
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
675
837
|
* @summary Get details of a project
|
|
@@ -680,6 +842,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
680
842
|
getProject(requestParameters) {
|
|
681
843
|
return localVarFp.getProject(requestParameters.id).then((request) => request(axios, basePath));
|
|
682
844
|
},
|
|
845
|
+
getProjectWithHttpInfo(requestParameters) {
|
|
846
|
+
return localVarFp.getProjectWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
847
|
+
},
|
|
683
848
|
/**
|
|
684
849
|
* Lists updates about field values of a project.
|
|
685
850
|
* @summary List updates about project field values
|
|
@@ -690,6 +855,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
690
855
|
getProjectChangelog(requestParameters) {
|
|
691
856
|
return localVarFp.getProjectChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
692
857
|
},
|
|
858
|
+
getProjectChangelogWithHttpInfo(requestParameters) {
|
|
859
|
+
return localVarFp.getProjectChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
860
|
+
},
|
|
693
861
|
/**
|
|
694
862
|
* Lists the users permitted to access a project.
|
|
695
863
|
* @summary List permitted users
|
|
@@ -700,6 +868,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
700
868
|
getProjectUsers(requestParameters) {
|
|
701
869
|
return localVarFp.getProjectUsers(requestParameters.id).then((request) => request(axios, basePath));
|
|
702
870
|
},
|
|
871
|
+
getProjectUsersWithHttpInfo(requestParameters) {
|
|
872
|
+
return localVarFp.getProjectUsersWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
873
|
+
},
|
|
703
874
|
/**
|
|
704
875
|
* Returns all non-archived projects.
|
|
705
876
|
* @summary Get all projects
|
|
@@ -710,6 +881,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
710
881
|
getProjects(requestParameters = {}) {
|
|
711
882
|
return localVarFp.getProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
712
883
|
},
|
|
884
|
+
getProjectsWithHttpInfo(requestParameters = {}) {
|
|
885
|
+
return localVarFp.getProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
886
|
+
},
|
|
713
887
|
/**
|
|
714
888
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
715
889
|
* @summary Search projects
|
|
@@ -720,6 +894,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
720
894
|
searchProjects(requestParameters) {
|
|
721
895
|
return localVarFp.searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
722
896
|
},
|
|
897
|
+
searchProjectsWithHttpInfo(requestParameters) {
|
|
898
|
+
return localVarFp.searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
|
899
|
+
},
|
|
723
900
|
/**
|
|
724
901
|
* Updates the properties of a project.
|
|
725
902
|
* @summary Update a project
|
|
@@ -730,6 +907,9 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
730
907
|
updateProject(requestParameters) {
|
|
731
908
|
return localVarFp.updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
|
|
732
909
|
},
|
|
910
|
+
updateProjectWithHttpInfo(requestParameters) {
|
|
911
|
+
return localVarFp.updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(axios, basePath));
|
|
912
|
+
},
|
|
733
913
|
};
|
|
734
914
|
};
|
|
735
915
|
exports.ProjectsApiFactory = ProjectsApiFactory;
|
|
@@ -751,6 +931,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
751
931
|
addProject(requestParameters) {
|
|
752
932
|
return (0, exports.ProjectsApiFp)(this.configuration).addProject(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
753
933
|
}
|
|
934
|
+
/**
|
|
935
|
+
* Same as `addProject`, but resolves with the response body together with the HTTP status and headers.
|
|
936
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
937
|
+
* @param {ProjectsApiAddProjectRequest} requestParameters Request parameters.
|
|
938
|
+
|
|
939
|
+
* @throws {RequiredError}
|
|
940
|
+
* @memberof ProjectsApi
|
|
941
|
+
*/
|
|
942
|
+
addProjectWithHttpInfo(requestParameters) {
|
|
943
|
+
return (0, exports.ProjectsApiFp)(this.configuration).addProjectWithHttpInfo(requestParameters.AddProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
944
|
+
}
|
|
754
945
|
/**
|
|
755
946
|
* Archives a project.
|
|
756
947
|
* @summary Archive a project
|
|
@@ -762,6 +953,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
762
953
|
archiveProject(requestParameters) {
|
|
763
954
|
return (0, exports.ProjectsApiFp)(this.configuration).archiveProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
764
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* Same as `archiveProject`, but resolves with the response body together with the HTTP status and headers.
|
|
958
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
959
|
+
* @param {ProjectsApiArchiveProjectRequest} requestParameters Request parameters.
|
|
960
|
+
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
* @memberof ProjectsApi
|
|
963
|
+
*/
|
|
964
|
+
archiveProjectWithHttpInfo(requestParameters) {
|
|
965
|
+
return (0, exports.ProjectsApiFp)(this.configuration).archiveProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
966
|
+
}
|
|
765
967
|
/**
|
|
766
968
|
* Marks a project as deleted.
|
|
767
969
|
* @summary Delete a project
|
|
@@ -773,6 +975,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
773
975
|
deleteProject(requestParameters) {
|
|
774
976
|
return (0, exports.ProjectsApiFp)(this.configuration).deleteProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
775
977
|
}
|
|
978
|
+
/**
|
|
979
|
+
* Same as `deleteProject`, but resolves with the response body together with the HTTP status and headers.
|
|
980
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
981
|
+
* @param {ProjectsApiDeleteProjectRequest} requestParameters Request parameters.
|
|
982
|
+
|
|
983
|
+
* @throws {RequiredError}
|
|
984
|
+
* @memberof ProjectsApi
|
|
985
|
+
*/
|
|
986
|
+
deleteProjectWithHttpInfo(requestParameters) {
|
|
987
|
+
return (0, exports.ProjectsApiFp)(this.configuration).deleteProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
988
|
+
}
|
|
776
989
|
/**
|
|
777
990
|
* Returns all archived projects.
|
|
778
991
|
* @summary Get all archived projects
|
|
@@ -784,6 +997,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
784
997
|
getArchivedProjects(requestParameters = {}) {
|
|
785
998
|
return (0, exports.ProjectsApiFp)(this.configuration).getArchivedProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
786
999
|
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Same as `getArchivedProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1002
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1003
|
+
* @param {ProjectsApiGetArchivedProjectsRequest} requestParameters Request parameters.
|
|
1004
|
+
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
* @memberof ProjectsApi
|
|
1007
|
+
*/
|
|
1008
|
+
getArchivedProjectsWithHttpInfo(requestParameters = {}) {
|
|
1009
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getArchivedProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1010
|
+
}
|
|
787
1011
|
/**
|
|
788
1012
|
* Returns the details of a specific project. Custom fields appear as keys inside the `custom_fields` object.
|
|
789
1013
|
* @summary Get details of a project
|
|
@@ -795,6 +1019,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
795
1019
|
getProject(requestParameters) {
|
|
796
1020
|
return (0, exports.ProjectsApiFp)(this.configuration).getProject(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
797
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* Same as `getProject`, but resolves with the response body together with the HTTP status and headers.
|
|
1024
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1025
|
+
* @param {ProjectsApiGetProjectRequest} requestParameters Request parameters.
|
|
1026
|
+
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
* @memberof ProjectsApi
|
|
1029
|
+
*/
|
|
1030
|
+
getProjectWithHttpInfo(requestParameters) {
|
|
1031
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjectWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
1032
|
+
}
|
|
798
1033
|
/**
|
|
799
1034
|
* Lists updates about field values of a project.
|
|
800
1035
|
* @summary List updates about project field values
|
|
@@ -806,6 +1041,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
806
1041
|
getProjectChangelog(requestParameters) {
|
|
807
1042
|
return (0, exports.ProjectsApiFp)(this.configuration).getProjectChangelog(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
808
1043
|
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Same as `getProjectChangelog`, but resolves with the response body together with the HTTP status and headers.
|
|
1046
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1047
|
+
* @param {ProjectsApiGetProjectChangelogRequest} requestParameters Request parameters.
|
|
1048
|
+
|
|
1049
|
+
* @throws {RequiredError}
|
|
1050
|
+
* @memberof ProjectsApi
|
|
1051
|
+
*/
|
|
1052
|
+
getProjectChangelogWithHttpInfo(requestParameters) {
|
|
1053
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjectChangelogWithHttpInfo(requestParameters.id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1054
|
+
}
|
|
809
1055
|
/**
|
|
810
1056
|
* Lists the users permitted to access a project.
|
|
811
1057
|
* @summary List permitted users
|
|
@@ -817,6 +1063,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
817
1063
|
getProjectUsers(requestParameters) {
|
|
818
1064
|
return (0, exports.ProjectsApiFp)(this.configuration).getProjectUsers(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
819
1065
|
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Same as `getProjectUsers`, but resolves with the response body together with the HTTP status and headers.
|
|
1068
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1069
|
+
* @param {ProjectsApiGetProjectUsersRequest} requestParameters Request parameters.
|
|
1070
|
+
|
|
1071
|
+
* @throws {RequiredError}
|
|
1072
|
+
* @memberof ProjectsApi
|
|
1073
|
+
*/
|
|
1074
|
+
getProjectUsersWithHttpInfo(requestParameters) {
|
|
1075
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjectUsersWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
1076
|
+
}
|
|
820
1077
|
/**
|
|
821
1078
|
* Returns all non-archived projects.
|
|
822
1079
|
* @summary Get all projects
|
|
@@ -828,6 +1085,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
828
1085
|
getProjects(requestParameters = {}) {
|
|
829
1086
|
return (0, exports.ProjectsApiFp)(this.configuration).getProjects(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
830
1087
|
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Same as `getProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1090
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1091
|
+
* @param {ProjectsApiGetProjectsRequest} requestParameters Request parameters.
|
|
1092
|
+
|
|
1093
|
+
* @throws {RequiredError}
|
|
1094
|
+
* @memberof ProjectsApi
|
|
1095
|
+
*/
|
|
1096
|
+
getProjectsWithHttpInfo(requestParameters = {}) {
|
|
1097
|
+
return (0, exports.ProjectsApiFp)(this.configuration).getProjectsWithHttpInfo(requestParameters.filter_id, requestParameters.status, requestParameters.phase_id, requestParameters.deal_id, requestParameters.person_id, requestParameters.org_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1098
|
+
}
|
|
831
1099
|
/**
|
|
832
1100
|
* Searches all projects by title, description, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found projects can be filtered by person ID or organization ID.
|
|
833
1101
|
* @summary Search projects
|
|
@@ -839,6 +1107,17 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
839
1107
|
searchProjects(requestParameters) {
|
|
840
1108
|
return (0, exports.ProjectsApiFp)(this.configuration).searchProjects(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
841
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Same as `searchProjects`, but resolves with the response body together with the HTTP status and headers.
|
|
1112
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1113
|
+
* @param {ProjectsApiSearchProjectsRequest} requestParameters Request parameters.
|
|
1114
|
+
|
|
1115
|
+
* @throws {RequiredError}
|
|
1116
|
+
* @memberof ProjectsApi
|
|
1117
|
+
*/
|
|
1118
|
+
searchProjectsWithHttpInfo(requestParameters) {
|
|
1119
|
+
return (0, exports.ProjectsApiFp)(this.configuration).searchProjectsWithHttpInfo(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.person_id, requestParameters.organization_id, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
|
1120
|
+
}
|
|
842
1121
|
/**
|
|
843
1122
|
* Updates the properties of a project.
|
|
844
1123
|
* @summary Update a project
|
|
@@ -850,5 +1129,16 @@ class ProjectsApi extends base_1.BaseAPI {
|
|
|
850
1129
|
updateProject(requestParameters) {
|
|
851
1130
|
return (0, exports.ProjectsApiFp)(this.configuration).updateProject(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
852
1131
|
}
|
|
1132
|
+
/**
|
|
1133
|
+
* Same as `updateProject`, but resolves with the response body together with the HTTP status and headers.
|
|
1134
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
1135
|
+
* @param {ProjectsApiUpdateProjectRequest} requestParameters Request parameters.
|
|
1136
|
+
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
* @memberof ProjectsApi
|
|
1139
|
+
*/
|
|
1140
|
+
updateProjectWithHttpInfo(requestParameters) {
|
|
1141
|
+
return (0, exports.ProjectsApiFp)(this.configuration).updateProjectWithHttpInfo(requestParameters.id, requestParameters.UpdateProjectRequest).then((request) => request(this.axios, this.basePath));
|
|
1142
|
+
}
|
|
853
1143
|
}
|
|
854
1144
|
exports.ProjectsApi = ProjectsApi;
|