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.
Files changed (213) 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 +47 -47
  3. package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
  4. package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
  5. package/dist/esm/versions/v1/api/billing-api.js +1 -1
  6. package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
  7. package/dist/esm/versions/v1/api/channels-api.js +4 -4
  8. package/dist/esm/versions/v1/api/currencies-api.js +1 -1
  9. package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
  10. package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
  11. package/dist/esm/versions/v1/api/deals-api.js +447 -118
  12. package/dist/esm/versions/v1/api/files-api.js +8 -8
  13. package/dist/esm/versions/v1/api/filters-api.js +7 -7
  14. package/dist/esm/versions/v1/api/goals-api.js +5 -5
  15. package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
  16. package/dist/esm/versions/v1/api/item-search-api.js +10 -10
  17. package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
  18. package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
  19. package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
  20. package/dist/esm/versions/v1/api/leads-api.js +114 -21
  21. package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
  22. package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
  23. package/dist/esm/versions/v1/api/meetings-api.js +2 -2
  24. package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
  25. package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
  26. package/dist/esm/versions/v1/api/notes-api.js +25 -15
  27. package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
  28. package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
  29. package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
  30. package/dist/esm/versions/v1/api/organizations-api.js +88 -88
  31. package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
  32. package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
  33. package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
  34. package/dist/esm/versions/v1/api/persons-api.js +78 -78
  35. package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
  36. package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
  37. package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
  38. package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
  39. package/dist/esm/versions/v1/api/products-api.js +36 -36
  40. package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
  41. package/dist/esm/versions/v1/api/projects-api.js +14 -14
  42. package/dist/esm/versions/v1/api/recents-api.js +1 -1
  43. package/dist/esm/versions/v1/api/roles-api.js +12 -12
  44. package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
  45. package/dist/esm/versions/v1/api/stages-api.js +43 -43
  46. package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
  47. package/dist/esm/versions/v1/api/tasks-api.js +5 -5
  48. package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
  49. package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
  50. package/dist/esm/versions/v1/api/users-api.js +10 -10
  51. package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
  52. package/dist/esm/versions/v1/base.d.ts +2 -3
  53. package/dist/esm/versions/v1/configuration.d.ts +2 -2
  54. package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  55. package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  56. package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
  57. package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  58. package/dist/esm/versions/v1/models/index.d.ts +1 -0
  59. package/dist/esm/versions/v1/models/index.js +1 -0
  60. package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
  61. package/dist/esm/versions/v1/models/note-project.js +14 -0
  62. package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
  63. package/dist/esm/versions/v1/models/note.d.ts +16 -0
  64. package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
  65. package/dist/esm/versions/v2/api/activities-api.js +17 -12
  66. package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
  67. package/dist/esm/versions/v2/api/beta-api.js +290 -4
  68. package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
  69. package/dist/esm/versions/v2/api/deals-api.js +311 -27
  70. package/dist/esm/versions/v2/api/item-search-api.js +2 -2
  71. package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
  72. package/dist/esm/versions/v2/api/leads-api.js +147 -2
  73. package/dist/esm/versions/v2/api/organizations-api.js +10 -10
  74. package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
  75. package/dist/esm/versions/v2/api/persons-api.js +18 -18
  76. package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
  77. package/dist/esm/versions/v2/api/products-api.js +15 -15
  78. package/dist/esm/versions/v2/api/stages-api.js +5 -5
  79. package/dist/esm/versions/v2/api/users-api.js +1 -1
  80. package/dist/esm/versions/v2/base.d.ts +2 -3
  81. package/dist/esm/versions/v2/configuration.d.ts +2 -2
  82. package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
  83. package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
  84. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  85. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
  86. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  87. package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
  88. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  89. package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
  90. package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
  91. package/dist/esm/versions/v2/models/add-person-request.js +6 -1
  92. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  93. package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
  94. package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
  95. package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
  96. package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
  97. package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
  98. package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  99. package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
  100. package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
  101. package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
  102. package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  103. package/dist/esm/versions/v2/models/index.d.ts +7 -0
  104. package/dist/esm/versions/v2/models/index.js +7 -0
  105. package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
  106. package/dist/esm/versions/v2/models/update-person-request.js +6 -1
  107. package/dist/versions/v1/api/activities-api.d.ts +40 -40
  108. package/dist/versions/v1/api/activities-api.js +47 -47
  109. package/dist/versions/v1/api/activity-fields-api.js +1 -1
  110. package/dist/versions/v1/api/activity-types-api.js +5 -5
  111. package/dist/versions/v1/api/billing-api.js +1 -1
  112. package/dist/versions/v1/api/call-logs-api.js +5 -5
  113. package/dist/versions/v1/api/channels-api.js +4 -4
  114. package/dist/versions/v1/api/currencies-api.js +1 -1
  115. package/dist/versions/v1/api/deal-fields-api.js +6 -6
  116. package/dist/versions/v1/api/deals-api.d.ts +410 -88
  117. package/dist/versions/v1/api/deals-api.js +447 -118
  118. package/dist/versions/v1/api/files-api.js +8 -8
  119. package/dist/versions/v1/api/filters-api.js +7 -7
  120. package/dist/versions/v1/api/goals-api.js +5 -5
  121. package/dist/versions/v1/api/item-search-api.d.ts +8 -8
  122. package/dist/versions/v1/api/item-search-api.js +10 -10
  123. package/dist/versions/v1/api/lead-labels-api.js +4 -4
  124. package/dist/versions/v1/api/lead-sources-api.js +1 -1
  125. package/dist/versions/v1/api/leads-api.d.ts +100 -14
  126. package/dist/versions/v1/api/leads-api.js +114 -21
  127. package/dist/versions/v1/api/legacy-teams-api.js +8 -8
  128. package/dist/versions/v1/api/mailbox-api.js +6 -6
  129. package/dist/versions/v1/api/meetings-api.js +2 -2
  130. package/dist/versions/v1/api/note-fields-api.js +1 -1
  131. package/dist/versions/v1/api/notes-api.d.ts +18 -2
  132. package/dist/versions/v1/api/notes-api.js +25 -15
  133. package/dist/versions/v1/api/organization-fields-api.js +6 -6
  134. package/dist/versions/v1/api/organization-relationships-api.js +5 -5
  135. package/dist/versions/v1/api/organizations-api.d.ts +68 -68
  136. package/dist/versions/v1/api/organizations-api.js +88 -88
  137. package/dist/versions/v1/api/permission-sets-api.js +3 -3
  138. package/dist/versions/v1/api/person-fields-api.js +6 -6
  139. package/dist/versions/v1/api/persons-api.d.ts +56 -56
  140. package/dist/versions/v1/api/persons-api.js +78 -78
  141. package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
  142. package/dist/versions/v1/api/pipelines-api.js +36 -36
  143. package/dist/versions/v1/api/product-fields-api.js +6 -6
  144. package/dist/versions/v1/api/products-api.d.ts +24 -24
  145. package/dist/versions/v1/api/products-api.js +36 -36
  146. package/dist/versions/v1/api/project-templates-api.js +4 -4
  147. package/dist/versions/v1/api/projects-api.js +14 -14
  148. package/dist/versions/v1/api/recents-api.js +1 -1
  149. package/dist/versions/v1/api/roles-api.js +12 -12
  150. package/dist/versions/v1/api/stages-api.d.ts +36 -36
  151. package/dist/versions/v1/api/stages-api.js +43 -43
  152. package/dist/versions/v1/api/subscriptions-api.js +9 -9
  153. package/dist/versions/v1/api/tasks-api.js +5 -5
  154. package/dist/versions/v1/api/user-connections-api.js +1 -1
  155. package/dist/versions/v1/api/user-settings-api.js +1 -1
  156. package/dist/versions/v1/api/users-api.js +10 -10
  157. package/dist/versions/v1/api/webhooks-api.js +3 -3
  158. package/dist/versions/v1/base.d.ts +2 -3
  159. package/dist/versions/v1/configuration.d.ts +2 -2
  160. package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
  161. package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
  162. package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
  163. package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  164. package/dist/versions/v1/models/index.d.ts +1 -0
  165. package/dist/versions/v1/models/index.js +1 -0
  166. package/dist/versions/v1/models/note-project.d.ts +23 -0
  167. package/dist/versions/v1/models/note-project.js +15 -0
  168. package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
  169. package/dist/versions/v1/models/note.d.ts +16 -0
  170. package/dist/versions/v2/api/activities-api.d.ts +15 -7
  171. package/dist/versions/v2/api/activities-api.js +17 -12
  172. package/dist/versions/v2/api/beta-api.d.ts +212 -0
  173. package/dist/versions/v2/api/beta-api.js +290 -4
  174. package/dist/versions/v2/api/deals-api.d.ts +272 -4
  175. package/dist/versions/v2/api/deals-api.js +311 -27
  176. package/dist/versions/v2/api/item-search-api.js +2 -2
  177. package/dist/versions/v2/api/leads-api.d.ts +111 -0
  178. package/dist/versions/v2/api/leads-api.js +146 -1
  179. package/dist/versions/v2/api/organizations-api.js +10 -10
  180. package/dist/versions/v2/api/persons-api.d.ts +8 -8
  181. package/dist/versions/v2/api/persons-api.js +18 -18
  182. package/dist/versions/v2/api/pipelines-api.js +5 -5
  183. package/dist/versions/v2/api/products-api.js +15 -15
  184. package/dist/versions/v2/api/stages-api.js +5 -5
  185. package/dist/versions/v2/api/users-api.js +1 -1
  186. package/dist/versions/v2/base.d.ts +2 -3
  187. package/dist/versions/v2/configuration.d.ts +2 -2
  188. package/dist/versions/v2/models/activity-item.d.ts +5 -0
  189. package/dist/versions/v2/models/activity-item1.d.ts +5 -0
  190. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
  191. package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
  192. package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
  193. package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
  194. package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
  195. package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
  196. package/dist/versions/v2/models/add-person-request.d.ts +12 -0
  197. package/dist/versions/v2/models/add-person-request.js +7 -0
  198. package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
  199. package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
  200. package/dist/versions/v2/models/deal-item.d.ts +5 -0
  201. package/dist/versions/v2/models/deal-item1.d.ts +5 -0
  202. package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
  203. package/dist/versions/v2/models/get-convert-response.js +15 -0
  204. package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
  205. package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
  206. package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
  207. package/dist/versions/v2/models/get-convert-response1.js +15 -0
  208. package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
  209. package/dist/versions/v2/models/index.d.ts +7 -0
  210. package/dist/versions/v2/models/index.js +7 -0
  211. package/dist/versions/v2/models/update-person-request.d.ts +12 -0
  212. package/dist/versions/v2/models/update-person-request.js +7 -0
  213. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConvertLeadToDealRequest
