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
@@ -42,7 +42,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
42
42
|
* Adds a new stage, returns the ID upon success.
|
43
43
|
* @summary Add a new stage
|
44
44
|
* @param {AddStageRequest} [AddStageRequest]
|
45
|
-
|
45
|
+
* @deprecated
|
46
46
|
* @throws {RequiredError}
|
47
47
|
*/
|
48
48
|
addStage: (AddStageRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -57,7 +57,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -75,7 +75,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
75
75
|
* Marks a stage as deleted.
|
76
76
|
* @summary Delete a stage
|
77
77
|
* @param {number} id The ID of the stage
|
78
|
-
|
78
|
+
* @deprecated
|
79
79
|
* @throws {RequiredError}
|
80
80
|
*/
|
81
81
|
deleteStage: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -93,7 +93,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -106,10 +106,10 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
106
106
|
};
|
107
107
|
}),
|
108
108
|
/**
|
109
|
-
* Marks multiple stages as deleted.
|
109
|
+
* 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.
|
110
110
|
* @summary Delete multiple stages in bulk
|
111
111
|
* @param {string} ids The comma-separated stage IDs to delete
|
112
|
-
|
112
|
+
* @deprecated
|
113
113
|
* @throws {RequiredError}
|
114
114
|
*/
|
115
115
|
deleteStages: (ids) => __awaiter(this, void 0, void 0, function* () {
|
@@ -126,7 +126,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
126
126
|
const localVarHeaderParameter = {};
|
127
127
|
const localVarQueryParameter = {};
|
128
128
|
// authentication api_key required
|
129
|
-
yield (0, common_1.setApiKeyToObject)(
|
129
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
130
130
|
// authentication oauth2 required
|
131
131
|
// oauth required
|
132
132
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -146,7 +146,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
146
146
|
* @summary Get one stage
|
147
147
|
* @param {number} id The ID of the stage
|
148
148
|
* @param {0 | 1} [everyone] If `everyone=1` is provided, deals summary will return deals owned by every user
|
149
|
-
|
149
|
+
* @deprecated
|
150
150
|
* @throws {RequiredError}
|
151
151
|
*/
|
152
152
|
getStage: (id, everyone) => __awaiter(this, void 0, void 0, function* () {
|
@@ -164,7 +164,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
164
164
|
const localVarHeaderParameter = {};
|
165
165
|
const localVarQueryParameter = {};
|
166
166
|
// authentication api_key required
|
167
|
-
yield (0, common_1.setApiKeyToObject)(
|
167
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
168
168
|
// authentication oauth2 required
|
169
169
|
// oauth required
|
170
170
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -180,7 +180,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
180
180
|
};
|
181
181
|
}),
|
182
182
|
/**
|
183
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
183
|
+
* 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.
|
184
184
|
* @summary Get deals in a stage
|
185
185
|
* @param {number} id The ID of the stage
|
186
186
|
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
@@ -188,7 +188,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
188
188
|
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
189
189
|
* @param {number} [start] Pagination start
|
190
190
|
* @param {number} [limit] Items shown per page
|
191
|
-
|
191
|
+
* @deprecated
|
192
192
|
* @throws {RequiredError}
|
193
193
|
*/
|
194
194
|
getStageDeals: (id, filter_id, user_id, everyone, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -206,7 +206,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
206
206
|
const localVarHeaderParameter = {};
|
207
207
|
const localVarQueryParameter = {};
|
208
208
|
// authentication api_key required
|
209
|
-
yield (0, common_1.setApiKeyToObject)(
|
209
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
210
210
|
// authentication oauth2 required
|
211
211
|
// oauth required
|
212
212
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -239,7 +239,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
239
239
|
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
240
240
|
* @param {number} [start] Pagination start
|
241
241
|
* @param {number} [limit] Items shown per page
|
242
|
-
|
242
|
+
* @deprecated
|
243
243
|
* @throws {RequiredError}
|
244
244
|
*/
|
245
245
|
getStages: (pipeline_id, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -254,7 +254,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
254
254
|
const localVarHeaderParameter = {};
|
255
255
|
const localVarQueryParameter = {};
|
256
256
|
// authentication api_key required
|
257
|
-
yield (0, common_1.setApiKeyToObject)(
|
257
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
258
258
|
// authentication oauth2 required
|
259
259
|
// oauth required
|
260
260
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -280,7 +280,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
280
280
|
* @summary Update stage details
|
281
281
|
* @param {number} id The ID of the stage
|
282
282
|
* @param {UpdateStageRequest} [UpdateStageRequest]
|
283
|
-
|
283
|
+
* @deprecated
|
284
284
|
* @throws {RequiredError}
|
285
285
|
*/
|
286
286
|
updateStage: (id, UpdateStageRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -298,7 +298,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
298
298
|
const localVarHeaderParameter = {};
|
299
299
|
const localVarQueryParameter = {};
|
300
300
|
// authentication api_key required
|
301
|
-
yield (0, common_1.setApiKeyToObject)(
|
301
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
302
302
|
// authentication oauth2 required
|
303
303
|
// oauth required
|
304
304
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -326,7 +326,7 @@ const StagesApiFp = function (configuration) {
|
|
326
326
|
* Adds a new stage, returns the ID upon success.
|
327
327
|
* @summary Add a new stage
|
328
328
|
* @param {AddStageRequest} [AddStageRequest]
|
329
|
-
|
329
|
+
* @deprecated
|
330
330
|
* @throws {RequiredError}
|
331
331
|
*/
|
332
332
|
addStage(AddStageRequest) {
|
@@ -339,7 +339,7 @@ const StagesApiFp = function (configuration) {
|
|
339
339
|
* Marks a stage as deleted.
|
340
340
|
* @summary Delete a stage
|
341
341
|
* @param {number} id The ID of the stage
|
342
|
-
|
342
|
+
* @deprecated
|
343
343
|
* @throws {RequiredError}
|
344
344
|
*/
|
345
345
|
deleteStage(id) {
|
@@ -349,10 +349,10 @@ const StagesApiFp = function (configuration) {
|
|
349
349
|
});
|
350
350
|
},
|
351
351
|
/**
|
352
|
-
* Marks multiple stages as deleted.
|
352
|
+
* 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.
|
353
353
|
* @summary Delete multiple stages in bulk
|
354
354
|
* @param {string} ids The comma-separated stage IDs to delete
|
355
|
-
|
355
|
+
* @deprecated
|
356
356
|
* @throws {RequiredError}
|
357
357
|
*/
|
358
358
|
deleteStages(ids) {
|
@@ -366,7 +366,7 @@ const StagesApiFp = function (configuration) {
|
|
366
366
|
* @summary Get one stage
|
367
367
|
* @param {number} id The ID of the stage
|
368
368
|
* @param {0 | 1} [everyone] If `everyone=1` is provided, deals summary will return deals owned by every user
|
369
|
-
|
369
|
+
* @deprecated
|
370
370
|
* @throws {RequiredError}
|
371
371
|
*/
|
372
372
|
getStage(id, everyone) {
|
@@ -376,7 +376,7 @@ const StagesApiFp = function (configuration) {
|
|
376
376
|
});
|
377
377
|
},
|
378
378
|
/**
|
379
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
379
|
+
* 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.
|
380
380
|
* @summary Get deals in a stage
|
381
381
|
* @param {number} id The ID of the stage
|
382
382
|
* @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
|
@@ -384,7 +384,7 @@ const StagesApiFp = function (configuration) {
|
|
384
384
|
* @param {0 | 1} [everyone] If supplied, `filter_id` and `user_id` will not be considered – instead, deals owned by everyone will be returned
|
385
385
|
* @param {number} [start] Pagination start
|
386
386
|
* @param {number} [limit] Items shown per page
|
387
|
-
|
387
|
+
* @deprecated
|
388
388
|
* @throws {RequiredError}
|
389
389
|
*/
|
390
390
|
getStageDeals(id, filter_id, user_id, everyone, start, limit) {
|
@@ -399,7 +399,7 @@ const StagesApiFp = function (configuration) {
|
|
399
399
|
* @param {number} [pipeline_id] The ID of the pipeline to fetch stages for. If omitted, stages for all pipelines will be fetched.
|
400
400
|
* @param {number} [start] Pagination start
|
401
401
|
* @param {number} [limit] Items shown per page
|
402
|
-
|
402
|
+
* @deprecated
|
403
403
|
* @throws {RequiredError}
|
404
404
|
*/
|
405
405
|
getStages(pipeline_id, start, limit) {
|
@@ -413,7 +413,7 @@ const StagesApiFp = function (configuration) {
|
|
413
413
|
* @summary Update stage details
|
414
414
|
* @param {number} id The ID of the stage
|
415
415
|
* @param {UpdateStageRequest} [UpdateStageRequest]
|
416
|
-
|
416
|
+
* @deprecated
|
417
417
|
* @throws {RequiredError}
|
418
418
|
*/
|
419
419
|
updateStage(id, UpdateStageRequest) {
|
@@ -436,7 +436,7 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
436
436
|
* Adds a new stage, returns the ID upon success.
|
437
437
|
* @summary Add a new stage
|
438
438
|
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
439
|
-
|
439
|
+
* @deprecated
|
440
440
|
* @throws {RequiredError}
|
441
441
|
*/
|
442
442
|
addStage(requestParameters = {}) {
|
@@ -446,17 +446,17 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
446
446
|
* Marks a stage as deleted.
|
447
447
|
* @summary Delete a stage
|
448
448
|
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
449
|
-
|
449
|
+
* @deprecated
|
450
450
|
* @throws {RequiredError}
|
451
451
|
*/
|
452
452
|
deleteStage(requestParameters) {
|
453
453
|
return localVarFp.deleteStage(requestParameters.id).then((request) => request(axios, basePath));
|
454
454
|
},
|
455
455
|
/**
|
456
|
-
* Marks multiple stages as deleted.
|
456
|
+
* 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.
|
457
457
|
* @summary Delete multiple stages in bulk
|
458
458
|
* @param {StagesApiDeleteStagesRequest} requestParameters Request parameters.
|
459
|
-
|
459
|
+
* @deprecated
|
460
460
|
* @throws {RequiredError}
|
461
461
|
*/
|
462
462
|
deleteStages(requestParameters) {
|
@@ -466,17 +466,17 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
466
466
|
* Returns data about a specific stage.
|
467
467
|
* @summary Get one stage
|
468
468
|
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
469
|
-
|
469
|
+
* @deprecated
|
470
470
|
* @throws {RequiredError}
|
471
471
|
*/
|
472
472
|
getStage(requestParameters) {
|
473
473
|
return localVarFp.getStage(requestParameters.id, requestParameters.everyone).then((request) => request(axios, basePath));
|
474
474
|
},
|
475
475
|
/**
|
476
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
476
|
+
* 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.
|
477
477
|
* @summary Get deals in a stage
|
478
478
|
* @param {StagesApiGetStageDealsRequest} requestParameters Request parameters.
|
479
|
-
|
479
|
+
* @deprecated
|
480
480
|
* @throws {RequiredError}
|
481
481
|
*/
|
482
482
|
getStageDeals(requestParameters) {
|
@@ -486,7 +486,7 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
486
486
|
* Returns data about all stages.
|
487
487
|
* @summary Get all stages
|
488
488
|
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
489
|
-
|
489
|
+
* @deprecated
|
490
490
|
* @throws {RequiredError}
|
491
491
|
*/
|
492
492
|
getStages(requestParameters = {}) {
|
@@ -496,7 +496,7 @@ const StagesApiFactory = function (configuration, basePath, axios) {
|
|
496
496
|
* Updates the properties of a stage.
|
497
497
|
* @summary Update stage details
|
498
498
|
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
499
|
-
|
499
|
+
* @deprecated
|
500
500
|
* @throws {RequiredError}
|
501
501
|
*/
|
502
502
|
updateStage(requestParameters) {
|
@@ -516,7 +516,7 @@ class StagesApi extends base_1.BaseAPI {
|
|
516
516
|
* Adds a new stage, returns the ID upon success.
|
517
517
|
* @summary Add a new stage
|
518
518
|
* @param {StagesApiAddStageRequest} requestParameters Request parameters.
|
519
|
-
|
519
|
+
* @deprecated
|
520
520
|
* @throws {RequiredError}
|
521
521
|
* @memberof StagesApi
|
522
522
|
*/
|
@@ -527,7 +527,7 @@ class StagesApi extends base_1.BaseAPI {
|
|
527
527
|
* Marks a stage as deleted.
|
528
528
|
* @summary Delete a stage
|
529
529
|
* @param {StagesApiDeleteStageRequest} requestParameters Request parameters.
|
530
|
-
|
530
|
+
* @deprecated
|
531
531
|
* @throws {RequiredError}
|
532
532
|
* @memberof StagesApi
|
533
533
|
*/
|
@@ -535,10 +535,10 @@ class StagesApi extends base_1.BaseAPI {
|
|
535
535
|
return (0, exports.StagesApiFp)(this.configuration).deleteStage(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
536
536
|
}
|
537
537
|
/**
|
538
|
-
* Marks multiple stages as deleted.
|
538
|
+
* 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.
|
539
539
|
* @summary Delete multiple stages in bulk
|
540
540
|
* @param {StagesApiDeleteStagesRequest} requestParameters Request parameters.
|
541
|
-
|
541
|
+
* @deprecated
|
542
542
|
* @throws {RequiredError}
|
543
543
|
* @memberof StagesApi
|
544
544
|
*/
|
@@ -549,7 +549,7 @@ class StagesApi extends base_1.BaseAPI {
|
|
549
549
|
* Returns data about a specific stage.
|
550
550
|
* @summary Get one stage
|
551
551
|
* @param {StagesApiGetStageRequest} requestParameters Request parameters.
|
552
|
-
|
552
|
+
* @deprecated
|
553
553
|
* @throws {RequiredError}
|
554
554
|
* @memberof StagesApi
|
555
555
|
*/
|
@@ -557,10 +557,10 @@ class StagesApi extends base_1.BaseAPI {
|
|
557
557
|
return (0, exports.StagesApiFp)(this.configuration).getStage(requestParameters.id, requestParameters.everyone).then((request) => request(this.axios, this.basePath));
|
558
558
|
}
|
559
559
|
/**
|
560
|
-
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
560
|
+
* 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.
|
561
561
|
* @summary Get deals in a stage
|
562
562
|
* @param {StagesApiGetStageDealsRequest} requestParameters Request parameters.
|
563
|
-
|
563
|
+
* @deprecated
|
564
564
|
* @throws {RequiredError}
|
565
565
|
* @memberof StagesApi
|
566
566
|
*/
|
@@ -571,7 +571,7 @@ class StagesApi extends base_1.BaseAPI {
|
|
571
571
|
* Returns data about all stages.
|
572
572
|
* @summary Get all stages
|
573
573
|
* @param {StagesApiGetStagesRequest} requestParameters Request parameters.
|
574
|
-
|
574
|
+
* @deprecated
|
575
575
|
* @throws {RequiredError}
|
576
576
|
* @memberof StagesApi
|
577
577
|
*/
|
@@ -582,7 +582,7 @@ class StagesApi extends base_1.BaseAPI {
|
|
582
582
|
* Updates the properties of a stage.
|
583
583
|
* @summary Update stage details
|
584
584
|
* @param {StagesApiUpdateStageRequest} requestParameters Request parameters.
|
585
|
-
|
585
|
+
* @deprecated
|
586
586
|
* @throws {RequiredError}
|
587
587
|
* @memberof StagesApi
|
588
588
|
*/
|
@@ -57,7 +57,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -90,7 +90,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
90
90
|
const localVarHeaderParameter = {};
|
91
91
|
const localVarQueryParameter = {};
|
92
92
|
// authentication api_key required
|
93
|
-
yield (0, common_1.setApiKeyToObject)(
|
93
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
94
94
|
// authentication oauth2 required
|
95
95
|
// oauth required
|
96
96
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -127,7 +127,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
127
127
|
const localVarHeaderParameter = {};
|
128
128
|
const localVarQueryParameter = {};
|
129
129
|
// authentication api_key required
|
130
|
-
yield (0, common_1.setApiKeyToObject)(
|
130
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
131
131
|
// authentication oauth2 required
|
132
132
|
// oauth required
|
133
133
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -163,7 +163,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
163
163
|
const localVarHeaderParameter = {};
|
164
164
|
const localVarQueryParameter = {};
|
165
165
|
// authentication api_key required
|
166
|
-
yield (0, common_1.setApiKeyToObject)(
|
166
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
167
167
|
// authentication oauth2 required
|
168
168
|
// oauth required
|
169
169
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -197,7 +197,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
197
197
|
const localVarHeaderParameter = {};
|
198
198
|
const localVarQueryParameter = {};
|
199
199
|
// authentication api_key required
|
200
|
-
yield (0, common_1.setApiKeyToObject)(
|
200
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
201
201
|
// authentication oauth2 required
|
202
202
|
// oauth required
|
203
203
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -231,7 +231,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
231
231
|
const localVarHeaderParameter = {};
|
232
232
|
const localVarQueryParameter = {};
|
233
233
|
// authentication api_key required
|
234
|
-
yield (0, common_1.setApiKeyToObject)(
|
234
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
235
235
|
// authentication oauth2 required
|
236
236
|
// oauth required
|
237
237
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -265,7 +265,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
265
265
|
const localVarHeaderParameter = {};
|
266
266
|
const localVarQueryParameter = {};
|
267
267
|
// authentication api_key required
|
268
|
-
yield (0, common_1.setApiKeyToObject)(
|
268
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
269
269
|
// authentication oauth2 required
|
270
270
|
// oauth required
|
271
271
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full"], configuration);
|
@@ -300,7 +300,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
300
300
|
const localVarHeaderParameter = {};
|
301
301
|
const localVarQueryParameter = {};
|
302
302
|
// authentication api_key required
|
303
|
-
yield (0, common_1.setApiKeyToObject)(
|
303
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
304
304
|
// authentication oauth2 required
|
305
305
|
// oauth required
|
306
306
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -337,7 +337,7 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
337
337
|
const localVarHeaderParameter = {};
|
338
338
|
const localVarQueryParameter = {};
|
339
339
|
// authentication api_key required
|
340
|
-
yield (0, common_1.setApiKeyToObject)(
|
340
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
341
341
|
// authentication oauth2 required
|
342
342
|
// oauth required
|
343
343
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
@@ -57,7 +57,7 @@ const TasksApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -93,7 +93,7 @@ const TasksApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -127,7 +127,7 @@ const TasksApiAxiosParamCreator = function (configuration) {
|
|
127
127
|
const localVarHeaderParameter = {};
|
128
128
|
const localVarQueryParameter = {};
|
129
129
|
// authentication api_key required
|
130
|
-
yield (0, common_1.setApiKeyToObject)(
|
130
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
131
131
|
// authentication oauth2 required
|
132
132
|
// oauth required
|
133
133
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
|
@@ -163,7 +163,7 @@ const TasksApiAxiosParamCreator = function (configuration) {
|
|
163
163
|
const localVarHeaderParameter = {};
|
164
164
|
const localVarQueryParameter = {};
|
165
165
|
// authentication api_key required
|
166
|
-
yield (0, common_1.setApiKeyToObject)(
|
166
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
167
167
|
// authentication oauth2 required
|
168
168
|
// oauth required
|
169
169
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:read", "projects:full"], configuration);
|
@@ -216,7 +216,7 @@ const TasksApiAxiosParamCreator = function (configuration) {
|
|
216
216
|
const localVarHeaderParameter = {};
|
217
217
|
const localVarQueryParameter = {};
|
218
218
|
// authentication api_key required
|
219
|
-
yield (0, common_1.setApiKeyToObject)(
|
219
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
220
220
|
// authentication oauth2 required
|
221
221
|
// oauth required
|
222
222
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["projects:full"], configuration);
|
@@ -56,7 +56,7 @@ const UserConnectionsApiAxiosParamCreator = function (configuration) {
|
|
56
56
|
const localVarHeaderParameter = {};
|
57
57
|
const localVarQueryParameter = {};
|
58
58
|
// authentication api_key required
|
59
|
-
yield (0, common_1.setApiKeyToObject)(
|
59
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
60
60
|
// authentication oauth2 required
|
61
61
|
// oauth required
|
62
62
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -56,7 +56,7 @@ const UserSettingsApiAxiosParamCreator = function (configuration) {
|
|
56
56
|
const localVarHeaderParameter = {};
|
57
57
|
const localVarQueryParameter = {};
|
58
58
|
// authentication api_key required
|
59
|
-
yield (0, common_1.setApiKeyToObject)(
|
59
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
60
60
|
// authentication oauth2 required
|
61
61
|
// oauth required
|
62
62
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -57,7 +57,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -93,7 +93,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -129,7 +129,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
129
129
|
const localVarHeaderParameter = {};
|
130
130
|
const localVarQueryParameter = {};
|
131
131
|
// authentication api_key required
|
132
|
-
yield (0, common_1.setApiKeyToObject)(
|
132
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
133
133
|
// authentication oauth2 required
|
134
134
|
// oauth required
|
135
135
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["base"], configuration);
|
@@ -163,7 +163,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
163
163
|
const localVarHeaderParameter = {};
|
164
164
|
const localVarQueryParameter = {};
|
165
165
|
// authentication api_key required
|
166
|
-
yield (0, common_1.setApiKeyToObject)(
|
166
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
167
167
|
// authentication oauth2 required
|
168
168
|
// oauth required
|
169
169
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -197,7 +197,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
197
197
|
const localVarHeaderParameter = {};
|
198
198
|
const localVarQueryParameter = {};
|
199
199
|
// authentication api_key required
|
200
|
-
yield (0, common_1.setApiKeyToObject)(
|
200
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
201
201
|
// authentication oauth2 required
|
202
202
|
// oauth required
|
203
203
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -231,7 +231,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
231
231
|
const localVarHeaderParameter = {};
|
232
232
|
const localVarQueryParameter = {};
|
233
233
|
// authentication api_key required
|
234
|
-
yield (0, common_1.setApiKeyToObject)(
|
234
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
235
235
|
// authentication oauth2 required
|
236
236
|
// oauth required
|
237
237
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -267,7 +267,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
267
267
|
const localVarHeaderParameter = {};
|
268
268
|
const localVarQueryParameter = {};
|
269
269
|
// authentication api_key required
|
270
|
-
yield (0, common_1.setApiKeyToObject)(
|
270
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
271
271
|
// authentication oauth2 required
|
272
272
|
// oauth required
|
273
273
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -307,7 +307,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
307
307
|
const localVarHeaderParameter = {};
|
308
308
|
const localVarQueryParameter = {};
|
309
309
|
// authentication api_key required
|
310
|
-
yield (0, common_1.setApiKeyToObject)(
|
310
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
311
311
|
// authentication oauth2 required
|
312
312
|
// oauth required
|
313
313
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -337,7 +337,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
337
337
|
const localVarHeaderParameter = {};
|
338
338
|
const localVarQueryParameter = {};
|
339
339
|
// authentication api_key required
|
340
|
-
yield (0, common_1.setApiKeyToObject)(
|
340
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
341
341
|
// authentication oauth2 required
|
342
342
|
// oauth required
|
343
343
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -372,7 +372,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
372
372
|
const localVarHeaderParameter = {};
|
373
373
|
const localVarQueryParameter = {};
|
374
374
|
// authentication api_key required
|
375
|
-
yield (0, common_1.setApiKeyToObject)(
|
375
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
376
376
|
// authentication oauth2 required
|
377
377
|
// oauth required
|
378
378
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -57,7 +57,7 @@ const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -93,7 +93,7 @@ const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -123,7 +123,7 @@ const WebhooksApiAxiosParamCreator = function (configuration) {
|
|
123
123
|
const localVarHeaderParameter = {};
|
124
124
|
const localVarQueryParameter = {};
|
125
125
|
// authentication api_key required
|
126
|
-
yield (0, common_1.setApiKeyToObject)(
|
126
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
127
127
|
// authentication oauth2 required
|
128
128
|
// oauth required
|
129
129
|
yield (0, common_1.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 {
|