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
@@ -63,8 +63,8 @@ var UsersApi = /*#__PURE__*/function () {
63
63
  /**
64
64
  * Add a new user
65
65
  * Adds a new user to the company, returns the ID upon success.
66
- * @param {String} name Name of the user
67
- * @param {String} email Email of the user
66
+ * @param {String} name The name of the user
67
+ * @param {String} email The email of the user
68
68
  * @param {Boolean} activeFlag Whether the user is active or not. `false` = Not activated, `true` = Activated
69
69
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
70
70
  */
@@ -121,8 +121,8 @@ var UsersApi = /*#__PURE__*/function () {
121
121
  /**
122
122
  * Add a new user
123
123
  * Adds a new user to the company, returns the ID upon success.
124
- * @param {String} name Name of the user
125
- * @param {String} email Email of the user
124
+ * @param {String} name The name of the user
125
+ * @param {String} email The email of the user
126
126
  * @param {Boolean} activeFlag Whether the user is active or not. `false` = Not activated, `true` = Activated
127
127
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
128
128
  */
@@ -136,9 +136,9 @@ var UsersApi = /*#__PURE__*/function () {
136
136
  }
137
137
  /**
138
138
  * Add role assignment
139
- * Add role assignment for a user
140
- * @param {Number} id ID of the user
141
- * @param {Number} roleId ID of the role
139
+ * Adds a role assignment for a user.
140
+ * @param {Number} id The ID of the user
141
+ * @param {Number} roleId The ID of the role
142
142
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostRoleAssignment} and HTTP response
143
143
  */
144
144
 
@@ -187,9 +187,9 @@ var UsersApi = /*#__PURE__*/function () {
187
187
  }
188
188
  /**
189
189
  * Add role assignment
190
- * Add role assignment for a user
191
- * @param {Number} id ID of the user
192
- * @param {Number} roleId ID of the role
190
+ * Adds a role assignment for a user.
191
+ * @param {Number} id The ID of the user
192
+ * @param {Number} roleId The ID of the role
193
193
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostRoleAssignment}
194
194
  */
195
195
 
@@ -202,9 +202,9 @@ var UsersApi = /*#__PURE__*/function () {
202
202
  }
203
203
  /**
204
204
  * Delete a role assignment
205
- * Delete a role assignment for a user
206
- * @param {Number} id ID of the user
207
- * @param {Number} roleId ID of the role
205
+ * Deletes a role assignment for a user.
206
+ * @param {Number} id The ID of the user
207
+ * @param {Number} roleId The ID of the role
208
208
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteRoleAssignment} and HTTP response
209
209
  */
210
210
 
@@ -253,9 +253,9 @@ var UsersApi = /*#__PURE__*/function () {
253
253
  }
254
254
  /**
255
255
  * Delete a role assignment
256
- * Delete a role assignment for a user
257
- * @param {Number} id ID of the user
258
- * @param {Number} roleId ID of the role
256
+ * Deletes a role assignment for a user.
257
+ * @param {Number} id The ID of the user
258
+ * @param {Number} roleId The ID of the role
259
259
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteRoleAssignment}
260
260
  */
261
261
 
@@ -269,9 +269,9 @@ var UsersApi = /*#__PURE__*/function () {
269
269
  /**
270
270
  * Find users by name
271
271
  * Finds users by their name.
272
- * @param {String} term Search term to look for
272
+ * @param {String} term The search term to look for
273
273
  * @param {Object} opts Optional parameters
274
- * @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, term will only be matched against email addresses of users. Default: `false`
274
+ * @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false`
275
275
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Users} and HTTP response
276
276
  */
277
277
 
@@ -315,9 +315,9 @@ var UsersApi = /*#__PURE__*/function () {
315
315
  /**
316
316
  * Find users by name
317
317
  * Finds users by their name.
318
- * @param {String} term Search term to look for
318
+ * @param {String} term The search term to look for
319
319
  * @param {Object} opts Optional parameters
320
- * @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, term will only be matched against email addresses of users. Default: `false`
320
+ * @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false`
321
321
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Users}
322
322
  */
323
323
 
@@ -378,8 +378,8 @@ var UsersApi = /*#__PURE__*/function () {
378
378
  }
379
379
  /**
380
380
  * Get one user
381
- * Returns data about a specific user within the company
382
- * @param {Number} id ID of the user
381
+ * Returns data about a specific user within the company.
382
+ * @param {Number} id The ID of the user
383
383
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
384
384
  */
385
385
 
@@ -421,8 +421,8 @@ var UsersApi = /*#__PURE__*/function () {
421
421
  }
422
422
  /**
423
423
  * Get one user
424
- * Returns data about a specific user within the company
425
- * @param {Number} id ID of the user
424
+ * Returns data about a specific user within the company.
425
+ * @param {Number} id The ID of the user
426
426
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
427
427
  */
428
428
 
@@ -435,8 +435,8 @@ var UsersApi = /*#__PURE__*/function () {
435
435
  }
436
436
  /**
437
437
  * List followers of a user
438
- * Lists followers of a specific user.
439
- * @param {Number} id ID of the user
438
+ * Lists the followers of a specific user.
439
+ * @param {Number} id The ID of the user
440
440
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
441
441
  */
442
442
 
@@ -478,8 +478,8 @@ var UsersApi = /*#__PURE__*/function () {
478
478
  }
479
479
  /**
480
480
  * List followers of a user
481
- * Lists followers of a specific user.
482
- * @param {Number} id ID of the user
481
+ * Lists the followers of a specific user.
482
+ * @param {Number} id The ID of the user
483
483
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
484
484
  */
485
485
 
@@ -492,8 +492,8 @@ var UsersApi = /*#__PURE__*/function () {
492
492
  }
493
493
  /**
494
494
  * List user permissions
495
- * List aggregated permissions over all assigned permission sets for a user
496
- * @param {Number} id ID of the user
495
+ * Lists aggregated permissions over all assigned permission sets for a user.
496
+ * @param {Number} id The ID of the user
497
497
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserPermissions} and HTTP response
498
498
  */
499
499
 
@@ -535,8 +535,8 @@ var UsersApi = /*#__PURE__*/function () {
535
535
  }
536
536
  /**
537
537
  * List user permissions
538
- * List aggregated permissions over all assigned permission sets for a user
539
- * @param {Number} id ID of the user
538
+ * Lists aggregated permissions over all assigned permission sets for a user.
539
+ * @param {Number} id The ID of the user
540
540
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserPermissions}
541
541
  */
542
542
 
@@ -549,8 +549,8 @@ var UsersApi = /*#__PURE__*/function () {
549
549
  }
550
550
  /**
551
551
  * List role assignments
552
- * List role assignments for a user
553
- * @param {Number} id ID of the user
552
+ * Lists role assignments for a user.
553
+ * @param {Number} id The ID of the user
554
554
  * @param {Object} opts Optional parameters
555
555
  * @param {Number} opts.start Pagination start (default to 0)
556
556
  * @param {Number} opts.limit Items shown per page
@@ -598,8 +598,8 @@ var UsersApi = /*#__PURE__*/function () {
598
598
  }
599
599
  /**
600
600
  * List role assignments
601
- * List role assignments for a user
602
- * @param {Number} id ID of the user
601
+ * Lists role assignments for a user.
602
+ * @param {Number} id The ID of the user
603
603
  * @param {Object} opts Optional parameters
604
604
  * @param {Number} opts.start Pagination start (default to 0)
605
605
  * @param {Number} opts.limit Items shown per page
@@ -615,8 +615,8 @@ var UsersApi = /*#__PURE__*/function () {
615
615
  }
616
616
  /**
617
617
  * List user role settings
618
- * List settings of user's assigned role
619
- * @param {Number} id ID of the user
618
+ * Lists the settings of user's assigned role.
619
+ * @param {Number} id The ID of the user
620
620
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRoleSettings} and HTTP response
621
621
  */
622
622
 
@@ -658,8 +658,8 @@ var UsersApi = /*#__PURE__*/function () {
658
658
  }
659
659
  /**
660
660
  * List user role settings
661
- * List settings of user's assigned role
662
- * @param {Number} id ID of the user
661
+ * Lists the settings of user's assigned role.
662
+ * @param {Number} id The ID of the user
663
663
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRoleSettings}
664
664
  */
665
665
 
@@ -672,7 +672,7 @@ var UsersApi = /*#__PURE__*/function () {
672
672
  }
673
673
  /**
674
674
  * Get all users
675
- * Returns data about all users within the company
675
+ * Returns data about all users within the company.
676
676
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Users} and HTTP response
677
677
  */
678
678
 
@@ -707,7 +707,7 @@ var UsersApi = /*#__PURE__*/function () {
707
707
  }
708
708
  /**
709
709
  * Get all users
710
- * Returns data about all users within the company
710
+ * Returns data about all users within the company.
711
711
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Users}
712
712
  */
713
713
 
@@ -721,7 +721,7 @@ var UsersApi = /*#__PURE__*/function () {
721
721
  /**
722
722
  * Update user details
723
723
  * Updates the properties of a user. Currently, only `active_flag` can be updated.
724
- * @param {Number} id ID of the user
724
+ * @param {Number} id The ID of the user
725
725
  * @param {Boolean} activeFlag Whether the user is active or not. `false` = Not activated, `true` = Activated
726
726
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/User} and HTTP response
727
727
  */
@@ -772,7 +772,7 @@ var UsersApi = /*#__PURE__*/function () {
772
772
  /**
773
773
  * Update user details
774
774
  * Updates the properties of a user. Currently, only `active_flag` can be updated.
775
- * @param {Number} id ID of the user
775
+ * @param {Number} id The ID of the user
776
776
  * @param {Boolean} activeFlag Whether the user is active or not. `false` = Not activated, `true` = Activated
777
777
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/User}
778
778
  */
@@ -51,8 +51,8 @@ var WebhooksApi = /*#__PURE__*/function () {
51
51
  this.apiClient = apiClient || _ApiClient["default"].instance;
52
52
  }
53
53
  /**
54
- * Create a new webhook
55
- * Creates a new webhook and returns its details. Note that specifying an event which triggers the webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\">https://pipedrive.readme.io/docs/guide-for-webhooks</a> for more details.
54
+ * Create a new Webhook
55
+ * Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
56
56
  * @param {Object} opts Optional parameters
57
57
  * @param {module:model/AddWebhookRequest} opts.addWebhookRequest
58
58
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Webhook} and HTTP response
@@ -64,6 +64,19 @@ var WebhooksApi = /*#__PURE__*/function () {
64
64
  value: function addWebhookWithHttpInfo(opts) {
65
65
  opts = opts || {};
66
66
  var postBody = opts['addWebhookRequest'];
67
+
68
+ if (opts['subscription_url'] === undefined || opts['subscription_url'] === null) {
69
+ throw new Error("Missing the required parameter 'subscription_url' when calling addWebhook");
70
+ }
71
+
72
+ if (opts['event_action'] === undefined || opts['event_action'] === null) {
73
+ throw new Error("Missing the required parameter 'event_action' when calling addWebhook");
74
+ }
75
+
76
+ if (opts['event_object'] === undefined || opts['event_object'] === null) {
77
+ throw new Error("Missing the required parameter 'event_object' when calling addWebhook");
78
+ }
79
+
67
80
  var pathParams = {};
68
81
  var queryParams = {};
69
82
  var headerParams = {};
@@ -89,8 +102,8 @@ var WebhooksApi = /*#__PURE__*/function () {
89
102
  return this.apiClient.callApi('/webhooks', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
90
103
  }
91
104
  /**
92
- * Create a new webhook
93
- * Creates a new webhook and returns its details. Note that specifying an event which triggers the webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\">https://pipedrive.readme.io/docs/guide-for-webhooks</a> for more details.
105
+ * Create a new Webhook
106
+ * Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
94
107
  * @param {Object} opts Optional parameters
95
108
  * @param {module:model/AddWebhookRequest} opts.addWebhookRequest
96
109
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhook}
@@ -104,9 +117,9 @@ var WebhooksApi = /*#__PURE__*/function () {
104
117
  });
105
118
  }
106
119
  /**
107
- * Delete existing webhook
108
- * Deletes the specified webhook.
109
- * @param {Number} id The ID of the webhook to delete
120
+ * Delete existing Webhook
121
+ * Deletes the specified Webhook.
122
+ * @param {Number} id The ID of the Webhook to delete
110
123
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponseWithStatus} and HTTP response
111
124
  */
112
125
 
@@ -147,9 +160,9 @@ var WebhooksApi = /*#__PURE__*/function () {
147
160
  return this.apiClient.callApi('/webhooks/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
148
161
  }
149
162
  /**
150
- * Delete existing webhook
151
- * Deletes the specified webhook.
152
- * @param {Number} id The ID of the webhook to delete
163
+ * Delete existing Webhook
164
+ * Deletes the specified Webhook.
165
+ * @param {Number} id The ID of the Webhook to delete
153
166
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponseWithStatus}
154
167
  */
155
168
 
@@ -161,8 +174,8 @@ var WebhooksApi = /*#__PURE__*/function () {
161
174
  });
162
175
  }
163
176
  /**
164
- * Get all webhooks
165
- * Returns data about all webhooks of a company.
177
+ * Get all Webhooks
178
+ * Returns data about all the Webhooks of a company.
166
179
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Webhooks} and HTTP response
167
180
  */
168
181
 
@@ -196,8 +209,8 @@ var WebhooksApi = /*#__PURE__*/function () {
196
209
  return this.apiClient.callApi('/webhooks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
197
210
  }
198
211
  /**
199
- * Get all webhooks
200
- * Returns data about all webhooks of a company.
212
+ * Get all Webhooks
213
+ * Returns data about all the Webhooks of a company.
201
214
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhooks}
202
215
  */
203
216
 
package/dist/index.js CHANGED
@@ -689,6 +689,12 @@ Object.defineProperty(exports, "BasicPerson", {
689
689
  return _BasicPerson["default"];
690
690
  }
691
691
  });
692
+ Object.defineProperty(exports, "BasicPersonEmail", {
693
+ enumerable: true,
694
+ get: function get() {
695
+ return _BasicPersonEmail["default"];
696
+ }
697
+ });
692
698
  Object.defineProperty(exports, "BasicProductField", {
693
699
  enumerable: true,
694
700
  get: function get() {
@@ -941,6 +947,12 @@ Object.defineProperty(exports, "DealPersonData", {
941
947
  return _DealPersonData["default"];
942
948
  }
943
949
  });
950
+ Object.defineProperty(exports, "DealPersonDataEmail", {
951
+ enumerable: true,
952
+ get: function get() {
953
+ return _DealPersonDataEmail["default"];
954
+ }
955
+ });
944
956
  Object.defineProperty(exports, "DealPersonDataPhone", {
945
957
  enumerable: true,
946
958
  get: function get() {
@@ -2603,6 +2615,12 @@ Object.defineProperty(exports, "MailboxApi", {
2603
2615
  return _MailboxApi["default"];
2604
2616
  }
2605
2617
  });
2618
+ Object.defineProperty(exports, "MarketingStatus", {
2619
+ enumerable: true,
2620
+ get: function get() {
2621
+ return _MarketingStatus["default"];
2622
+ }
2623
+ });
2606
2624
  Object.defineProperty(exports, "MergeDealsRequest", {
2607
2625
  enumerable: true,
2608
2626
  get: function get() {
@@ -4512,6 +4530,8 @@ var _BasicOrganization = _interopRequireDefault(require("./model/BasicOrganizati
4512
4530
 
4513
4531
  var _BasicPerson = _interopRequireDefault(require("./model/BasicPerson"));
4514
4532
 
4533
+ var _BasicPersonEmail = _interopRequireDefault(require("./model/BasicPersonEmail"));
4534
+
4515
4535
  var _BasicProductField = _interopRequireDefault(require("./model/BasicProductField"));
4516
4536
 
4517
4537
  var _BulkDeleteResponse = _interopRequireDefault(require("./model/BulkDeleteResponse"));
@@ -4590,6 +4610,8 @@ var _DealParticipants = _interopRequireDefault(require("./model/DealParticipants
4590
4610
 
4591
4611
  var _DealPersonData = _interopRequireDefault(require("./model/DealPersonData"));
4592
4612
 
4613
+ var _DealPersonDataEmail = _interopRequireDefault(require("./model/DealPersonDataEmail"));
4614
+
4593
4615
  var _DealPersonDataPhone = _interopRequireDefault(require("./model/DealPersonDataPhone"));
4594
4616
 
4595
4617
  var _DealPersonDataWithId = _interopRequireDefault(require("./model/DealPersonDataWithId"));
@@ -5124,6 +5146,8 @@ var _MailThreadPut = _interopRequireDefault(require("./model/MailThreadPut"));
5124
5146
 
5125
5147
  var _MailThreadPutAllOf = _interopRequireDefault(require("./model/MailThreadPutAllOf"));
5126
5148
 
5149
+ var _MarketingStatus = _interopRequireDefault(require("./model/MarketingStatus"));
5150
+
5127
5151
  var _MergeDealsRequest = _interopRequireDefault(require("./model/MergeDealsRequest"));
5128
5152
 
5129
5153
  var _MergeOrganizationsRequest = _interopRequireDefault(require("./model/MergeOrganizationsRequest"));
@@ -36,7 +36,7 @@ var _ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID = _interopRequ
36
36
  var ActivityDistributionDataActivityDistribution = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>ActivityDistributionDataActivityDistribution</code>.
39
- * The distribution of Activities related to the Organization grouped by the User ID
39
+ * The distribution of activities related to the organization grouped by the user ID
40
40
  * @alias module:model/ActivityDistributionDataActivityDistribution
41
41
  */
42
42
  function ActivityDistributionDataActivityDistribution() {
@@ -36,7 +36,7 @@ var _ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities = _i
36
36
  var ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID</code>.
39
- * The ID of the User
39
+ * The ID of the user
40
40
  * @alias module:model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID
41
41
  */
42
42
  function ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID() {
@@ -104,19 +104,19 @@ var ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID = /*#__PURE__*/
104
104
 
105
105
  ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.prototype['activities'] = undefined;
106
106
  /**
107
- * The name of the User
107
+ * The name of the user
108
108
  * @member {String} name
109
109
  */
110
110
 
111
111
  ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.prototype['name'] = undefined;
112
112
  /**
113
- * The overall count of Activities for the User
113
+ * The overall count of activities for the user
114
114
  * @member {Number} activity_count
115
115
  */
116
116
 
117
117
  ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.prototype['activity_count'] = undefined;
118
118
  /**
119
- * The percentage of Activities belongs to the User
119
+ * The percentage of activities belongs to the user
120
120
  * @member {Number} share
121
121
  */
122
122
 
@@ -34,7 +34,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
34
34
  var ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities</code>.
37
- * The count of Activities related to the User grouped by Activity type
37
+ * The count of activities related to the user grouped by activity type
38
38
  * @alias module:model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities
39
39
  */
40
40
  function ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities() {
@@ -81,7 +81,7 @@ var ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities = /*#
81
81
  return ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities;
82
82
  }();
83
83
  /**
84
- * The count of Activities related to a specific type
84
+ * The count of activities related to a specific type
85
85
  * @member {Number} ACTIVITY_TYPE_NAME
86
86
  */
87
87
 
@@ -100,32 +100,32 @@ var ActivityInfo = /*#__PURE__*/function () {
100
100
  return ActivityInfo;
101
101
  }();
102
102
  /**
103
- * The date of the next activity associated with the Deal
103
+ * The date of the next activity associated with the deal
104
104
  * @member {String} next_activity_date
105
105
  */
106
106
 
107
107
 
108
108
  ActivityInfo.prototype['next_activity_date'] = undefined;
109
109
  /**
110
- * The time of the next activity associated with the Deal
110
+ * The time of the next activity associated with the deal
111
111
  * @member {String} next_activity_time
112
112
  */
113
113
 
114
114
  ActivityInfo.prototype['next_activity_time'] = undefined;
115
115
  /**
116
- * The ID of the next activity associated with the Deal
116
+ * The ID of the next activity associated with the deal
117
117
  * @member {Number} next_activity_id
118
118
  */
119
119
 
120
120
  ActivityInfo.prototype['next_activity_id'] = undefined;
121
121
  /**
122
- * The ID of the last activity associated with the Deal
122
+ * The ID of the last activity associated with the deal
123
123
  * @member {Number} last_activity_id
124
124
  */
125
125
 
126
126
  ActivityInfo.prototype['last_activity_id'] = undefined;
127
127
  /**
128
- * The date of the last activity associated with the Deal
128
+ * The date of the last activity associated with the deal
129
129
  * @member {String} last_activity_date
130
130
  */
131
131
 
@@ -120,56 +120,56 @@ var ActivityObjectFragment = /*#__PURE__*/function () {
120
120
  return ActivityObjectFragment;
121
121
  }();
122
122
  /**
123
- * Due date of the Activity. Format: YYYY-MM-DD
123
+ * The due date of the activity. Format: YYYY-MM-DD
124
124
  * @member {Date} due_date
125
125
  */
126
126
 
127
127
 
128
128
  ActivityObjectFragment.prototype['due_date'] = undefined;
129
129
  /**
130
- * Due time of the Activity in UTC. Format: HH:MM
130
+ * The due time of the activity in UTC. Format: HH:MM
131
131
  * @member {String} due_time
132
132
  */
133
133
 
134
134
  ActivityObjectFragment.prototype['due_time'] = undefined;
135
135
  /**
136
- * Duration of the Activity. Format: HH:MM
136
+ * The duration of the activity. Format: HH:MM
137
137
  * @member {String} duration
138
138
  */
139
139
 
140
140
  ActivityObjectFragment.prototype['duration'] = undefined;
141
141
  /**
142
- * The ID of the Deal this Activity is associated with
142
+ * The ID of the deal this activity is associated with
143
143
  * @member {Number} deal_id
144
144
  */
145
145
 
146
146
  ActivityObjectFragment.prototype['deal_id'] = undefined;
147
147
  /**
148
- * The ID of the Person this Activity is associated with
148
+ * The ID of the person this activity is associated with
149
149
  * @member {Number} person_id
150
150
  */
151
151
 
152
152
  ActivityObjectFragment.prototype['person_id'] = undefined;
153
153
  /**
154
- * The ID of the Organization this Activity is associated with
154
+ * The ID of the organization this activity is associated with
155
155
  * @member {Number} org_id
156
156
  */
157
157
 
158
158
  ActivityObjectFragment.prototype['org_id'] = undefined;
159
159
  /**
160
- * Note of the Activity (HTML format)
160
+ * The note of the activity (HTML format)
161
161
  * @member {String} note
162
162
  */
163
163
 
164
164
  ActivityObjectFragment.prototype['note'] = undefined;
165
165
  /**
166
- * The address of the Activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.
166
+ * The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.
167
167
  * @member {String} location
168
168
  */
169
169
 
170
170
  ActivityObjectFragment.prototype['location'] = undefined;
171
171
  /**
172
- * Additional details about the Activity that is synced to your external calendar. Unlike the note added to the Activity, the description is publicly visible to any guests added to the Activity.
172
+ * Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity.
173
173
  * @member {String} public_description
174
174
  */
175
175