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
|
@@ -171,6 +171,19 @@ const PermissionSetsApiFp = function (configuration) {
|
|
|
171
171
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
172
172
|
});
|
|
173
173
|
},
|
|
174
|
+
/**
|
|
175
|
+
* Same as `getPermissionSet`, but resolves with the response body together with the HTTP status and headers.
|
|
176
|
+
* @summary Get one permission set
|
|
177
|
+
* @param {string} id The ID of the permission set
|
|
178
|
+
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
getPermissionSetWithHttpInfo(id) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSet(id);
|
|
184
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
185
|
+
});
|
|
186
|
+
},
|
|
174
187
|
/**
|
|
175
188
|
* Returns the list of assignments for a permission set.
|
|
176
189
|
* @summary List permission set assignments
|
|
@@ -186,6 +199,21 @@ const PermissionSetsApiFp = function (configuration) {
|
|
|
186
199
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
187
200
|
});
|
|
188
201
|
},
|
|
202
|
+
/**
|
|
203
|
+
* Same as `getPermissionSetAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
204
|
+
* @summary List permission set assignments
|
|
205
|
+
* @param {string} id The ID of the permission set
|
|
206
|
+
* @param {number} [start] Pagination start
|
|
207
|
+
* @param {number} [limit] Items shown per page
|
|
208
|
+
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
getPermissionSetAssignmentsWithHttpInfo(id, start, limit) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSetAssignments(id, start, limit);
|
|
214
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
215
|
+
});
|
|
216
|
+
},
|
|
189
217
|
/**
|
|
190
218
|
* Returns data about all permission sets.
|
|
191
219
|
* @summary Get all permission sets
|
|
@@ -199,6 +227,19 @@ const PermissionSetsApiFp = function (configuration) {
|
|
|
199
227
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
200
228
|
});
|
|
201
229
|
},
|
|
230
|
+
/**
|
|
231
|
+
* Same as `getPermissionSets`, but resolves with the response body together with the HTTP status and headers.
|
|
232
|
+
* @summary Get all permission sets
|
|
233
|
+
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
|
|
234
|
+
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
getPermissionSetsWithHttpInfo(app) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSets(app);
|
|
240
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
241
|
+
});
|
|
242
|
+
},
|
|
202
243
|
};
|
|
203
244
|
};
|
|
204
245
|
exports.PermissionSetsApiFp = PermissionSetsApiFp;
|
|
@@ -219,6 +260,9 @@ const PermissionSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
219
260
|
getPermissionSet(requestParameters) {
|
|
220
261
|
return localVarFp.getPermissionSet(requestParameters.id).then((request) => request(axios, basePath));
|
|
221
262
|
},
|
|
263
|
+
getPermissionSetWithHttpInfo(requestParameters) {
|
|
264
|
+
return localVarFp.getPermissionSetWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
265
|
+
},
|
|
222
266
|
/**
|
|
223
267
|
* Returns the list of assignments for a permission set.
|
|
224
268
|
* @summary List permission set assignments
|
|
@@ -229,6 +273,9 @@ const PermissionSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
229
273
|
getPermissionSetAssignments(requestParameters) {
|
|
230
274
|
return localVarFp.getPermissionSetAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
231
275
|
},
|
|
276
|
+
getPermissionSetAssignmentsWithHttpInfo(requestParameters) {
|
|
277
|
+
return localVarFp.getPermissionSetAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
278
|
+
},
|
|
232
279
|
/**
|
|
233
280
|
* Returns data about all permission sets.
|
|
234
281
|
* @summary Get all permission sets
|
|
@@ -239,6 +286,9 @@ const PermissionSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
239
286
|
getPermissionSets(requestParameters = {}) {
|
|
240
287
|
return localVarFp.getPermissionSets(requestParameters.app).then((request) => request(axios, basePath));
|
|
241
288
|
},
|
|
289
|
+
getPermissionSetsWithHttpInfo(requestParameters = {}) {
|
|
290
|
+
return localVarFp.getPermissionSetsWithHttpInfo(requestParameters.app).then((request) => request(axios, basePath));
|
|
291
|
+
},
|
|
242
292
|
};
|
|
243
293
|
};
|
|
244
294
|
exports.PermissionSetsApiFactory = PermissionSetsApiFactory;
|
|
@@ -260,6 +310,17 @@ class PermissionSetsApi extends base_1.BaseAPI {
|
|
|
260
310
|
getPermissionSet(requestParameters) {
|
|
261
311
|
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSet(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
262
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* Same as `getPermissionSet`, but resolves with the response body together with the HTTP status and headers.
|
|
315
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
316
|
+
* @param {PermissionSetsApiGetPermissionSetRequest} requestParameters Request parameters.
|
|
317
|
+
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
* @memberof PermissionSetsApi
|
|
320
|
+
*/
|
|
321
|
+
getPermissionSetWithHttpInfo(requestParameters) {
|
|
322
|
+
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSetWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
323
|
+
}
|
|
263
324
|
/**
|
|
264
325
|
* Returns the list of assignments for a permission set.
|
|
265
326
|
* @summary List permission set assignments
|
|
@@ -271,6 +332,17 @@ class PermissionSetsApi extends base_1.BaseAPI {
|
|
|
271
332
|
getPermissionSetAssignments(requestParameters) {
|
|
272
333
|
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSetAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
273
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* Same as `getPermissionSetAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
337
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
338
|
+
* @param {PermissionSetsApiGetPermissionSetAssignmentsRequest} requestParameters Request parameters.
|
|
339
|
+
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
* @memberof PermissionSetsApi
|
|
342
|
+
*/
|
|
343
|
+
getPermissionSetAssignmentsWithHttpInfo(requestParameters) {
|
|
344
|
+
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSetAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
345
|
+
}
|
|
274
346
|
/**
|
|
275
347
|
* Returns data about all permission sets.
|
|
276
348
|
* @summary Get all permission sets
|
|
@@ -282,5 +354,16 @@ class PermissionSetsApi extends base_1.BaseAPI {
|
|
|
282
354
|
getPermissionSets(requestParameters = {}) {
|
|
283
355
|
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSets(requestParameters.app).then((request) => request(this.axios, this.basePath));
|
|
284
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Same as `getPermissionSets`, but resolves with the response body together with the HTTP status and headers.
|
|
359
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
360
|
+
* @param {PermissionSetsApiGetPermissionSetsRequest} requestParameters Request parameters.
|
|
361
|
+
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof PermissionSetsApi
|
|
364
|
+
*/
|
|
365
|
+
getPermissionSetsWithHttpInfo(requestParameters = {}) {
|
|
366
|
+
return (0, exports.PermissionSetsApiFp)(this.configuration).getPermissionSetsWithHttpInfo(requestParameters.app).then((request) => request(this.axios, this.basePath));
|
|
367
|
+
}
|
|
285
368
|
}
|
|
286
369
|
exports.PermissionSetsApi = PermissionSetsApi;
|
|
@@ -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 { CreateFieldRequest } from '../models';
|
|
16
16
|
import { DeleteFieldsResponse } from '../models';
|
|
17
17
|
import { DeleteResponse } from '../models';
|
|
@@ -87,6 +87,14 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
89
|
addPersonField(CreateFieldRequest?: CreateFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFieldResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
92
|
+
* @summary Add a new person field
|
|
93
|
+
* @param {CreateFieldRequest} [CreateFieldRequest]
|
|
94
|
+
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
addPersonFieldWithHttpInfo(CreateFieldRequest?: CreateFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldResponse>>>;
|
|
90
98
|
/**
|
|
91
99
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
92
100
|
* @summary Delete a person field
|
|
@@ -95,6 +103,14 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
95
103
|
* @throws {RequiredError}
|
|
96
104
|
*/
|
|
97
105
|
deletePersonField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteResponse>>;
|
|
106
|
+
/**
|
|
107
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
108
|
+
* @summary Delete a person field
|
|
109
|
+
* @param {number} id The ID of the field
|
|
110
|
+
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
deletePersonFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteResponse>>>;
|
|
98
114
|
/**
|
|
99
115
|
* Marks multiple fields as deleted.
|
|
100
116
|
* @summary Delete multiple person fields in bulk
|
|
@@ -103,6 +119,14 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
103
119
|
* @throws {RequiredError}
|
|
104
120
|
*/
|
|
105
121
|
deletePersonFields(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteFieldsResponse>>;
|
|
122
|
+
/**
|
|
123
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
124
|
+
* @summary Delete multiple person fields in bulk
|
|
125
|
+
* @param {Set<number>} ids The comma-separated field IDs to delete
|
|
126
|
+
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
deletePersonFieldsWithHttpInfo(ids: Set<number>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteFieldsResponse>>>;
|
|
106
130
|
/**
|
|
107
131
|
* Returns data about a specific person field.
|
|
108
132
|
* @summary Get one person field
|
|
@@ -111,6 +135,14 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
111
135
|
* @throws {RequiredError}
|
|
112
136
|
*/
|
|
113
137
|
getPersonField(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFieldResponse>>;
|
|
138
|
+
/**
|
|
139
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
140
|
+
* @summary Get one person field
|
|
141
|
+
* @param {number} id The ID of the field
|
|
142
|
+
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getPersonFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldResponse>>>;
|
|
114
146
|
/**
|
|
115
147
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
116
148
|
* @summary Get all person fields
|
|
@@ -120,6 +152,15 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
120
152
|
* @throws {RequiredError}
|
|
121
153
|
*/
|
|
122
154
|
getPersonFields(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFieldsResponse>>;
|
|
155
|
+
/**
|
|
156
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
157
|
+
* @summary Get all person fields
|
|
158
|
+
* @param {number} [start] Pagination start
|
|
159
|
+
* @param {number} [limit] Items shown per page
|
|
160
|
+
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getPersonFieldsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldsResponse>>>;
|
|
123
164
|
/**
|
|
124
165
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
125
166
|
* @summary Update a person field
|
|
@@ -129,6 +170,15 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
|
|
|
129
170
|
* @throws {RequiredError}
|
|
130
171
|
*/
|
|
131
172
|
updatePersonField(id: number, UpdateFieldRequest?: UpdateFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetFieldResponse>>;
|
|
173
|
+
/**
|
|
174
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
175
|
+
* @summary Update a person field
|
|
176
|
+
* @param {number} id The ID of the field
|
|
177
|
+
* @param {UpdateFieldRequest} [UpdateFieldRequest]
|
|
178
|
+
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
updatePersonFieldWithHttpInfo(id: number, UpdateFieldRequest?: UpdateFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldResponse>>>;
|
|
132
182
|
};
|
|
133
183
|
/**
|
|
134
184
|
* PersonFieldsApi - factory interface
|
|
@@ -143,6 +193,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
143
193
|
* @throws {RequiredError}
|
|
144
194
|
*/
|
|
145
195
|
addPersonField(requestParameters?: PersonFieldsApiAddPersonFieldRequest): Promise<GetFieldResponse>;
|
|
196
|
+
addPersonFieldWithHttpInfo(requestParameters?: PersonFieldsApiAddPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
146
197
|
/**
|
|
147
198
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
148
199
|
* @summary Delete a person field
|
|
@@ -151,6 +202,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
151
202
|
* @throws {RequiredError}
|
|
152
203
|
*/
|
|
153
204
|
deletePersonField(requestParameters: PersonFieldsApiDeletePersonFieldRequest): Promise<DeleteResponse>;
|
|
205
|
+
deletePersonFieldWithHttpInfo(requestParameters: PersonFieldsApiDeletePersonFieldRequest): Promise<ApiResponse<DeleteResponse>>;
|
|
154
206
|
/**
|
|
155
207
|
* Marks multiple fields as deleted.
|
|
156
208
|
* @summary Delete multiple person fields in bulk
|
|
@@ -159,6 +211,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
159
211
|
* @throws {RequiredError}
|
|
160
212
|
*/
|
|
161
213
|
deletePersonFields(requestParameters: PersonFieldsApiDeletePersonFieldsRequest): Promise<DeleteFieldsResponse>;
|
|
214
|
+
deletePersonFieldsWithHttpInfo(requestParameters: PersonFieldsApiDeletePersonFieldsRequest): Promise<ApiResponse<DeleteFieldsResponse>>;
|
|
162
215
|
/**
|
|
163
216
|
* Returns data about a specific person field.
|
|
164
217
|
* @summary Get one person field
|
|
@@ -167,6 +220,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
167
220
|
* @throws {RequiredError}
|
|
168
221
|
*/
|
|
169
222
|
getPersonField(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<GetFieldResponse>;
|
|
223
|
+
getPersonFieldWithHttpInfo(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
170
224
|
/**
|
|
171
225
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
172
226
|
* @summary Get all person fields
|
|
@@ -175,6 +229,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
175
229
|
* @throws {RequiredError}
|
|
176
230
|
*/
|
|
177
231
|
getPersonFields(requestParameters?: PersonFieldsApiGetPersonFieldsRequest): Promise<GetFieldsResponse>;
|
|
232
|
+
getPersonFieldsWithHttpInfo(requestParameters?: PersonFieldsApiGetPersonFieldsRequest): Promise<ApiResponse<GetFieldsResponse>>;
|
|
178
233
|
/**
|
|
179
234
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
180
235
|
* @summary Update a person field
|
|
@@ -183,6 +238,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
|
|
|
183
238
|
* @throws {RequiredError}
|
|
184
239
|
*/
|
|
185
240
|
updatePersonField(requestParameters: PersonFieldsApiUpdatePersonFieldRequest): Promise<GetFieldResponse>;
|
|
241
|
+
updatePersonFieldWithHttpInfo(requestParameters: PersonFieldsApiUpdatePersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
186
242
|
};
|
|
187
243
|
/**
|
|
188
244
|
* Request parameters for addPersonField operation in PersonFieldsApi.
|
|
@@ -290,6 +346,15 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
290
346
|
* @memberof PersonFieldsApi
|
|
291
347
|
*/
|
|
292
348
|
addPersonField(requestParameters?: PersonFieldsApiAddPersonFieldRequest): Promise<GetFieldResponse>;
|
|
349
|
+
/**
|
|
350
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
351
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
352
|
+
* @param {PersonFieldsApiAddPersonFieldRequest} requestParameters Request parameters.
|
|
353
|
+
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof PersonFieldsApi
|
|
356
|
+
*/
|
|
357
|
+
addPersonFieldWithHttpInfo(requestParameters?: PersonFieldsApiAddPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
293
358
|
/**
|
|
294
359
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
295
360
|
* @summary Delete a person field
|
|
@@ -299,6 +364,15 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
299
364
|
* @memberof PersonFieldsApi
|
|
300
365
|
*/
|
|
301
366
|
deletePersonField(requestParameters: PersonFieldsApiDeletePersonFieldRequest): Promise<DeleteResponse>;
|
|
367
|
+
/**
|
|
368
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
369
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
370
|
+
* @param {PersonFieldsApiDeletePersonFieldRequest} requestParameters Request parameters.
|
|
371
|
+
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof PersonFieldsApi
|
|
374
|
+
*/
|
|
375
|
+
deletePersonFieldWithHttpInfo(requestParameters: PersonFieldsApiDeletePersonFieldRequest): Promise<ApiResponse<DeleteResponse>>;
|
|
302
376
|
/**
|
|
303
377
|
* Marks multiple fields as deleted.
|
|
304
378
|
* @summary Delete multiple person fields in bulk
|
|
@@ -308,6 +382,15 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
308
382
|
* @memberof PersonFieldsApi
|
|
309
383
|
*/
|
|
310
384
|
deletePersonFields(requestParameters: PersonFieldsApiDeletePersonFieldsRequest): Promise<DeleteFieldsResponse>;
|
|
385
|
+
/**
|
|
386
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
387
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
388
|
+
* @param {PersonFieldsApiDeletePersonFieldsRequest} requestParameters Request parameters.
|
|
389
|
+
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof PersonFieldsApi
|
|
392
|
+
*/
|
|
393
|
+
deletePersonFieldsWithHttpInfo(requestParameters: PersonFieldsApiDeletePersonFieldsRequest): Promise<ApiResponse<DeleteFieldsResponse>>;
|
|
311
394
|
/**
|
|
312
395
|
* Returns data about a specific person field.
|
|
313
396
|
* @summary Get one person field
|
|
@@ -317,6 +400,15 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
317
400
|
* @memberof PersonFieldsApi
|
|
318
401
|
*/
|
|
319
402
|
getPersonField(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<GetFieldResponse>;
|
|
403
|
+
/**
|
|
404
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
405
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
406
|
+
* @param {PersonFieldsApiGetPersonFieldRequest} requestParameters Request parameters.
|
|
407
|
+
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
* @memberof PersonFieldsApi
|
|
410
|
+
*/
|
|
411
|
+
getPersonFieldWithHttpInfo(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
320
412
|
/**
|
|
321
413
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
322
414
|
* @summary Get all person fields
|
|
@@ -326,6 +418,15 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
326
418
|
* @memberof PersonFieldsApi
|
|
327
419
|
*/
|
|
328
420
|
getPersonFields(requestParameters?: PersonFieldsApiGetPersonFieldsRequest): Promise<GetFieldsResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
423
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
424
|
+
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
|
|
425
|
+
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof PersonFieldsApi
|
|
428
|
+
*/
|
|
429
|
+
getPersonFieldsWithHttpInfo(requestParameters?: PersonFieldsApiGetPersonFieldsRequest): Promise<ApiResponse<GetFieldsResponse>>;
|
|
329
430
|
/**
|
|
330
431
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
331
432
|
* @summary Update a person field
|
|
@@ -335,4 +436,13 @@ export declare class PersonFieldsApi extends BaseAPI {
|
|
|
335
436
|
* @memberof PersonFieldsApi
|
|
336
437
|
*/
|
|
337
438
|
updatePersonField(requestParameters: PersonFieldsApiUpdatePersonFieldRequest): Promise<GetFieldResponse>;
|
|
439
|
+
/**
|
|
440
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
441
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
442
|
+
* @param {PersonFieldsApiUpdatePersonFieldRequest} requestParameters Request parameters.
|
|
443
|
+
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
* @memberof PersonFieldsApi
|
|
446
|
+
*/
|
|
447
|
+
updatePersonFieldWithHttpInfo(requestParameters: PersonFieldsApiUpdatePersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
|
|
338
448
|
}
|
|
@@ -273,6 +273,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
273
273
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
274
274
|
});
|
|
275
275
|
},
|
|
276
|
+
/**
|
|
277
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
278
|
+
* @summary Add a new person field
|
|
279
|
+
* @param {CreateFieldRequest} [CreateFieldRequest]
|
|
280
|
+
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
addPersonFieldWithHttpInfo(CreateFieldRequest) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonField(CreateFieldRequest);
|
|
286
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
287
|
+
});
|
|
288
|
+
},
|
|
276
289
|
/**
|
|
277
290
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
278
291
|
* @summary Delete a person field
|
|
@@ -286,6 +299,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
286
299
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
287
300
|
});
|
|
288
301
|
},
|
|
302
|
+
/**
|
|
303
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
304
|
+
* @summary Delete a person field
|
|
305
|
+
* @param {number} id The ID of the field
|
|
306
|
+
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
deletePersonFieldWithHttpInfo(id) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonField(id);
|
|
312
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
313
|
+
});
|
|
314
|
+
},
|
|
289
315
|
/**
|
|
290
316
|
* Marks multiple fields as deleted.
|
|
291
317
|
* @summary Delete multiple person fields in bulk
|
|
@@ -299,6 +325,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
299
325
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
300
326
|
});
|
|
301
327
|
},
|
|
328
|
+
/**
|
|
329
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
330
|
+
* @summary Delete multiple person fields in bulk
|
|
331
|
+
* @param {Set<number>} ids The comma-separated field IDs to delete
|
|
332
|
+
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
deletePersonFieldsWithHttpInfo(ids) {
|
|
336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFields(ids);
|
|
338
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
339
|
+
});
|
|
340
|
+
},
|
|
302
341
|
/**
|
|
303
342
|
* Returns data about a specific person field.
|
|
304
343
|
* @summary Get one person field
|
|
@@ -312,6 +351,19 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
312
351
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
313
352
|
});
|
|
314
353
|
},
|
|
354
|
+
/**
|
|
355
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
356
|
+
* @summary Get one person field
|
|
357
|
+
* @param {number} id The ID of the field
|
|
358
|
+
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
getPersonFieldWithHttpInfo(id) {
|
|
362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonField(id);
|
|
364
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
365
|
+
});
|
|
366
|
+
},
|
|
315
367
|
/**
|
|
316
368
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
317
369
|
* @summary Get all person fields
|
|
@@ -326,6 +378,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
326
378
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
327
379
|
});
|
|
328
380
|
},
|
|
381
|
+
/**
|
|
382
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
383
|
+
* @summary Get all person fields
|
|
384
|
+
* @param {number} [start] Pagination start
|
|
385
|
+
* @param {number} [limit] Items shown per page
|
|
386
|
+
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
getPersonFieldsWithHttpInfo(start, limit) {
|
|
390
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
391
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFields(start, limit);
|
|
392
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
393
|
+
});
|
|
394
|
+
},
|
|
329
395
|
/**
|
|
330
396
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
331
397
|
* @summary Update a person field
|
|
@@ -340,6 +406,20 @@ const PersonFieldsApiFp = function (configuration) {
|
|
|
340
406
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
341
407
|
});
|
|
342
408
|
},
|
|
409
|
+
/**
|
|
410
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
411
|
+
* @summary Update a person field
|
|
412
|
+
* @param {number} id The ID of the field
|
|
413
|
+
* @param {UpdateFieldRequest} [UpdateFieldRequest]
|
|
414
|
+
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
updatePersonFieldWithHttpInfo(id, UpdateFieldRequest) {
|
|
418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
419
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonField(id, UpdateFieldRequest);
|
|
420
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
421
|
+
});
|
|
422
|
+
},
|
|
343
423
|
};
|
|
344
424
|
};
|
|
345
425
|
exports.PersonFieldsApiFp = PersonFieldsApiFp;
|
|
@@ -360,6 +440,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
360
440
|
addPersonField(requestParameters = {}) {
|
|
361
441
|
return localVarFp.addPersonField(requestParameters.CreateFieldRequest).then((request) => request(axios, basePath));
|
|
362
442
|
},
|
|
443
|
+
addPersonFieldWithHttpInfo(requestParameters = {}) {
|
|
444
|
+
return localVarFp.addPersonFieldWithHttpInfo(requestParameters.CreateFieldRequest).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
363
446
|
/**
|
|
364
447
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
365
448
|
* @summary Delete a person field
|
|
@@ -370,6 +453,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
370
453
|
deletePersonField(requestParameters) {
|
|
371
454
|
return localVarFp.deletePersonField(requestParameters.id).then((request) => request(axios, basePath));
|
|
372
455
|
},
|
|
456
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
457
|
+
return localVarFp.deletePersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
458
|
+
},
|
|
373
459
|
/**
|
|
374
460
|
* Marks multiple fields as deleted.
|
|
375
461
|
* @summary Delete multiple person fields in bulk
|
|
@@ -380,6 +466,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
380
466
|
deletePersonFields(requestParameters) {
|
|
381
467
|
return localVarFp.deletePersonFields(requestParameters.ids).then((request) => request(axios, basePath));
|
|
382
468
|
},
|
|
469
|
+
deletePersonFieldsWithHttpInfo(requestParameters) {
|
|
470
|
+
return localVarFp.deletePersonFieldsWithHttpInfo(requestParameters.ids).then((request) => request(axios, basePath));
|
|
471
|
+
},
|
|
383
472
|
/**
|
|
384
473
|
* Returns data about a specific person field.
|
|
385
474
|
* @summary Get one person field
|
|
@@ -390,6 +479,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
390
479
|
getPersonField(requestParameters) {
|
|
391
480
|
return localVarFp.getPersonField(requestParameters.id).then((request) => request(axios, basePath));
|
|
392
481
|
},
|
|
482
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
483
|
+
return localVarFp.getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
484
|
+
},
|
|
393
485
|
/**
|
|
394
486
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
395
487
|
* @summary Get all person fields
|
|
@@ -400,6 +492,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
400
492
|
getPersonFields(requestParameters = {}) {
|
|
401
493
|
return localVarFp.getPersonFields(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
402
494
|
},
|
|
495
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
496
|
+
return localVarFp.getPersonFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
497
|
+
},
|
|
403
498
|
/**
|
|
404
499
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
405
500
|
* @summary Update a person field
|
|
@@ -410,6 +505,9 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
410
505
|
updatePersonField(requestParameters) {
|
|
411
506
|
return localVarFp.updatePersonField(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(axios, basePath));
|
|
412
507
|
},
|
|
508
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
509
|
+
return localVarFp.updatePersonFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(axios, basePath));
|
|
510
|
+
},
|
|
413
511
|
};
|
|
414
512
|
};
|
|
415
513
|
exports.PersonFieldsApiFactory = PersonFieldsApiFactory;
|
|
@@ -431,6 +529,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
431
529
|
addPersonField(requestParameters = {}) {
|
|
432
530
|
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonField(requestParameters.CreateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
433
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
534
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
535
|
+
* @param {PersonFieldsApiAddPersonFieldRequest} requestParameters Request parameters.
|
|
536
|
+
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
* @memberof PersonFieldsApi
|
|
539
|
+
*/
|
|
540
|
+
addPersonFieldWithHttpInfo(requestParameters = {}) {
|
|
541
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).addPersonFieldWithHttpInfo(requestParameters.CreateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
542
|
+
}
|
|
434
543
|
/**
|
|
435
544
|
* Marks a field as deleted. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">deleting a custom field</a>.
|
|
436
545
|
* @summary Delete a person field
|
|
@@ -442,6 +551,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
442
551
|
deletePersonField(requestParameters) {
|
|
443
552
|
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonField(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
444
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
556
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
557
|
+
* @param {PersonFieldsApiDeletePersonFieldRequest} requestParameters Request parameters.
|
|
558
|
+
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
* @memberof PersonFieldsApi
|
|
561
|
+
*/
|
|
562
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
563
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
564
|
+
}
|
|
445
565
|
/**
|
|
446
566
|
* Marks multiple fields as deleted.
|
|
447
567
|
* @summary Delete multiple person fields in bulk
|
|
@@ -453,6 +573,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
453
573
|
deletePersonFields(requestParameters) {
|
|
454
574
|
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFields(requestParameters.ids).then((request) => request(this.axios, this.basePath));
|
|
455
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
578
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
579
|
+
* @param {PersonFieldsApiDeletePersonFieldsRequest} requestParameters Request parameters.
|
|
580
|
+
|
|
581
|
+
* @throws {RequiredError}
|
|
582
|
+
* @memberof PersonFieldsApi
|
|
583
|
+
*/
|
|
584
|
+
deletePersonFieldsWithHttpInfo(requestParameters) {
|
|
585
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).deletePersonFieldsWithHttpInfo(requestParameters.ids).then((request) => request(this.axios, this.basePath));
|
|
586
|
+
}
|
|
456
587
|
/**
|
|
457
588
|
* Returns data about a specific person field.
|
|
458
589
|
* @summary Get one person field
|
|
@@ -464,6 +595,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
464
595
|
getPersonField(requestParameters) {
|
|
465
596
|
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonField(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
466
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
600
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
601
|
+
* @param {PersonFieldsApiGetPersonFieldRequest} requestParameters Request parameters.
|
|
602
|
+
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
* @memberof PersonFieldsApi
|
|
605
|
+
*/
|
|
606
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
607
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
608
|
+
}
|
|
467
609
|
/**
|
|
468
610
|
* Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
|
|
469
611
|
* @summary Get all person fields
|
|
@@ -475,6 +617,17 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
475
617
|
getPersonFields(requestParameters = {}) {
|
|
476
618
|
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFields(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
477
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
622
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
623
|
+
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
|
|
624
|
+
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
* @memberof PersonFieldsApi
|
|
627
|
+
*/
|
|
628
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
629
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
630
|
+
}
|
|
478
631
|
/**
|
|
479
632
|
* Updates a person field. For more information, see the tutorial for <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields\' values</a>.
|
|
480
633
|
* @summary Update a person field
|
|
@@ -486,5 +639,16 @@ class PersonFieldsApi extends base_1.BaseAPI {
|
|
|
486
639
|
updatePersonField(requestParameters) {
|
|
487
640
|
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonField(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
488
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
644
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
645
|
+
* @param {PersonFieldsApiUpdatePersonFieldRequest} requestParameters Request parameters.
|
|
646
|
+
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
* @memberof PersonFieldsApi
|
|
649
|
+
*/
|
|
650
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
651
|
+
return (0, exports.PersonFieldsApiFp)(this.configuration).updatePersonFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
652
|
+
}
|
|
489
653
|
}
|
|
490
654
|
exports.PersonFieldsApi = PersonFieldsApi;
|