pipedrive 13.0.11 → 13.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (401) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +23 -20
  3. package/dist/ApiClient.js +46 -9
  4. package/dist/api/ActivitiesApi.js +44 -44
  5. package/dist/api/ActivityTypesApi.js +36 -36
  6. package/dist/api/CallLogsApi.js +23 -6
  7. package/dist/api/CurrenciesApi.js +2 -2
  8. package/dist/api/DealFieldsApi.js +18 -18
  9. package/dist/api/DealsApi.js +122 -110
  10. package/dist/api/FilesApi.js +38 -38
  11. package/dist/api/FiltersApi.js +23 -6
  12. package/dist/api/GlobalMessagesApi.js +8 -8
  13. package/dist/api/GoalsApi.js +54 -54
  14. package/dist/api/ItemSearchApi.js +6 -6
  15. package/dist/api/LeadLabelsApi.js +21 -12
  16. package/dist/api/LeadSourcesApi.js +2 -2
  17. package/dist/api/LeadsApi.js +23 -18
  18. package/dist/api/MailboxApi.js +26 -26
  19. package/dist/api/NoteFieldsApi.js +2 -2
  20. package/dist/api/NotesApi.js +50 -42
  21. package/dist/api/OrganizationFieldsApi.js +16 -16
  22. package/dist/api/OrganizationRelationshipsApi.js +25 -12
  23. package/dist/api/OrganizationsApi.js +64 -56
  24. package/dist/api/PermissionSetsApi.js +12 -12
  25. package/dist/api/PersonFieldsApi.js +16 -16
  26. package/dist/api/PersonsApi.js +92 -84
  27. package/dist/api/PipelinesApi.js +50 -50
  28. package/dist/api/ProductFieldsApi.js +29 -16
  29. package/dist/api/ProductsApi.js +50 -46
  30. package/dist/api/RecentsApi.js +6 -6
  31. package/dist/api/RolesApi.js +38 -38
  32. package/dist/api/StagesApi.js +14 -14
  33. package/dist/api/SubscriptionsApi.js +76 -34
  34. package/dist/api/TeamsApi.js +49 -32
  35. package/dist/api/UserConnectionsApi.js +2 -2
  36. package/dist/api/UserSettingsApi.js +2 -2
  37. package/dist/api/UsersApi.js +44 -44
  38. package/dist/api/WebhooksApi.js +27 -14
  39. package/dist/index.js +24 -0
  40. package/dist/model/ActivityDistributionDataActivityDistribution.js +1 -1
  41. package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.js +4 -4
  42. package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js +2 -2
  43. package/dist/model/ActivityInfo.js +5 -5
  44. package/dist/model/ActivityObjectFragment.js +9 -9
  45. package/dist/model/ActivityPostObject.js +32 -32
  46. package/dist/model/ActivityPostObjectAllOf.js +7 -7
  47. package/dist/model/ActivityPutObject.js +32 -32
  48. package/dist/model/ActivityPutObjectAllOf.js +7 -7
  49. package/dist/model/ActivityResponseObject.js +96 -96
  50. package/dist/model/ActivityResponseObjectAllOf.js +39 -39
  51. package/dist/model/ActivityTypeBulkDeleteResponseAllOfData.js +1 -1
  52. package/dist/model/ActivityTypeListResponse.js +2 -2
  53. package/dist/model/ActivityTypeListResponseAllOf.js +1 -1
  54. package/dist/model/ActivityTypeObjectResponse.js +9 -9
  55. package/dist/model/AddDealFollowerRequest.js +2 -2
  56. package/dist/model/AddDealParticipantRequest.js +2 -2
  57. package/dist/model/AddFollowerToPersonResponseAllOfData.js +4 -4
  58. package/dist/model/AddLeadLabelRequest.js +2 -2
  59. package/dist/model/AddLeadRequest.js +9 -9
  60. package/dist/model/AddNoteRequest.js +22 -22
  61. package/dist/model/AddNoteRequestAllOf.js +4 -4
  62. package/dist/model/AddOrganizationRelationshipRequest.js +5 -5
  63. package/dist/model/AddPersonFollowerRequest.js +2 -2
  64. package/dist/model/AddProductAttachmentDetails.js +36 -36
  65. package/dist/model/AddProductAttachmentDetailsAllOf.js +1 -1
  66. package/dist/model/AddProductFollowerRequest.js +2 -2
  67. package/dist/model/AddProductRequestBody.js +12 -12
  68. package/dist/model/AddTeamUserRequest.js +2 -2
  69. package/dist/model/AddWebhookRequest.js +7 -7
  70. package/dist/model/AddedDealFollowerData.js +4 -4
  71. package/dist/model/AdditionalBaseOrganizationItemInfo.js +64 -64
  72. package/dist/model/AdditionalDataWithPagination.js +1 -1
  73. package/dist/model/AdditionalMergePersonInfo.js +60 -60
  74. package/dist/model/AdditionalPersonInfo.js +50 -50
  75. package/dist/model/AllOrganizationRelationshipsGetResponse.js +2 -2
  76. package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +1 -1
  77. package/dist/model/AllOrganizationsGetResponse.js +2 -2
  78. package/dist/model/AllOrganizationsGetResponseAllOf.js +1 -1
  79. package/dist/model/Assignee.js +3 -3
  80. package/dist/model/BaseComment.js +7 -7
  81. package/dist/model/BaseCurrency.js +7 -7
  82. package/dist/model/BaseDeal.js +51 -51
  83. package/dist/model/BaseNote.js +14 -14
  84. package/dist/model/BaseNoteDealTitle.js +2 -2
  85. package/dist/model/BaseNoteOrganization.js +2 -2
  86. package/dist/model/BaseNotePerson.js +2 -2
  87. package/dist/model/BaseOrganizationItem.js +86 -86
  88. package/dist/model/BaseOrganizationItemFields.js +11 -11
  89. package/dist/model/BaseOrganizationItemWithEditNameFlag.js +88 -88
  90. package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +1 -1
  91. package/dist/model/BaseOrganizationRelationshipItem.js +5 -5
  92. package/dist/model/BasePersonItem.js +13 -13
  93. package/dist/model/BasePersonItemEmail.js +2 -2
  94. package/dist/model/BasePersonItemPhone.js +3 -3
  95. package/dist/model/BasePipeline.js +8 -8
  96. package/dist/model/BasePipelineWithSelectedFlag.js +18 -18
  97. package/dist/model/BasePipelineWithSelectedFlagAllOf.js +1 -1
  98. package/dist/model/BaseProduct.js +3 -3
  99. package/dist/model/BaseRole.js +3 -3
  100. package/dist/model/BaseStage.js +10 -10
  101. package/dist/model/BaseTeam.js +20 -20
  102. package/dist/model/BaseTeamAdditionalProperties.js +2 -2
  103. package/dist/model/BaseUser.js +19 -19
  104. package/dist/model/BaseUserMe.js +48 -48
  105. package/dist/model/BaseUserMeAllOf.js +5 -5
  106. package/dist/model/BaseUserMeAllOfLanguage.js +1 -1
  107. package/dist/model/BaseWebhook.js +3 -3
  108. package/dist/model/BasicDeal.js +10 -10
  109. package/dist/model/BasicDealProduct.js +6 -6
  110. package/dist/model/BasicGoal.js +6 -6
  111. package/dist/model/BasicOrganization.js +3 -3
  112. package/dist/model/BasicPerson.js +23 -10
  113. package/dist/model/BasicPersonEmail.js +112 -0
  114. package/dist/model/BasicProductField.js +3 -3
  115. package/dist/model/BulkDeleteResponseAllOfData.js +1 -1
  116. package/dist/model/CalculatedFields.js +2 -2
  117. package/dist/model/CallLogObject.js +6 -6
  118. package/dist/model/CommentPostPutObject.js +2 -2
  119. package/dist/model/CreateTeam.js +6 -6
  120. package/dist/model/Currencies.js +1 -1
  121. package/dist/model/DealCountAndActivityInfo.js +26 -26
  122. package/dist/model/DealFlowResponseAllOfData.js +1 -1
  123. package/dist/model/DealListActivitiesResponse.js +2 -2
  124. package/dist/model/DealListActivitiesResponseAllOf.js +1 -1
  125. package/dist/model/DealNonStrict.js +104 -104
  126. package/dist/model/DealNonStrictModeFields.js +1 -1
  127. package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +6 -6
  128. package/dist/model/DealNonStrictWithDetails.js +110 -110
  129. package/dist/model/DealNonStrictWithDetailsAllOf.js +3 -3
  130. package/dist/model/DealNonStrictWithDetailsAllOfAge.js +1 -1
  131. package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +1 -1
  132. package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -3
  133. package/dist/model/DealOrganizationData.js +7 -7
  134. package/dist/model/DealOrganizationDataWithId.js +14 -14
  135. package/dist/model/DealOrganizationDataWithIdAllOf.js +1 -1
  136. package/dist/model/DealParticipantCountInfo.js +2 -2
  137. package/dist/model/DealParticipants.js +1 -1
  138. package/dist/model/DealPersonData.js +10 -10
  139. package/dist/model/DealPersonDataEmail.js +112 -0
  140. package/dist/model/DealPersonDataPhone.js +1 -1
  141. package/dist/model/DealPersonDataWithId.js +17 -17
  142. package/dist/model/DealPersonDataWithIdAllOf.js +1 -1
  143. package/dist/model/DealSearchItemItem.js +8 -8
  144. package/dist/model/DealSearchItemItemOrganization.js +2 -2
  145. package/dist/model/DealSearchItemItemOwner.js +1 -1
  146. package/dist/model/DealSearchItemItemPerson.js +2 -2
  147. package/dist/model/DealSearchItemItemStage.js +2 -2
  148. package/dist/model/DealSearchResponseAllOfData.js +1 -1
  149. package/dist/model/DealStrict.js +112 -112
  150. package/dist/model/DealStrictModeFields.js +5 -5
  151. package/dist/model/DealStrictWithMergeId.js +114 -114
  152. package/dist/model/DealStrictWithMergeIdAllOf.js +1 -1
  153. package/dist/model/DealSummaryPerStages.js +1 -1
  154. package/dist/model/DealTitleParameter.js +1 -1
  155. package/dist/model/DealUserData.js +7 -7
  156. package/dist/model/DealUserDataWithId.js +14 -14
  157. package/dist/model/DealUserDataWithIdAllOf.js +1 -1
  158. package/dist/model/DealsCountAndActivityInfo.js +26 -26
  159. package/dist/model/DealsCountInfo.js +8 -8
  160. package/dist/model/DealsMovementsInfo.js +2 -2
  161. package/dist/model/DealsMovementsInfoFormattedValues.js +2 -2
  162. package/dist/model/DealsMovementsInfoValues.js +2 -2
  163. package/dist/model/DeleteActivitiesResponse200Data.js +1 -1
  164. package/dist/model/DeleteActivityResponse200Data.js +1 -1
  165. package/dist/model/DeleteDealData.js +1 -1
  166. package/dist/model/DeleteDealFollowerData.js +1 -1
  167. package/dist/model/DeleteDealParticipantData.js +1 -1
  168. package/dist/model/DeleteDealProductData.js +2 -2
  169. package/dist/model/DeleteFileData.js +1 -1
  170. package/dist/model/DeleteMultipleDealsData.js +1 -1
  171. package/dist/model/DeleteMultipleProductFieldsResponseData.js +1 -1
  172. package/dist/model/DeletePersonResponseAllOfData.js +1 -1
  173. package/dist/model/DeletePersonsInBulkResponseAllOfData.js +1 -1
  174. package/dist/model/DeleteProductFieldResponseData.js +1 -1
  175. package/dist/model/DeleteProductFollowerResponseData.js +1 -1
  176. package/dist/model/DeleteProductResponseData.js +1 -1
  177. package/dist/model/DeleteResponseAllOfData.js +1 -1
  178. package/dist/model/DeleteRoleAllOfData.js +1 -1
  179. package/dist/model/DeleteRoleAssignmentAllOfData.js +1 -1
  180. package/dist/model/DeleteStageResponse200Data.js +1 -1
  181. package/dist/model/DeleteStagesResponse200Data.js +1 -1
  182. package/dist/model/DeleteTeamUserRequest.js +2 -2
  183. package/dist/model/Duration.js +3 -3
  184. package/dist/model/EditPipeline.js +2 -2
  185. package/dist/model/EditPipelineAllOf.js +1 -1
  186. package/dist/model/EmailInfo.js +2 -2
  187. package/dist/model/ExpectedOutcome.js +3 -3
  188. package/dist/model/Field.js +18 -18
  189. package/dist/model/FieldCreateRequest.js +5 -5
  190. package/dist/model/FieldCreateRequestAllOf.js +3 -3
  191. package/dist/model/FieldUpdateRequest.js +1 -1
  192. package/dist/model/FileData.js +24 -24
  193. package/dist/model/FileItem.js +24 -24
  194. package/dist/model/FiltersPostResponseAllOfData.js +1 -1
  195. package/dist/model/FullRole.js +12 -12
  196. package/dist/model/FullRoleAllOf.js +1 -1
  197. package/dist/model/GetAddProductAttachementDetails.js +1 -1
  198. package/dist/model/GetAddedDeal.js +1 -1
  199. package/dist/model/GetAddedDealAdditionalData.js +1 -1
  200. package/dist/model/GetAllPersonsResponse.js +2 -2
  201. package/dist/model/GetAllPersonsResponseAllOf.js +1 -1
  202. package/dist/model/GetAllProductFieldsResponse.js +2 -2
  203. package/dist/model/GetComments.js +1 -1
  204. package/dist/model/GetDealAdditionalData.js +1 -1
  205. package/dist/model/GetDeals.js +1 -1
  206. package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -4
  207. package/dist/model/GetDealsMovementsInPipelineAllOfData.js +1 -1
  208. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -3
  209. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -3
  210. package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -2
  211. package/dist/model/GetDealsSummaryData.js +6 -6
  212. package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -6
  213. package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -4
  214. package/dist/model/GetDealsTimelineData.js +1 -1
  215. package/dist/model/GetDealsTimelineDataTotals.js +9 -9
  216. package/dist/model/GetDuplicatedDeal.js +1 -1
  217. package/dist/model/GetLeadSourcesResponse200Data.js +1 -1
  218. package/dist/model/GetNotes.js +1 -1
  219. package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +1 -1
  220. package/dist/model/GetProductAttachementDetails.js +1 -1
  221. package/dist/model/GetProductFieldResponse.js +1 -1
  222. package/dist/model/GetRecentsAdditionalData.js +2 -2
  223. package/dist/model/GetRoleAllOfAdditionalData.js +1 -1
  224. package/dist/model/GetRoleAssignments.js +2 -2
  225. package/dist/model/GetRoleAssignmentsAllOf.js +1 -1
  226. package/dist/model/GetRoles.js +2 -2
  227. package/dist/model/GetRolesAllOf.js +1 -1
  228. package/dist/model/GetStageDeals.js +1 -1
  229. package/dist/model/GetStages.js +1 -1
  230. package/dist/model/GlobalMessageData.js +6 -6
  231. package/dist/model/GlobalMessageGet.js +2 -2
  232. package/dist/model/GlobalMessageGetAllOf.js +1 -1
  233. package/dist/model/GlobalMessageUserData.js +3 -3
  234. package/dist/model/GoalResults.js +1 -1
  235. package/dist/model/GoalType.js +2 -2
  236. package/dist/model/GoalsResponseComponent.js +4 -4
  237. package/dist/model/LeadLabelResponse.js +4 -4
  238. package/dist/model/LeadResponse.js +16 -16
  239. package/dist/model/LeadValue.js +1 -1
  240. package/dist/model/ListActivitiesResponse.js +2 -2
  241. package/dist/model/ListActivitiesResponseAllOf.js +1 -1
  242. package/dist/model/ListDealsResponse.js +2 -2
  243. package/dist/model/ListDealsResponseAllOf.js +1 -1
  244. package/dist/model/ListFilesResponse.js +2 -2
  245. package/dist/model/ListFilesResponseAllOf.js +1 -1
  246. package/dist/model/ListFollowersResponse.js +2 -2
  247. package/dist/model/ListFollowersResponseAllOf.js +1 -1
  248. package/dist/model/ListFollowersResponseAllOfData.js +4 -4
  249. package/dist/model/ListMailMessagesResponse.js +2 -2
  250. package/dist/model/ListMailMessagesResponseAllOf.js +1 -1
  251. package/dist/model/ListPermittedUsersResponse1.js +2 -2
  252. package/dist/model/ListPermittedUsersResponse1AllOf.js +1 -1
  253. package/dist/model/ListPermittedUsersResponseAllOfData.js +1 -1
  254. package/dist/model/ListPersonProductsResponse.js +2 -2
  255. package/dist/model/ListPersonProductsResponseAllOf.js +1 -1
  256. package/dist/model/ListPersonsResponse.js +2 -2
  257. package/dist/model/ListPersonsResponseAllOf.js +1 -1
  258. package/dist/model/ListProductAdditionalData.js +10 -10
  259. package/dist/model/ListProductAdditionalDataAllOf.js +5 -5
  260. package/dist/model/ListProductFollowersResponse.js +2 -2
  261. package/dist/model/ListProductFollowersResponseAllOf.js +1 -1
  262. package/dist/model/ListProductFollowersResponseAllOfData.js +4 -4
  263. package/dist/model/ListProductsResponseAllOfData.js +1 -1
  264. package/dist/model/MarketingStatus.js +69 -0
  265. package/dist/model/MergeDealsRequest.js +2 -2
  266. package/dist/model/MergeOrganizationsRequest.js +2 -2
  267. package/dist/model/MergePersonDealRelatedInfo.js +30 -30
  268. package/dist/model/MergePersonItem.js +86 -86
  269. package/dist/model/MergePersonsRequest.js +2 -2
  270. package/dist/model/NewDeal.js +25 -25
  271. package/dist/model/NewDealAllOf.js +1 -1
  272. package/dist/model/NewDealProduct.js +16 -16
  273. package/dist/model/NewDealProductAllOf.js +2 -2
  274. package/dist/model/NewFollowerResponseData.js +4 -4
  275. package/dist/model/NewGoal.js +12 -12
  276. package/dist/model/NewOrganization.js +9 -9
  277. package/dist/model/NewOrganizationAllOf.js +1 -1
  278. package/dist/model/NewPerson.js +40 -21
  279. package/dist/model/NewPersonAllOf.js +1 -1
  280. package/dist/model/NewProductField.js +4 -4
  281. package/dist/model/Note.js +19 -19
  282. package/dist/model/NoteConnectToParams.js +2 -2
  283. package/dist/model/NoteCreatorUser.js +5 -5
  284. package/dist/model/NoteField.js +7 -7
  285. package/dist/model/NoteParams.js +7 -7
  286. package/dist/model/OrganizationAddressInfo.js +11 -11
  287. package/dist/model/OrganizationCountAndAddressInfo.js +38 -38
  288. package/dist/model/OrganizationCountInfo.js +8 -8
  289. package/dist/model/OrganizationData.js +5 -5
  290. package/dist/model/OrganizationDataWithId.js +13 -13
  291. package/dist/model/OrganizationDataWithIdAllOf.js +1 -1
  292. package/dist/model/OrganizationDataWithIdAndActiveFlag.js +15 -15
  293. package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +1 -1
  294. package/dist/model/OrganizationDeleteResponseData.js +1 -1
  295. package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +1 -1
  296. package/dist/model/OrganizationFlowResponseAllOfData.js +1 -1
  297. package/dist/model/OrganizationFollowerDeleteResponseData.js +1 -1
  298. package/dist/model/OrganizationFollowerItem.js +2 -2
  299. package/dist/model/OrganizationFollowerItemAllOf.js +1 -1
  300. package/dist/model/OrganizationItem.js +88 -88
  301. package/dist/model/OrganizationRelationship.js +1 -1
  302. package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +1 -1
  303. package/dist/model/OrganizationRelationshipDetails.js +16 -16
  304. package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -14
  305. package/dist/model/OrganizationSearchItemItem.js +5 -5
  306. package/dist/model/OrganizationsDeleteResponseData.js +1 -1
  307. package/dist/model/OrganizationsMergeResponseData.js +1 -1
  308. package/dist/model/Owner.js +12 -12
  309. package/dist/model/Params.js +2 -2
  310. package/dist/model/PaymentItem.js +13 -13
  311. package/dist/model/PermissionSets.js +2 -2
  312. package/dist/model/PermissionSetsAllOf.js +1 -1
  313. package/dist/model/PermissionSetsItem.js +3 -3
  314. package/dist/model/PersonCountAndEmailInfo.js +18 -18
  315. package/dist/model/PersonCountEmailDealAndActivityInfo.js +44 -44
  316. package/dist/model/PersonCountInfo.js +7 -7
  317. package/dist/model/PersonData.js +5 -5
  318. package/dist/model/PersonDataEmail.js +2 -2
  319. package/dist/model/PersonDataPhone.js +2 -2
  320. package/dist/model/PersonDataWithActiveFlag.js +13 -13
  321. package/dist/model/PersonDataWithActiveFlagAllOf.js +1 -1
  322. package/dist/model/PersonFlowResponseAllOfData.js +1 -1
  323. package/dist/model/PersonItem.js +76 -76
  324. package/dist/model/PersonListProduct.js +14 -14
  325. package/dist/model/PersonNameCountAndEmailInfo.js +24 -24
  326. package/dist/model/PersonNameCountAndEmailInfoWithIds.js +30 -30
  327. package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +3 -3
  328. package/dist/model/PersonNameInfo.js +3 -3
  329. package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +6 -6
  330. package/dist/model/PersonSearchItemItem.js +4 -4
  331. package/dist/model/PersonSearchItemItemOrganization.js +2 -2
  332. package/dist/model/PersonSearchItemItemOwner.js +1 -1
  333. package/dist/model/PictureData.js +2 -2
  334. package/dist/model/PictureDataWithID.js +4 -4
  335. package/dist/model/PictureDataWithValue.js +4 -4
  336. package/dist/model/Pipeline.js +4 -4
  337. package/dist/model/PipelineDetails.js +19 -19
  338. package/dist/model/PostDealParticipants.js +1 -1
  339. package/dist/model/PostRoleAssignmentAllOfData.js +2 -2
  340. package/dist/model/PostRoleSettingsAllOfData.js +1 -1
  341. package/dist/model/PostRolesAllOfData.js +1 -1
  342. package/dist/model/ProductAttachementFields.js +12 -12
  343. package/dist/model/ProductAttachmentDetails.js +35 -35
  344. package/dist/model/ProductBaseDeal.js +42 -42
  345. package/dist/model/ProductField.js +36 -36
  346. package/dist/model/ProductFieldAllOf.js +15 -15
  347. package/dist/model/ProductListItem.js +21 -21
  348. package/dist/model/ProductRequest.js +6 -6
  349. package/dist/model/ProductSearchItemItem.js +5 -5
  350. package/dist/model/ProductSearchItemItemOwner.js +1 -1
  351. package/dist/model/ProductWithArrayPrices.js +6 -6
  352. package/dist/model/ProductWithObjectPrices.js +6 -6
  353. package/dist/model/ProductsResponse.js +1 -1
  354. package/dist/model/RecentDataProduct.js +15 -15
  355. package/dist/model/RelatedDealDataDEALID.js +8 -8
  356. package/dist/model/RelatedOrganizationName.js +1 -1
  357. package/dist/model/RelatedPersonData.js +1 -1
  358. package/dist/model/RelationshipOrganizationInfoItem.js +12 -12
  359. package/dist/model/RelationshipOrganizationInfoItemAllOf.js +1 -1
  360. package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +14 -14
  361. package/dist/model/RequredTitleParameter.js +2 -2
  362. package/dist/model/ResponseCallLogObject.js +14 -14
  363. package/dist/model/ResponseCallLogObjectAllOf.js +1 -1
  364. package/dist/model/RoleAssignment.js +11 -11
  365. package/dist/model/RoleAssignmentAllOf.js +3 -3
  366. package/dist/model/RoleSettings.js +10 -10
  367. package/dist/model/RolesAdditionalData.js +1 -1
  368. package/dist/model/RolesAdditionalDataPagination.js +1 -1
  369. package/dist/model/SinglePermissionSetsItem.js +8 -8
  370. package/dist/model/SinglePermissionSetsItemAllOf.js +1 -1
  371. package/dist/model/Stage.js +5 -5
  372. package/dist/model/StageConversions.js +3 -3
  373. package/dist/model/StageDetails.js +21 -21
  374. package/dist/model/StageWithPipelineInfo.js +24 -24
  375. package/dist/model/StageWithPipelineInfoAllOf.js +2 -2
  376. package/dist/model/SubRole.js +10 -10
  377. package/dist/model/SubRoleAllOf.js +3 -3
  378. package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -5
  379. package/dist/model/SubscriptionInstallmentUpdateRequest.js +1 -1
  380. package/dist/model/SubscriptionItem.js +15 -15
  381. package/dist/model/SubscriptionRecurringCancelRequest.js +1 -1
  382. package/dist/model/SubscriptionRecurringCreateRequest.js +14 -14
  383. package/dist/model/SubscriptionRecurringUpdateRequest.js +3 -3
  384. package/dist/model/TeamId.js +1 -1
  385. package/dist/model/UpdateDealRequest.js +22 -22
  386. package/dist/model/UpdateLeadLabelRequest.js +1 -1
  387. package/dist/model/UpdateLeadRequest.js +9 -9
  388. package/dist/model/UpdateStageRequest.js +10 -10
  389. package/dist/model/UpdateTeam.js +14 -14
  390. package/dist/model/UpdateTeamAllOf.js +2 -2
  391. package/dist/model/UpdateTeamWithAdditionalProperties.js +18 -18
  392. package/dist/model/UserAssignmentToPermissionSet.js +4 -4
  393. package/dist/model/UserAssignmentsToPermissionSet.js +2 -2
  394. package/dist/model/UserAssignmentsToPermissionSetAllOf.js +1 -1
  395. package/dist/model/UserData.js +6 -6
  396. package/dist/model/UserDataWithId.js +12 -12
  397. package/dist/model/UserIDs.js +2 -2
  398. package/dist/model/UserIDsAllOf.js +1 -1
  399. package/dist/model/UserPermissionsItem.js +31 -31
  400. package/dist/model/UserSettingsItem.js +5 -5
  401. package/package.json +3 -2
