pipedrive 25.0.0 → 26.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.
Files changed (141) hide show
  1. package/dist/esm/versions/v1/api/activities-api.d.ts +40 -40
  2. package/dist/esm/versions/v1/api/activities-api.js +40 -40
  3. package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
  4. package/dist/esm/versions/v1/api/deals-api.js +417 -88
  5. package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
  6. package/dist/esm/versions/v1/api/item-search-api.js +8 -8
  7. package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
  8. package/dist/esm/versions/v1/api/leads-api.js +107 -14
  9. package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
  10. package/dist/esm/versions/v1/api/notes-api.js +15 -5
  11. package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
  12. package/dist/esm/versions/v1/api/organizations-api.js +68 -68
  13. package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
  14. package/dist/esm/versions/v1/api/persons-api.js +56 -56
  15. package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
  16. package/dist/esm/versions/v1/api/pipelines-api.js +28 -28
  17. package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
  18. package/dist/esm/versions/v1/api/products-api.js +24 -24
  19. package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
  20. package/dist/esm/versions/v1/api/stages-api.js +36 -36
  21. package/dist/esm/versions/v1/base.d.ts +2 -3
  22. package/dist/esm/versions/v1/configuration.d.ts +2 -2
  23. package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  24. package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  25. package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
  26. package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  27. package/dist/esm/versions/v1/models/index.d.ts +1 -0
  28. package/dist/esm/versions/v1/models/index.js +1 -0
  29. package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
  30. package/dist/esm/versions/v1/models/note-project.js +14 -0
  31. package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
  32. package/dist/esm/versions/v1/models/note.d.ts +16 -0
  33. package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
  34. package/dist/esm/versions/v2/api/activities-api.js +12 -7
  35. package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
  36. package/dist/esm/versions/v2/api/beta-api.js +286 -0
  37. package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
  38. package/dist/esm/versions/v2/api/deals-api.js +288 -4
  39. package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
  40. package/dist/esm/versions/v2/api/leads-api.js +146 -1
  41. package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
  42. package/dist/esm/versions/v2/api/persons-api.js +8 -8
  43. package/dist/esm/versions/v2/api/products-api.js +1 -1
  44. package/dist/esm/versions/v2/base.d.ts +2 -3
  45. package/dist/esm/versions/v2/configuration.d.ts +2 -2
  46. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  47. package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
  48. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  49. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
  50. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  51. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
  52. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  53. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
  54. package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
  55. package/dist/esm/versions/v2/models/add-person-request.js +6 -1
  56. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  57. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
  58. package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
  59. package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
  60. package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
  61. package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
  62. package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  63. package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
  64. package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
  65. package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
  66. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  67. package/dist/esm/versions/v2/models/index.d.ts +7 -0
  68. package/dist/esm/versions/v2/models/index.js +7 -0
  69. package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
  70. package/dist/esm/versions/v2/models/update-person-request.js +6 -1
  71. package/dist/versions/v1/api/activities-api.d.ts +40 -40
  72. package/dist/versions/v1/api/activities-api.js +40 -40
  73. package/dist/versions/v1/api/deals-api.d.ts +410 -88
  74. package/dist/versions/v1/api/deals-api.js +417 -88
  75. package/dist/versions/v1/api/item-search-api.d.ts +8 -8
  76. package/dist/versions/v1/api/item-search-api.js +8 -8
  77. package/dist/versions/v1/api/leads-api.d.ts +100 -14
  78. package/dist/versions/v1/api/leads-api.js +107 -14
  79. package/dist/versions/v1/api/notes-api.d.ts +18 -2
  80. package/dist/versions/v1/api/notes-api.js +15 -5
  81. package/dist/versions/v1/api/organizations-api.d.ts +68 -68
  82. package/dist/versions/v1/api/organizations-api.js +68 -68
  83. package/dist/versions/v1/api/persons-api.d.ts +56 -56
  84. package/dist/versions/v1/api/persons-api.js +56 -56
  85. package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
  86. package/dist/versions/v1/api/pipelines-api.js +28 -28
  87. package/dist/versions/v1/api/products-api.d.ts +24 -24
  88. package/dist/versions/v1/api/products-api.js +24 -24
  89. package/dist/versions/v1/api/stages-api.d.ts +36 -36
  90. package/dist/versions/v1/api/stages-api.js +36 -36
  91. package/dist/versions/v1/base.d.ts +2 -3
  92. package/dist/versions/v1/configuration.d.ts +2 -2
  93. package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  94. package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  95. package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
  96. package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  97. package/dist/versions/v1/models/index.d.ts +1 -0
  98. package/dist/versions/v1/models/index.js +1 -0
  99. package/dist/versions/v1/models/note-project.d.ts +23 -0
  100. package/dist/versions/v1/models/note-project.js +15 -0
  101. package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
  102. package/dist/versions/v1/models/note.d.ts +16 -0
  103. package/dist/versions/v2/api/activities-api.d.ts +15 -7
  104. package/dist/versions/v2/api/activities-api.js +12 -7
  105. package/dist/versions/v2/api/beta-api.d.ts +212 -0
  106. package/dist/versions/v2/api/beta-api.js +286 -0
  107. package/dist/versions/v2/api/deals-api.d.ts +272 -4
  108. package/dist/versions/v2/api/deals-api.js +288 -4
  109. package/dist/versions/v2/api/leads-api.d.ts +111 -0
  110. package/dist/versions/v2/api/leads-api.js +145 -0
  111. package/dist/versions/v2/api/persons-api.d.ts +8 -8
  112. package/dist/versions/v2/api/persons-api.js +8 -8
  113. package/dist/versions/v2/api/products-api.js +1 -1
  114. package/dist/versions/v2/base.d.ts +2 -3
  115. package/dist/versions/v2/configuration.d.ts +2 -2
  116. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  117. package/dist/versions/v2/models/activity-item1.d.ts +5 -0
  118. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  119. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
  120. package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  121. package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
  122. package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  123. package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
  124. package/dist/versions/v2/models/add-person-request.d.ts +12 -0
  125. package/dist/versions/v2/models/add-person-request.js +7 -0
  126. package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  127. package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
  128. package/dist/versions/v2/models/deal-item.d.ts +5 -0
  129. package/dist/versions/v2/models/deal-item1.d.ts +5 -0
  130. package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
  131. package/dist/versions/v2/models/get-convert-response.js +15 -0
  132. package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  133. package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
  134. package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
  135. package/dist/versions/v2/models/get-convert-response1.js +15 -0
  136. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  137. package/dist/versions/v2/models/index.d.ts +7 -0
  138. package/dist/versions/v2/models/index.js +7 -0
  139. package/dist/versions/v2/models/update-person-request.d.ts +12 -0
  140. package/dist/versions/v2/models/update-person-request.js +7 -0
  141. package/package.json +1 -1