16
+ */
17
+ export interface ConvertLeadToDealRequest {
18
+ /**
19
+ * The ID of a stage the created deal will be added to. Please note that a pipeline will be assigned automatically based on the `stage_id`. If omitted, the deal will be placed in the first stage of the default pipeline.
20
+ * @type {number}
21
+ */
22
+ 'stage_id'?: number;
23
+ /**
24
+ * The ID of a pipeline the created deal will be added to. By default, the deal will be added to the first stage of the specified pipeline. Please note that `pipeline_id` and `stage_id` should not be used together as `pipeline_id` will be ignored.
25
+ * @type {number}
26
+ */
27
+ 'pipeline_id'?: number;
28
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -76,6 +76,11 @@ export interface DealItem {
76
76
  */
77
77
  'stage_change_time'?: string;
78
78
  /**
79
+ * Whether the deal is archived or not
80
+ * @type {boolean}
81
+ */
82
+ 'is_archived'?: boolean;
83
+ /**
79
84
  * Whether the deal is deleted or not
80
85
  * @type {boolean}
81
86
  */
@@ -76,6 +76,11 @@ export interface DealItem1 {
76
76
  */
77
77
  'stage_change_time'?: string;
78
78
  /**
79
+ * Whether the deal is archived or not
80
+ * @type {boolean}
81
+ */
82
+ 'is_archived'?: boolean;
83
+ /**
79
84
  * Whether the deal is deleted or not
80
85
  * @type {boolean}
81
86
  */
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetConvertResponse
16
+ */
17
+ export interface GetConvertResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ */
22
+ 'success'?: boolean;
23
+ /**
24
+ * The description of the error
25
+ * @type {string}
26
+ */
27
+ 'error'?: string;
28
+ /**
29
+ * A message describing how to solve the problem
30
+ * @type {string}
31
+ */
32
+ 'error_info'?: string;
33
+ /**
34
+ *
35
+ * @type {object}
36
+ */
37
+ 'data'?: object | null;
38
+ /**
39
+ *
40
+ * @type {object}
41
+ */
42
+ 'additional_data'?: object | null;
43
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * An object containing conversion status. After successful conversion the converted entity ID is also present.
14
+ * @export
15
+ * @interface GetConvertResponse1Data
16
+ */
17
+ export interface GetConvertResponse1Data {
18
+ /**
19
+ * The ID of the conversion job. The ID can be used to retrieve conversion status and details. The ID has UUID format.
20
+ * @type {string}
21
+ */
22
+ 'conversion_id': string;
23
+ /**
24
+ * Status of the conversion job.
25
+ * @type {string}
26
+ */
27
+ 'status': GetConvertResponse1DataStatusConst;
28
+ /**
29
+ * The ID of the new lead.
30
+ * @type {string}
31
+ */
32
+ 'lead_id'?: string;
33
+ /**
34
+ * The ID of the new deal.
35
+ * @type {number}
36
+ */
37
+ 'deal_id'?: number;
38
+ }
39
+ export declare const GetConvertResponse1DataStatusConst: {
40
+ readonly not_started: "not_started";
41
+ readonly running: "running";
42
+ readonly completed: "completed";
43
+ readonly failed: "failed";
44
+ readonly rejected: "rejected";
45
+ };
46
+ export type GetConvertResponse1DataStatusConst = typeof GetConvertResponse1DataStatusConst[keyof typeof GetConvertResponse1DataStatusConst];
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const GetConvertResponse1DataStatusConst = {
15
+ not_started: 'not_started',
16
+ running: 'running',
17
+ completed: 'completed',
18
+ failed: 'failed',
19
+ rejected: 'rejected'
20
+ };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Pipedrive API v2
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GetConvertResponse1Data } from './get-convert-response1-data';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetConvertResponse1
17
+ */
18
+ export interface GetConvertResponse1 {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ */
23
+ 'success': boolean;
24
+ /**
25
+ *
26
+ * @type {GetConvertResponse1Data}
27
+ */
28
+ 'data': GetConvertResponse1Data;
29
+ /**
30
+ *
31
+ * @type {object}
32
+ */
33
+ 'additional_data'?: object | null;
34
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pipedrive API v2
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -84,4 +84,9 @@ export interface GetDealSearchResponseAllOfDataItemsInnerItem {
84
84
  * @type {Array<string>}
85
85
  */
86
86
  'notes'?: Array<string>;
87
+ /**
88
+ * A flag indicating whether the deal is archived or not
89
+ * @type {boolean}
90
+ */
91
+ 'is_archived'?: boolean;
87
92
  }
@@ -7,6 +7,9 @@ export * from './add-ainstallment-response';
7
7
  export * from './add-activity-request';
8
8
  export * from './add-additional-discount-request-body';
9
9
  export * from './add-additional-discount-response';
10
+ export * from './add-convert-deal-to-lead-response';
11
+ export * from './add-convert-deal-to-lead-response-data';
12
+ export * from './add-convert-lead-to-deal-response';
10
13
  export * from './add-deal-follower-request';
11
14
  export * from './add-deal-product-request';
12
15
  export * from './add-deal-product-response';
@@ -27,6 +30,7 @@ export * from './base-product';
27
30
  export * from './base-product-all-of';
28
31
  export * from './base-product-all-of1';
29
32
  export * from './base-response';
33
+ export * from './convert-lead-to-deal-request';
30
34
  export * from './deal-item';
31
35
  export * from './deal-item1';
32
36
  export * from './deal-product-request-body';
@@ -63,6 +67,9 @@ export * from './get-activities-response-all-of';
63
67
  export * from './get-activities-response-all-of-additional-data';
64
68
  export * from './get-additional-discounts-response';
65
69
  export * from './get-additional-discounts-response-data-inner';
70
+ export * from './get-convert-response';
71
+ export * from './get-convert-response1';
72
+ export * from './get-convert-response1-data';
66
73
  export * from './get-deal-search-response';
67
74
  export * from './get-deal-search-response-all-of';
68
75
  export * from './get-deal-search-response-all-of-data';
@@ -7,6 +7,9 @@ export * from './add-ainstallment-response';
7
7
  export * from './add-activity-request';
8
8
  export * from './add-additional-discount-request-body';
9
9
  export * from './add-additional-discount-response';
10
+ export * from './add-convert-deal-to-lead-response';
11
+ export * from './add-convert-deal-to-lead-response-data';
12
+ export * from './add-convert-lead-to-deal-response';
10
13
  export * from './add-deal-follower-request';
11
14
  export * from './add-deal-product-request';
12
15
  export * from './add-deal-product-response';
@@ -27,6 +30,7 @@ export * from './base-product';
27
30
  export * from './base-product-all-of';
28
31
  export * from './base-product-all-of1';
29
32
  export * from './base-response';
33
+ export * from './convert-lead-to-deal-request';
30
34
  export * from './deal-item';
31
35
  export * from './deal-item1';
32
36
  export * from './deal-product-request-body';
@@ -63,6 +67,9 @@ export * from './get-activities-response-all-of';
63
67
  export * from './get-activities-response-all-of-additional-data';
64
68
  export * from './get-additional-discounts-response';
65
69
  export * from './get-additional-discounts-response-data-inner';
70
+ export * from './get-convert-response';
71
+ export * from './get-convert-response1';
72
+ export * from './get-convert-response1-data';
66
73
  export * from './get-deal-search-response';
67
74
  export * from './get-deal-search-response-all-of';
68
75
  export * from './get-deal-search-response-all-of-data';
@@ -62,4 +62,16 @@ export interface UpdatePersonRequest {
62
62
  * @type {Array<number>}
63
63
  */
64
64
  'label_ids'?: Array<number>;
65
+ /**
66
+ * If the person does not have a valid email address, then the marketing status is **not set** and `no_consent` is returned for the `marketing_status` value when the new person is created. If the change is forbidden, the status will remain unchanged for every call that tries to modify the marketing status. Please be aware that it is only allowed **once** to change the marketing status from an old status to a new one.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_consent`</td><td>The customer has not given consent to receive any marketing communications</td></tr><tr><td>`unsubscribed`</td><td>The customers have unsubscribed from ALL marketing communications</td></tr><tr><td>`subscribed`</td><td>The customers are subscribed and are counted towards marketing caps</td></tr><tr><td>`archived`</td><td>The customers with `subscribed` status can be moved to `archived` to save consent, but they are not paid for</td></tr></table>
67
+ * @type {string}
68
+ */
69
+ 'marketing_status'?: UpdatePersonRequestMarketingStatusConst;
65
70
  }
71
+ export declare const UpdatePersonRequestMarketingStatusConst: {
72
+ readonly no_consent: "no_consent";
73
+ readonly unsubscribed: "unsubscribed";
74
+ readonly subscribed: "subscribed";
75
+ readonly archived: "archived";
76
+ };
77
+ export type UpdatePersonRequestMarketingStatusConst = typeof UpdatePersonRequestMarketingStatusConst[keyof typeof UpdatePersonRequestMarketingStatusConst];
@@ -11,4 +11,9 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export {};
14
+ export const UpdatePersonRequestMarketingStatusConst = {
15
+ no_consent: 'no_consent',
16
+ unsubscribed: 'unsubscribed',
17
+ subscribed: 'subscribed',
18
+ archived: 'archived'
19
+ };
@@ -30,15 +30,15 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
30
30
  * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
31
31
  * @summary Add an activity
32
32
  * @param {AddActivityRequest} [AddActivityRequest]
33
-
33
+ * @deprecated
34
34
  * @throws {RequiredError}
35
35
  */
36
36
  addActivity: (AddActivityRequest?: AddActivityRequest) => Promise<RequestArgs>;
37
37
  /**
38
- * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
38
+ * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
39
39
  * @summary Delete multiple activities in bulk
40
40
  * @param {string} ids The comma-separated IDs of activities that will be deleted
41
-
41
+ * @deprecated
42
42
  * @throws {RequiredError}
43
43
  */
44
44
  deleteActivities: (ids: string) => Promise<RequestArgs>;
@@ -46,7 +46,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
46
46
  * Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
47
47
  * @summary Delete an activity
48
48
  * @param {number} id The ID of the activity
49
-
49
+ * @deprecated
50
50
  * @throws {RequiredError}
51
51
  */
52
52
  deleteActivity: (id: number) => Promise<RequestArgs>;
@@ -61,13 +61,13 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
61
61
  * @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
62
62
  * @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
63
63
  * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted returns both done and not done activities.
64
-
64
+ * @deprecated
65
65
  * @throws {RequiredError}
66
66
  */
67
67
  getActivities: (user_id?: number, filter_id?: number, type?: string, limit?: number, start?: number, start_date?: string, end_date?: string, done?: 0 | 1) => Promise<RequestArgs>;
68
68
  /**
69
- * Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
70
- * @summary Get all activities (BETA)
69
+ * Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
70
+ * @summary Get all activities collection
71
71
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
72
72
  * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
73
73
  * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
@@ -75,7 +75,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
75
75
  * @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
76
76
  * @param {boolean} [done] Whether the activity is done or not. &#x60;false&#x60; &#x3D; Not done, &#x60;true&#x60; &#x3D; Done. If omitted, returns both done and not done activities.
77
77
  * @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the &#x60;key_string&#x60; parameter of ActivityTypes.
78
-
78
+ * @deprecated
79
79
  * @throws {RequiredError}
80
80
  */
81
81
  getActivitiesCollection: (cursor?: string, limit?: number, since?: string, until?: string, user_id?: number, done?: boolean, type?: string) => Promise<RequestArgs>;
@@ -83,7 +83,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
83
83
  * Returns the details of a specific activity.
84
84
  * @summary Get details of an activity
85
85
  * @param {number} id The ID of the activity
86
-
86
+ * @deprecated
87
87
  * @throws {RequiredError}
88
88
  */
89
89
  getActivity: (id: number) => Promise<RequestArgs>;
@@ -92,7 +92,7 @@ export declare const ActivitiesApiAxiosParamCreator: (configuration?: Configurat
92
92
  * @summary Update an activity
93
93
  * @param {number} id The ID of the activity
94
94
  * @param {UpdateActivityRequest} [UpdateActivityRequest]
95
-
95
+ * @deprecated
96
96
  * @throws {RequiredError}
97
97
  */
98
98
  updateActivity: (id: number, UpdateActivityRequest?: UpdateActivityRequest) => Promise<RequestArgs>;
@@ -106,15 +106,15 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
106
106
  * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
107
107
  * @summary Add an activity
108
108
  * @param {AddActivityRequest} [AddActivityRequest]
109
-
109
+ * @deprecated
110
110
  * @throws {RequiredError}
111
111
  */
112
112
  addActivity(AddActivityRequest?: AddActivityRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddActivityResponse>>;
113
113
  /**
114
- * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
114
+ * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
115
115
  * @summary Delete multiple activities in bulk
116
116
  * @param {string} ids The comma-separated IDs of activities that will be deleted
117
-
117
+ * @deprecated
118
118
  * @throws {RequiredError}
119
119
  */
120
120
  deleteActivities(ids: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteActivitiesResponse>>;
@@ -122,7 +122,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
122
122
  * Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
123
123
  * @summary Delete an activity
124
124
  * @param {number} id The ID of the activity
125
-
125
+ * @deprecated
126
126
  * @throws {RequiredError}
127
127
  */
128
128
  deleteActivity(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteActivityResponse>>;
@@ -137,13 +137,13 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
137
137
  * @param {string} [start_date] Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format.
138
138
  * @param {string} [end_date] Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format.
139
139
  * @param {0 | 1} [done] Whether the activity is done or not. 0 &#x3D; Not done, 1 &#x3D; Done. If omitted returns both done and not done activities.
140
-
140
+ * @deprecated
141
141
  * @throws {RequiredError}
142
142
  */
143
143
  getActivities(user_id?: number, filter_id?: number, type?: string, limit?: number, start?: number, start_date?: string, end_date?: string, done?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesResponse>>;
144
144
  /**
145
- * Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
146
- * @summary Get all activities (BETA)
145
+ * Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
146
+ * @summary Get all activities collection
147
147
  * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
148
148
  * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
149
149
  * @param {string} [since] The time boundary that points to the start of the range of data. Datetime in ISO 8601 format. E.g. 2022-11-01 08:55:59. Operates on the &#x60;update_time&#x60; field.
@@ -151,7 +151,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
151
151
  * @param {number} [user_id] The ID of the user whose activities will be fetched. If omitted, all activities are returned.
152
152
  * @param {boolean} [done] Whether the activity is done or not. &#x60;false&#x60; &#x3D; Not done, &#x60;true&#x60; &#x3D; Done. If omitted, returns both done and not done activities.
153
153
  * @param {string} [type] The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the &#x60;key_string&#x60; parameter of ActivityTypes.
154
-
154
+ * @deprecated
155
155
  * @throws {RequiredError}
156
156
  */
157
157
  getActivitiesCollection(cursor?: string, limit?: number, since?: string, until?: string, user_id?: number, done?: boolean, type?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivitiesCollectionResponse>>;
@@ -159,7 +159,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
159
159
  * Returns the details of a specific activity.
160
160
  * @summary Get details of an activity
161
161
  * @param {number} id The ID of the activity
162
-
162
+ * @deprecated
163
163
  * @throws {RequiredError}
164
164
  */
165
165
  getActivity(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityResponse>>;
@@ -168,7 +168,7 @@ export declare const ActivitiesApiFp: (configuration?: Configuration) => {
168
168
  * @summary Update an activity
169
169
  * @param {number} id The ID of the activity
170
170
  * @param {UpdateActivityRequest} [UpdateActivityRequest]
171
-
171
+ * @deprecated
172
172
  * @throws {RequiredError}
173
173
  */
174
174
  updateActivity(id: number, UpdateActivityRequest?: UpdateActivityRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateActivityResponse>>;
@@ -182,15 +182,15 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
182
182
  * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
183
183
  * @summary Add an activity
184
184
  * @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
185
-
185
+ * @deprecated
186
186
  * @throws {RequiredError}
187
187
  */
188
188
  addActivity(requestParameters?: ActivitiesApiAddActivityRequest): Promise<AddActivityResponse>;
189
189
  /**
190
- * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
190
+ * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
191
191
  * @summary Delete multiple activities in bulk
192
192
  * @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
193
-
193
+ * @deprecated
194
194
  * @throws {RequiredError}
195
195
  */
196
196
  deleteActivities(requestParameters: ActivitiesApiDeleteActivitiesRequest): Promise<DeleteActivitiesResponse>;
@@ -198,7 +198,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
198
198
  * Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
199
199
  * @summary Delete an activity
200
200
  * @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
201
-
201
+ * @deprecated
202
202
  * @throws {RequiredError}
203
203
  */
204
204
  deleteActivity(requestParameters: ActivitiesApiDeleteActivityRequest): Promise<DeleteActivityResponse>;
@@ -206,15 +206,15 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
206
206
  * Returns all activities assigned to a particular user.
207
207
  * @summary Get all activities assigned to a particular user
208
208
  * @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
209
-
209
+ * @deprecated
210
210
  * @throws {RequiredError}
211
211
  */
212
212
  getActivities(requestParameters?: ActivitiesApiGetActivitiesRequest): Promise<GetActivitiesResponse>;
213
213
  /**
214
- * Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
215
- * @summary Get all activities (BETA)
214
+ * Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
215
+ * @summary Get all activities collection
216
216
  * @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
217
-
217
+ * @deprecated
218
218
  * @throws {RequiredError}
219
219
  */
220
220
  getActivitiesCollection(requestParameters?: ActivitiesApiGetActivitiesCollectionRequest): Promise<GetActivitiesCollectionResponse>;
@@ -222,7 +222,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
222
222
  * Returns the details of a specific activity.
223
223
  * @summary Get details of an activity
224
224
  * @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
225
-
225
+ * @deprecated
226
226
  * @throws {RequiredError}
227
227
  */
228
228
  getActivity(requestParameters: ActivitiesApiGetActivityRequest): Promise<GetActivityResponse>;
@@ -230,7 +230,7 @@ export declare const ActivitiesApiFactory: (configuration?: Configuration, baseP
230
230
  * Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
231
231
  * @summary Update an activity
232
232
  * @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
233
-
233
+ * @deprecated
234
234
  * @throws {RequiredError}
235
235
  */
236
236
  updateActivity(requestParameters: ActivitiesApiUpdateActivityRequest): Promise<UpdateActivityResponse>;
@@ -421,16 +421,16 @@ export declare class ActivitiesApi extends BaseAPI {
421
421
  * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>. <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
422
422
  * @summary Add an activity
423
423
  * @param {ActivitiesApiAddActivityRequest} requestParameters Request parameters.
424
-
424
+ * @deprecated
425
425
  * @throws {RequiredError}
426
426
  * @memberof ActivitiesApi
427
427
  */
428
428
  addActivity(requestParameters?: ActivitiesApiAddActivityRequest): Promise<AddActivityResponse>;
429
429
  /**
430
- * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
430
+ * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}</a> instead.
431
431
  * @summary Delete multiple activities in bulk
432
432
  * @param {ActivitiesApiDeleteActivitiesRequest} requestParameters Request parameters.
433
-
433
+ * @deprecated
434
434
  * @throws {RequiredError}
435
435
  * @memberof ActivitiesApi
436
436
  */
@@ -439,7 +439,7 @@ export declare class ActivitiesApi extends BaseAPI {
439
439
  * Marks an activity as deleted. After 30 days, the activity will be permanently deleted.
440
440
  * @summary Delete an activity
441
441
  * @param {ActivitiesApiDeleteActivityRequest} requestParameters Request parameters.
442
-
442
+ * @deprecated
443
443
  * @throws {RequiredError}
444
444
  * @memberof ActivitiesApi
445
445
  */
@@ -448,16 +448,16 @@ export declare class ActivitiesApi extends BaseAPI {
448
448
  * Returns all activities assigned to a particular user.
449
449
  * @summary Get all activities assigned to a particular user
450
450
  * @param {ActivitiesApiGetActivitiesRequest} requestParameters Request parameters.
451
-
451
+ * @deprecated
452
452
  * @throws {RequiredError}
453
453
  * @memberof ActivitiesApi
454
454
  */
455
455
  getActivities(requestParameters?: ActivitiesApiGetActivitiesRequest): Promise<GetActivitiesResponse>;
456
456
  /**
457
- * Returns all activities. This is a cursor-paginated endpoint that is currently in BETA. For more information, please refer to our documentation on <a href=\"https://pipedrive.readme.io/docs/core-api-concepts-pagination\" target=\"_blank\" rel=\"noopener noreferrer\">pagination</a>. Please note that only global admins (those with global permissions) can access these endpoints. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
458
- * @summary Get all activities (BETA)
457
+ * Returns all activities. Please note that only global admins (those with global permissions) can access this endpoint. Users with regular permissions will receive a 403 response. Read more about global permissions <a href=\"https://support.pipedrive.com/en/article/global-user-management\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivities\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/activities</a> instead.
458
+ * @summary Get all activities collection
459
459
  * @param {ActivitiesApiGetActivitiesCollectionRequest} requestParameters Request parameters.
460
-
460
+ * @deprecated
461
461
  * @throws {RequiredError}
462
462
  * @memberof ActivitiesApi
463
463
  */
@@ -466,7 +466,7 @@ export declare class ActivitiesApi extends BaseAPI {
466
466
  * Returns the details of a specific activity.
467
467
  * @summary Get details of an activity
468
468
  * @param {ActivitiesApiGetActivityRequest} requestParameters Request parameters.
469
-
469
+ * @deprecated
470
470
  * @throws {RequiredError}
471
471
  * @memberof ActivitiesApi
472
472
  */
@@ -475,7 +475,7 @@ export declare class ActivitiesApi extends BaseAPI {
475
475
  * Updates an activity. Includes `more_activities_scheduled_in_context` property in response\'s `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). <br /> <br /> ***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync***
476
476
  * @summary Update an activity
477
477
  * @param {ActivitiesApiUpdateActivityRequest} requestParameters Request parameters.
478
-
478
+ * @deprecated
479
479
  * @throws {RequiredError}
480
480
  * @memberof ActivitiesApi
481
481
  */