@@ -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
@@ -62,6 +62,15 @@ var LeadLabelsApi = /*#__PURE__*/function () {
62
62
  value: function addLeadLabelWithHttpInfo(opts) {
63
63
  opts = opts || {};
64
64
  var postBody = opts['addLeadLabelRequest'];
65
+
66
+ if (opts['name'] === undefined || opts['name'] === null) {
67
+ throw new Error("Missing the required parameter 'name' when calling addLeadLabel");
68
+ }
69
+
70
+ if (opts['color'] === undefined || opts['color'] === null) {
71
+ throw new Error("Missing the required parameter 'color' when calling addLeadLabel");
72
+ }
73
+
65
74
  var pathParams = {};
66
75
  var queryParams = {};
67
76
  var headerParams = {};
@@ -88,7 +97,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
88
97
  }
89
98
  /**
90
99
  * Add a lead label
91
- * Creates a Lead Label
100
+ * Creates a lead label.
92
101
  * @param {Object} opts Optional parameters
93
102
  * @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest
94
103
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateLeadLabelResponse200}
@@ -103,8 +112,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
103
112
  }
104
113
  /**
105
114
  * Delete a lead label
106
- * Deletes a specific Lead Label
107
- * @param {String} id The ID of the Lead Label
115
+ * Deletes a specific lead label.
116
+ * @param {String} id The ID of the lead label
108
117
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LeadIdResponse200} and HTTP response
109
118
  */
110
119
 
@@ -146,8 +155,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
146
155
  }
