pipedrive 24.2.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 (223) 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 +413 -91
  4. package/dist/esm/versions/v1/api/deals-api.js +419 -90
  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 +71 -71
  12. package/dist/esm/versions/v1/api/organizations-api.js +70 -70
  13. package/dist/esm/versions/v1/api/persons-api.d.ts +59 -59
  14. package/dist/esm/versions/v1/api/persons-api.js +58 -58
  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/api/subscriptions-api.d.ts +36 -36
  22. package/dist/esm/versions/v1/api/subscriptions-api.js +36 -36
  23. package/dist/esm/versions/v1/api/webhooks-api.d.ts +4 -4
  24. package/dist/esm/versions/v1/api/webhooks-api.js +4 -4
  25. package/dist/esm/versions/v1/base.d.ts +2 -3
  26. package/dist/esm/versions/v1/configuration.d.ts +2 -2
  27. package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  28. package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  29. package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
  30. package/dist/esm/versions/v1/models/add-webhook-request.d.ts +5 -6
  31. package/dist/esm/versions/v1/models/add-webhook-request.js +4 -5
  32. package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  33. package/dist/esm/versions/v1/models/index.d.ts +1 -0
  34. package/dist/esm/versions/v1/models/index.js +1 -0
  35. package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
  36. package/dist/esm/versions/v1/models/note-project.js +14 -0
  37. package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
  38. package/dist/esm/versions/v1/models/note.d.ts +16 -0
  39. package/dist/esm/versions/v1/models/user-access.d.ts +3 -2
  40. package/dist/esm/versions/v1/models/user-access.js +4 -3
  41. package/dist/esm/versions/v1/models/user-access1.d.ts +3 -2
  42. package/dist/esm/versions/v1/models/user-access1.js +4 -3
  43. package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
  44. package/dist/esm/versions/v2/api/activities-api.js +12 -7
  45. package/dist/esm/versions/v2/api/beta-api.d.ts +194 -2532
  46. package/dist/esm/versions/v2/api/beta-api.js +263 -2928
  47. package/dist/esm/versions/v2/api/deals-api.d.ts +509 -4
  48. package/dist/esm/versions/v2/api/deals-api.js +589 -4
  49. package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
  50. package/dist/esm/versions/v2/api/leads-api.js +146 -1
  51. package/dist/esm/versions/v2/api/organizations-api.d.ts +237 -0
  52. package/dist/esm/versions/v2/api/organizations-api.js +301 -0
  53. package/dist/esm/versions/v2/api/persons-api.d.ts +245 -8
  54. package/dist/esm/versions/v2/api/persons-api.js +309 -8
  55. package/dist/esm/versions/v2/api/products-api.d.ts +237 -0
  56. package/dist/esm/versions/v2/api/products-api.js +301 -0
  57. package/dist/esm/versions/v2/api/users-api.d.ts +103 -0
  58. package/dist/esm/versions/v2/api/users-api.js +140 -0
  59. package/dist/esm/versions/v2/api.d.ts +1 -0
  60. package/dist/esm/versions/v2/api.js +1 -0
  61. package/dist/esm/versions/v2/base.d.ts +2 -3
  62. package/dist/esm/versions/v2/configuration.d.ts +2 -2
  63. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  64. package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
  65. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  66. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
  67. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  68. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
  69. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  70. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
  71. package/dist/esm/versions/v2/models/add-deal-follower-request.d.ts +23 -0
  72. package/dist/esm/versions/v2/models/add-deal-follower-request.js +14 -0
  73. package/dist/esm/versions/v2/models/add-follower-response-all-of.d.ts +24 -0
  74. package/dist/esm/versions/v2/models/add-follower-response-all-of.js +14 -0
  75. package/dist/esm/versions/v2/models/add-follower-response.d.ts +18 -0
  76. package/dist/esm/versions/v2/models/add-follower-response.js +14 -0
  77. package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
  78. package/dist/esm/versions/v2/models/add-person-request.js +6 -1
  79. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  80. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
  81. package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
  82. package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
  83. package/dist/esm/versions/v2/models/delete-follower-response-data.d.ts +23 -0
  84. package/dist/esm/versions/v2/models/delete-follower-response-data.js +14 -0
  85. package/dist/esm/versions/v2/models/delete-follower-response.d.ts +29 -0
  86. package/dist/esm/versions/v2/models/delete-follower-response.js +14 -0
  87. package/dist/esm/versions/v2/models/follower-changelog-item.d.ts +38 -0
  88. package/dist/esm/versions/v2/models/follower-changelog-item.js +14 -0
  89. package/dist/esm/versions/v2/models/follower-item.d.ts +28 -0
  90. package/dist/esm/versions/v2/models/follower-item.js +14 -0
  91. package/dist/esm/versions/v2/models/follower-item1.d.ts +28 -0
  92. package/dist/esm/versions/v2/models/follower-item1.js +14 -0
  93. package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
  94. package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
  95. package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  96. package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
  97. package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
  98. package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
  99. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  100. package/dist/esm/versions/v2/models/get-follower-changelogs-response-all-of.d.ts +30 -0
  101. package/dist/esm/versions/v2/models/get-follower-changelogs-response-all-of.js +14 -0
  102. package/dist/esm/versions/v2/models/get-follower-changelogs-response.d.ts +18 -0
  103. package/dist/esm/versions/v2/models/get-follower-changelogs-response.js +14 -0
  104. package/dist/esm/versions/v2/models/get-followers-response-all-of.d.ts +30 -0
  105. package/dist/esm/versions/v2/models/get-followers-response-all-of.js +14 -0
  106. package/dist/esm/versions/v2/models/get-followers-response.d.ts +18 -0
  107. package/dist/esm/versions/v2/models/get-followers-response.js +14 -0
  108. package/dist/esm/versions/v2/models/index.d.ts +19 -0
  109. package/dist/esm/versions/v2/models/index.js +19 -0
  110. package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
  111. package/dist/esm/versions/v2/models/update-person-request.js +6 -1
  112. package/dist/versions/v1/api/activities-api.d.ts +40 -40
  113. package/dist/versions/v1/api/activities-api.js +40 -40
  114. package/dist/versions/v1/api/deals-api.d.ts +413 -91
  115. package/dist/versions/v1/api/deals-api.js +419 -90
  116. package/dist/versions/v1/api/item-search-api.d.ts +8 -8
  117. package/dist/versions/v1/api/item-search-api.js +8 -8
  118. package/dist/versions/v1/api/leads-api.d.ts +100 -14
  119. package/dist/versions/v1/api/leads-api.js +107 -14
  120. package/dist/versions/v1/api/notes-api.d.ts +18 -2
  121. package/dist/versions/v1/api/notes-api.js +15 -5
  122. package/dist/versions/v1/api/organizations-api.d.ts +71 -71
  123. package/dist/versions/v1/api/organizations-api.js +70 -70
  124. package/dist/versions/v1/api/persons-api.d.ts +59 -59
  125. package/dist/versions/v1/api/persons-api.js +58 -58
  126. package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
  127. package/dist/versions/v1/api/pipelines-api.js +28 -28
  128. package/dist/versions/v1/api/products-api.d.ts +24 -24
  129. package/dist/versions/v1/api/products-api.js +24 -24
  130. package/dist/versions/v1/api/stages-api.d.ts +36 -36
  131. package/dist/versions/v1/api/stages-api.js +36 -36
  132. package/dist/versions/v1/api/subscriptions-api.d.ts +36 -36
  133. package/dist/versions/v1/api/subscriptions-api.js +36 -36
  134. package/dist/versions/v1/api/webhooks-api.d.ts +4 -4
  135. package/dist/versions/v1/api/webhooks-api.js +4 -4
  136. package/dist/versions/v1/base.d.ts +2 -3
  137. package/dist/versions/v1/configuration.d.ts +2 -2
  138. package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  139. package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  140. package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
  141. package/dist/versions/v1/models/add-webhook-request.d.ts +5 -6
  142. package/dist/versions/v1/models/add-webhook-request.js +4 -5
  143. package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  144. package/dist/versions/v1/models/index.d.ts +1 -0
  145. package/dist/versions/v1/models/index.js +1 -0
  146. package/dist/versions/v1/models/note-project.d.ts +23 -0
  147. package/dist/versions/v1/models/note-project.js +15 -0
  148. package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
  149. package/dist/versions/v1/models/note.d.ts +16 -0
  150. package/dist/versions/v1/models/user-access.d.ts +3 -2
  151. package/dist/versions/v1/models/user-access.js +4 -3
  152. package/dist/versions/v1/models/user-access1.d.ts +3 -2
  153. package/dist/versions/v1/models/user-access1.js +4 -3
  154. package/dist/versions/v2/api/activities-api.d.ts +15 -7
  155. package/dist/versions/v2/api/activities-api.js +12 -7
  156. package/dist/versions/v2/api/beta-api.d.ts +194 -2532
  157. package/dist/versions/v2/api/beta-api.js +265 -2930
  158. package/dist/versions/v2/api/deals-api.d.ts +509 -4
  159. package/dist/versions/v2/api/deals-api.js +589 -4
  160. package/dist/versions/v2/api/leads-api.d.ts +111 -0
  161. package/dist/versions/v2/api/leads-api.js +145 -0
  162. package/dist/versions/v2/api/organizations-api.d.ts +237 -0
  163. package/dist/versions/v2/api/organizations-api.js +301 -0
  164. package/dist/versions/v2/api/persons-api.d.ts +245 -8
  165. package/dist/versions/v2/api/persons-api.js +309 -8
  166. package/dist/versions/v2/api/products-api.d.ts +237 -0
  167. package/dist/versions/v2/api/products-api.js +301 -0
  168. package/dist/versions/v2/api/users-api.d.ts +103 -0
  169. package/dist/versions/v2/api/users-api.js +150 -0
  170. package/dist/versions/v2/api.d.ts +1 -0
  171. package/dist/versions/v2/api.js +1 -0
  172. package/dist/versions/v2/base.d.ts +2 -3
  173. package/dist/versions/v2/configuration.d.ts +2 -2
  174. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  175. package/dist/versions/v2/models/activity-item1.d.ts +5 -0
  176. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  177. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
  178. package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  179. package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
  180. package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  181. package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
  182. package/dist/versions/v2/models/add-deal-follower-request.d.ts +23 -0
  183. package/dist/versions/v2/models/add-deal-follower-request.js +15 -0
  184. package/dist/versions/v2/models/add-follower-response-all-of.d.ts +24 -0
  185. package/dist/versions/v2/models/add-follower-response-all-of.js +15 -0
  186. package/dist/versions/v2/models/add-follower-response.d.ts +18 -0
  187. package/dist/versions/v2/models/add-follower-response.js +15 -0
  188. package/dist/versions/v2/models/add-person-request.d.ts +12 -0
  189. package/dist/versions/v2/models/add-person-request.js +7 -0
  190. package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  191. package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
  192. package/dist/versions/v2/models/deal-item.d.ts +5 -0
  193. package/dist/versions/v2/models/deal-item1.d.ts +5 -0
  194. package/dist/versions/v2/models/delete-follower-response-data.d.ts +23 -0
  195. package/dist/versions/v2/models/delete-follower-response-data.js +15 -0
  196. package/dist/versions/v2/models/delete-follower-response.d.ts +29 -0
  197. package/dist/versions/v2/models/delete-follower-response.js +15 -0
  198. package/dist/versions/v2/models/follower-changelog-item.d.ts +38 -0
  199. package/dist/versions/v2/models/follower-changelog-item.js +15 -0
  200. package/dist/versions/v2/models/follower-item.d.ts +28 -0
  201. package/dist/versions/v2/models/follower-item.js +15 -0
  202. package/dist/versions/v2/models/follower-item1.d.ts +28 -0
  203. package/dist/versions/v2/models/follower-item1.js +15 -0
  204. package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
  205. package/dist/versions/v2/models/get-convert-response.js +15 -0
  206. package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  207. package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
  208. package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
  209. package/dist/versions/v2/models/get-convert-response1.js +15 -0
  210. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  211. package/dist/versions/v2/models/get-follower-changelogs-response-all-of.d.ts +30 -0
  212. package/dist/versions/v2/models/get-follower-changelogs-response-all-of.js +15 -0
  213. package/dist/versions/v2/models/get-follower-changelogs-response.d.ts +18 -0
  214. package/dist/versions/v2/models/get-follower-changelogs-response.js +15 -0
  215. package/dist/versions/v2/models/get-followers-response-all-of.d.ts +30 -0
  216. package/dist/versions/v2/models/get-followers-response-all-of.js +15 -0
  217. package/dist/versions/v2/models/get-followers-response.d.ts +18 -0
  218. package/dist/versions/v2/models/get-followers-response.js +15 -0
  219. package/dist/versions/v2/models/index.d.ts +19 -0
  220. package/dist/versions/v2/models/index.js +19 -0
  221. package/dist/versions/v2/models/update-person-request.d.ts +12 -0
  222. package/dist/versions/v2/models/update-person-request.js +7 -0
  223. 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
  */
