pipedrive 25.0.0 → 27.0.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/activities-api.d.ts +40 -40
- package/dist/esm/versions/v1/api/activities-api.js +47 -47
- package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
- package/dist/esm/versions/v1/api/billing-api.js +1 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
- package/dist/esm/versions/v1/api/channels-api.js +4 -4
- package/dist/esm/versions/v1/api/currencies-api.js +1 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/esm/versions/v1/api/deals-api.js +447 -118
- package/dist/esm/versions/v1/api/files-api.js +8 -8
- package/dist/esm/versions/v1/api/filters-api.js +7 -7
- package/dist/esm/versions/v1/api/goals-api.js +5 -5
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +10 -10
- package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +114 -21
- package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
- package/dist/esm/versions/v1/api/meetings-api.js +2 -2
- package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +25 -15
- package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/esm/versions/v1/api/organizations-api.js +88 -88
- package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/esm/versions/v1/api/persons-api.js +78 -78
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
- package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +36 -36
- package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
- package/dist/esm/versions/v1/api/projects-api.js +14 -14
- package/dist/esm/versions/v1/api/recents-api.js +1 -1
- package/dist/esm/versions/v1/api/roles-api.js +12 -12
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +43 -43
- package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/esm/versions/v1/api/tasks-api.js +5 -5
- package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
- package/dist/esm/versions/v1/api/users-api.js +10 -10
- package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
- package/dist/esm/versions/v1/base.d.ts +2 -3
- package/dist/esm/versions/v1/configuration.d.ts +2 -2
- package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
- package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v1/models/index.d.ts +1 -0
- package/dist/esm/versions/v1/models/index.js +1 -0
- package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-project.js +14 -0
- package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/esm/versions/v1/models/note.d.ts +16 -0
- package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +17 -12
- package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/esm/versions/v2/api/beta-api.js +290 -4
- package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/esm/versions/v2/api/deals-api.js +311 -27
- package/dist/esm/versions/v2/api/item-search-api.js +2 -2
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +147 -2
- package/dist/esm/versions/v2/api/organizations-api.js +10 -10
- package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v2/api/persons-api.js +18 -18
- package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/api/stages-api.js +5 -5
- package/dist/esm/versions/v2/api/users-api.js +1 -1
- package/dist/esm/versions/v2/base.d.ts +2 -3
- package/dist/esm/versions/v2/configuration.d.ts +2 -2
- package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
- package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/add-person-request.js +6 -1
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
- package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
- package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/index.d.ts +7 -0
- package/dist/esm/versions/v2/models/index.js +7 -0
- package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/update-person-request.js +6 -1
- package/dist/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/versions/v1/api/activities-api.js +47 -47
- package/dist/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/versions/v1/api/activity-types-api.js +5 -5
- package/dist/versions/v1/api/billing-api.js +1 -1
- package/dist/versions/v1/api/call-logs-api.js +5 -5
- package/dist/versions/v1/api/channels-api.js +4 -4
- package/dist/versions/v1/api/currencies-api.js +1 -1
- package/dist/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/versions/v1/api/deals-api.js +447 -118
- package/dist/versions/v1/api/files-api.js +8 -8
- package/dist/versions/v1/api/filters-api.js +7 -7
- package/dist/versions/v1/api/goals-api.js +5 -5
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +10 -10
- package/dist/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +114 -21
- package/dist/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/versions/v1/api/mailbox-api.js +6 -6
- package/dist/versions/v1/api/meetings-api.js +2 -2
- package/dist/versions/v1/api/note-fields-api.js +1 -1
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +25 -15
- package/dist/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/versions/v1/api/organizations-api.js +88 -88
- package/dist/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/versions/v1/api/person-fields-api.js +6 -6
- package/dist/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/versions/v1/api/persons-api.js +78 -78
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +36 -36
- package/dist/versions/v1/api/product-fields-api.js +6 -6
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +36 -36
- package/dist/versions/v1/api/project-templates-api.js +4 -4
- package/dist/versions/v1/api/projects-api.js +14 -14
- package/dist/versions/v1/api/recents-api.js +1 -1
- package/dist/versions/v1/api/roles-api.js +12 -12
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +43 -43
- package/dist/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/versions/v1/api/tasks-api.js +5 -5
- package/dist/versions/v1/api/user-connections-api.js +1 -1
- package/dist/versions/v1/api/user-settings-api.js +1 -1
- package/dist/versions/v1/api/users-api.js +10 -10
- package/dist/versions/v1/api/webhooks-api.js +3 -3
- package/dist/versions/v1/base.d.ts +2 -3
- package/dist/versions/v1/configuration.d.ts +2 -2
- package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
- package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v1/models/index.d.ts +1 -0
- package/dist/versions/v1/models/index.js +1 -0
- package/dist/versions/v1/models/note-project.d.ts +23 -0
- package/dist/versions/v1/models/note-project.js +15 -0
- package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/versions/v1/models/note.d.ts +16 -0
- package/dist/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +17 -12
- package/dist/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/versions/v2/api/beta-api.js +290 -4
- package/dist/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/versions/v2/api/deals-api.js +311 -27
- package/dist/versions/v2/api/item-search-api.js +2 -2
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +146 -1
- package/dist/versions/v2/api/organizations-api.js +10 -10
- package/dist/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/versions/v2/api/persons-api.js +18 -18
- package/dist/versions/v2/api/pipelines-api.js +5 -5
- package/dist/versions/v2/api/products-api.js +15 -15
- package/dist/versions/v2/api/stages-api.js +5 -5
- package/dist/versions/v2/api/users-api.js +1 -1
- package/dist/versions/v2/base.d.ts +2 -3
- package/dist/versions/v2/configuration.d.ts +2 -2
- package/dist/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
- package/dist/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/versions/v2/models/add-person-request.js +7 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
- package/dist/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/versions/v2/models/get-convert-response.js +15 -0
- package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
- package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/versions/v2/models/get-convert-response1.js +15 -0
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v2/models/index.d.ts +7 -0
- package/dist/versions/v2/models/index.js +7 -0
- package/dist/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/versions/v2/models/update-person-request.js +7 -0
- package/package.json +1 -1
@@ -36,7 +36,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
* Adds a new stage, returns the ID upon success.
|
37
37
|
* @summary Add a new stage
|
38
38
|
* @param {AddStageRequest} [AddStageRequest]
|
39
|
-
|
39
|
+
* @deprecated
|
40
40
|
* @throws {RequiredError}
|
41
41
|
*/
|
42
42
|
addStage: (AddStageRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -51,7 +51,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -69,7 +69,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
69
69
|
* Marks a stage as deleted.
|
70
70
|
* @summary Delete a stage
|
71
71
|
* @param {number} id The ID of the stage
|
72
|
-
|
72
|
+
* @deprecated
|
73
73
|
* @throws {RequiredError}
|
74
74
|
*/
|
75
75
|
deleteStage: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -87,7 +87,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -100,10 +100,10 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
100
100
|
};
|
101
101
|
}),
|
102
102
|
/**
|
103
|
-
* Marks multiple stages as deleted.
|
103
|
+
* Marks multiple stages as deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Stages#deleteStage\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/stages/{id}</a> instead.
|
104
104
|
* @summary Delete multiple stages in bulk
|
105
105
|
* @param {string} ids The comma-separated stage IDs to delete
|
106
|
-
|
106
|
+
* @deprecated
|
107
107
|
* @throws {RequiredError}
|
108
108
|
*/
|
109
109
|
deleteStages: (ids) => __awaiter(this, void 0, void 0, function* () {
|
@@ -120,7 +120,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
120
120
|
const localVarHeaderParameter = {};
|
121
121
|
const localVarQueryParameter = {};
|
122
122
|
// authentication api_key required
|
123
|
-
yield setApiKeyToObject(
|
123
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
124
124
|
// authentication oauth2 required
|
125
125
|
// oauth required
|
126
126
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -140,7 +140,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
140
140
|
* @summary Get one stage
|
141
141
|
* @param {number} id The ID of the stage
|
142
142
|
* @param {0 | 1} [everyone] If `everyone=1` is provided, deals summary will return deals owned by every user
|
143
|
-
|
143
|
+
* @deprecated
|
144
144
|
* @throws {RequiredError}
|
145
145
|
*/
|
146
146
|
getStage: (id, everyone) => __awaiter(this, void 0, void 0, function* () {
|
@@ -158,7 +158,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
158
158
|
const localVarHeaderParameter = {};
|
159
159
|
const localVarQueryParameter = {};
|
160
160
|
// authentication api_key required
|
161
|
-
yield setApiKeyToObject(
|
161
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
162
162
|
// authentication oauth2 required
|
163
163
|
// oauth required
|
164
164
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -174,7 +174,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
174
174
|
};
|
175
175
|
}),
|
176
176
|
/**
|
177
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
177
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?stage_id={id}</a> instead.
|
178
178
|
* @summary Get deals in a stage
|
179
179
|
* @param {number} id The ID of the stage
|
180
180
|
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
@@ -182,7 +182,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
182
182
|
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
183
183
|
* @param {number} [start] Pagination start
|
184
184
|
* @param {number} [limit] Items shown per page
|
185
|
-
|
185
|
+
* @deprecated
|
186
186
|
* @throws {RequiredError}
|
187
187
|
*/
|
188
188
|
getStageDeals: (id, filter_id, user_id, everyone, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -200,7 +200,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
200
200
|
const localVarHeaderParameter = {};
|
201
201
|
const localVarQueryParameter = {};
|
202
202
|
// authentication api_key required
|
203
|
-
yield setApiKeyToObject(
|
203
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
204
204
|
// authentication oauth2 required
|
205
205
|
// oauth required
|
206
206
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -233,7 +233,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
233
233
|
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
234
234
|
* @param {number} [start] Pagination start
|
235
235
|
* @param {number} [limit] Items shown per page
|
236
|
-
|
236
|
+
* @deprecated
|
237
237
|
* @throws {RequiredError}
|
238
238
|
*/
|
239
239
|
getStages: (pipeline_id, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -248,7 +248,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
248
248
|
const localVarHeaderParameter = {};
|
249
249
|
const localVarQueryParameter = {};
|
250
250
|
// authentication api_key required
|
251
|
-
yield setApiKeyToObject(
|
251
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
252
252
|
// authentication oauth2 required
|
253
253
|
// oauth required
|
254
254
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -274,7 +274,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
274
274
|
* @summary Update stage details
|
275
275
|
* @param {number} id The ID of the stage
|
276
276
|
* @param {UpdateStageRequest} [UpdateStageRequest]
|
277
|
-
|
277
|
+
* @deprecated
|
278
278
|
* @throws {RequiredError}
|
279
279
|
*/
|
280
280
|
updateStage: (id, UpdateStageRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -292,7 +292,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
292
292
|
const localVarHeaderParameter = {};
|
293
293
|
const localVarQueryParameter = {};
|
294
294
|
// authentication api_key required
|
295
|
-
yield setApiKeyToObject(
|
295
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
296
296
|
// authentication oauth2 required
|
297
297
|
// oauth required
|
298
298
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -319,7 +319,7 @@ export const StagesApiFp = function (configuration) {
|
|
319
319
|
* Adds a new stage, returns the ID upon success.
|
320
320
|
* @summary Add a new stage
|
321
321
|
* @param {AddStageRequest} [AddStageRequest]
|
322
|
-
|
322
|
+
* @deprecated
|
323
323
|
* @throws {RequiredError}
|
324
324
|
*/
|
325
325
|
addStage(AddStageRequest) {
|
@@ -332,7 +332,7 @@ export const StagesApiFp = function (configuration) {
|
|
332
332
|
* Marks a stage as deleted.
|
333
333
|
* @summary Delete a stage
|
334
334
|
* @param {number} id The ID of the stage
|
335
|
-
|
335
|
+
* @deprecated
|
336
336
|
* @throws {RequiredError}
|
337
337
|
*/
|
338
338
|
deleteStage(id) {
|
@@ -342,10 +342,10 @@ export const StagesApiFp = function (configuration) {
|
|
342
342
|
});
|
343
343
|
},
|
344
344
|
/**
|
345
|
-
* Marks multiple stages as deleted.
|
345
|
+
* Marks multiple stages as deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Stages#deleteStage\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/stages/{id}</a> instead.
|
346
346
|
* @summary Delete multiple stages in bulk
|
347
347
|
* @param {string} ids The comma-separated stage IDs to delete
|
348
|
-
|
348
|
+
* @deprecated
|
349
349
|
* @throws {RequiredError}
|
350
350
|
*/
|
351
351
|
deleteStages(ids) {
|
@@ -359,7 +359,7 @@ export const StagesApiFp = function (configuration) {
|
|
359
359
|
* @summary Get one stage
|
360
360
|
* @param {number} id The ID of the stage
|
361
361
|
* @param {0 | 1} [everyone] If `everyone=1` is provided, deals summary will return deals owned by every user
|
362
|
-
|
362
|
+
* @deprecated
|
363
363
|
* @throws {RequiredError}
|
364
364
|
*/
|
365
365
|
getStage(id, everyone) {
|
@@ -369,7 +369,7 @@ export const StagesApiFp = function (configuration) {
|
|
369
369
|
});
|
370
370
|
},
|
371
371
|
/**
|
372
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
372
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?stage_id={id}</a> instead.
|
373
373
|
* @summary Get deals in a stage
|
374
374
|
* @param {number} id The ID of the stage
|
375
375
|
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
@@ -377,7 +377,7 @@ export const StagesApiFp = function (configuration) {
|
|
377
377
|
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
378
378
|
* @param {number} [start] Pagination start
|
379
379
|
* @param {number} [limit] Items shown per page
|
380
|
-
|
380
|
+
* @deprecated
|
381
381
|
* @throws {RequiredError}
|
382
382
|
*/
|
383
383
|
getStageDeals(id, filter_id, user_id, everyone, start, limit) {
|
@@ -392,7 +392,7 @@ export const StagesApiFp = function (configuration) {
|
|
392
392
|
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
393
393
|
* @param {number} [start] Pagination start
|
394
394
|
* @param {number} [limit] Items shown per page
|
395
|
-
|
395
|
+
* @deprecated
|
396
396
|
* @throws {RequiredError}
|
397
397
|
*/
|
398
398
|
getStages(pipeline_id, start, limit) {
|
@@ -406,7 +406,7 @@ export const StagesApiFp = function (configuration) {
|
|
406
406
|
* @summary Update stage details
|
407
407
|
* @param {number} id The ID of the stage
|
408
408
|
* @param {UpdateStageRequest} [UpdateStageRequest]
|
409
|
-
|
409
|
+
* @deprecated
|
410
410
|
* @throws {RequiredError}
|
411
411
|
*/
|
412
412
|
updateStage(id, UpdateStageRequest) {
|
@@ -428,7 +428,7 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
428
428
|
* Adds a new stage, returns the ID upon success.
|
429
429
|
* @summary Add a new stage
|
430
430
|
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
431
|
-
|
431
|
+
* @deprecated
|
432
432
|
* @throws {RequiredError}
|
433
433
|
*/
|
434
434
|
addStage(requestParameters = {}) {
|
@@ -438,17 +438,17 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
438
438
|
* Marks a stage as deleted.
|
439
439
|
* @summary Delete a stage
|
440
440
|
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
441
|
-
|
441
|
+
* @deprecated
|
442
442
|
* @throws {RequiredError}
|
443
443
|
*/
|
444
444
|
deleteStage(requestParameters) {
|
445
445
|
return localVarFp.deleteStage(requestParameters.id).then((request) => request(axios, basePath));
|
446
446
|
},
|
447
447
|
/**
|
448
|
-
* Marks multiple stages as deleted.
|
448
|
+
* Marks multiple stages as deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Stages#deleteStage\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/stages/{id}</a> instead.
|
449
449
|
* @summary Delete multiple stages in bulk
|
450
450
|
* @param {StagesApiDeleteStagesRequest} requestParameters Request parameters.
|
451
|
-
|
451
|
+
* @deprecated
|
452
452
|
* @throws {RequiredError}
|
453
453
|
*/
|
454
454
|
deleteStages(requestParameters) {
|
@@ -458,17 +458,17 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
458
458
|
* Returns data about a specific stage.
|
459
459
|
* @summary Get one stage
|
460
460
|
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
461
|
-
|
461
|
+
* @deprecated
|
462
462
|
* @throws {RequiredError}
|
463
463
|
*/
|
464
464
|
getStage(requestParameters) {
|
465
465
|
return localVarFp.getStage(requestParameters.id, requestParameters.everyone).then((request) => request(axios, basePath));
|
466
466
|
},
|
467
467
|
/**
|
468
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
468
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?stage_id={id}</a> instead.
|
469
469
|
* @summary Get deals in a stage
|
470
470
|
* @param {StagesApiGetStageDealsRequest} requestParameters Request parameters.
|
471
|
-
|
471
|
+
* @deprecated
|
472
472
|
* @throws {RequiredError}
|
473
473
|
*/
|
474
474
|
getStageDeals(requestParameters) {
|
@@ -478,7 +478,7 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
478
478
|
* Returns data about all stages.
|
479
479
|
* @summary Get all stages
|
480
480
|
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
481
|
-
|
481
|
+
* @deprecated
|
482
482
|
* @throws {RequiredError}
|
483
483
|
*/
|
484
484
|
getStages(requestParameters = {}) {
|
@@ -488,7 +488,7 @@ export const StagesApiFactory = function (configuration, basePath, axios) {
|
|
488
488
|
* Updates the properties of a stage.
|
489
489
|
* @summary Update stage details
|
490
490
|
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
491
|
-
|
491
|
+
* @deprecated
|
492
492
|
* @throws {RequiredError}
|
493
493
|
*/
|
494
494
|
updateStage(requestParameters) {
|
@@ -507,7 +507,7 @@ export class StagesApi extends BaseAPI {
|
|
507
507
|
* Adds a new stage, returns the ID upon success.
|
508
508
|
* @summary Add a new stage
|
509
509
|
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
510
|
-
|
510
|
+
* @deprecated
|
511
511
|
* @throws {RequiredError}
|
512
512
|
* @memberof StagesApi
|
513
513
|
*/
|
@@ -518,7 +518,7 @@ export class StagesApi extends BaseAPI {
|
|
518
518
|
* Marks a stage as deleted.
|
519
519
|
* @summary Delete a stage
|
520
520
|
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
521
|
-
|
521
|
+
* @deprecated
|
522
522
|
* @throws {RequiredError}
|
523
523
|
* @memberof StagesApi
|
524
524
|
*/
|
@@ -526,10 +526,10 @@ export class StagesApi extends BaseAPI {
|
|
526
526
|
return StagesApiFp(this.configuration).deleteStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
527
527
|
}
|
528
528
|
/**
|
529
|
-
* Marks multiple stages as deleted.
|
529
|
+
* Marks multiple stages as deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Stages#deleteStage\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/stages/{id}</a> instead.
|
530
530
|
* @summary Delete multiple stages in bulk
|
531
531
|
* @param {StagesApiDeleteStagesRequest} requestParameters Request parameters.
|
532
|
-
|
532
|
+
* @deprecated
|
533
533
|
* @throws {RequiredError}
|
534
534
|
* @memberof StagesApi
|
535
535
|
*/
|
@@ -540,7 +540,7 @@ export class StagesApi extends BaseAPI {
|
|
540
540
|
* Returns data about a specific stage.
|
541
541
|
* @summary Get one stage
|
542
542
|
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
543
|
-
|
543
|
+
* @deprecated
|
544
544
|
* @throws {RequiredError}
|
545
545
|
* @memberof StagesApi
|
546
546
|
*/
|
@@ -548,10 +548,10 @@ export class StagesApi extends BaseAPI {
|
|
548
548
|
return StagesApiFp(this.configuration).getStage(requestParameters.id, requestParameters.everyone).then((request) => request(this.axios, this.basePath));
|
549
549
|
}
|
550
550
|
/**
|
551
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
551
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?stage_id={id}</a> instead.
|
552
552
|
* @summary Get deals in a stage
|
553
553
|
* @param {StagesApiGetStageDealsRequest} requestParameters Request parameters.
|
554
|
-
|
554
|
+
* @deprecated
|
555
555
|
* @throws {RequiredError}
|
556
556
|
* @memberof StagesApi
|
557
557
|
*/
|
@@ -562,7 +562,7 @@ export class StagesApi extends BaseAPI {
|
|
562
562
|
* Returns data about all stages.
|
563
563
|
* @summary Get all stages
|
564
564
|
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
565
|
-
|
565
|
+
* @deprecated
|
566
566
|
* @throws {RequiredError}
|
567
567
|
* @memberof StagesApi
|
568
568
|
*/
|
@@ -573,7 +573,7 @@ export class StagesApi extends BaseAPI {
|
|
573
573
|
* Updates the properties of a stage.
|
574
574
|
* @summary Update stage details
|
575
575
|
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
576
|
-
|
576
|
+
* @deprecated
|
577
577
|
* @throws {RequiredError}
|
578
578
|
* @memberof StagesApi
|
579
579
|
*/
|
@@ -51,7 +51,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -84,7 +84,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
84
84
|
const localVarHeaderParameter = {};
|
85
85
|
const localVarQueryParameter = {};
|
86
86
|
// authentication api_key required
|
87
|
-
yield setApiKeyToObject(
|
87
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
88
88
|
// authentication oauth2 required
|
89
89
|
// oauth required
|
90
90
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -121,7 +121,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
121
121
|
const localVarHeaderParameter = {};
|
122
122
|
const localVarQueryParameter = {};
|
123
123
|
// authentication api_key required
|
124
|
-
yield setApiKeyToObject(
|
124
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
125
125
|
// authentication oauth2 required
|
126
126
|
// oauth required
|
127
127
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -157,7 +157,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
157
157
|
const localVarHeaderParameter = {};
|
158
158
|
const localVarQueryParameter = {};
|
159
159
|
// authentication api_key required
|
160
|
-
yield setApiKeyToObject(
|
160
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
161
161
|
// authentication oauth2 required
|
162
162
|
// oauth required
|
163
163
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -191,7 +191,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
191
191
|
const localVarHeaderParameter = {};
|
192
192
|
const localVarQueryParameter = {};
|
193
193
|
// authentication api_key required
|
194
|
-
yield setApiKeyToObject(
|
194
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
195
195
|
// authentication oauth2 required
|
196
196
|
// oauth required
|
197
197
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -225,7 +225,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
225
225
|
const localVarHeaderParameter = {};
|
226
226
|
const localVarQueryParameter = {};
|
227
227
|
// authentication api_key required
|
228
|
-
yield setApiKeyToObject(
|
228
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
229
229
|
// authentication oauth2 required
|
230
230
|
// oauth required
|
231
231
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -259,7 +259,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
259
259
|
const localVarHeaderParameter = {};
|
260
260
|
const localVarQueryParameter = {};
|
261
261
|
// authentication api_key required
|
262
|
-
yield setApiKeyToObject(
|
262
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
263
263
|
// authentication oauth2 required
|
264
264
|
// oauth required
|
265
265
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -294,7 +294,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
294
294
|
const localVarHeaderParameter = {};
|
295
295
|
const localVarQueryParameter = {};
|
296
296
|
// authentication api_key required
|
297
|
-
yield setApiKeyToObject(
|
297
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
298
298
|
// authentication oauth2 required
|
299
299
|
// oauth required
|
300
300
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -331,7 +331,7 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
331
331
|
const localVarHeaderParameter = {};
|
332
332
|
const localVarQueryParameter = {};
|
333
333
|
// authentication api_key required
|
334
|
-
yield setApiKeyToObject(
|
334
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
335
335
|
// authentication oauth2 required
|
336
336
|
// oauth required
|
337
337
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -51,7 +51,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -87,7 +87,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -121,7 +121,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
121
121
|
const localVarHeaderParameter = {};
|
122
122
|
const localVarQueryParameter = {};
|
123
123
|
// authentication api_key required
|
124
|
-
yield setApiKeyToObject(
|
124
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
125
125
|
// authentication oauth2 required
|
126
126
|
// oauth required
|
127
127
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
|
@@ -157,7 +157,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
157
157
|
const localVarHeaderParameter = {};
|
158
158
|
const localVarQueryParameter = {};
|
159
159
|
// authentication api_key required
|
160
|
-
yield setApiKeyToObject(
|
160
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
161
161
|
// authentication oauth2 required
|
162
162
|
// oauth required
|
163
163
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
|
@@ -210,7 +210,7 @@ export const TasksApiAxiosParamCreator = function (configuration) {
|
|
210
210
|
const localVarHeaderParameter = {};
|
211
211
|
const localVarQueryParameter = {};
|
212
212
|
// authentication api_key required
|
213
|
-
yield setApiKeyToObject(
|
213
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
214
214
|
// authentication oauth2 required
|
215
215
|
// oauth required
|
216
216
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -50,7 +50,7 @@ export const UserConnectionsApiAxiosParamCreator = function (configuration) {
|
|
50
50
|
const localVarHeaderParameter = {};
|
51
51
|
const localVarQueryParameter = {};
|
52
52
|
// authentication api_key required
|
53
|
-
yield setApiKeyToObject(
|
53
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
54
54
|
// authentication oauth2 required
|
55
55
|
// oauth required
|
56
56
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -50,7 +50,7 @@ export const UserSettingsApiAxiosParamCreator = function (configuration) {
|
|
50
50
|
const localVarHeaderParameter = {};
|
51
51
|
const localVarQueryParameter = {};
|
52
52
|
// authentication api_key required
|
53
|
-
yield setApiKeyToObject(
|
53
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
54
54
|
// authentication oauth2 required
|
55
55
|
// oauth required
|
56
56
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -51,7 +51,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -87,7 +87,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -123,7 +123,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
123
123
|
const localVarHeaderParameter = {};
|
124
124
|
const localVarQueryParameter = {};
|
125
125
|
// authentication api_key required
|
126
|
-
yield setApiKeyToObject(
|
126
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
127
127
|
// authentication oauth2 required
|
128
128
|
// oauth required
|
129
129
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -157,7 +157,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
157
157
|
const localVarHeaderParameter = {};
|
158
158
|
const localVarQueryParameter = {};
|
159
159
|
// authentication api_key required
|
160
|
-
yield setApiKeyToObject(
|
160
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
161
161
|
// authentication oauth2 required
|
162
162
|
// oauth required
|
163
163
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -191,7 +191,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
191
191
|
const localVarHeaderParameter = {};
|
192
192
|
const localVarQueryParameter = {};
|
193
193
|
// authentication api_key required
|
194
|
-
yield setApiKeyToObject(
|
194
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
195
195
|
// authentication oauth2 required
|
196
196
|
// oauth required
|
197
197
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -225,7 +225,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
225
225
|
const localVarHeaderParameter = {};
|
226
226
|
const localVarQueryParameter = {};
|
227
227
|
// authentication api_key required
|
228
|
-
yield setApiKeyToObject(
|
228
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
229
229
|
// authentication oauth2 required
|
230
230
|
// oauth required
|
231
231
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -261,7 +261,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
261
261
|
const localVarHeaderParameter = {};
|
262
262
|
const localVarQueryParameter = {};
|
263
263
|
// authentication api_key required
|
264
|
-
yield setApiKeyToObject(
|
264
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
265
265
|
// authentication oauth2 required
|
266
266
|
// oauth required
|
267
267
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -301,7 +301,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
301
301
|
const localVarHeaderParameter = {};
|
302
302
|
const localVarQueryParameter = {};
|
303
303
|
// authentication api_key required
|
304
|
-
yield setApiKeyToObject(
|
304
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
305
305
|
// authentication oauth2 required
|
306
306
|
// oauth required
|
307
307
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -331,7 +331,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
331
331
|
const localVarHeaderParameter = {};
|
332
332
|
const localVarQueryParameter = {};
|
333
333
|
// authentication api_key required
|
334
|
-
yield setApiKeyToObject(
|
334
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
335
335
|
// authentication oauth2 required
|
336
336
|
// oauth required
|
337
337
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -366,7 +366,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
366
366
|
const localVarHeaderParameter = {};
|
367
367
|
const localVarQueryParameter = {};
|
368
368
|
// authentication api_key required
|
369
|
-
yield setApiKeyToObject(
|
369
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
370
370
|
// authentication oauth2 required
|
371
371
|
// oauth required
|
372
372
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -51,7 +51,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -87,7 +87,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -117,7 +117,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
117
117
|
const localVarHeaderParameter = {};
|
118
118
|
const localVarQueryParameter = {};
|
119
119
|
// authentication api_key required
|
120
|
-
yield setApiKeyToObject(
|
120
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
121
121
|
// authentication oauth2 required
|
122
122
|
// oauth required
|
123
123
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -10,8 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import type { Configuration } from './configuration';
|
13
|
-
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig } from 'axios';
|
14
|
-
import axios from 'axios';
|
13
|
+
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig, AxiosInstance } from 'axios';
|
15
14
|
export declare const BASE_PATH: string;
|
16
15
|
/**
|
17
16
|
*
|
@@ -43,7 +42,7 @@ export declare const errorInterceptor: (error: AxiosError) => Promise<never>;
|
|
43
42
|
export declare class BaseAPI {
|
44
43
|
protected configuration: Configuration | undefined;
|
45
44
|
protected basePath: string;
|
46
|
-
protected axios:
|
45
|
+
protected axios: AxiosInstance;
|
47
46
|
constructor(configuration: Configuration);
|
48
47
|
}
|
49
48
|
/**
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import
|
12
|
+
import { AxiosResponse } from "axios";
|
13
13
|
export type TokenResponse = {
|
14
14
|
access_token: string;
|
15
15
|
refresh_token: string;
|
@@ -54,7 +54,7 @@ export declare class OAuth2Configuration {
|
|
54
54
|
* Revoke Refresh Token aka marking an app uninstalled or revoke the Access Token.
|
55
55
|
* @param {String} tokenTypeHint values can be: 'access_token' or 'refresh_token'.
|
56
56
|
*/
|
57
|
-
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<
|
57
|
+
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<AxiosResponse<any, any>>;
|
58
58
|
private validateParam;
|
59
59
|
}
|
60
60
|
export interface ConfigurationParameters {
|