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
|
@@ -164,6 +164,19 @@ export const PermissionSetsApiFp = function (configuration) {
|
|
|
164
164
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
165
165
|
});
|
|
166
166
|
},
|
|
167
|
+
/**
|
|
168
|
+
* Same as `getPermissionSet`, but resolves with the response body together with the HTTP status and headers.
|
|
169
|
+
* @summary Get one permission set
|
|
170
|
+
* @param {string} id The ID of the permission set
|
|
171
|
+
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
getPermissionSetWithHttpInfo(id) {
|
|
175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSet(id);
|
|
177
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
178
|
+
});
|
|
179
|
+
},
|
|
167
180
|
/**
|
|
168
181
|
* Returns the list of assignments for a permission set.
|
|
169
182
|
* @summary List permission set assignments
|
|
@@ -179,6 +192,21 @@ export const PermissionSetsApiFp = function (configuration) {
|
|
|
179
192
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
180
193
|
});
|
|
181
194
|
},
|
|
195
|
+
/**
|
|
196
|
+
* Same as `getPermissionSetAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
197
|
+
* @summary List permission set assignments
|
|
198
|
+
* @param {string} id The ID of the permission set
|
|
199
|
+
* @param {number} [start] Pagination start
|
|
200
|
+
* @param {number} [limit] Items shown per page
|
|
201
|
+
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getPermissionSetAssignmentsWithHttpInfo(id, start, limit) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSetAssignments(id, start, limit);
|
|
207
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
208
|
+
});
|
|
209
|
+
},
|
|
182
210
|
/**
|
|
183
211
|
* Returns data about all permission sets.
|
|
184
212
|
* @summary Get all permission sets
|
|
@@ -192,6 +220,19 @@ export const PermissionSetsApiFp = function (configuration) {
|
|
|
192
220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
193
221
|
});
|
|
194
222
|
},
|
|
223
|
+
/**
|
|
224
|
+
* Same as `getPermissionSets`, but resolves with the response body together with the HTTP status and headers.
|
|
225
|
+
* @summary Get all permission sets
|
|
226
|
+
* @param {'sales' | 'projects' | 'campaigns' | 'global' | 'account_settings' | 'partnership' | 'nova'} [app] The app to filter the permission sets by
|
|
227
|
+
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
getPermissionSetsWithHttpInfo(app) {
|
|
231
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
232
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPermissionSets(app);
|
|
233
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
234
|
+
});
|
|
235
|
+
},
|
|
195
236
|
};
|
|
196
237
|
};
|
|
197
238
|
/**
|
|
@@ -211,6 +252,9 @@ export const PermissionSetsApiFactory = function (configuration, basePath, axios
|
|
|
211
252
|
getPermissionSet(requestParameters) {
|
|
212
253
|
return localVarFp.getPermissionSet(requestParameters.id).then((request) => request(axios, basePath));
|
|
213
254
|
},
|
|
255
|
+
getPermissionSetWithHttpInfo(requestParameters) {
|
|
256
|
+
return localVarFp.getPermissionSetWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
257
|
+
},
|
|
214
258
|
/**
|
|
215
259
|
* Returns the list of assignments for a permission set.
|
|
216
260
|
* @summary List permission set assignments
|
|
@@ -221,6 +265,9 @@ export const PermissionSetsApiFactory = function (configuration, basePath, axios
|
|
|
221
265
|
getPermissionSetAssignments(requestParameters) {
|
|
222
266
|
return localVarFp.getPermissionSetAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
223
267
|
},
|
|
268
|
+
getPermissionSetAssignmentsWithHttpInfo(requestParameters) {
|
|
269
|
+
return localVarFp.getPermissionSetAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
270
|
+
},
|
|
224
271
|
/**
|
|
225
272
|
* Returns data about all permission sets.
|
|
226
273
|
* @summary Get all permission sets
|
|
@@ -231,6 +278,9 @@ export const PermissionSetsApiFactory = function (configuration, basePath, axios
|
|
|
231
278
|
getPermissionSets(requestParameters = {}) {
|
|
232
279
|
return localVarFp.getPermissionSets(requestParameters.app).then((request) => request(axios, basePath));
|
|
233
280
|
},
|
|
281
|
+
getPermissionSetsWithHttpInfo(requestParameters = {}) {
|
|
282
|
+
return localVarFp.getPermissionSetsWithHttpInfo(requestParameters.app).then((request) => request(axios, basePath));
|
|
283
|
+
},
|
|
234
284
|
};
|
|
235
285
|
};
|
|
236
286
|
/**
|
|
@@ -251,6 +301,17 @@ export class PermissionSetsApi extends BaseAPI {
|
|
|
251
301
|
getPermissionSet(requestParameters) {
|
|
252
302
|
return PermissionSetsApiFp(this.configuration).getPermissionSet(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
253
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Same as `getPermissionSet`, but resolves with the response body together with the HTTP status and headers.
|
|
306
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
307
|
+
* @param {PermissionSetsApiGetPermissionSetRequest} requestParameters Request parameters.
|
|
308
|
+
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
* @memberof PermissionSetsApi
|
|
311
|
+
*/
|
|
312
|
+
getPermissionSetWithHttpInfo(requestParameters) {
|
|
313
|
+
return PermissionSetsApiFp(this.configuration).getPermissionSetWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
314
|
+
}
|
|
254
315
|
/**
|
|
255
316
|
* Returns the list of assignments for a permission set.
|
|
256
317
|
* @summary List permission set assignments
|
|
@@ -262,6 +323,17 @@ export class PermissionSetsApi extends BaseAPI {
|
|
|
262
323
|
getPermissionSetAssignments(requestParameters) {
|
|
263
324
|
return PermissionSetsApiFp(this.configuration).getPermissionSetAssignments(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
264
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* Same as `getPermissionSetAssignments`, but resolves with the response body together with the HTTP status and headers.
|
|
328
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
329
|
+
* @param {PermissionSetsApiGetPermissionSetAssignmentsRequest} requestParameters Request parameters.
|
|
330
|
+
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
* @memberof PermissionSetsApi
|
|
333
|
+
*/
|
|
334
|
+
getPermissionSetAssignmentsWithHttpInfo(requestParameters) {
|
|
335
|
+
return PermissionSetsApiFp(this.configuration).getPermissionSetAssignmentsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
336
|
+
}
|
|
265
337
|
/**
|
|
266
338
|
* Returns data about all permission sets.
|
|
267
339
|
* @summary Get all permission sets
|
|
@@ -273,4 +345,15 @@ export class PermissionSetsApi extends BaseAPI {
|
|
|
273
345
|
getPermissionSets(requestParameters = {}) {
|
|
274
346
|
return PermissionSetsApiFp(this.configuration).getPermissionSets(requestParameters.app).then((request) => request(this.axios, this.basePath));
|
|
275
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Same as `getPermissionSets`, but resolves with the response body together with the HTTP status and headers.
|
|
350
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
351
|
+
* @param {PermissionSetsApiGetPermissionSetsRequest} requestParameters Request parameters.
|
|
352
|
+
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof PermissionSetsApi
|
|
355
|
+
*/
|
|
356
|
+
getPermissionSetsWithHttpInfo(requestParameters = {}) {
|
|
357
|
+
return PermissionSetsApiFp(this.configuration).getPermissionSetsWithHttpInfo(requestParameters.app).then((request) => request(this.axios, this.basePath));
|
|
358
|
+
}
|
|
276
359
|
}
|
|
@@ -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
|
}
|
|
@@ -266,6 +266,19 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
266
266
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
267
267
|
});
|
|
268
268
|
},
|
|
269
|
+
/**
|
|
270
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
271
|
+
* @summary Add a new person field
|
|
272
|
+
* @param {CreateFieldRequest} [CreateFieldRequest]
|
|
273
|
+
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
addPersonFieldWithHttpInfo(CreateFieldRequest) {
|
|
277
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
278
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPersonField(CreateFieldRequest);
|
|
279
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
280
|
+
});
|
|
281
|
+
},
|
|
269
282
|
/**
|
|
270
283
|
* 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>.
|
|
271
284
|
* @summary Delete a person field
|
|
@@ -279,6 +292,19 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
279
292
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
280
293
|
});
|
|
281
294
|
},
|
|
295
|
+
/**
|
|
296
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
297
|
+
* @summary Delete a person field
|
|
298
|
+
* @param {number} id The ID of the field
|
|
299
|
+
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
deletePersonFieldWithHttpInfo(id) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonField(id);
|
|
305
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
306
|
+
});
|
|
307
|
+
},
|
|
282
308
|
/**
|
|
283
309
|
* Marks multiple fields as deleted.
|
|
284
310
|
* @summary Delete multiple person fields in bulk
|
|
@@ -292,6 +318,19 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
292
318
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
293
319
|
});
|
|
294
320
|
},
|
|
321
|
+
/**
|
|
322
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
323
|
+
* @summary Delete multiple person fields in bulk
|
|
324
|
+
* @param {Set<number>} ids The comma-separated field IDs to delete
|
|
325
|
+
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
deletePersonFieldsWithHttpInfo(ids) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePersonFields(ids);
|
|
331
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
332
|
+
});
|
|
333
|
+
},
|
|
295
334
|
/**
|
|
296
335
|
* Returns data about a specific person field.
|
|
297
336
|
* @summary Get one person field
|
|
@@ -305,6 +344,19 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
305
344
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
306
345
|
});
|
|
307
346
|
},
|
|
347
|
+
/**
|
|
348
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
349
|
+
* @summary Get one person field
|
|
350
|
+
* @param {number} id The ID of the field
|
|
351
|
+
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
getPersonFieldWithHttpInfo(id) {
|
|
355
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
356
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonField(id);
|
|
357
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
358
|
+
});
|
|
359
|
+
},
|
|
308
360
|
/**
|
|
309
361
|
* 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.
|
|
310
362
|
* @summary Get all person fields
|
|
@@ -319,6 +371,20 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
319
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
320
372
|
});
|
|
321
373
|
},
|
|
374
|
+
/**
|
|
375
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
376
|
+
* @summary Get all person fields
|
|
377
|
+
* @param {number} [start] Pagination start
|
|
378
|
+
* @param {number} [limit] Items shown per page
|
|
379
|
+
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
getPersonFieldsWithHttpInfo(start, limit) {
|
|
383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
384
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonFields(start, limit);
|
|
385
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
386
|
+
});
|
|
387
|
+
},
|
|
322
388
|
/**
|
|
323
389
|
* 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>.
|
|
324
390
|
* @summary Update a person field
|
|
@@ -333,6 +399,20 @@ export const PersonFieldsApiFp = function (configuration) {
|
|
|
333
399
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
334
400
|
});
|
|
335
401
|
},
|
|
402
|
+
/**
|
|
403
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
404
|
+
* @summary Update a person field
|
|
405
|
+
* @param {number} id The ID of the field
|
|
406
|
+
* @param {UpdateFieldRequest} [UpdateFieldRequest]
|
|
407
|
+
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
*/
|
|
410
|
+
updatePersonFieldWithHttpInfo(id, UpdateFieldRequest) {
|
|
411
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
412
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePersonField(id, UpdateFieldRequest);
|
|
413
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration, true);
|
|
414
|
+
});
|
|
415
|
+
},
|
|
336
416
|
};
|
|
337
417
|
};
|
|
338
418
|
/**
|
|
@@ -352,6 +432,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
352
432
|
addPersonField(requestParameters = {}) {
|
|
353
433
|
return localVarFp.addPersonField(requestParameters.CreateFieldRequest).then((request) => request(axios, basePath));
|
|
354
434
|
},
|
|
435
|
+
addPersonFieldWithHttpInfo(requestParameters = {}) {
|
|
436
|
+
return localVarFp.addPersonFieldWithHttpInfo(requestParameters.CreateFieldRequest).then((request) => request(axios, basePath));
|
|
437
|
+
},
|
|
355
438
|
/**
|
|
356
439
|
* 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>.
|
|
357
440
|
* @summary Delete a person field
|
|
@@ -362,6 +445,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
362
445
|
deletePersonField(requestParameters) {
|
|
363
446
|
return localVarFp.deletePersonField(requestParameters.id).then((request) => request(axios, basePath));
|
|
364
447
|
},
|
|
448
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
449
|
+
return localVarFp.deletePersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
450
|
+
},
|
|
365
451
|
/**
|
|
366
452
|
* Marks multiple fields as deleted.
|
|
367
453
|
* @summary Delete multiple person fields in bulk
|
|
@@ -372,6 +458,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
372
458
|
deletePersonFields(requestParameters) {
|
|
373
459
|
return localVarFp.deletePersonFields(requestParameters.ids).then((request) => request(axios, basePath));
|
|
374
460
|
},
|
|
461
|
+
deletePersonFieldsWithHttpInfo(requestParameters) {
|
|
462
|
+
return localVarFp.deletePersonFieldsWithHttpInfo(requestParameters.ids).then((request) => request(axios, basePath));
|
|
463
|
+
},
|
|
375
464
|
/**
|
|
376
465
|
* Returns data about a specific person field.
|
|
377
466
|
* @summary Get one person field
|
|
@@ -382,6 +471,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
382
471
|
getPersonField(requestParameters) {
|
|
383
472
|
return localVarFp.getPersonField(requestParameters.id).then((request) => request(axios, basePath));
|
|
384
473
|
},
|
|
474
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
475
|
+
return localVarFp.getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
476
|
+
},
|
|
385
477
|
/**
|
|
386
478
|
* 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.
|
|
387
479
|
* @summary Get all person fields
|
|
@@ -392,6 +484,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
392
484
|
getPersonFields(requestParameters = {}) {
|
|
393
485
|
return localVarFp.getPersonFields(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
394
486
|
},
|
|
487
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
488
|
+
return localVarFp.getPersonFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
489
|
+
},
|
|
395
490
|
/**
|
|
396
491
|
* 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>.
|
|
397
492
|
* @summary Update a person field
|
|
@@ -402,6 +497,9 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
|
|
|
402
497
|
updatePersonField(requestParameters) {
|
|
403
498
|
return localVarFp.updatePersonField(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(axios, basePath));
|
|
404
499
|
},
|
|
500
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
501
|
+
return localVarFp.updatePersonFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(axios, basePath));
|
|
502
|
+
},
|
|
405
503
|
};
|
|
406
504
|
};
|
|
407
505
|
/**
|
|
@@ -422,6 +520,17 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
422
520
|
addPersonField(requestParameters = {}) {
|
|
423
521
|
return PersonFieldsApiFp(this.configuration).addPersonField(requestParameters.CreateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
424
522
|
}
|
|
523
|
+
/**
|
|
524
|
+
* Same as `addPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
525
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
526
|
+
* @param {PersonFieldsApiAddPersonFieldRequest} requestParameters Request parameters.
|
|
527
|
+
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
* @memberof PersonFieldsApi
|
|
530
|
+
*/
|
|
531
|
+
addPersonFieldWithHttpInfo(requestParameters = {}) {
|
|
532
|
+
return PersonFieldsApiFp(this.configuration).addPersonFieldWithHttpInfo(requestParameters.CreateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
533
|
+
}
|
|
425
534
|
/**
|
|
426
535
|
* 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>.
|
|
427
536
|
* @summary Delete a person field
|
|
@@ -433,6 +542,17 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
433
542
|
deletePersonField(requestParameters) {
|
|
434
543
|
return PersonFieldsApiFp(this.configuration).deletePersonField(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
435
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* Same as `deletePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
547
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
548
|
+
* @param {PersonFieldsApiDeletePersonFieldRequest} requestParameters Request parameters.
|
|
549
|
+
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
* @memberof PersonFieldsApi
|
|
552
|
+
*/
|
|
553
|
+
deletePersonFieldWithHttpInfo(requestParameters) {
|
|
554
|
+
return PersonFieldsApiFp(this.configuration).deletePersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
555
|
+
}
|
|
436
556
|
/**
|
|
437
557
|
* Marks multiple fields as deleted.
|
|
438
558
|
* @summary Delete multiple person fields in bulk
|
|
@@ -444,6 +564,17 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
444
564
|
deletePersonFields(requestParameters) {
|
|
445
565
|
return PersonFieldsApiFp(this.configuration).deletePersonFields(requestParameters.ids).then((request) => request(this.axios, this.basePath));
|
|
446
566
|
}
|
|
567
|
+
/**
|
|
568
|
+
* Same as `deletePersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
569
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
570
|
+
* @param {PersonFieldsApiDeletePersonFieldsRequest} requestParameters Request parameters.
|
|
571
|
+
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
* @memberof PersonFieldsApi
|
|
574
|
+
*/
|
|
575
|
+
deletePersonFieldsWithHttpInfo(requestParameters) {
|
|
576
|
+
return PersonFieldsApiFp(this.configuration).deletePersonFieldsWithHttpInfo(requestParameters.ids).then((request) => request(this.axios, this.basePath));
|
|
577
|
+
}
|
|
447
578
|
/**
|
|
448
579
|
* Returns data about a specific person field.
|
|
449
580
|
* @summary Get one person field
|
|
@@ -455,6 +586,17 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
455
586
|
getPersonField(requestParameters) {
|
|
456
587
|
return PersonFieldsApiFp(this.configuration).getPersonField(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
457
588
|
}
|
|
589
|
+
/**
|
|
590
|
+
* Same as `getPersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
591
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
592
|
+
* @param {PersonFieldsApiGetPersonFieldRequest} requestParameters Request parameters.
|
|
593
|
+
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
* @memberof PersonFieldsApi
|
|
596
|
+
*/
|
|
597
|
+
getPersonFieldWithHttpInfo(requestParameters) {
|
|
598
|
+
return PersonFieldsApiFp(this.configuration).getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
599
|
+
}
|
|
458
600
|
/**
|
|
459
601
|
* 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.
|
|
460
602
|
* @summary Get all person fields
|
|
@@ -466,6 +608,17 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
466
608
|
getPersonFields(requestParameters = {}) {
|
|
467
609
|
return PersonFieldsApiFp(this.configuration).getPersonFields(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
468
610
|
}
|
|
611
|
+
/**
|
|
612
|
+
* Same as `getPersonFields`, but resolves with the response body together with the HTTP status and headers.
|
|
613
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
614
|
+
* @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
|
|
615
|
+
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
* @memberof PersonFieldsApi
|
|
618
|
+
*/
|
|
619
|
+
getPersonFieldsWithHttpInfo(requestParameters = {}) {
|
|
620
|
+
return PersonFieldsApiFp(this.configuration).getPersonFieldsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
621
|
+
}
|
|
469
622
|
/**
|
|
470
623
|
* 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>.
|
|
471
624
|
* @summary Update a person field
|
|
@@ -477,4 +630,15 @@ export class PersonFieldsApi extends BaseAPI {
|
|
|
477
630
|
updatePersonField(requestParameters) {
|
|
478
631
|
return PersonFieldsApiFp(this.configuration).updatePersonField(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
479
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Same as `updatePersonField`, but resolves with the response body together with the HTTP status and headers.
|
|
635
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
636
|
+
* @param {PersonFieldsApiUpdatePersonFieldRequest} requestParameters Request parameters.
|
|
637
|
+
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
* @memberof PersonFieldsApi
|
|
640
|
+
*/
|
|
641
|
+
updatePersonFieldWithHttpInfo(requestParameters) {
|
|
642
|
+
return PersonFieldsApiFp(this.configuration).updatePersonFieldWithHttpInfo(requestParameters.id, requestParameters.UpdateFieldRequest).then((request) => request(this.axios, this.basePath));
|
|
643
|
+
}
|
|
480
644
|
}
|