@@ -42,7 +42,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
42
42
  * Adds a new pipeline.
43
43
  * @summary Add a new pipeline
44
44
  * @param {PipelineRequest} [PipelineRequest]
45
-
45
+ * @deprecated
46
46
  * @throws {RequiredError}
47
47
  */
48
48
  addPipeline: (PipelineRequest) => __awaiter(this, void 0, void 0, function* () {
@@ -75,7 +75,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
75
75
  * Marks a pipeline as deleted.
76
76
  * @summary Delete a pipeline
77
77
  * @param {number} id The ID of the pipeline
78
-
78
+ * @deprecated
79
79
  * @throws {RequiredError}
80
80
  */
81
81
  deletePipeline: (id) => __awaiter(this, void 0, void 0, function* () {
@@ -110,7 +110,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
110
110
  * @summary Get one pipeline
111
111
  * @param {number} id The ID of the pipeline
112
112
  * @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.
113
-
113
+ * @deprecated
114
114
  * @throws {RequiredError}
115
115
  */
116
116
  getPipeline: (id, totals_convert_currency) => __awaiter(this, void 0, void 0, function* () {
@@ -198,7 +198,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
198
198
  };
199
199
  }),
200
200
  /**
201
- * 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.
201
+ * 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.
202
202
  * @summary Get deals in a pipeline
203
203
  * @param {number} id The ID of the pipeline
204
204
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -209,7 +209,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
209
209
  * @param {number} [limit] Items shown per page
210
210
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
211
211
  * @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.
212
-
212
+ * @deprecated
213
213
  * @throws {RequiredError}
214
214
  */
215
215
  getPipelineDeals: (id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) => __awaiter(this, void 0, void 0, function* () {
@@ -320,7 +320,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
320
320
  /**
321
321
  * Returns data about all pipelines.
322
322
  * @summary Get all pipelines
323
-
323
+ * @deprecated
324
324
  * @throws {RequiredError}
325
325
  */
326
326
  getPipelines: () => __awaiter(this, void 0, void 0, function* () {
@@ -352,7 +352,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
352
352
  * @summary Update a pipeline
353
353
  * @param {number} id The ID of the pipeline
354
354
  * @param {PipelineRequest1} [PipelineRequest1]
355
-
355
+ * @deprecated
356
356
  * @throws {RequiredError}
357
357
  */
358
358
  updatePipeline: (id, PipelineRequest1) => __awaiter(this, void 0, void 0, function* () {
@@ -398,7 +398,7 @@ const PipelinesApiFp = function (configuration) {
398
398
  * Adds a new pipeline.
399
399
  * @summary Add a new pipeline
400
400
  * @param {PipelineRequest} [PipelineRequest]
401
-
401
+ * @deprecated
402
402
  * @throws {RequiredError}
403
403
  */
404
404
  addPipeline(PipelineRequest) {
@@ -411,7 +411,7 @@ const PipelinesApiFp = function (configuration) {
411
411
  * Marks a pipeline as deleted.
412
412
  * @summary Delete a pipeline
413
413
  * @param {number} id The ID of the pipeline
414
-
414
+ * @deprecated
415
415
  * @throws {RequiredError}
416
416
  */
417
417
  deletePipeline(id) {
@@ -425,7 +425,7 @@ const PipelinesApiFp = function (configuration) {
425
425
  * @summary Get one pipeline
426
426
  * @param {number} id The ID of the pipeline
427
427
  * @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.
428
-
428
+ * @deprecated
429
429
  * @throws {RequiredError}
430
430
  */
431
431
  getPipeline(id, totals_convert_currency) {
@@ -451,7 +451,7 @@ const PipelinesApiFp = function (configuration) {
451
451
  });
452
452
  },
453
453
  /**
454
- * 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.
454
+ * 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.
455
455
  * @summary Get deals in a pipeline
456
456
  * @param {number} id The ID of the pipeline
457
457
  * @param {number} [filter_id] If supplied, only deals matching the given filter will be returned
@@ -462,7 +462,7 @@ const PipelinesApiFp = function (configuration) {
462
462
  * @param {number} [limit] Items shown per page
463
463
  * @param {0 | 1} [get_summary] Whether to include a summary of the pipeline in the &#x60;additional_data&#x60; or not
464
464
  * @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.
465
-
465
+ * @deprecated
466
466
  * @throws {RequiredError}
467
467
  */
468
468
  getPipelineDeals(id, filter_id, user_id, everyone, stage_id, start, limit, get_summary, totals_convert_currency) {
@@ -490,7 +490,7 @@ const PipelinesApiFp = function (configuration) {
490
490
  /**
491
491
  * Returns data about all pipelines.
492
492
  * @summary Get all pipelines
493
-
493
+ * @deprecated
494
494
  * @throws {RequiredError}
495
495
  */
496
496
  getPipelines() {
@@ -504,7 +504,7 @@ const PipelinesApiFp = function (configuration) {
504
504
  * @summary Update a pipeline
505
505
  * @param {number} id The ID of the pipeline
506
506
  * @param {PipelineRequest1} [PipelineRequest1]
507
-
507
+ * @deprecated
508
508
  * @throws {RequiredError}
509
509
  */
510
510
  updatePipeline(id, PipelineRequest1) {
@@ -527,7 +527,7 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
527
527
  * Adds a new pipeline.
528
528
  * @summary Add a new pipeline
529
529
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
530
-
530
+ * @deprecated
531
531
  * @throws {RequiredError}
532
532
  */
533
533
  addPipeline(requestParameters = {}) {
@@ -537,7 +537,7 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
537
537
  * Marks a pipeline as deleted.
538
538
  * @summary Delete a pipeline
539
539
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
540
-
540
+ * @deprecated
541
541
  * @throws {RequiredError}
542
542
  */
543
543
  deletePipeline(requestParameters) {
@@ -547,7 +547,7 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
547
547
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
548
548
  * @summary Get one pipeline
549
549
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
550
-
550
+ * @deprecated
551
551
  * @throws {RequiredError}
552
552
  */
553
553
  getPipeline(requestParameters) {
@@ -564,10 +564,10 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
564
564
  return localVarFp.getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(axios, basePath));
565
565
  },
566
566
  /**
567
- * 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.
567
+ * 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.
568
568
  * @summary Get deals in a pipeline
569
569
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
570
-
570
+ * @deprecated
571
571
  * @throws {RequiredError}
572
572
  */
573
573
  getPipelineDeals(requestParameters) {
@@ -586,7 +586,7 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
586
586
  /**
587
587
  * Returns data about all pipelines.
588
588
  * @summary Get all pipelines
589
-
589
+ * @deprecated
590
590
  * @throws {RequiredError}
591
591
  */
592
592
  getPipelines() {
@@ -596,7 +596,7 @@ const PipelinesApiFactory = function (configuration, basePath, axios) {
596
596
  * Updates the properties of a pipeline.
597
597
  * @summary Update a pipeline
598
598
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
599
-
599
+ * @deprecated
600
600
  * @throws {RequiredError}
601
601
  */
602
602
  updatePipeline(requestParameters) {
@@ -616,7 +616,7 @@ class PipelinesApi extends base_1.BaseAPI {
616
616
  * Adds a new pipeline.
617
617
  * @summary Add a new pipeline
618
618
  * @param {PipelinesApiAddPipelineRequest} requestParameters Request parameters.
619
-
619
+ * @deprecated
620
620
  * @throws {RequiredError}
621
621
  * @memberof PipelinesApi
622
622
  */
@@ -627,7 +627,7 @@ class PipelinesApi extends base_1.BaseAPI {
627
627
  * Marks a pipeline as deleted.
628
628
  * @summary Delete a pipeline
629
629
  * @param {PipelinesApiDeletePipelineRequest} requestParameters Request parameters.
630
-
630
+ * @deprecated
631
631
  * @throws {RequiredError}
632
632
  * @memberof PipelinesApi
633
633
  */
@@ -638,7 +638,7 @@ class PipelinesApi extends base_1.BaseAPI {
638
638
  * Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
639
639
  * @summary Get one pipeline
640
640
  * @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
641
-
641
+ * @deprecated
642
642
  * @throws {RequiredError}
643
643
  * @memberof PipelinesApi
644
644
  */
@@ -657,10 +657,10 @@ class PipelinesApi extends base_1.BaseAPI {
657
657
  return (0, exports.PipelinesApiFp)(this.configuration).getPipelineConversionStatistics(requestParameters.id, requestParameters.start_date, requestParameters.end_date, requestParameters.user_id).then((request) => request(this.axios, this.basePath));
658
658
  }
659
659
  /**
660
- * 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.
660
+ * 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.
661
661
  * @summary Get deals in a pipeline
662
662
  * @param {PipelinesApiGetPipelineDealsRequest} requestParameters Request parameters.
663
-
663
+ * @deprecated
664
664
  * @throws {RequiredError}
665
665
  * @memberof PipelinesApi
666
666
  */
@@ -681,7 +681,7 @@ class PipelinesApi extends base_1.BaseAPI {
681
681
  /**
682
682
  * Returns data about all pipelines.
683
683
  * @summary Get all pipelines
684
-
684
+ * @deprecated
685
685
  * @throws {RequiredError}
686
686
  * @memberof PipelinesApi
687
687
  */
@@ -692,7 +692,7 @@ class PipelinesApi extends base_1.BaseAPI {
692
692
  * Updates the properties of a pipeline.
693
693
  * @summary Update a pipeline
694
694
  * @param {PipelinesApiUpdatePipelineRequest} requestParameters Request parameters.
695
-
695
+ * @deprecated
696
696
  * @throws {RequiredError}
697
697
  * @memberof PipelinesApi
698
698
  */