pipedrive 13.0.11 → 13.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (395) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +18 -16
  3. package/dist/api/ActivitiesApi.js +44 -44
  4. package/dist/api/ActivityTypesApi.js +4 -4
  5. package/dist/api/CallLogsApi.js +6 -6
  6. package/dist/api/CurrenciesApi.js +2 -2
  7. package/dist/api/DealFieldsApi.js +10 -10
  8. package/dist/api/DealsApi.js +100 -100
  9. package/dist/api/FilesApi.js +34 -34
  10. package/dist/api/FiltersApi.js +2 -2
  11. package/dist/api/GlobalMessagesApi.js +8 -8
  12. package/dist/api/GoalsApi.js +54 -54
  13. package/dist/api/LeadLabelsApi.js +12 -12
  14. package/dist/api/LeadSourcesApi.js +2 -2
  15. package/dist/api/LeadsApi.js +18 -18
  16. package/dist/api/MailboxApi.js +26 -26
  17. package/dist/api/NoteFieldsApi.js +2 -2
  18. package/dist/api/NotesApi.js +42 -42
  19. package/dist/api/OrganizationFieldsApi.js +10 -10
  20. package/dist/api/OrganizationRelationshipsApi.js +12 -12
  21. package/dist/api/OrganizationsApi.js +50 -50
  22. package/dist/api/PermissionSetsApi.js +12 -12
  23. package/dist/api/PersonFieldsApi.js +10 -10
  24. package/dist/api/PersonsApi.js +74 -74
  25. package/dist/api/PipelinesApi.js +50 -50
  26. package/dist/api/ProductFieldsApi.js +10 -10
  27. package/dist/api/ProductsApi.js +44 -44
  28. package/dist/api/RecentsApi.js +6 -6
  29. package/dist/api/RolesApi.js +38 -38
  30. package/dist/api/StagesApi.js +14 -14
  31. package/dist/api/SubscriptionsApi.js +34 -34
  32. package/dist/api/TeamsApi.js +32 -32
  33. package/dist/api/UserConnectionsApi.js +2 -2
  34. package/dist/api/UserSettingsApi.js +2 -2
  35. package/dist/api/UsersApi.js +44 -44
  36. package/dist/api/WebhooksApi.js +14 -14
  37. package/dist/index.js +16 -0
  38. package/dist/model/ActivityDistributionDataActivityDistribution.js +1 -1
  39. package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.js +4 -4
  40. package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js +2 -2
  41. package/dist/model/ActivityInfo.js +5 -5
  42. package/dist/model/ActivityObjectFragment.js +9 -9
  43. package/dist/model/ActivityPostObject.js +32 -32
  44. package/dist/model/ActivityPostObjectAllOf.js +7 -7
  45. package/dist/model/ActivityPutObject.js +32 -32
  46. package/dist/model/ActivityPutObjectAllOf.js +7 -7
  47. package/dist/model/ActivityResponseObject.js +96 -96
  48. package/dist/model/ActivityResponseObjectAllOf.js +39 -39
  49. package/dist/model/ActivityTypeBulkDeleteResponseAllOfData.js +1 -1
  50. package/dist/model/AddDealFollowerRequest.js +2 -2
  51. package/dist/model/AddDealParticipantRequest.js +2 -2
  52. package/dist/model/AddFollowerToPersonResponseAllOfData.js +4 -4
  53. package/dist/model/AddLeadLabelRequest.js +2 -2
  54. package/dist/model/AddLeadRequest.js +9 -9
  55. package/dist/model/AddNoteRequest.js +22 -22
  56. package/dist/model/AddNoteRequestAllOf.js +4 -4
  57. package/dist/model/AddOrganizationRelationshipRequest.js +5 -5
  58. package/dist/model/AddPersonFollowerRequest.js +2 -2
  59. package/dist/model/AddProductAttachmentDetails.js +36 -36
  60. package/dist/model/AddProductAttachmentDetailsAllOf.js +1 -1
  61. package/dist/model/AddProductFollowerRequest.js +2 -2
  62. package/dist/model/AddProductRequestBody.js +12 -12
  63. package/dist/model/AddTeamUserRequest.js +2 -2
  64. package/dist/model/AddWebhookRequest.js +7 -7
  65. package/dist/model/AddedDealFollowerData.js +4 -4
  66. package/dist/model/AdditionalBaseOrganizationItemInfo.js +64 -64
  67. package/dist/model/AdditionalDataWithPagination.js +1 -1
  68. package/dist/model/AdditionalMergePersonInfo.js +60 -60
  69. package/dist/model/AdditionalPersonInfo.js +50 -50
  70. package/dist/model/AllOrganizationRelationshipsGetResponse.js +2 -2
  71. package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +1 -1
  72. package/dist/model/AllOrganizationsGetResponse.js +2 -2
  73. package/dist/model/AllOrganizationsGetResponseAllOf.js +1 -1
  74. package/dist/model/Assignee.js +3 -3
  75. package/dist/model/BaseComment.js +7 -7
  76. package/dist/model/BaseCurrency.js +7 -7
  77. package/dist/model/BaseDeal.js +51 -51
  78. package/dist/model/BaseNote.js +14 -14
  79. package/dist/model/BaseNoteDealTitle.js +2 -2
  80. package/dist/model/BaseNoteOrganization.js +2 -2
  81. package/dist/model/BaseNotePerson.js +2 -2
  82. package/dist/model/BaseOrganizationItem.js +86 -86
  83. package/dist/model/BaseOrganizationItemFields.js +11 -11
  84. package/dist/model/BaseOrganizationItemWithEditNameFlag.js +88 -88
  85. package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +1 -1
  86. package/dist/model/BaseOrganizationRelationshipItem.js +5 -5
  87. package/dist/model/BasePersonItem.js +13 -13
  88. package/dist/model/BasePersonItemEmail.js +2 -2
  89. package/dist/model/BasePersonItemPhone.js +3 -3
  90. package/dist/model/BasePipeline.js +8 -8
  91. package/dist/model/BasePipelineWithSelectedFlag.js +18 -18
  92. package/dist/model/BasePipelineWithSelectedFlagAllOf.js +1 -1
  93. package/dist/model/BaseProduct.js +3 -3
  94. package/dist/model/BaseRole.js +3 -3
  95. package/dist/model/BaseStage.js +10 -10
  96. package/dist/model/BaseTeam.js +20 -20
  97. package/dist/model/BaseTeamAdditionalProperties.js +2 -2
  98. package/dist/model/BaseUser.js +19 -19
  99. package/dist/model/BaseUserMe.js +48 -48
  100. package/dist/model/BaseUserMeAllOf.js +5 -5
  101. package/dist/model/BaseUserMeAllOfLanguage.js +1 -1
  102. package/dist/model/BaseWebhook.js +3 -3
  103. package/dist/model/BasicDeal.js +10 -10
  104. package/dist/model/BasicDealProduct.js +6 -6
  105. package/dist/model/BasicGoal.js +6 -6
  106. package/dist/model/BasicOrganization.js +3 -3
  107. package/dist/model/BasicPerson.js +10 -10
  108. package/dist/model/BasicPersonEmail.js +112 -0
  109. package/dist/model/BasicProductField.js +3 -3
  110. package/dist/model/BulkDeleteResponseAllOfData.js +1 -1
  111. package/dist/model/CalculatedFields.js +2 -2
  112. package/dist/model/CallLogObject.js +6 -6
  113. package/dist/model/CommentPostPutObject.js +2 -2
  114. package/dist/model/CreateTeam.js +6 -6
  115. package/dist/model/Currencies.js +1 -1
  116. package/dist/model/DealCountAndActivityInfo.js +26 -26
  117. package/dist/model/DealFlowResponseAllOfData.js +1 -1
  118. package/dist/model/DealListActivitiesResponse.js +2 -2
  119. package/dist/model/DealListActivitiesResponseAllOf.js +1 -1
  120. package/dist/model/DealNonStrict.js +104 -104
  121. package/dist/model/DealNonStrictModeFields.js +1 -1
  122. package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +6 -6
  123. package/dist/model/DealNonStrictWithDetails.js +110 -110
  124. package/dist/model/DealNonStrictWithDetailsAllOf.js +3 -3
  125. package/dist/model/DealNonStrictWithDetailsAllOfAge.js +1 -1
  126. package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +1 -1
  127. package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -3
  128. package/dist/model/DealOrganizationData.js +7 -7
  129. package/dist/model/DealOrganizationDataWithId.js +14 -14
  130. package/dist/model/DealOrganizationDataWithIdAllOf.js +1 -1
  131. package/dist/model/DealParticipantCountInfo.js +2 -2
  132. package/dist/model/DealParticipants.js +1 -1
  133. package/dist/model/DealPersonData.js +10 -10
  134. package/dist/model/DealPersonDataEmail.js +112 -0
  135. package/dist/model/DealPersonDataPhone.js +1 -1
  136. package/dist/model/DealPersonDataWithId.js +17 -17
  137. package/dist/model/DealPersonDataWithIdAllOf.js +1 -1
  138. package/dist/model/DealSearchItemItem.js +8 -8
  139. package/dist/model/DealSearchItemItemOrganization.js +2 -2
  140. package/dist/model/DealSearchItemItemOwner.js +1 -1
  141. package/dist/model/DealSearchItemItemPerson.js +2 -2
  142. package/dist/model/DealSearchItemItemStage.js +2 -2
  143. package/dist/model/DealSearchResponseAllOfData.js +1 -1
  144. package/dist/model/DealStrict.js +112 -112
  145. package/dist/model/DealStrictModeFields.js +5 -5
  146. package/dist/model/DealStrictWithMergeId.js +114 -114
  147. package/dist/model/DealStrictWithMergeIdAllOf.js +1 -1
  148. package/dist/model/DealSummaryPerStages.js +1 -1
  149. package/dist/model/DealTitleParameter.js +1 -1
  150. package/dist/model/DealUserData.js +7 -7
  151. package/dist/model/DealUserDataWithId.js +14 -14
  152. package/dist/model/DealUserDataWithIdAllOf.js +1 -1
  153. package/dist/model/DealsCountAndActivityInfo.js +26 -26
  154. package/dist/model/DealsCountInfo.js +8 -8
  155. package/dist/model/DealsMovementsInfo.js +2 -2
  156. package/dist/model/DealsMovementsInfoFormattedValues.js +2 -2
  157. package/dist/model/DealsMovementsInfoValues.js +2 -2
  158. package/dist/model/DeleteActivitiesResponse200Data.js +1 -1
  159. package/dist/model/DeleteActivityResponse200Data.js +1 -1
  160. package/dist/model/DeleteDealData.js +1 -1
  161. package/dist/model/DeleteDealFollowerData.js +1 -1
  162. package/dist/model/DeleteDealParticipantData.js +1 -1
  163. package/dist/model/DeleteDealProductData.js +2 -2
  164. package/dist/model/DeleteFileData.js +1 -1
  165. package/dist/model/DeleteMultipleDealsData.js +1 -1
  166. package/dist/model/DeleteMultipleProductFieldsResponseData.js +1 -1
  167. package/dist/model/DeletePersonResponseAllOfData.js +1 -1
  168. package/dist/model/DeletePersonsInBulkResponseAllOfData.js +1 -1
  169. package/dist/model/DeleteProductFieldResponseData.js +1 -1
  170. package/dist/model/DeleteProductFollowerResponseData.js +1 -1
  171. package/dist/model/DeleteProductResponseData.js +1 -1
  172. package/dist/model/DeleteResponseAllOfData.js +1 -1
  173. package/dist/model/DeleteRoleAllOfData.js +1 -1
  174. package/dist/model/DeleteRoleAssignmentAllOfData.js +1 -1
  175. package/dist/model/DeleteStageResponse200Data.js +1 -1
  176. package/dist/model/DeleteStagesResponse200Data.js +1 -1
  177. package/dist/model/DeleteTeamUserRequest.js +2 -2
  178. package/dist/model/Duration.js +3 -3
  179. package/dist/model/EditPipeline.js +2 -2
  180. package/dist/model/EditPipelineAllOf.js +1 -1
  181. package/dist/model/EmailInfo.js +2 -2
  182. package/dist/model/ExpectedOutcome.js +3 -3
  183. package/dist/model/Field.js +18 -18
  184. package/dist/model/FieldCreateRequest.js +5 -5
  185. package/dist/model/FieldCreateRequestAllOf.js +3 -3
  186. package/dist/model/FieldUpdateRequest.js +1 -1
  187. package/dist/model/FileData.js +24 -24
  188. package/dist/model/FileItem.js +24 -24
  189. package/dist/model/FiltersPostResponseAllOfData.js +1 -1
  190. package/dist/model/FullRole.js +12 -12
  191. package/dist/model/FullRoleAllOf.js +1 -1
  192. package/dist/model/GetAddProductAttachementDetails.js +1 -1
  193. package/dist/model/GetAddedDeal.js +1 -1
  194. package/dist/model/GetAddedDealAdditionalData.js +1 -1
  195. package/dist/model/GetAllPersonsResponse.js +2 -2
  196. package/dist/model/GetAllPersonsResponseAllOf.js +1 -1
  197. package/dist/model/GetAllProductFieldsResponse.js +2 -2
  198. package/dist/model/GetComments.js +1 -1
  199. package/dist/model/GetDealAdditionalData.js +1 -1
  200. package/dist/model/GetDeals.js +1 -1
  201. package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -4
  202. package/dist/model/GetDealsMovementsInPipelineAllOfData.js +1 -1
  203. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -3
  204. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -3
  205. package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -2
  206. package/dist/model/GetDealsSummaryData.js +6 -6
  207. package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -6
  208. package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -4
  209. package/dist/model/GetDealsTimelineData.js +1 -1
  210. package/dist/model/GetDealsTimelineDataTotals.js +9 -9
  211. package/dist/model/GetDuplicatedDeal.js +1 -1
  212. package/dist/model/GetLeadSourcesResponse200Data.js +1 -1
  213. package/dist/model/GetNotes.js +1 -1
  214. package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +1 -1
  215. package/dist/model/GetProductAttachementDetails.js +1 -1
  216. package/dist/model/GetProductFieldResponse.js +1 -1
  217. package/dist/model/GetRecentsAdditionalData.js +2 -2
  218. package/dist/model/GetRoleAllOfAdditionalData.js +1 -1
  219. package/dist/model/GetRoleAssignments.js +2 -2
  220. package/dist/model/GetRoleAssignmentsAllOf.js +1 -1
  221. package/dist/model/GetRoles.js +2 -2
  222. package/dist/model/GetRolesAllOf.js +1 -1
  223. package/dist/model/GetStageDeals.js +1 -1
  224. package/dist/model/GetStages.js +1 -1
  225. package/dist/model/GlobalMessageData.js +6 -6
  226. package/dist/model/GlobalMessageGet.js +2 -2
  227. package/dist/model/GlobalMessageGetAllOf.js +1 -1
  228. package/dist/model/GlobalMessageUserData.js +3 -3
  229. package/dist/model/GoalResults.js +1 -1
  230. package/dist/model/GoalType.js +2 -2
  231. package/dist/model/GoalsResponseComponent.js +4 -4
  232. package/dist/model/LeadLabelResponse.js +4 -4
  233. package/dist/model/LeadResponse.js +16 -16
  234. package/dist/model/LeadValue.js +1 -1
  235. package/dist/model/ListActivitiesResponse.js +2 -2
  236. package/dist/model/ListActivitiesResponseAllOf.js +1 -1
  237. package/dist/model/ListDealsResponse.js +2 -2
  238. package/dist/model/ListDealsResponseAllOf.js +1 -1
  239. package/dist/model/ListFilesResponse.js +2 -2
  240. package/dist/model/ListFilesResponseAllOf.js +1 -1
  241. package/dist/model/ListFollowersResponse.js +2 -2
  242. package/dist/model/ListFollowersResponseAllOf.js +1 -1
  243. package/dist/model/ListFollowersResponseAllOfData.js +4 -4
  244. package/dist/model/ListMailMessagesResponse.js +2 -2
  245. package/dist/model/ListMailMessagesResponseAllOf.js +1 -1
  246. package/dist/model/ListPermittedUsersResponse1.js +2 -2
  247. package/dist/model/ListPermittedUsersResponse1AllOf.js +1 -1
  248. package/dist/model/ListPermittedUsersResponseAllOfData.js +1 -1
  249. package/dist/model/ListPersonProductsResponse.js +2 -2
  250. package/dist/model/ListPersonProductsResponseAllOf.js +1 -1
  251. package/dist/model/ListPersonsResponse.js +2 -2
  252. package/dist/model/ListPersonsResponseAllOf.js +1 -1
  253. package/dist/model/ListProductAdditionalData.js +10 -10
  254. package/dist/model/ListProductAdditionalDataAllOf.js +5 -5
  255. package/dist/model/ListProductFollowersResponse.js +2 -2
  256. package/dist/model/ListProductFollowersResponseAllOf.js +1 -1
  257. package/dist/model/ListProductFollowersResponseAllOfData.js +4 -4
  258. package/dist/model/ListProductsResponseAllOfData.js +1 -1
  259. package/dist/model/MergeDealsRequest.js +2 -2
  260. package/dist/model/MergeOrganizationsRequest.js +2 -2
  261. package/dist/model/MergePersonDealRelatedInfo.js +30 -30
  262. package/dist/model/MergePersonItem.js +86 -86
  263. package/dist/model/MergePersonsRequest.js +2 -2
  264. package/dist/model/NewDeal.js +25 -25
  265. package/dist/model/NewDealAllOf.js +1 -1
  266. package/dist/model/NewDealProduct.js +16 -16
  267. package/dist/model/NewDealProductAllOf.js +2 -2
  268. package/dist/model/NewFollowerResponseData.js +4 -4
  269. package/dist/model/NewGoal.js +12 -12
  270. package/dist/model/NewOrganization.js +9 -9
  271. package/dist/model/NewOrganizationAllOf.js +1 -1
  272. package/dist/model/NewPerson.js +20 -20
  273. package/dist/model/NewPersonAllOf.js +1 -1
  274. package/dist/model/NewProductField.js +4 -4
  275. package/dist/model/Note.js +19 -19
  276. package/dist/model/NoteConnectToParams.js +2 -2
  277. package/dist/model/NoteCreatorUser.js +5 -5
  278. package/dist/model/NoteField.js +7 -7
  279. package/dist/model/NoteParams.js +7 -7
  280. package/dist/model/OrganizationAddressInfo.js +11 -11
  281. package/dist/model/OrganizationCountAndAddressInfo.js +38 -38
  282. package/dist/model/OrganizationCountInfo.js +8 -8
  283. package/dist/model/OrganizationData.js +5 -5
  284. package/dist/model/OrganizationDataWithId.js +13 -13
  285. package/dist/model/OrganizationDataWithIdAllOf.js +1 -1
  286. package/dist/model/OrganizationDataWithIdAndActiveFlag.js +15 -15
  287. package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +1 -1
  288. package/dist/model/OrganizationDeleteResponseData.js +1 -1
  289. package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +1 -1
  290. package/dist/model/OrganizationFlowResponseAllOfData.js +1 -1
  291. package/dist/model/OrganizationFollowerDeleteResponseData.js +1 -1
  292. package/dist/model/OrganizationFollowerItem.js +2 -2
  293. package/dist/model/OrganizationFollowerItemAllOf.js +1 -1
  294. package/dist/model/OrganizationItem.js +88 -88
  295. package/dist/model/OrganizationRelationship.js +1 -1
  296. package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +1 -1
  297. package/dist/model/OrganizationRelationshipDetails.js +16 -16
  298. package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -14
  299. package/dist/model/OrganizationSearchItemItem.js +5 -5
  300. package/dist/model/OrganizationsDeleteResponseData.js +1 -1
  301. package/dist/model/OrganizationsMergeResponseData.js +1 -1
  302. package/dist/model/Owner.js +12 -12
  303. package/dist/model/Params.js +2 -2
  304. package/dist/model/PaymentItem.js +13 -13
  305. package/dist/model/PermissionSets.js +2 -2
  306. package/dist/model/PermissionSetsAllOf.js +1 -1
  307. package/dist/model/PermissionSetsItem.js +3 -3
  308. package/dist/model/PersonCountAndEmailInfo.js +18 -18
  309. package/dist/model/PersonCountEmailDealAndActivityInfo.js +44 -44
  310. package/dist/model/PersonCountInfo.js +7 -7
  311. package/dist/model/PersonData.js +5 -5
  312. package/dist/model/PersonDataEmail.js +2 -2
  313. package/dist/model/PersonDataPhone.js +2 -2
  314. package/dist/model/PersonDataWithActiveFlag.js +13 -13
  315. package/dist/model/PersonDataWithActiveFlagAllOf.js +1 -1
  316. package/dist/model/PersonFlowResponseAllOfData.js +1 -1
  317. package/dist/model/PersonItem.js +76 -76
  318. package/dist/model/PersonListProduct.js +14 -14
  319. package/dist/model/PersonNameCountAndEmailInfo.js +24 -24
  320. package/dist/model/PersonNameCountAndEmailInfoWithIds.js +30 -30
  321. package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +3 -3
  322. package/dist/model/PersonNameInfo.js +3 -3
  323. package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +6 -6
  324. package/dist/model/PersonSearchItemItem.js +4 -4
  325. package/dist/model/PersonSearchItemItemOrganization.js +2 -2
  326. package/dist/model/PersonSearchItemItemOwner.js +1 -1
  327. package/dist/model/PictureData.js +2 -2
  328. package/dist/model/PictureDataWithID.js +4 -4
  329. package/dist/model/PictureDataWithValue.js +4 -4
  330. package/dist/model/Pipeline.js +4 -4
  331. package/dist/model/PipelineDetails.js +19 -19
  332. package/dist/model/PostDealParticipants.js +1 -1
  333. package/dist/model/PostRoleAssignmentAllOfData.js +2 -2
  334. package/dist/model/PostRoleSettingsAllOfData.js +1 -1
  335. package/dist/model/PostRolesAllOfData.js +1 -1
  336. package/dist/model/ProductAttachementFields.js +12 -12
  337. package/dist/model/ProductAttachmentDetails.js +35 -35
  338. package/dist/model/ProductBaseDeal.js +42 -42
  339. package/dist/model/ProductField.js +36 -36
  340. package/dist/model/ProductFieldAllOf.js +15 -15
  341. package/dist/model/ProductListItem.js +21 -21
  342. package/dist/model/ProductRequest.js +6 -6
  343. package/dist/model/ProductSearchItemItem.js +5 -5
  344. package/dist/model/ProductSearchItemItemOwner.js +1 -1
  345. package/dist/model/ProductWithArrayPrices.js +6 -6
  346. package/dist/model/ProductWithObjectPrices.js +6 -6
  347. package/dist/model/ProductsResponse.js +1 -1
  348. package/dist/model/RecentDataProduct.js +15 -15
  349. package/dist/model/RelatedDealDataDEALID.js +8 -8
  350. package/dist/model/RelatedOrganizationName.js +1 -1
  351. package/dist/model/RelatedPersonData.js +1 -1
  352. package/dist/model/RelationshipOrganizationInfoItem.js +12 -12
  353. package/dist/model/RelationshipOrganizationInfoItemAllOf.js +1 -1
  354. package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +14 -14
  355. package/dist/model/RequredTitleParameter.js +2 -2
  356. package/dist/model/ResponseCallLogObject.js +14 -14
  357. package/dist/model/ResponseCallLogObjectAllOf.js +1 -1
  358. package/dist/model/RoleAssignment.js +11 -11
  359. package/dist/model/RoleAssignmentAllOf.js +3 -3
  360. package/dist/model/RoleSettings.js +10 -10
  361. package/dist/model/RolesAdditionalData.js +1 -1
  362. package/dist/model/RolesAdditionalDataPagination.js +1 -1
  363. package/dist/model/SinglePermissionSetsItem.js +8 -8
  364. package/dist/model/SinglePermissionSetsItemAllOf.js +1 -1
  365. package/dist/model/Stage.js +5 -5
  366. package/dist/model/StageConversions.js +3 -3
  367. package/dist/model/StageDetails.js +21 -21
  368. package/dist/model/StageWithPipelineInfo.js +24 -24
  369. package/dist/model/StageWithPipelineInfoAllOf.js +2 -2
  370. package/dist/model/SubRole.js +10 -10
  371. package/dist/model/SubRoleAllOf.js +3 -3
  372. package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -5
  373. package/dist/model/SubscriptionInstallmentUpdateRequest.js +1 -1
  374. package/dist/model/SubscriptionItem.js +15 -15
  375. package/dist/model/SubscriptionRecurringCancelRequest.js +1 -1
  376. package/dist/model/SubscriptionRecurringCreateRequest.js +14 -14
  377. package/dist/model/SubscriptionRecurringUpdateRequest.js +3 -3
  378. package/dist/model/TeamId.js +1 -1
  379. package/dist/model/UpdateDealRequest.js +22 -22
  380. package/dist/model/UpdateLeadLabelRequest.js +1 -1
  381. package/dist/model/UpdateLeadRequest.js +9 -9
  382. package/dist/model/UpdateStageRequest.js +10 -10
  383. package/dist/model/UpdateTeam.js +14 -14
  384. package/dist/model/UpdateTeamAllOf.js +2 -2
  385. package/dist/model/UpdateTeamWithAdditionalProperties.js +18 -18
  386. package/dist/model/UserAssignmentToPermissionSet.js +4 -4
  387. package/dist/model/UserAssignmentsToPermissionSet.js +2 -2
  388. package/dist/model/UserAssignmentsToPermissionSetAllOf.js +1 -1
  389. package/dist/model/UserData.js +6 -6
  390. package/dist/model/UserDataWithId.js +12 -12
  391. package/dist/model/UserIDs.js +2 -2
  392. package/dist/model/UserIDsAllOf.js +1 -1
  393. package/dist/model/UserPermissionsItem.js +31 -31
  394. package/dist/model/UserSettingsItem.js +5 -5
  395. package/package.json +1 -1