147
156
  /**
148
157
  * Delete a lead label
149
- * Deletes a specific Lead Label
150
- * @param {String} id The ID of the Lead Label
158
+ * Deletes a specific lead label.
159
+ * @param {String} id The ID of the lead label
151
160
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LeadIdResponse200}
152
161
  */
153
162
 
@@ -160,7 +169,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
160
169
  }
161
170
  /**
162
171
  * Get all lead labels
163
- * Returns details of all Lead Labels. This endpoint does not support pagination and all Labels are always returned.
172
+ * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
164
173
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadLabelsResponse200} and HTTP response
165
174
  */
166
175
 
@@ -195,7 +204,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
195
204
  }
196
205
  /**
197
206
  * Get all lead labels
198
- * Returns details of all Lead Labels. This endpoint does not support pagination and all Labels are always returned.
207
+ * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
199
208
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadLabelsResponse200}
200
209
  */
201
210
 
@@ -208,8 +217,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
208
217
  }
209
218
  /**
210
219
  * 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
220
+ * Updates one or more properties of a lead label. Only properties included in the request will be updated.
221
+ * @param {String} id The ID of the lead label
213
222
  * @param {Object} opts Optional parameters
214
223
  * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
215
224
  * @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 +262,8 @@ var LeadLabelsApi = /*#__PURE__*/function () {
253
262
  }