@@ -31,7 +31,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
31
31
  * Adds a new pipeline.
32
32
  * @summary Add a new pipeline
33
33
  * @param {PipelineRequest} [PipelineRequest]
34
-
34
+ * @deprecated
35
35
  * @throws {RequiredError}
36
36
  */
37
37
  addPipeline: (PipelineRequest?: PipelineRequest) => Promise<RequestArgs>;
@@ -39,7 +39,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
39
39
  * Marks a pipeline as deleted.
40
40
  * @summary Delete a pipeline
41
41
  * @param {number} id The ID of the pipeline
42
-
42
+ * @deprecated
43
43
  * @throws {RequiredError}
44
44
  */
45
45
  deletePipeline: (id: number) => Promise<RequestArgs>;
@@ -48,7 +48,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
48
48
  * @summary Get one pipeline
49
49
  * @param {number} id The ID of the pipeline
50
50
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
51
-
51
+ * @deprecated
52
52
  * @throws {RequiredError}
53
53
  */
54
54
  getPipeline: (id: number, totals_convert_currency?: string) => Promise<RequestArgs>;
@@ -64,7 +64,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
64
64
  */
65
65
  getPipelineConversionStatistics: (id: number, start_date: string, end_date: string, user_id?: number) => Promise<RequestArgs>;
66
66
  /**
67
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
67
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
68
68
  * @summary Get deals in a pipeline
69
69
  * @param {number} id The ID of the pipeline
70
70
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -75,7 +75,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
75
75
  * @param {number} [limit] Items shown per page
76
76
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
77
77
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
78
-
78
+ * @deprecated
79
79
  * @throws {RequiredError}
80
80
  */