@@ -54,14 +54,14 @@ var FilesApi = /*#__PURE__*/function () {
54
54
  }
55
55
  /**
56
56
  * Add file
57
- * Lets you upload a file and associate it with Deal, Person, Organization, Activity or Product. For more information on how to add a file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
58
- * @param {File} file A single file, supplied in the multipart/form-data encoding and contained within the given boundaries.
57
+ * Lets you upload a file and associate it with deal, person, organization, activity or product. For more information on how to add a file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
58
+ * @param {File} file A single file, supplied in the multipart/form-data encoding and contained within the given boundaries
59
59
  * @param {Object} opts Optional parameters
60
- * @param {Number} opts.dealId ID of the deal to associate file(s) with
61
- * @param {Number} opts.personId ID of the person to associate file(s) with
62
- * @param {Number} opts.orgId ID of the organization to associate file(s) with
63
- * @param {Number} opts.productId ID of the product to associate file(s) with
64
- * @param {Number} opts.activityId ID of the activity to associate file(s) with
60
+ * @param {Number} opts.dealId The ID of the deal to associate file(s) with
61
+ * @param {Number} opts.personId The ID of the person to associate file(s) with
62
+ * @param {Number} opts.orgId The ID of the organization to associate file(s) with
63
+ * @param {Number} opts.productId The ID of the product to associate file(s) with
64
+ * @param {Number} opts.activityId The ID of the activity to associate file(s) with
65
65
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddFile} and HTTP response
66
66
  */