254
263
  /**
255
264
  * 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
265
+ * Updates one or more properties of a lead label. Only properties included in the request will be updated.
266
+ * @param {String} id The ID of the lead label
258
267
  * @param {Object} opts Optional parameters
259
268
  * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
260
269
  * @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 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 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
 
@@ -50,7 +50,7 @@ var LeadsApi = /*#__PURE__*/function () {
50
50
  }
51
51
  /**
52
52
  * Add a lead
53
- * Creates a Lead. A Lead always has to be linked to a Person or an Organization or both. All Leads created through the Pipedrive API will have a Lead Source `API` assigned. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a Lead</a>. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from Deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
53
+ * Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source `API` assigned. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a lead</a>. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
54
54
  * @param {Object} opts Optional parameters
55
55
  * @param {module:model/AddLeadRequest} opts.addLeadRequest
56
56
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response
@@ -62,6 +62,11 @@ var LeadsApi = /*#__PURE__*/function () {
62
62
  value: function addLeadWithHttpInfo(opts) {
63
63
  opts = opts || {};
64
64
  var postBody = opts['addLeadRequest'];
65
+
66
+ if (opts['title'] === undefined || opts['title'] === null) {
67
+ throw new Error("Missing the required parameter 'title' when calling addLead");
68
+ }
69
+
65
70
  var pathParams = {};
66
71
  var queryParams = {};
67
72
  var headerParams = {};
@@ -88,7 +93,7 @@ var LeadsApi = /*#__PURE__*/function () {
88
93
  }
89
94
  /**
90
95
  * Add a lead
91
- * Creates a Lead. A Lead always has to be linked to a Person or an Organization or both. All Leads created through the Pipedrive API will have a Lead Source `API` assigned. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a Lead</a>. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from Deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
96
+ * Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source `API` assigned. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a lead</a>. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
92
97
  * @param {Object} opts Optional parameters
93
98
  * @param {module:model/AddLeadRequest} opts.addLeadRequest
94
99
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200}
@@ -103,8 +108,8 @@ var LeadsApi = /*#__PURE__*/function () {
103
108
  }
104
109
  /**
105
110
  * Delete a lead
106
- * Deletes a specific Lead
107
- * @param {String} id The ID of the Lead
111
+ * Deletes a specific lead.
112
+ * @param {String} id The ID of the lead
108
113
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LeadIdResponse200} and HTTP response
109
114
  */
110
115
 
@@ -146,8 +151,8 @@ var LeadsApi = /*#__PURE__*/function () {
146
151
  }
147
152
  /**
148
153
  * Delete a lead
149
- * Deletes a specific Lead
150
- * @param {String} id The ID of the Lead
154
+ * Deletes a specific lead.
155
+ * @param {String} id The ID of the lead
151
156
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LeadIdResponse200}
152
157
  */
153
158
 
@@ -160,8 +165,8 @@ var LeadsApi = /*#__PURE__*/function () {
160
165
  }
161
166
  /**
162
167
  * Get one lead
163
- * Returns details of a specific Lead. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from Deals.
164
- * @param {String} id The ID of the Lead
168
+ * Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
169
+ * @param {String} id The ID of the lead
165
170
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response
166
171
  */
167
172
 
@@ -203,8 +208,8 @@ var LeadsApi = /*#__PURE__*/function () {
203
208
  }
204
209
  /**
205
210
  * Get one lead
206
- * Returns details of a specific Lead. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from Deals.
207
- * @param {String} id The ID of the Lead
211
+ * Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
212
+ * @param {String} id The ID of the lead
208
213
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200}
209
214
  */
210
215
 
@@ -217,11 +222,11 @@ var LeadsApi = /*#__PURE__*/function () {
217
222
  }
218
223
  /**
219
224
  * Get all leads
220
- * Returns multiple Leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from Deals.
225
+ * Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals.
221
226
  * @param {Object} opts Optional parameters
222
227
  * @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
223
228
  * @param {Number} opts.start For pagination, the position that represents the first result for the page
224
- * @param {module:model/String} opts.archivedStatus Filtering based on archived status of a Lead. If not provided, `All` is used.
229
+ * @param {module:model/String} opts.archivedStatus Filtering based on the archived status of a lead. If not provided, `All` is used.
225
230
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsResponse200} and HTTP response
226
231
  */
227
232
 
@@ -260,11 +265,11 @@ var LeadsApi = /*#__PURE__*/function () {
260
265
  }
261
266
  /**
262
267
  * Get all leads
263
- * Returns multiple Leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from Deals.
268
+ * Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals.
264
269
  * @param {Object} opts Optional parameters
265
270
  * @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
266
271
  * @param {Number} opts.start For pagination, the position that represents the first result for the page
267
- * @param {module:model/String} opts.archivedStatus Filtering based on archived status of a Lead. If not provided, `All` is used.
272
+ * @param {module:model/String} opts.archivedStatus Filtering based on the archived status of a lead. If not provided, `All` is used.
268
273
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsResponse200}
269
274
  */
270
275
 
@@ -277,8 +282,8 @@ var LeadsApi = /*#__PURE__*/function () {
277
282
  }
278
283
  /**
279
284
  * Update a lead
280
- * Updates one or more properties of a Lead. Only properties included in the request will be updated. Send `null` to unset a property (applicable for example for `value`, `person_id` or `organization_id`). If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from Deals. See an example of updating custom fields’ values in <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
281
- * @param {String} id The ID of the Lead
285
+ * Updates one or more properties of a lead. Only properties included in the request will be updated. Send `null` to unset a property (applicable for example for `value`, `person_id` or `organization_id`). If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields’ values tutorial</a>.
286
+ * @param {String} id The ID of the lead
282
287
  * @param {Object} opts Optional parameters
283
288
  * @param {module:model/UpdateLeadRequest} opts.updateLeadRequest
284
289
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response
@@ -322,8 +327,8 @@ var LeadsApi = /*#__PURE__*/function () {
322
327
  }
323
328
  /**
324
329
  * Update a lead
325
- * Updates one or more properties of a Lead. Only properties included in the request will be updated. Send `null` to unset a property (applicable for example for `value`, `person_id` or `organization_id`). If a Lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the Lead, it won't appear in the response. Please note that Leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from Deals. See an example of updating custom fields’ values in <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
326
- * @param {String} id The ID of the Lead
330
+ * Updates one or more properties of a lead. Only properties included in the request will be updated. Send `null` to unset a property (applicable for example for `value`, `person_id` or `organization_id`). If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields’ values tutorial</a>.
331
+ * @param {String} id The ID of the lead
327
332
  * @param {Object} opts Optional parameters
328
333
  * @param {module:model/UpdateLeadRequest} opts.updateLeadRequest
329
334
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200}
@@ -54,8 +54,8 @@ var MailboxApi = /*#__PURE__*/function () {
54
54
  }
55
55
  /**
56
56
  * Delete mail thread
57
- * Marks mail thread as deleted.
58
- * @param {Number} id ID of the mail thread
57
+ * Marks a mail thread as deleted.
58
+ * @param {Number} id The ID of the mail thread
59
59
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailThreadDelete} and HTTP response
60
60
  */
61
61
 
@@ -98,8 +98,8 @@ var MailboxApi = /*#__PURE__*/function () {
98
98
  }
99
99
  /**
100
100
  * Delete mail thread
101
- * Marks mail thread as deleted.
102
- * @param {Number} id ID of the mail thread
101
+ * Marks a mail thread as deleted.
102
+ * @param {Number} id The ID of the mail thread
103
103
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailThreadDelete}
104
104
  */
105
105
 
@@ -112,10 +112,10 @@ var MailboxApi = /*#__PURE__*/function () {
112
112
  }
113
113
  /**
114
114
  * Get one mail message
115
- * Returns data about specific mail message.
116
- * @param {Number} id ID of the mail message to fetch.
115
+ * Returns data about a specific mail message.
116
+ * @param {Number} id The ID of the mail message to fetch
117
117
  * @param {Object} opts Optional parameters
118
- * @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include full message body or not. `0` = Don't include, `1` = Include
118
+ * @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include
119
119
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailMessage} and HTTP response
120
120
  */
121
121
 
@@ -159,10 +159,10 @@ var MailboxApi = /*#__PURE__*/function () {
159
159
  }
160
160
  /**
161
161
  * Get one mail message
162
- * Returns data about specific mail message.
163
- * @param {Number} id ID of the mail message to fetch.
162
+ * Returns data about a specific mail message.
163
+ * @param {Number} id The ID of the mail message to fetch
164
164
  * @param {Object} opts Optional parameters
165
- * @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include full message body or not. `0` = Don't include, `1` = Include
165
+ * @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include
166
166
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailMessage}
167
167
  */
168
168
 
@@ -175,8 +175,8 @@ var MailboxApi = /*#__PURE__*/function () {
175
175
  }
176
176
  /**
177
177
  * Get one mail thread
178
- * Returns specific mail thread.
179
- * @param {Number} id ID of the mail thread
178
+ * Returns a specific mail thread.
179
+ * @param {Number} id The ID of the mail thread
180
180
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailThreadOne} and HTTP response
181
181
  */
182
182
 
@@ -218,8 +218,8 @@ var MailboxApi = /*#__PURE__*/function () {
218
218
  }
219
219
  /**
220
220
  * Get one mail thread
221
- * Returns specific mail thread.
222
- * @param {Number} id ID of the mail thread
221
+ * Returns a specific mail thread.
222
+ * @param {Number} id The ID of the mail thread
223
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailThreadOne}
224
224
  */
225
225
 
@@ -232,8 +232,8 @@ var MailboxApi = /*#__PURE__*/function () {
232
232
  }
233
233
  /**
234
234
  * Get all mail messages of mail thread
235
- * Get mail messages inside specified mail thread.
236
- * @param {Number} id ID of the mail thread
235
+ * Returns all the mail messages inside a specified mail thread.
236
+ * @param {Number} id The ID of the mail thread
237
237
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailThreadMessages} and HTTP response
238
238
  */
239
239
 
@@ -275,8 +275,8 @@ var MailboxApi = /*#__PURE__*/function () {
275
275
  }
276
276
  /**
277
277
  * Get all mail messages of mail thread
278
- * Get mail messages inside specified mail thread.
279
- * @param {Number} id ID of the mail thread
278
+ * Returns all the mail messages inside a specified mail thread.
279
+ * @param {Number} id The ID of the mail thread
280
280
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailThreadMessages}
281
281
  */
282
282
 
@@ -289,8 +289,8 @@ var MailboxApi = /*#__PURE__*/function () {
289
289
  }
290
290
  /**
291
291
  * Get mail threads
292
- * Returns mail threads in specified folder ordered by most recent message within.
293
- * @param {module:model/String} folder Type of folder to fetch.
292
+ * Returns mail threads in a specified folder ordered by the most recent message within.
293
+ * @param {module:model/String} folder The type of folder to fetch
294
294
  * @param {Object} opts Optional parameters
295
295
  * @param {Number} opts.start Pagination start (default to 0)
296
296
  * @param {Number} opts.limit Items shown per page
@@ -337,8 +337,8 @@ var MailboxApi = /*#__PURE__*/function () {
337
337
  }
338
338
  /**
339
339
  * Get mail threads
340
- * Returns mail threads in specified folder ordered by most recent message within.
341
- * @param {module:model/String} folder Type of folder to fetch.
340
+ * Returns mail threads in a specified folder ordered by the most recent message within.
341
+ * @param {module:model/String} folder The type of folder to fetch
342
342
  * @param {Object} opts Optional parameters
343
343
  * @param {Number} opts.start Pagination start (default to 0)
344
344
  * @param {Number} opts.limit Items shown per page
@@ -355,12 +355,12 @@ var MailboxApi = /*#__PURE__*/function () {
355
355
  /**
356
356
  * Update mail thread details
357
357
  * Updates the properties of a mail thread.
358
- * @param {Number} id ID of the mail thread
358
+ * @param {Number} id The ID of the mail thread
359
359
  * @param {Object} opts Optional parameters
360
360
  * @param {Number} opts.dealId The ID of the deal this thread is associated with
361
361
  * @param {String} opts.leadId The ID of the lead this thread is associated with
362
362
  * @param {module:model/NumberBoolean} opts.sharedFlag Whether this thread is shared with other users in your company
363
- * @param {module:model/NumberBoolean} opts.readFlag Whether this thread read or unread
363
+ * @param {module:model/NumberBoolean} opts.readFlag Whether this thread is read or unread
364
364
  * @param {module:model/NumberBoolean} opts.archivedFlag Whether this thread is archived or not. You can only archive threads that belong to Inbox folder. Archived threads will disappear from Inbox.
365
365
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailThreadPut} and HTTP response
366
366
  */
@@ -410,12 +410,12 @@ var MailboxApi = /*#__PURE__*/function () {
410
410
  /**
411
411
  * Update mail thread details
412
412
  * Updates the properties of a mail thread.
413
- * @param {Number} id ID of the mail thread
413
+ * @param {Number} id The ID of the mail thread
414
414
  * @param {Object} opts Optional parameters
415
415
  * @param {Number} opts.dealId The ID of the deal this thread is associated with
416
416
  * @param {String} opts.leadId The ID of the lead this thread is associated with
417
417
  * @param {module:model/NumberBoolean} opts.sharedFlag Whether this thread is shared with other users in your company
418
- * @param {module:model/NumberBoolean} opts.readFlag Whether this thread read or unread
418
+ * @param {module:model/NumberBoolean} opts.readFlag Whether this thread is read or unread
419
419
  * @param {module:model/NumberBoolean} opts.archivedFlag Whether this thread is archived or not. You can only archive threads that belong to Inbox folder. Archived threads will disappear from Inbox.
420
420
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailThreadPut}
421
421
  */
@@ -40,7 +40,7 @@ var NoteFieldsApi = /*#__PURE__*/function () {
40
40
  }
41
41
  /**
42
42
  * Get all note fields
43
- * Returns data about all note fields
43
+ * Returns data about all note fields.
44
44
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NoteFieldsResponse} and HTTP response
45
45
  */
46
46
 
@@ -76,7 +76,7 @@ var NoteFieldsApi = /*#__PURE__*/function () {
76
76
  }
77
77
  /**
78
78
  * Get all note fields
79
- * Returns data about all note fields
79
+ * Returns data about all note fields.
80
80
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NoteFieldsResponse}
81
81
  */
82
82