81
81
  getPipelineDeals: (id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string) => Promise<RequestArgs>;
@@ -93,7 +93,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
93
93
  /**
94
94
  * Returns data about all pipelines.
95
95
  * @summary Get all pipelines
96
-
96
+ * @deprecated
97
97
  * @throws {RequiredError}
98
98
  */
99
99
  getPipelines: () => Promise<RequestArgs>;
@@ -102,7 +102,7 @@ export declare const PipelinesApiAxiosParamCreator: (configuration?: Configurati
102
102
  * @summary Update a pipeline
103
103
  * @param {number} id The ID of the pipeline
104
104
  * @param {PipelineRequest1} [PipelineRequest1]
105
-
105
+ * @deprecated
106
106
  * @throws {RequiredError}
107
107
  */
108
108
  updatePipeline: (id: number, PipelineRequest1?: PipelineRequest1) => Promise<RequestArgs>;
@@ -116,7 +116,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
116
116
  * Adds a new pipeline.
117
117
  * @summary Add a new pipeline
118
118
  * @param {PipelineRequest} [PipelineRequest]
119
-
119
+ * @deprecated
120
120
  * @throws {RequiredError}
121
121
  */
122
122
  addPipeline(PipelineRequest?: PipelineRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddPipelineResponse>>;
@@ -124,7 +124,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
124
124
  * Marks a pipeline as deleted.
125
125
  * @summary Delete a pipeline
126
126
  * @param {number} id The ID of the pipeline
127
-
127
+ * @deprecated
128
128
  * @throws {RequiredError}
129
129
  */
130
130
  deletePipeline(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeletePipelineResponse>>;
@@ -133,7 +133,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
133
133
  * @summary Get one pipeline
134
134
  * @param {number} id The ID of the pipeline
135
135
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
136
-
136
+ * @deprecated
137
137
  * @throws {RequiredError}
138
138
  */
139
139
  getPipeline(id: number, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineResponse>>;
@@ -149,7 +149,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
149
149
  */
150
150
  getPipelineConversionStatistics(id: number, start_date: string, end_date: string, user_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineDealsConversionRatesInResponse>>;
151
151
  /**
152
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
152
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
153
153
  * @summary Get deals in a pipeline
154
154
  * @param {number} id The ID of the pipeline
155
155
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -160,7 +160,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
160
160
  * @param {number} [limit] Items shown per page
161
161
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
162
162
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
163
-
163
+ * @deprecated
164
164
  * @throws {RequiredError}
165
165
  */
166
166
  getPipelineDeals(id: number, filter_id?: number, user_id?: number, everyone?: 0 | 1, stage_id?: number, start?: number, limit?: number, get_summary?: 0 | 1, totals_convert_currency?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStageDealsResponse>>;
@@ -178,7 +178,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
178
178
  /**
179
179
  * Returns data about all pipelines.
180
180
  * @summary Get all pipelines
181
-
181
+ * @deprecated
182
182
  * @throws {RequiredError}
183
183
  */
184
184
  getPipelines(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelinesResponse>>;
@@ -187,7 +187,7 @@ export declare const PipelinesApiFp: (configuration?: Configuration) => {
187
187
  * @summary Update a pipeline
188
188
  * @param {number} id The ID of the pipeline
189
189
  * @param {PipelineRequest1} [PipelineRequest1]
190
-
190
+ * @deprecated
191
191
  * @throws {RequiredError}
192
192
  */
193
193
  updatePipeline(id: number, PipelineRequest1?: PipelineRequest1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdatePipelineResponse>>;
@@ -201,7 +201,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
201
201
  * Adds a new pipeline.
202
202
  * @summary Add a new pipeline
203
203
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
204
-
204
+ * @deprecated
205
205
  * @throws {RequiredError}
206
206
  */
207
207
  addPipeline(requestParameters?: PipelinesApiAddPipelineRequest): Promise<AddPipelineResponse>;
@@ -209,7 +209,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
209
209
  * Marks a pipeline as deleted.
210
210
  * @summary Delete a pipeline
211
211
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
212
-
212
+ * @deprecated
213
213
  * @throws {RequiredError}
214
214
  */
215
215
  deletePipeline(requestParameters: PipelinesApiDeletePipelineRequest): Promise<DeletePipelineResponse>;
@@ -217,7 +217,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
217
217
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
218
218
  * @summary Get one pipeline
219
219
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
220
-
220
+ * @deprecated
221
221
  * @throws {RequiredError}
222
222
  */
223
223
  getPipeline(requestParameters: PipelinesApiGetPipelineRequest): Promise<GetPipelineResponse>;
@@ -230,10 +230,10 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
230
230
  */
231
231
  getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
232
232
  /**
233
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
233
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
234
234
  * @summary Get deals in a pipeline
235
235
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
236
-
236
+ * @deprecated
237
237
  * @throws {RequiredError}
238
238
  */
239
239
  getPipelineDeals(requestParameters: PipelinesApiGetPipelineDealsRequest): Promise<GetStageDealsResponse>;
@@ -248,7 +248,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
248
248
  /**
249
249
  * Returns data about all pipelines.
250
250
  * @summary Get all pipelines
251
-
251
+ * @deprecated
252
252
  * @throws {RequiredError}
253
253
  */
254
254
  getPipelines(): Promise<GetPipelinesResponse>;
@@ -256,7 +256,7 @@ export declare const PipelinesApiFactory: (configuration?: Configuration, basePa
256
256
  * Updates the properties of a pipeline.
257
257
  * @summary Update a pipeline
258
258
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
259
-
259
+ * @deprecated
260
260
  * @throws {RequiredError}
261
261
  */
262
262
  updatePipeline(requestParameters: PipelinesApiUpdatePipelineRequest): Promise<UpdatePipelineResponse>;
@@ -459,7 +459,7 @@ export declare class PipelinesApi extends BaseAPI {
459
459
  * Adds a new pipeline.
460
460
  * @summary Add a new pipeline
461
461
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
462
-
462
+ * @deprecated
463
463
  * @throws {RequiredError}
464
464
  * @memberof PipelinesApi
465
465
  */
@@ -468,7 +468,7 @@ export declare class PipelinesApi extends BaseAPI {
468
468
  * Marks a pipeline as deleted.
469
469
  * @summary Delete a pipeline
470
470
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
471
-
471
+ * @deprecated
472
472
  * @throws {RequiredError}
473
473
  * @memberof PipelinesApi
474
474
  */
@@ -477,7 +477,7 @@ export declare class PipelinesApi extends BaseAPI {
477
477
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
478
478
  * @summary Get one pipeline
479
479
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
480
-
480
+ * @deprecated
481
481
  * @throws {RequiredError}
482
482
  * @memberof PipelinesApi
483
483
  */
@@ -492,10 +492,10 @@ export declare class PipelinesApi extends BaseAPI {
492
492
  */
493
493
  getPipelineConversionStatistics(requestParameters: PipelinesApiGetPipelineConversionStatisticsRequest): Promise<GetPipelineDealsConversionRatesInResponse>;
494
494
  /**
495
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
495
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
496
496
  * @summary Get deals in a pipeline
497
497
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
498
-
498
+ * @deprecated
499
499
  * @throws {RequiredError}
500
500
  * @memberof PipelinesApi
501
501
  */
@@ -512,7 +512,7 @@ export declare class PipelinesApi extends BaseAPI {
512
512
  /**
513
513
  * Returns data about all pipelines.
514
514
  * @summary Get all pipelines
515
-
515
+ * @deprecated
516
516
  * @throws {RequiredError}
517
517
  * @memberof PipelinesApi
518
518
  */
@@ -521,7 +521,7 @@ export declare class PipelinesApi extends BaseAPI {
521
521
  * Updates the properties of a pipeline.
522
522
  * @summary Update a pipeline
523
523
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
524
-
524
+ * @deprecated
525
525
  * @throws {RequiredError}
526
526
  * @memberof PipelinesApi
527
527
  */
@@ -36,7 +36,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
36
36
  * Adds a new pipeline.
37
37
  * @summary Add a new pipeline
38
38
  * @param {PipelineRequest} [PipelineRequest]
39
-
39
+ * @deprecated
40
40
  * @throws {RequiredError}
41
41
  */
42
42
  addPipeline: (PipelineRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -69,7 +69,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
69
69
  * Marks a pipeline as deleted.
70
70
  * @summary Delete a pipeline
71
71
  * @param {number} id The ID of the pipeline
72
-
72
+ * @deprecated
73
73
  * @throws {RequiredError}
74
74
  */
75
75
  deletePipeline: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -104,7 +104,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
104
104
  * @summary Get one pipeline
105
105
  * @param {number} id The ID of the pipeline
106
106
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
107
-
107
+ * @deprecated
108
108
  * @throws {RequiredError}
109
109
  */
110
110
  getPipeline: (id, totals_convert_currency) => __awaiter(this, void 0, void 0, function* () {
@@ -192,7 +192,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
192
192
  };
193
193
  }),
194
194
  /**
195
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
195
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
196
196
  * @summary Get deals in a pipeline
197
197
  * @param {number} id The ID of the pipeline
198
198
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -203,7 +203,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
203
203
  * @param {number} [limit] Items shown per page
204
204
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
205
205
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
206
-
206
+ * @deprecated
207
207
  * @throws {RequiredError}
208
208
  */
209
209
  getPipelineDeals: (id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) => __awaiter(this, void 0, void 0, function* () {
@@ -314,7 +314,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
314
314
  /**
315
315
  * Returns data about all pipelines.
316
316
  * @summary Get all pipelines
317
-
317
+ * @deprecated
318
318
  * @throws {RequiredError}
319
319
  */
320
320
  getPipelines: () => __awaiter(this, void 0, void 0, function* () {
@@ -346,7 +346,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
346
346
  * @summary Update a pipeline
347
347
  * @param {number} id The ID of the pipeline
348
348
  * @param {PipelineRequest1} [PipelineRequest1]
349
-
349
+ * @deprecated
350
350
  * @throws {RequiredError}
351
351
  */
352
352
  updatePipeline: (id, PipelineRequest1) => __awaiter(this, void 0, void 0, function* () {
@@ -391,7 +391,7 @@ export const PipelinesApiFp = function (configuration) {
391
391
  * Adds a new pipeline.
392
392
  * @summary Add a new pipeline
393
393
  * @param {PipelineRequest} [PipelineRequest]
394
-
394
+ * @deprecated
395
395
  * @throws {RequiredError}
396
396
  */
397
397
  addPipeline(PipelineRequest) {
@@ -404,7 +404,7 @@ export const PipelinesApiFp = function (configuration) {
404
404
  * Marks a pipeline as deleted.
405
405
  * @summary Delete a pipeline
406
406
  * @param {number} id The ID of the pipeline
407
-
407
+ * @deprecated
408
408
  * @throws {RequiredError}
409
409
  */
410
410
  deletePipeline(id) {
@@ -418,7 +418,7 @@ export const PipelinesApiFp = function (configuration) {
418
418
  * @summary Get one pipeline
419
419
  * @param {number} id The ID of the pipeline
420
420
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
421
-
421
+ * @deprecated
422
422
  * @throws {RequiredError}
423
423
  */
424
424
  getPipeline(id, totals_convert_currency) {
@@ -444,7 +444,7 @@ export const PipelinesApiFp = function (configuration) {
444
444
  });
445
445
  },
446
446
  /**
447
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
447
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
448
448
  * @summary Get deals in a pipeline
449
449
  * @param {number} id The ID of the pipeline
450
450
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -455,7 +455,7 @@ export const PipelinesApiFp = function (configuration) {
455
455
  * @param {number} [limit] Items shown per page
456
456
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
457
457
  * @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned inside &#x60;deals_summary&#x60; inside &#x60;additional_data&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used. Only works when &#x60;get_summary&#x60; parameter flag is enabled.
458
-
458
+ * @deprecated
459
459
  * @throws {RequiredError}
460
460
  */
461
461
  getPipelineDeals(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) {
@@ -483,7 +483,7 @@ export const PipelinesApiFp = function (configuration) {
483
483
  /**
484
484
  * Returns data about all pipelines.
485
485
  * @summary Get all pipelines
486
-
486
+ * @deprecated
487
487
  * @throws {RequiredError}
488
488
  */
489
489
  getPipelines() {
@@ -497,7 +497,7 @@ export const PipelinesApiFp = function (configuration) {
497
497
  * @summary Update a pipeline
498
498
  * @param {number} id The ID of the pipeline
499
499
  * @param {PipelineRequest1} [PipelineRequest1]
500
-
500
+ * @deprecated
501
501
  * @throws {RequiredError}
502
502
  */
503
503
  updatePipeline(id, PipelineRequest1) {
@@ -519,7 +519,7 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
519
519
  * Adds a new pipeline.
520
520
  * @summary Add a new pipeline
521
521
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
522
-
522
+ * @deprecated
523
523
  * @throws {RequiredError}
524
524
  */
525
525
  addPipeline(requestParameters = {}) {
@@ -529,7 +529,7 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
529
529
  * Marks a pipeline as deleted.
530
530
  * @summary Delete a pipeline
531
531
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
532
-
532
+ * @deprecated
533
533
  * @throws {RequiredError}
534
534
  */
535
535
  deletePipeline(requestParameters) {
@@ -539,7 +539,7 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
539
539
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
540
540
  * @summary Get one pipeline
541
541
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
542
-
542
+ * @deprecated
543
543
  * @throws {RequiredError}
544
544
  */
545
545
  getPipeline(requestParameters) {
@@ -556,10 +556,10 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
556
556
  return localVarFp.getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
557
557
  },
558
558
  /**
559
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
559
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
560
560
  * @summary Get deals in a pipeline
561
561
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
562
-
562
+ * @deprecated
563
563
  * @throws {RequiredError}
564
564
  */
565
565
  getPipelineDeals(requestParameters) {
@@ -578,7 +578,7 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
578
578
  /**
579
579
  * Returns data about all pipelines.
580
580
  * @summary Get all pipelines
581
-
581
+ * @deprecated
582
582
  * @throws {RequiredError}
583
583
  */
584
584
  getPipelines() {
@@ -588,7 +588,7 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
588
588
  * Updates the properties of a pipeline.
589
589
  * @summary Update a pipeline
590
590
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
591
-
591
+ * @deprecated
592
592
  * @throws {RequiredError}
593
593
  */
594
594
  updatePipeline(requestParameters) {
@@ -607,7 +607,7 @@ export class PipelinesApi extends BaseAPI {
607
607
  * Adds a new pipeline.
608
608
  * @summary Add a new pipeline
609
609
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
610
-
610
+ * @deprecated
611
611
  * @throws {RequiredError}
612
612
  * @memberof PipelinesApi
613
613
  */
@@ -618,7 +618,7 @@ export class PipelinesApi extends BaseAPI {
618
618
  * Marks a pipeline as deleted.
619
619
  * @summary Delete a pipeline
620
620
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
621
-
621
+ * @deprecated
622
622
  * @throws {RequiredError}
623
623
  * @memberof PipelinesApi
624
624
  */
@@ -629,7 +629,7 @@ export class PipelinesApi extends BaseAPI {
629
629
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
630
630
  * @summary Get one pipeline
631
631
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
632
-
632
+ * @deprecated
633
633
  * @throws {RequiredError}
634
634
  * @memberof PipelinesApi
635
635
  */
@@ -648,10 +648,10 @@ export class PipelinesApi extends BaseAPI {
648
648
  return PipelinesApiFp(this.configuration).getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
649
649
  }
650
650
  /**
651
- * Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
651
+ * Lists deals in a specific pipeline across all its stages. 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?pipeline_id={id}</a> instead.
652
652
  * @summary Get deals in a pipeline
653
653
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
654
-
654
+ * @deprecated
655
655
  * @throws {RequiredError}
656
656
  * @memberof PipelinesApi
657
657
  */
@@ -672,7 +672,7 @@ export class PipelinesApi extends BaseAPI {
672
672
  /**
673
673
  * Returns data about all pipelines.
674
674
  * @summary Get all pipelines
675
-
675
+ * @deprecated
676
676
  * @throws {RequiredError}
677
677
  * @memberof PipelinesApi
678
678
  */
@@ -683,7 +683,7 @@ export class PipelinesApi extends BaseAPI {
683
683
  * Updates the properties of a pipeline.
684
684
  * @summary Update a pipeline
685
685
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
686
-
686
+ * @deprecated
687
687
  * @throws {RequiredError}
688
688
  * @memberof PipelinesApi
689
689
  */