67
67
 
@@ -109,14 +109,14 @@ var FilesApi = /*#__PURE__*/function () {
109
109
  }
110
110
  /**
111
111
  * Add file
112
- * Lets you upload a file and associate it with Deal, Person, Organization, Activity or Product. For more information on how to add a file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
113
- * @param {File} file A single file, supplied in the multipart/form-data encoding and contained within the given boundaries.
112
+ * Lets you upload a file and associate it with deal, person, organization, activity or product. For more information on how to add a file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
113
+ * @param {File} file A single file, supplied in the multipart/form-data encoding and contained within the given boundaries
114
114
  * @param {Object} opts Optional parameters
115
- * @param {Number} opts.dealId ID of the deal to associate file(s) with
116
- * @param {Number} opts.personId ID of the person to associate file(s) with
117
- * @param {Number} opts.orgId ID of the organization to associate file(s) with
118
- * @param {Number} opts.productId ID of the product to associate file(s) with
119
- * @param {Number} opts.activityId ID of the activity to associate file(s) with
115
+ * @param {Number} opts.dealId The ID of the deal to associate file(s) with
116
+ * @param {Number} opts.personId The ID of the person to associate file(s) with
117
+ * @param {Number} opts.orgId The ID of the organization to associate file(s) with
118
+ * @param {Number} opts.productId The ID of the product to associate file(s) with
119
+ * @param {Number} opts.activityId The ID of the activity to associate file(s) with
120
120
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddFile}
121
121
  */
122
122
 
@@ -133,7 +133,7 @@ var FilesApi = /*#__PURE__*/function () {
133
133
  * @param {module:model/String} fileType The file type
134
134
  * @param {String} title The title of the file
135
135
  * @param {module:model/String} itemType The item type
136
- * @param {Number} itemId ID of the item to associate the file with
136
+ * @param {Number} itemId The ID of the item to associate the file with
137
137
  * @param {module:model/String} remoteLocation The location type to send the file to. Only `googledrive` is supported at the moment.
138
138
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateRemoteFileAndLinkItToItem} and HTTP response
139
139
  */
@@ -204,7 +204,7 @@ var FilesApi = /*#__PURE__*/function () {
204
204
  * @param {module:model/String} fileType The file type
205
205
  * @param {String} title The title of the file
206
206
  * @param {module:model/String} itemType The item type
207
- * @param {Number} itemId ID of the item to associate the file with
207
+ * @param {Number} itemId The ID of the item to associate the file with
208
208
  * @param {module:model/String} remoteLocation The location type to send the file to. Only `googledrive` is supported at the moment.
209
209
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateRemoteFileAndLinkItToItem}
210
210
  */
@@ -219,7 +219,7 @@ var FilesApi = /*#__PURE__*/function () {
219
219
  /**
220
220
  * Delete a file
221
221
  * Marks a file as deleted.
222
- * @param {Number} id ID of the file
222
+ * @param {Number} id The ID of the file
223
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteFile} and HTTP response
224
224
  */
225
225
 
@@ -262,7 +262,7 @@ var FilesApi = /*#__PURE__*/function () {
262
262
  /**
263
263
  * Delete a file
264
264
  * Marks a file as deleted.
265
- * @param {Number} id ID of the file
265
+ * @param {Number} id The ID of the file
266
266
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteFile}
267
267
  */
268
268
 
@@ -276,7 +276,7 @@ var FilesApi = /*#__PURE__*/function () {
276
276
  /**
277
277
  * Download one file
278
278
  * Initializes a file download.
279
- * @param {Number} id ID of the file
279
+ * @param {Number} id The ID of the file
280
280
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Blob} and HTTP response
281
281
  */
282
282
 
@@ -319,7 +319,7 @@ var FilesApi = /*#__PURE__*/function () {
319
319
  /**
320
320
  * Download one file
321
321
  * Initializes a file download.
322
- * @param {Number} id ID of the file
322
+ * @param {Number} id The ID of the file
323
323
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Blob}
324
324
  */
325
325
 
@@ -333,7 +333,7 @@ var FilesApi = /*#__PURE__*/function () {
333
333
  /**
334
334
  * Get one file
335
335
  * Returns data about a specific file.
336
- * @param {Number} id ID of the file
336
+ * @param {Number} id The ID of the file
337
337
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOneFile} and HTTP response
338
338
  */
339
339
 
@@ -376,7 +376,7 @@ var FilesApi = /*#__PURE__*/function () {
376
376
  /**
377
377
  * Get one file
378
378
  * Returns data about a specific file.
379
- * @param {Number} id ID of the file
379
+ * @param {Number} id The ID of the file
380
380
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOneFile}
381
381
  */
382
382
 
@@ -394,7 +394,7 @@ var FilesApi = /*#__PURE__*/function () {
394
394
  * @param {Number} opts.start Pagination start (default to 0)
395
395
  * @param {Number} opts.limit Items shown per page
396
396
  * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
397
- * @param {String} opts.sort Field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
397
+ * @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
398
398
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAllFiles} and HTTP response
399
399
  */
400
400
 
@@ -439,7 +439,7 @@ var FilesApi = /*#__PURE__*/function () {
439
439
  * @param {Number} opts.start Pagination start (default to 0)
440
440
  * @param {Number} opts.limit Items shown per page
441
441
  * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
442
- * @param {String} opts.sort Field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
442
+ * @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
443
443
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAllFiles}
444
444
  */
445
445
 
@@ -454,8 +454,8 @@ var FilesApi = /*#__PURE__*/function () {
454
454
  * Link a remote file to an item
455
455
  * Links an existing remote file (`googledrive`) to the item you supply. For more information on how to link a remote file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
456
456
  * @param {module:model/String} itemType The item type
457
- * @param {Number} itemId ID of the item to associate the file with
458
- * @param {String} remoteId The remote item id
457
+ * @param {Number} itemId The ID of the item to associate the file with
458
+ * @param {String} remoteId The remote item ID
459
459
  * @param {module:model/String} remoteLocation The location type to send the file to. Only `googledrive` is supported at the moment.
460
460
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LinkRemoteFileToItem} and HTTP response
461
461
  */
@@ -518,8 +518,8 @@ var FilesApi = /*#__PURE__*/function () {
518
518
  * Link a remote file to an item
519
519
  * Links an existing remote file (`googledrive`) to the item you supply. For more information on how to link a remote file, see <a href=\"https://pipedrive.readme.io/docs/adding-a-remote-file\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
520
520
  * @param {module:model/String} itemType The item type
521
- * @param {Number} itemId ID of the item to associate the file with
522
- * @param {String} remoteId The remote item id
521
+ * @param {Number} itemId The ID of the item to associate the file with
522
+ * @param {String} remoteId The remote item ID
523
523
  * @param {module:model/String} remoteLocation The location type to send the file to. Only `googledrive` is supported at the moment.
524
524
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LinkRemoteFileToItem}
525
525
  */
@@ -534,10 +534,10 @@ var FilesApi = /*#__PURE__*/function () {
534
534
  /**
535
535
  * Update file details
536
536
  * Updates the properties of a file.
537
- * @param {Number} id ID of the file
537
+ * @param {Number} id The ID of the file
538
538
  * @param {Object} opts Optional parameters
539
- * @param {String} opts.name Visible name of the file
540
- * @param {String} opts.description Description of the file
539
+ * @param {String} opts.name The visible name of the file
540
+ * @param {String} opts.description The description of the file
541
541
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateFile} and HTTP response
542
542
  */
543
543
 
@@ -583,10 +583,10 @@ var FilesApi = /*#__PURE__*/function () {
583
583
  /**
584
584
  * Update file details
585
585
  * Updates the properties of a file.
586
- * @param {Number} id ID of the file
586
+ * @param {Number} id The ID of the file
587
587
  * @param {Object} opts Optional parameters
588
- * @param {String} opts.name Visible name of the file
589
- * @param {String} opts.description Description of the file
588
+ * @param {String} opts.name The visible name of the file
589
+ * @param {String} opts.description The description of the file
590
590
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateFile}
591
591
  */
592
592
 
@@ -165,7 +165,7 @@ var FiltersApi = /*#__PURE__*/function () {
165
165
  /**
166
166
  * Delete multiple filters in bulk
167
167
  * Marks multiple filters as deleted.
168
- * @param {String} ids Comma-separated filter IDs to delete
168
+ * @param {String} ids The comma-separated filter IDs to delete
169
169
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FiltersBulkDeleteResponse} and HTTP response
170
170
  */
171
171
 
@@ -208,7 +208,7 @@ var FiltersApi = /*#__PURE__*/function () {
208
208
  /**
209
209
  * Delete multiple filters in bulk
210
210
  * Marks multiple filters as deleted.
211
- * @param {String} ids Comma-separated filter IDs to delete
211
+ * @param {String} ids The comma-separated filter IDs to delete
212
212
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FiltersBulkDeleteResponse}
213
213
  */
214
214
 
@@ -42,8 +42,8 @@ var GlobalMessagesApi = /*#__PURE__*/function () {
42
42
  }
43
43
  /**
44
44
  * Dismiss a global message
45
- * Removes global message from being shown, if message is dismissible
46
- * @param {Number} id ID of global message to be dismissed.
45
+ * Removes a global message from being shown if the message is dismissible.
46
+ * @param {Number} id The ID of the global message to be dismissed
47
47
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GlobalMessageDelete} and HTTP response
48
48
  */
49
49
 
@@ -86,8 +86,8 @@ var GlobalMessagesApi = /*#__PURE__*/function () {
86
86
  }
87
87
  /**
88
88
  * Dismiss a global message
89
- * Removes global message from being shown, if message is dismissible
90
- * @param {Number} id ID of global message to be dismissed.
89
+ * Removes a global message from being shown if the message is dismissible.
90
+ * @param {Number} id The ID of the global message to be dismissed
91
91
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GlobalMessageDelete}
92
92
  */
93
93
 
@@ -100,9 +100,9 @@ var GlobalMessagesApi = /*#__PURE__*/function () {
100
100
  }
101
101
  /**
102
102
  * Get global messages
103
- * Returns data about global messages to display for the authorized user.
103
+ * Returns data about the global messages to display for the authorized user.
104
104
  * @param {Object} opts Optional parameters
105
- * @param {Number} opts.limit Number of messages to get from 1 to 100. The message number 1 is returned by default. (default to 1)
105
+ * @param {Number} opts.limit The number of messages to get from 1 to 100. The message number 1 is returned by default. (default to 1)
106
106
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GlobalMessageGet} and HTTP response
107
107
  */
108
108
 
@@ -139,9 +139,9 @@ var GlobalMessagesApi = /*#__PURE__*/function () {
139
139
  }
140
140
  /**
141
141
  * Get global messages
142
- * Returns data about global messages to display for the authorized user.
142
+ * Returns data about the global messages to display for the authorized user.
143
143
  * @param {Object} opts Optional parameters
144
- * @param {Number} opts.limit Number of messages to get from 1 to 100. The message number 1 is returned by default. (default to 1)
144
+ * @param {Number} opts.limit The number of messages to get from 1 to 100. The message number 1 is returned by default. (default to 1)
145
145
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GlobalMessageGet}
146
146
  */
147
147
 
@@ -101,8 +101,8 @@ var GoalsApi = /*#__PURE__*/function () {
101
101
  }
102
102
  /**
103
103
  * Delete existing goal
104
- * Marks goal as deleted.
105
- * @param {String} id ID of the goal to be deleted.
104
+ * Marks a goal as deleted.
105
+ * @param {String} id The ID of the goal to be deleted
106
106
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteGoalResponse200} and HTTP response
107
107
  */
108
108
 
@@ -144,8 +144,8 @@ var GoalsApi = /*#__PURE__*/function () {
144
144
  }
145
145
  /**
146
146
  * Delete existing goal
147
- * Marks goal as deleted.
148
- * @param {String} id ID of the goal to be deleted.
147
+ * Marks a goal as deleted.
148
+ * @param {String} id The ID of the goal to be deleted
149
149
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteGoalResponse200}
150
150
  */
151
151
 
@@ -158,10 +158,10 @@ var GoalsApi = /*#__PURE__*/function () {
158
158
  }
159
159
  /**
160
160
  * Get result of a goal
161
- * Gets progress of a goal for specified period.
162
- * @param {String} id ID of the goal that the results are looked for.
163
- * @param {Date} periodStart Start date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or after the goal duration start date.
164
- * @param {Date} periodEnd End date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or before the goal duration end date.
161
+ * Gets the progress of a goal for the specified period.
162
+ * @param {String} id The ID of the goal that the results are looked for
163
+ * @param {Date} periodStart The start date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or after the goal duration start date.
164
+ * @param {Date} periodEnd The end date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or before the goal duration end date.
165
165
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalResultResponse200} and HTTP response
166
166
  */
167
167
 
@@ -216,10 +216,10 @@ var GoalsApi = /*#__PURE__*/function () {
216
216
  }
217
217
  /**
218
218
  * Get result of a goal
219
- * Gets progress of a goal for specified period.
220
- * @param {String} id ID of the goal that the results are looked for.
221
- * @param {Date} periodStart Start date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or after the goal duration start date.
222
- * @param {Date} periodEnd End date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or before the goal duration end date.
219
+ * Gets the progress of a goal for the specified period.
220
+ * @param {String} id The ID of the goal that the results are looked for
221
+ * @param {Date} periodStart The start date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or after the goal duration start date.
222
+ * @param {Date} periodEnd The end date of the period for which to find progress of a goal. Date in format of YYYY-MM-DD. This date must be the same or before the goal duration end date.
223
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalResultResponse200}
224
224
  */
225
225
 
@@ -234,19 +234,19 @@ var GoalsApi = /*#__PURE__*/function () {
234
234
  * Find goals
235
235
  * Returns data about goals based on criteria. For searching, append `{searchField}={searchValue}` to the URL, where `searchField` can be any one of the lowest-level fields in dot-notation (e.g. `type.params.pipeline_id`; `title`). `searchValue` should be the value you are looking for on that field. Additionally, `is_active=<true|false>` can be provided to search for only active/inactive goals. When providing `period.start`, `period.end` must also be provided and vice versa.
236
236
  * @param {Object} opts Optional parameters
237
- * @param {module:model/String} opts.typeName Type of the goal. If provided, everyone's goals will be returned.
238
- * @param {String} opts.title Title of the goal.
239
- * @param {module:model/Boolean} opts.isActive Whether goal is active or not. (default to true)
240
- * @param {Number} opts.assigneeId ID of the user who's goal to fetch. When omitted, only your goals will be returned.
241
- * @param {module:model/String} opts.assigneeType Type of the goal's assignee. If provided, everyone's goals will be returned.
242
- * @param {Number} opts.expectedOutcomeTarget Numeric value of the outcome. If provided, everyone's goals will be returned.
243
- * @param {module:model/String} opts.expectedOutcomeTrackingMetric Tracking metric of the expected outcome of the goal. If provided, everyone's goals will be returned.
244
- * @param {Number} opts.expectedOutcomeCurrencyId Numeric ID of the goal's currency. Only applicable to goals with `expected_outcome.tracking_metric` with value `sum`. If provided, everyone's goals will be returned.
245
- * @param {Number} opts.typeParamsPipelineId ID of the pipeline or `null` for all pipelines. If provided, everyone's goals will be returned.
246
- * @param {Number} opts.typeParamsStageId ID of the stage. Applicable to only `deals_progressed` type of goals. If provided, everyone's goals will be returned.
247
- * @param {Number} opts.typeParamsActivityTypeId ID of the activity type. Applicable to only `activities_completed` or `activities_added` types of goals. If provided, everyone's goals will be returned.
248
- * @param {Date} opts.periodStart Start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
249
- * @param {Date} opts.periodEnd End date of the period for which to find goals. Date in format of YYYY-MM-DD.
237
+ * @param {module:model/String} opts.typeName The type of the goal. If provided, everyone's goals will be returned.
238
+ * @param {String} opts.title The title of the goal
239
+ * @param {module:model/Boolean} opts.isActive Whether the goal is active or not (default to true)
240
+ * @param {Number} opts.assigneeId The ID of the user who's goal to fetch. When omitted, only your goals will be returned.
241
+ * @param {module:model/String} opts.assigneeType The type of the goal's assignee. If provided, everyone's goals will be returned.
242
+ * @param {Number} opts.expectedOutcomeTarget The numeric value of the outcome. If provided, everyone's goals will be returned.
243
+ * @param {module:model/String} opts.expectedOutcomeTrackingMetric The tracking metric of the expected outcome of the goal. If provided, everyone's goals will be returned.
244
+ * @param {Number} opts.expectedOutcomeCurrencyId The numeric ID of the goal's currency. Only applicable to goals with `expected_outcome.tracking_metric` with value `sum`. If provided, everyone's goals will be returned.
245
+ * @param {Number} opts.typeParamsPipelineId The ID of the pipeline or `null` for all pipelines. If provided, everyone's goals will be returned.
246
+ * @param {Number} opts.typeParamsStageId The ID of the stage. Applicable to only `deals_progressed` type of goals. If provided, everyone's goals will be returned.
247
+ * @param {Number} opts.typeParamsActivityTypeId The ID of the activity type. Applicable to only `activities_completed` or `activities_added` types of goals. If provided, everyone's goals will be returned.
248
+ * @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
249
+ * @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD.
250
250
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalsResponse200} and HTTP response
251
251
  */
252
252
 
@@ -297,19 +297,19 @@ var GoalsApi = /*#__PURE__*/function () {
297
297
  * Find goals
298
298
  * Returns data about goals based on criteria. For searching, append `{searchField}={searchValue}` to the URL, where `searchField` can be any one of the lowest-level fields in dot-notation (e.g. `type.params.pipeline_id`; `title`). `searchValue` should be the value you are looking for on that field. Additionally, `is_active=<true|false>` can be provided to search for only active/inactive goals. When providing `period.start`, `period.end` must also be provided and vice versa.
299
299
  * @param {Object} opts Optional parameters
300
- * @param {module:model/String} opts.typeName Type of the goal. If provided, everyone's goals will be returned.
301
- * @param {String} opts.title Title of the goal.
302
- * @param {module:model/Boolean} opts.isActive Whether goal is active or not. (default to true)
303
- * @param {Number} opts.assigneeId ID of the user who's goal to fetch. When omitted, only your goals will be returned.
304
- * @param {module:model/String} opts.assigneeType Type of the goal's assignee. If provided, everyone's goals will be returned.
305
- * @param {Number} opts.expectedOutcomeTarget Numeric value of the outcome. If provided, everyone's goals will be returned.
306
- * @param {module:model/String} opts.expectedOutcomeTrackingMetric Tracking metric of the expected outcome of the goal. If provided, everyone's goals will be returned.
307
- * @param {Number} opts.expectedOutcomeCurrencyId Numeric ID of the goal's currency. Only applicable to goals with `expected_outcome.tracking_metric` with value `sum`. If provided, everyone's goals will be returned.
308
- * @param {Number} opts.typeParamsPipelineId ID of the pipeline or `null` for all pipelines. If provided, everyone's goals will be returned.
309
- * @param {Number} opts.typeParamsStageId ID of the stage. Applicable to only `deals_progressed` type of goals. If provided, everyone's goals will be returned.
310
- * @param {Number} opts.typeParamsActivityTypeId ID of the activity type. Applicable to only `activities_completed` or `activities_added` types of goals. If provided, everyone's goals will be returned.
311
- * @param {Date} opts.periodStart Start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
312
- * @param {Date} opts.periodEnd End date of the period for which to find goals. Date in format of YYYY-MM-DD.
300
+ * @param {module:model/String} opts.typeName The type of the goal. If provided, everyone's goals will be returned.
301
+ * @param {String} opts.title The title of the goal
302
+ * @param {module:model/Boolean} opts.isActive Whether the goal is active or not (default to true)
303
+ * @param {Number} opts.assigneeId The ID of the user who's goal to fetch. When omitted, only your goals will be returned.
304
+ * @param {module:model/String} opts.assigneeType The type of the goal's assignee. If provided, everyone's goals will be returned.
305
+ * @param {Number} opts.expectedOutcomeTarget The numeric value of the outcome. If provided, everyone's goals will be returned.
306
+ * @param {module:model/String} opts.expectedOutcomeTrackingMetric The tracking metric of the expected outcome of the goal. If provided, everyone's goals will be returned.
307
+ * @param {Number} opts.expectedOutcomeCurrencyId The numeric ID of the goal's currency. Only applicable to goals with `expected_outcome.tracking_metric` with value `sum`. If provided, everyone's goals will be returned.
308
+ * @param {Number} opts.typeParamsPipelineId The ID of the pipeline or `null` for all pipelines. If provided, everyone's goals will be returned.
309
+ * @param {Number} opts.typeParamsStageId The ID of the stage. Applicable to only `deals_progressed` type of goals. If provided, everyone's goals will be returned.
310
+ * @param {Number} opts.typeParamsActivityTypeId The ID of the activity type. Applicable to only `activities_completed` or `activities_added` types of goals. If provided, everyone's goals will be returned.
311
+ * @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
312
+ * @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD.
313
313
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalsResponse200}
314
314
  */
315
315
 
@@ -322,15 +322,15 @@ var GoalsApi = /*#__PURE__*/function () {
322
322
  }
323
323
  /**
324
324
  * Update existing goal
325
- * Updates existing goal.
326
- * @param {String} id ID of the goal to be updated.
325
+ * Updates an existing goal.
326
+ * @param {String} id The ID of the goal to be updated
327
327
  * @param {Object} opts Optional parameters
328
- * @param {String} opts.title Title of the goal.
329
- * @param {Object} opts.assignee Who is this goal assigned to. It requires the following JSON structure: { \\\"id\\\": \\\"1\\\", \\\"type\\\": \\\"person\\\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
330
- * @param {Object} opts.type Type of the goal. It requires the following JSON structure: { \\\"name\\\": \\\"deals_started\\\", \\\"params\\\": { \\\"pipeline_id\\\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
331
- * @param {Object} opts.expectedOutcome Expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"quantity\\\" } or { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"sum\\\", \\\"currency_id\\\": 1 }. `currency_id` should only be added to `sum` type of goals.
332
- * @param {Object} opts.duration Date when the goal starts and ends. It requires the following JSON structure: { \\\"start\\\": \\\"2019-01-01\\\", \\\"end\\\": \\\"2022-12-31\\\" }. Date in format of YYYY-MM-DD. \\\"end\\\" can be set to `null` for an infinite, open-ended goal.
333
- * @param {module:model/String} opts.interval Interval of the goal
328
+ * @param {String} opts.title The title of the goal
329
+ * @param {Object} opts.assignee Who this goal is assigned to. It requires the following JSON structure: { \\\"id\\\": \\\"1\\\", \\\"type\\\": \\\"person\\\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
330
+ * @param {Object} opts.type The type of the goal. It requires the following JSON structure: { \\\"name\\\": \\\"deals_started\\\", \\\"params\\\": { \\\"pipeline_id\\\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
331
+ * @param {Object} opts.expectedOutcome The expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"quantity\\\" } or { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"sum\\\", \\\"currency_id\\\": 1 }. `currency_id` should only be added to `sum` type of goals.
332
+ * @param {Object} opts.duration The date when the goal starts and ends. It requires the following JSON structure: { \\\"start\\\": \\\"2019-01-01\\\", \\\"end\\\": \\\"2022-12-31\\\" }. Date in format of YYYY-MM-DD. \\\"end\\\" can be set to `null` for an infinite, open-ended goal.
333
+ * @param {module:model/String} opts.interval The interval of the goal
334
334
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateGoalResponse200} and HTTP response
335
335
  */
336
336
 
@@ -379,15 +379,15 @@ var GoalsApi = /*#__PURE__*/function () {
379
379
  }
380
380
  /**
381
381
  * Update existing goal
382
- * Updates existing goal.
383
- * @param {String} id ID of the goal to be updated.
382
+ * Updates an existing goal.
383
+ * @param {String} id The ID of the goal to be updated
384
384
  * @param {Object} opts Optional parameters
385
- * @param {String} opts.title Title of the goal.
386
- * @param {Object} opts.assignee Who is this goal assigned to. It requires the following JSON structure: { \\\"id\\\": \\\"1\\\", \\\"type\\\": \\\"person\\\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
387
- * @param {Object} opts.type Type of the goal. It requires the following JSON structure: { \\\"name\\\": \\\"deals_started\\\", \\\"params\\\": { \\\"pipeline_id\\\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
388
- * @param {Object} opts.expectedOutcome Expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"quantity\\\" } or { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"sum\\\", \\\"currency_id\\\": 1 }. `currency_id` should only be added to `sum` type of goals.
389
- * @param {Object} opts.duration Date when the goal starts and ends. It requires the following JSON structure: { \\\"start\\\": \\\"2019-01-01\\\", \\\"end\\\": \\\"2022-12-31\\\" }. Date in format of YYYY-MM-DD. \\\"end\\\" can be set to `null` for an infinite, open-ended goal.
390
- * @param {module:model/String} opts.interval Interval of the goal
385
+ * @param {String} opts.title The title of the goal
386
+ * @param {Object} opts.assignee Who this goal is assigned to. It requires the following JSON structure: { \\\"id\\\": \\\"1\\\", \\\"type\\\": \\\"person\\\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
387
+ * @param {Object} opts.type The type of the goal. It requires the following JSON structure: { \\\"name\\\": \\\"deals_started\\\", \\\"params\\\": { \\\"pipeline_id\\\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
388
+ * @param {Object} opts.expectedOutcome The expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"quantity\\\" } or { \\\"target\\\": \\\"50\\\", \\\"tracking_metric\\\": \\\"sum\\\", \\\"currency_id\\\": 1 }. `currency_id` should only be added to `sum` type of goals.
389
+ * @param {Object} opts.duration The date when the goal starts and ends. It requires the following JSON structure: { \\\"start\\\": \\\"2019-01-01\\\", \\\"end\\\": \\\"2022-12-31\\\" }. Date in format of YYYY-MM-DD. \\\"end\\\" can be set to `null` for an infinite, open-ended goal.
390
+ * @param {module:model/String} opts.interval The interval of the goal
391
391
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateGoalResponse200}
392
392
  */
393
393
 
@@ -50,7 +50,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
50
50
  }
51
51
  /**
52
52
  * Add a lead label
53
- * Creates a Lead Label
53
+ * Creates a lead label.
54
54
  * @param {Object} opts Optional parameters
55
55
  * @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest
56
56
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateLeadLabelResponse200} and HTTP response
@@ -88,7 +88,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
88
88
  }
89
89
  /**
90
90
  * Add a lead label
91
- * Creates a Lead Label
91
+ * Creates a lead label.
92
92
  * @param {Object} opts Optional parameters
93
93
  * @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest
94
94
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateLeadLabelResponse200}
@@ -103,8 +103,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
103
103
  }
104
104
  /**
105
105
  * Delete a lead label
106
- * Deletes a specific Lead Label
107
- * @param {String} id The ID of the Lead Label
106
+ * Deletes a specific lead label.
107
+ * @param {String} id The ID of the lead label
108
108
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LeadIdResponse200} and HTTP response
109
109
  */
110
110
 
@@ -146,8 +146,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
146
146
  }
147
147
  /**
148
148
  * Delete a lead label
149
- * Deletes a specific Lead Label
150
- * @param {String} id The ID of the Lead Label
149
+ * Deletes a specific lead label.
150
+ * @param {String} id The ID of the lead label
151
151
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LeadIdResponse200}
152
152
  */
153
153
 
@@ -160,7 +160,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
160
160
  }
161
161
  /**
162
162
  * Get all lead labels
163
- * Returns details of all Lead Labels. This endpoint does not support pagination and all Labels are always returned.
163
+ * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
164
164
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadLabelsResponse200} and HTTP response
165
165
  */
166
166
 
@@ -195,7 +195,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
195
195
  }
196
196
  /**
197
197
  * Get all lead labels
198
- * Returns details of all Lead Labels. This endpoint does not support pagination and all Labels are always returned.
198
+ * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
199
199
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadLabelsResponse200}
200
200
  */
201
201
 
@@ -208,8 +208,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
208
208
  }
209
209
  /**
210
210
  * Update a lead label
211
- * Updates one or more properties of a Lead Label. Only properties included in the request will be updated.
212
- * @param {String} id The ID of the Lead Label
211
+ * Updates one or more properties of a lead label. Only properties included in the request will be updated.
212
+ * @param {String} id The ID of the lead label
213
213
  * @param {Object} opts Optional parameters
214
214
  * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
215
215
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateLeadLabelResponse200} and HTTP response
@@ -253,8 +253,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
253
253
  }
254
254
  /**
255
255
  * Update a lead label
256
- * Updates one or more properties of a Lead Label. Only properties included in the request will be updated.
257
- * @param {String} id The ID of the Lead Label
256
+ * Updates one or more properties of a lead label. Only properties included in the request will be updated.
257
+ * @param {String} id The ID of the lead label
258
258
  * @param {Object} opts Optional parameters
259
259
  * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
260
260
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateLeadLabelResponse200}
@@ -40,7 +40,7 @@ var LeadSourcesApi = /*#__PURE__*/function () {
40
40
  }
41
41
  /**
42
42
  * Get all lead sources
43
- * Returns all Lead Sources. Please note that the list of Lead Sources is fixed, it cannot be modified. All Leads created through the Public Pipedrive API will have a Lead Source `API` assigned.
43
+ * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Public Pipedrive API will have a lead source `API` assigned.
44
44
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadSourcesResponse200} and HTTP response
45
45
  */
46
46
 
@@ -76,7 +76,7 @@ var LeadSourcesApi = /*#__PURE__*/function () {
76
76
  }
77
77
  /**
78
78
  * Get all lead sources
79
- * Returns all Lead Sources. Please note that the list of Lead Sources is fixed, it cannot be modified. All Leads created through the Public Pipedrive API will have a Lead Source `API` assigned.
79
+ * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Public Pipedrive API will have a lead source `API` assigned.
80
80
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadSourcesResponse200}
81
81
  */
82
82