pipedrive 13.0.10 → 13.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +19 -16
  3. package/dist/ApiClient.js +46 -9
  4. package/dist/api/ActivitiesApi.js +44 -44
  5. package/dist/api/ActivityTypesApi.js +4 -4
  6. package/dist/api/CallLogsApi.js +23 -6
  7. package/dist/api/CurrenciesApi.js +2 -2
  8. package/dist/api/DealFieldsApi.js +10 -10
  9. package/dist/api/DealsApi.js +114 -102
  10. package/dist/api/FilesApi.js +34 -34
  11. package/dist/api/FiltersApi.js +19 -2
  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 +10 -10
  22. package/dist/api/OrganizationRelationshipsApi.js +25 -12
  23. package/dist/api/OrganizationsApi.js +60 -52
  24. package/dist/api/PermissionSetsApi.js +12 -12
  25. package/dist/api/PersonFieldsApi.js +10 -10
  26. package/dist/api/PersonsApi.js +90 -82
  27. package/dist/api/PipelinesApi.js +50 -50
  28. package/dist/api/ProductFieldsApi.js +23 -10
  29. package/dist/api/ProductsApi.js +48 -44
  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/AddDealFollowerRequest.js +2 -2
  53. package/dist/model/AddDealParticipantRequest.js +2 -2
  54. package/dist/model/AddFollowerToPersonResponseAllOfData.js +4 -4
  55. package/dist/model/AddLeadLabelRequest.js +2 -2
  56. package/dist/model/AddLeadRequest.js +9 -9
  57. package/dist/model/AddNoteRequest.js +22 -22
  58. package/dist/model/AddNoteRequestAllOf.js +4 -4
  59. package/dist/model/AddOrganizationRelationshipRequest.js +5 -5
  60. package/dist/model/AddPersonFollowerRequest.js +2 -2
  61. package/dist/model/AddProductAttachmentDetails.js +36 -36
  62. package/dist/model/AddProductAttachmentDetailsAllOf.js +1 -1
  63. package/dist/model/AddProductFollowerRequest.js +2 -2
  64. package/dist/model/AddProductRequestBody.js +12 -12
  65. package/dist/model/AddTeamUserRequest.js +2 -2
  66. package/dist/model/AddWebhookRequest.js +7 -7
  67. package/dist/model/AddedDealFollowerData.js +4 -4
  68. package/dist/model/AdditionalBaseOrganizationItemInfo.js +64 -64
  69. package/dist/model/AdditionalDataWithPagination.js +1 -1
  70. package/dist/model/AdditionalMergePersonInfo.js +60 -60
  71. package/dist/model/AdditionalPersonInfo.js +50 -50
  72. package/dist/model/AllOrganizationRelationshipsGetResponse.js +2 -2
  73. package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +1 -1
  74. package/dist/model/AllOrganizationsGetResponse.js +2 -2
  75. package/dist/model/AllOrganizationsGetResponseAllOf.js +1 -1
  76. package/dist/model/Assignee.js +3 -3
  77. package/dist/model/BaseComment.js +7 -7
  78. package/dist/model/BaseCurrency.js +7 -7
  79. package/dist/model/BaseDeal.js +51 -51
  80. package/dist/model/BaseNote.js +14 -14
  81. package/dist/model/BaseNoteDealTitle.js +2 -2
  82. package/dist/model/BaseNoteOrganization.js +2 -2
  83. package/dist/model/BaseNotePerson.js +2 -2
  84. package/dist/model/BaseOrganizationItem.js +86 -86
  85. package/dist/model/BaseOrganizationItemFields.js +11 -11
  86. package/dist/model/BaseOrganizationItemWithEditNameFlag.js +88 -88
  87. package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +1 -1
  88. package/dist/model/BaseOrganizationRelationshipItem.js +5 -5
  89. package/dist/model/BasePersonItem.js +13 -13
  90. package/dist/model/BasePersonItemEmail.js +2 -2
  91. package/dist/model/BasePersonItemPhone.js +3 -3
  92. package/dist/model/BasePipeline.js +8 -8
  93. package/dist/model/BasePipelineWithSelectedFlag.js +18 -18
  94. package/dist/model/BasePipelineWithSelectedFlagAllOf.js +1 -1
  95. package/dist/model/BaseProduct.js +3 -3
  96. package/dist/model/BaseRole.js +3 -3
  97. package/dist/model/BaseStage.js +10 -10
  98. package/dist/model/BaseTeam.js +20 -20
  99. package/dist/model/BaseTeamAdditionalProperties.js +2 -2
  100. package/dist/model/BaseUser.js +19 -19
  101. package/dist/model/BaseUserMe.js +48 -48
  102. package/dist/model/BaseUserMeAllOf.js +5 -5
  103. package/dist/model/BaseUserMeAllOfLanguage.js +1 -1
  104. package/dist/model/BaseWebhook.js +3 -3
  105. package/dist/model/BasicDeal.js +10 -10
  106. package/dist/model/BasicDealProduct.js +6 -6
  107. package/dist/model/BasicGoal.js +6 -6
  108. package/dist/model/BasicOrganization.js +3 -3
  109. package/dist/model/BasicPerson.js +23 -10
  110. package/dist/model/BasicPersonEmail.js +112 -0
  111. package/dist/model/BasicProductField.js +3 -3
  112. package/dist/model/BulkDeleteResponseAllOfData.js +1 -1
  113. package/dist/model/CalculatedFields.js +2 -2
  114. package/dist/model/CallLogObject.js +6 -6
  115. package/dist/model/CommentPostPutObject.js +2 -2
  116. package/dist/model/CreateTeam.js +6 -6
  117. package/dist/model/Currencies.js +1 -1
  118. package/dist/model/DealCountAndActivityInfo.js +26 -26
  119. package/dist/model/DealFlowResponseAllOfData.js +1 -1
  120. package/dist/model/DealListActivitiesResponse.js +2 -2
  121. package/dist/model/DealListActivitiesResponseAllOf.js +1 -1
  122. package/dist/model/DealNonStrict.js +104 -104
  123. package/dist/model/DealNonStrictModeFields.js +1 -1
  124. package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +6 -6
  125. package/dist/model/DealNonStrictWithDetails.js +110 -110
  126. package/dist/model/DealNonStrictWithDetailsAllOf.js +3 -3
  127. package/dist/model/DealNonStrictWithDetailsAllOfAge.js +1 -1
  128. package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +1 -1
  129. package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -3
  130. package/dist/model/DealOrganizationData.js +7 -7
  131. package/dist/model/DealOrganizationDataWithId.js +14 -14
  132. package/dist/model/DealOrganizationDataWithIdAllOf.js +1 -1
  133. package/dist/model/DealParticipantCountInfo.js +2 -2
  134. package/dist/model/DealParticipants.js +1 -1
  135. package/dist/model/DealPersonData.js +10 -10
  136. package/dist/model/DealPersonDataEmail.js +112 -0
  137. package/dist/model/DealPersonDataPhone.js +1 -1
  138. package/dist/model/DealPersonDataWithId.js +17 -17
  139. package/dist/model/DealPersonDataWithIdAllOf.js +1 -1
  140. package/dist/model/DealSearchItemItem.js +8 -8
  141. package/dist/model/DealSearchItemItemOrganization.js +2 -2
  142. package/dist/model/DealSearchItemItemOwner.js +1 -1
  143. package/dist/model/DealSearchItemItemPerson.js +2 -2
  144. package/dist/model/DealSearchItemItemStage.js +2 -2
  145. package/dist/model/DealSearchResponseAllOfData.js +1 -1
  146. package/dist/model/DealStrict.js +112 -112
  147. package/dist/model/DealStrictModeFields.js +5 -5
  148. package/dist/model/DealStrictWithMergeId.js +114 -114
  149. package/dist/model/DealStrictWithMergeIdAllOf.js +1 -1
  150. package/dist/model/DealSummaryPerStages.js +1 -1
  151. package/dist/model/DealTitleParameter.js +1 -1
  152. package/dist/model/DealUserData.js +7 -7
  153. package/dist/model/DealUserDataWithId.js +14 -14
  154. package/dist/model/DealUserDataWithIdAllOf.js +1 -1
  155. package/dist/model/DealsCountAndActivityInfo.js +26 -26
  156. package/dist/model/DealsCountInfo.js +8 -8
  157. package/dist/model/DealsMovementsInfo.js +2 -2
  158. package/dist/model/DealsMovementsInfoFormattedValues.js +2 -2
  159. package/dist/model/DealsMovementsInfoValues.js +2 -2
  160. package/dist/model/DeleteActivitiesResponse200Data.js +1 -1
  161. package/dist/model/DeleteActivityResponse200Data.js +1 -1
  162. package/dist/model/DeleteDealData.js +1 -1
  163. package/dist/model/DeleteDealFollowerData.js +1 -1
  164. package/dist/model/DeleteDealParticipantData.js +1 -1
  165. package/dist/model/DeleteDealProductData.js +2 -2
  166. package/dist/model/DeleteFileData.js +1 -1
  167. package/dist/model/DeleteMultipleDealsData.js +1 -1
  168. package/dist/model/DeleteMultipleProductFieldsResponseData.js +1 -1
  169. package/dist/model/DeletePersonResponseAllOfData.js +1 -1
  170. package/dist/model/DeletePersonsInBulkResponseAllOfData.js +1 -1
  171. package/dist/model/DeleteProductFieldResponseData.js +1 -1
  172. package/dist/model/DeleteProductFollowerResponseData.js +1 -1
  173. package/dist/model/DeleteProductResponseData.js +1 -1
  174. package/dist/model/DeleteResponseAllOfData.js +1 -1
  175. package/dist/model/DeleteRoleAllOfData.js +1 -1
  176. package/dist/model/DeleteRoleAssignmentAllOfData.js +1 -1
  177. package/dist/model/DeleteStageResponse200Data.js +1 -1
  178. package/dist/model/DeleteStagesResponse200Data.js +1 -1
  179. package/dist/model/DeleteTeamUserRequest.js +2 -2
  180. package/dist/model/Duration.js +3 -3
  181. package/dist/model/EditPipeline.js +2 -2
  182. package/dist/model/EditPipelineAllOf.js +1 -1
  183. package/dist/model/EmailInfo.js +2 -2
  184. package/dist/model/ExpectedOutcome.js +3 -3
  185. package/dist/model/Field.js +18 -18
  186. package/dist/model/FieldCreateRequest.js +5 -5
  187. package/dist/model/FieldCreateRequestAllOf.js +3 -3
  188. package/dist/model/FieldUpdateRequest.js +1 -1
  189. package/dist/model/FileData.js +24 -24
  190. package/dist/model/FileItem.js +24 -24
  191. package/dist/model/FiltersPostResponseAllOfData.js +1 -1
  192. package/dist/model/FullRole.js +12 -12
  193. package/dist/model/FullRoleAllOf.js +1 -1
  194. package/dist/model/GetAddProductAttachementDetails.js +1 -1
  195. package/dist/model/GetAddedDeal.js +1 -1
  196. package/dist/model/GetAddedDealAdditionalData.js +1 -1
  197. package/dist/model/GetAllPersonsResponse.js +2 -2
  198. package/dist/model/GetAllPersonsResponseAllOf.js +1 -1
  199. package/dist/model/GetAllProductFieldsResponse.js +2 -2
  200. package/dist/model/GetComments.js +1 -1
  201. package/dist/model/GetDealAdditionalData.js +1 -1
  202. package/dist/model/GetDeals.js +1 -1
  203. package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -4
  204. package/dist/model/GetDealsMovementsInPipelineAllOfData.js +1 -1
  205. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -3
  206. package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -3
  207. package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -2
  208. package/dist/model/GetDealsSummaryData.js +6 -6
  209. package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -6
  210. package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -4
  211. package/dist/model/GetDealsTimelineData.js +1 -1
  212. package/dist/model/GetDealsTimelineDataTotals.js +9 -9
  213. package/dist/model/GetDuplicatedDeal.js +1 -1
  214. package/dist/model/GetLeadSourcesResponse200Data.js +1 -1
  215. package/dist/model/GetNotes.js +1 -1
  216. package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +1 -1
  217. package/dist/model/GetProductAttachementDetails.js +1 -1
  218. package/dist/model/GetProductFieldResponse.js +1 -1
  219. package/dist/model/GetRecentsAdditionalData.js +2 -2
  220. package/dist/model/GetRoleAllOfAdditionalData.js +1 -1
  221. package/dist/model/GetRoleAssignments.js +2 -2
  222. package/dist/model/GetRoleAssignmentsAllOf.js +1 -1
  223. package/dist/model/GetRoles.js +2 -2
  224. package/dist/model/GetRolesAllOf.js +1 -1
  225. package/dist/model/GetStageDeals.js +1 -1
  226. package/dist/model/GetStages.js +1 -1
  227. package/dist/model/GlobalMessageData.js +6 -6
  228. package/dist/model/GlobalMessageGet.js +2 -2
  229. package/dist/model/GlobalMessageGetAllOf.js +1 -1
  230. package/dist/model/GlobalMessageUserData.js +3 -3
  231. package/dist/model/GoalResults.js +1 -1
  232. package/dist/model/GoalType.js +2 -2
  233. package/dist/model/GoalsResponseComponent.js +4 -4
  234. package/dist/model/LeadLabelResponse.js +4 -4
  235. package/dist/model/LeadResponse.js +16 -16
  236. package/dist/model/LeadValue.js +1 -1
  237. package/dist/model/ListActivitiesResponse.js +2 -2
  238. package/dist/model/ListActivitiesResponseAllOf.js +1 -1
  239. package/dist/model/ListDealsResponse.js +2 -2
  240. package/dist/model/ListDealsResponseAllOf.js +1 -1
  241. package/dist/model/ListFilesResponse.js +2 -2
  242. package/dist/model/ListFilesResponseAllOf.js +1 -1
  243. package/dist/model/ListFollowersResponse.js +2 -2
  244. package/dist/model/ListFollowersResponseAllOf.js +1 -1
  245. package/dist/model/ListFollowersResponseAllOfData.js +4 -4
  246. package/dist/model/ListMailMessagesResponse.js +2 -2
  247. package/dist/model/ListMailMessagesResponseAllOf.js +1 -1
  248. package/dist/model/ListPermittedUsersResponse1.js +2 -2
  249. package/dist/model/ListPermittedUsersResponse1AllOf.js +1 -1
  250. package/dist/model/ListPermittedUsersResponseAllOfData.js +1 -1
  251. package/dist/model/ListPersonProductsResponse.js +2 -2
  252. package/dist/model/ListPersonProductsResponseAllOf.js +1 -1
  253. package/dist/model/ListPersonsResponse.js +2 -2
  254. package/dist/model/ListPersonsResponseAllOf.js +1 -1
  255. package/dist/model/ListProductAdditionalData.js +10 -10
  256. package/dist/model/ListProductAdditionalDataAllOf.js +5 -5
  257. package/dist/model/ListProductFollowersResponse.js +2 -2
  258. package/dist/model/ListProductFollowersResponseAllOf.js +1 -1
  259. package/dist/model/ListProductFollowersResponseAllOfData.js +4 -4
  260. package/dist/model/ListProductsResponseAllOfData.js +1 -1
  261. package/dist/model/MarketingStatus.js +69 -0
  262. package/dist/model/MergeDealsRequest.js +2 -2
  263. package/dist/model/MergeOrganizationsRequest.js +2 -2
  264. package/dist/model/MergePersonDealRelatedInfo.js +30 -30
  265. package/dist/model/MergePersonItem.js +86 -86
  266. package/dist/model/MergePersonsRequest.js +2 -2
  267. package/dist/model/NewDeal.js +25 -25
  268. package/dist/model/NewDealAllOf.js +1 -1
  269. package/dist/model/NewDealProduct.js +16 -16
  270. package/dist/model/NewDealProductAllOf.js +2 -2
  271. package/dist/model/NewFollowerResponseData.js +4 -4
  272. package/dist/model/NewGoal.js +12 -12
  273. package/dist/model/NewOrganization.js +9 -9
  274. package/dist/model/NewOrganizationAllOf.js +1 -1
  275. package/dist/model/NewPerson.js +40 -21
  276. package/dist/model/NewPersonAllOf.js +1 -1
  277. package/dist/model/NewProductField.js +4 -4
  278. package/dist/model/Note.js +19 -19
  279. package/dist/model/NoteConnectToParams.js +2 -2
  280. package/dist/model/NoteCreatorUser.js +5 -5
  281. package/dist/model/NoteField.js +7 -7
  282. package/dist/model/NoteParams.js +7 -7
  283. package/dist/model/OrganizationAddressInfo.js +11 -11
  284. package/dist/model/OrganizationCountAndAddressInfo.js +38 -38
  285. package/dist/model/OrganizationCountInfo.js +8 -8
  286. package/dist/model/OrganizationData.js +5 -5
  287. package/dist/model/OrganizationDataWithId.js +13 -13
  288. package/dist/model/OrganizationDataWithIdAllOf.js +1 -1
  289. package/dist/model/OrganizationDataWithIdAndActiveFlag.js +15 -15
  290. package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +1 -1
  291. package/dist/model/OrganizationDeleteResponseData.js +1 -1
  292. package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +1 -1
  293. package/dist/model/OrganizationFlowResponseAllOfData.js +1 -1
  294. package/dist/model/OrganizationFollowerDeleteResponseData.js +1 -1
  295. package/dist/model/OrganizationFollowerItem.js +2 -2
  296. package/dist/model/OrganizationFollowerItemAllOf.js +1 -1
  297. package/dist/model/OrganizationItem.js +88 -88
  298. package/dist/model/OrganizationRelationship.js +1 -1
  299. package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +1 -1
  300. package/dist/model/OrganizationRelationshipDetails.js +16 -16
  301. package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -14
  302. package/dist/model/OrganizationSearchItemItem.js +5 -5
  303. package/dist/model/OrganizationsDeleteResponseData.js +1 -1
  304. package/dist/model/OrganizationsMergeResponseData.js +1 -1
  305. package/dist/model/Owner.js +12 -12
  306. package/dist/model/Params.js +2 -2
  307. package/dist/model/PaymentItem.js +13 -13
  308. package/dist/model/PermissionSets.js +2 -2
  309. package/dist/model/PermissionSetsAllOf.js +1 -1
  310. package/dist/model/PermissionSetsItem.js +3 -3
  311. package/dist/model/PersonCountAndEmailInfo.js +18 -18
  312. package/dist/model/PersonCountEmailDealAndActivityInfo.js +44 -44
  313. package/dist/model/PersonCountInfo.js +7 -7
  314. package/dist/model/PersonData.js +5 -5
  315. package/dist/model/PersonDataEmail.js +2 -2
  316. package/dist/model/PersonDataPhone.js +2 -2
  317. package/dist/model/PersonDataWithActiveFlag.js +13 -13
  318. package/dist/model/PersonDataWithActiveFlagAllOf.js +1 -1
  319. package/dist/model/PersonFlowResponseAllOfData.js +1 -1
  320. package/dist/model/PersonItem.js +76 -76
  321. package/dist/model/PersonListProduct.js +14 -14
  322. package/dist/model/PersonNameCountAndEmailInfo.js +24 -24
  323. package/dist/model/PersonNameCountAndEmailInfoWithIds.js +30 -30
  324. package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +3 -3
  325. package/dist/model/PersonNameInfo.js +3 -3
  326. package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +6 -6
  327. package/dist/model/PersonSearchItemItem.js +4 -4
  328. package/dist/model/PersonSearchItemItemOrganization.js +2 -2
  329. package/dist/model/PersonSearchItemItemOwner.js +1 -1
  330. package/dist/model/PictureData.js +2 -2
  331. package/dist/model/PictureDataWithID.js +4 -4
  332. package/dist/model/PictureDataWithValue.js +4 -4
  333. package/dist/model/Pipeline.js +4 -4
  334. package/dist/model/PipelineDetails.js +19 -19
  335. package/dist/model/PostDealParticipants.js +1 -1
  336. package/dist/model/PostRoleAssignmentAllOfData.js +2 -2
  337. package/dist/model/PostRoleSettingsAllOfData.js +1 -1
  338. package/dist/model/PostRolesAllOfData.js +1 -1
  339. package/dist/model/ProductAttachementFields.js +12 -12
  340. package/dist/model/ProductAttachmentDetails.js +35 -35
  341. package/dist/model/ProductBaseDeal.js +42 -42
  342. package/dist/model/ProductField.js +36 -36
  343. package/dist/model/ProductFieldAllOf.js +15 -15
  344. package/dist/model/ProductListItem.js +21 -21
  345. package/dist/model/ProductRequest.js +6 -6
  346. package/dist/model/ProductSearchItemItem.js +5 -5
  347. package/dist/model/ProductSearchItemItemOwner.js +1 -1
  348. package/dist/model/ProductWithArrayPrices.js +6 -6
  349. package/dist/model/ProductWithObjectPrices.js +6 -6
  350. package/dist/model/ProductsResponse.js +1 -1
  351. package/dist/model/RecentDataProduct.js +15 -15
  352. package/dist/model/RelatedDealDataDEALID.js +8 -8
  353. package/dist/model/RelatedOrganizationName.js +1 -1
  354. package/dist/model/RelatedPersonData.js +1 -1
  355. package/dist/model/RelationshipOrganizationInfoItem.js +12 -12
  356. package/dist/model/RelationshipOrganizationInfoItemAllOf.js +1 -1
  357. package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +14 -14
  358. package/dist/model/RequredTitleParameter.js +2 -2
  359. package/dist/model/ResponseCallLogObject.js +14 -14
  360. package/dist/model/ResponseCallLogObjectAllOf.js +1 -1
  361. package/dist/model/RoleAssignment.js +11 -11
  362. package/dist/model/RoleAssignmentAllOf.js +3 -3
  363. package/dist/model/RoleSettings.js +10 -10
  364. package/dist/model/RolesAdditionalData.js +1 -1
  365. package/dist/model/RolesAdditionalDataPagination.js +1 -1
  366. package/dist/model/SinglePermissionSetsItem.js +8 -8
  367. package/dist/model/SinglePermissionSetsItemAllOf.js +1 -1
  368. package/dist/model/Stage.js +5 -5
  369. package/dist/model/StageConversions.js +3 -3
  370. package/dist/model/StageDetails.js +21 -21
  371. package/dist/model/StageWithPipelineInfo.js +24 -24
  372. package/dist/model/StageWithPipelineInfoAllOf.js +2 -2
  373. package/dist/model/SubRole.js +10 -10
  374. package/dist/model/SubRoleAllOf.js +3 -3
  375. package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -5
  376. package/dist/model/SubscriptionInstallmentUpdateRequest.js +1 -1
  377. package/dist/model/SubscriptionItem.js +15 -15
  378. package/dist/model/SubscriptionRecurringCancelRequest.js +1 -1
  379. package/dist/model/SubscriptionRecurringCreateRequest.js +14 -14
  380. package/dist/model/SubscriptionRecurringUpdateRequest.js +3 -3
  381. package/dist/model/TeamId.js +1 -1
  382. package/dist/model/UpdateDealRequest.js +22 -22
  383. package/dist/model/UpdateLeadLabelRequest.js +1 -1
  384. package/dist/model/UpdateLeadRequest.js +9 -9
  385. package/dist/model/UpdateStageRequest.js +10 -10
  386. package/dist/model/UpdateTeam.js +14 -14
  387. package/dist/model/UpdateTeamAllOf.js +2 -2
  388. package/dist/model/UpdateTeamWithAdditionalProperties.js +18 -18
  389. package/dist/model/UserAssignmentToPermissionSet.js +4 -4
  390. package/dist/model/UserAssignmentsToPermissionSet.js +2 -2
  391. package/dist/model/UserAssignmentsToPermissionSetAllOf.js +1 -1
  392. package/dist/model/UserData.js +6 -6
  393. package/dist/model/UserDataWithId.js +12 -12
  394. package/dist/model/UserIDs.js +2 -2
  395. package/dist/model/UserIDsAllOf.js +1 -1
  396. package/dist/model/UserPermissionsItem.js +31 -31
  397. package/dist/model/UserSettingsItem.js +5 -5
  398. package/package.json +3 -2
@@ -13,12 +13,14 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
13
13
 
14
14
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
15
15
 
16
- var _BasePersonItemEmail = _interopRequireDefault(require("./BasePersonItemEmail"));
17
-
18
16
  var _BasePersonItemPhone = _interopRequireDefault(require("./BasePersonItemPhone"));
19
17
 
20
18
  var _BasicPerson = _interopRequireDefault(require("./BasicPerson"));
21
19
 
20
+ var _BasicPersonEmail = _interopRequireDefault(require("./BasicPersonEmail"));
21
+
22
+ var _MarketingStatus = _interopRequireDefault(require("./MarketingStatus"));
23
+
22
24
  var _NewPersonAllOf = _interopRequireDefault(require("./NewPersonAllOf"));
23
25
 
24
26
  var _VisibleTo = _interopRequireDefault(require("./VisibleTo"));
@@ -47,7 +49,7 @@ var NewPerson = /*#__PURE__*/function () {
47
49
  * @alias module:model/NewPerson
48
50
  * @implements module:model/BasicPerson
49
51
  * @implements module:model/NewPersonAllOf
50
- * @param name {String} Person name
52
+ * @param name {String} The name of the person
51
53
  */
52
54
  function NewPerson(name) {
53
55
  (0, _classCallCheck2["default"])(this, NewPerson);
@@ -104,7 +106,7 @@ var NewPerson = /*#__PURE__*/function () {
104
106
  }
105
107
 
106
108
  if (data.hasOwnProperty('email')) {
107
- obj['email'] = _ApiClient["default"].convertToType(data['email'], [_BasePersonItemEmail["default"]]);
109
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], [_BasicPersonEmail["default"]]);
108
110
  delete data['email'];
109
111
  }
110
112
 
@@ -118,6 +120,11 @@ var NewPerson = /*#__PURE__*/function () {
118
120
  delete data['visible_to'];
119
121
  }
120
122
 
123
+ if (data.hasOwnProperty('marketing_status')) {
124
+ obj['marketing_status'] = _ApiClient["default"].convertToType(data['marketing_status'], _MarketingStatus["default"]);
125
+ delete data['marketing_status'];
126
+ }
127
+
121
128
  if (data.hasOwnProperty('add_time')) {
122
129
  obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
123
130
  delete data['add_time'];
@@ -134,88 +141,100 @@ var NewPerson = /*#__PURE__*/function () {
134
141
  return NewPerson;
135
142
  }();
136
143
  /**
137
- * Person name
144
+ * The name of the person
138
145
  * @member {String} name
139
146
  */
140
147
 
141
148
 
142
149
  NewPerson.prototype['name'] = undefined;
143
150
  /**
144
- * ID of the user who will be marked as the owner of this person. When omitted, the authorized user ID will be used.
151
+ * The ID of the user who will be marked as the owner of this person. When omitted, the authorized user ID will be used.
145
152
  * @member {Number} owner_id
146
153
  */
147
154
 
148
155
  NewPerson.prototype['owner_id'] = undefined;
149
156
  /**
150
- * ID of the organization this person will belong to.
157
+ * The ID of the organization this person will belong to
151
158
  * @member {Number} org_id
152
159
  */
153
160
 
154
161
  NewPerson.prototype['org_id'] = undefined;
155
162
  /**
156
- * List of email data related to the Person
157
- * @member {Array.<module:model/BasePersonItemEmail>} email
163
+ * List of email data related to the person
164
+ * @member {Array.<module:model/BasicPersonEmail>} email
158
165
  */
159
166
 
160
167
  NewPerson.prototype['email'] = undefined;
161
168
  /**
162
- * List of phone data related to the Person
169
+ * List of phone data related to the person
163
170
  * @member {Array.<module:model/BasePersonItemPhone>} phone
164
171
  */
165
172
 
166
173
  NewPerson.prototype['phone'] = undefined;
167
174
  /**
168
- * Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
175
+ * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
169
176
  * @member {module:model/VisibleTo} visible_to
170
177
  */
171
178
 
172
179
  NewPerson.prototype['visible_to'] = undefined;
173
180
  /**
174
- * Optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
181
+ * If the person does not have a valid email address, then the marketing status is **not set** and `no_consent` is returned for the `marketing_status` value when the new person is created. If the change is forbidden, the status will remain unchanged for every call that tries to modify the marketing status. Please be aware that it is only allowed **once** to change the marketing status from an old status to a new one.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_consent`</td><td>The customer has not given consent to receive any marketing communications</td></tr><tr><td>`unsubscribed`</td><td>The customers have unsubscribed from ALL marketing communications</td></tr><tr><td>`subscribed`</td><td>The customers are subscribed and are counted towards marketing caps</td></tr><tr><td>`archived`</td><td>The customers with `subscribed` status can be moved to `archived` to save consent, but they are not paid for</td></tr></table>
182
+ * @member {module:model/MarketingStatus} marketing_status
183
+ */
184
+
185
+ NewPerson.prototype['marketing_status'] = undefined;
186
+ /**
187
+ * The optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
175
188
  * @member {String} add_time
176
189
  */
177
190
 
178
191
  NewPerson.prototype['add_time'] = undefined; // Implement BasicPerson interface:
179
192
 
180
193
  /**
181
- * Person name
194
+ * The name of the person
182
195
  * @member {String} name
183
196
  */
184
197
 
185
198
  _BasicPerson["default"].prototype['name'] = undefined;
186
199
  /**
187
- * ID of the user who will be marked as the owner of this person. When omitted, the authorized user ID will be used.
200
+ * The ID of the user who will be marked as the owner of this person. When omitted, the authorized user ID will be used.
188
201
  * @member {Number} owner_id
189
202
  */
190
203
 
191
204
  _BasicPerson["default"].prototype['owner_id'] = undefined;
192
205
  /**
193
- * ID of the organization this person will belong to.
206
+ * The ID of the organization this person will belong to
194
207
  * @member {Number} org_id
195
208
  */
196
209
 
197
210
  _BasicPerson["default"].prototype['org_id'] = undefined;
198
211
  /**
199
- * List of email data related to the Person
200
- * @member {Array.<module:model/BasePersonItemEmail>} email
212
+ * List of email data related to the person
213
+ * @member {Array.<module:model/BasicPersonEmail>} email
201
214
  */
202
215
 
203
216
  _BasicPerson["default"].prototype['email'] = undefined;
204
217
  /**
205
- * List of phone data related to the Person
218
+ * List of phone data related to the person
206
219
  * @member {Array.<module:model/BasePersonItemPhone>} phone
207
220
  */
208
221
 
209
222
  _BasicPerson["default"].prototype['phone'] = undefined;
210
223
  /**
211
- * Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
224
+ * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
212
225
  * @member {module:model/VisibleTo} visible_to
213
226
  */
214
227
 
215
- _BasicPerson["default"].prototype['visible_to'] = undefined; // Implement NewPersonAllOf interface:
228
+ _BasicPerson["default"].prototype['visible_to'] = undefined;
229
+ /**
230
+ * If the person does not have a valid email address, then the marketing status is **not set** and `no_consent` is returned for the `marketing_status` value when the new person is created. If the change is forbidden, the status will remain unchanged for every call that tries to modify the marketing status. Please be aware that it is only allowed **once** to change the marketing status from an old status to a new one.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_consent`</td><td>The customer has not given consent to receive any marketing communications</td></tr><tr><td>`unsubscribed`</td><td>The customers have unsubscribed from ALL marketing communications</td></tr><tr><td>`subscribed`</td><td>The customers are subscribed and are counted towards marketing caps</td></tr><tr><td>`archived`</td><td>The customers with `subscribed` status can be moved to `archived` to save consent, but they are not paid for</td></tr></table>
231
+ * @member {module:model/MarketingStatus} marketing_status
232
+ */
233
+
234
+ _BasicPerson["default"].prototype['marketing_status'] = undefined; // Implement NewPersonAllOf interface:
216
235
 
217
236
  /**
218
- * Optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
237
+ * The optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
219
238
  * @member {String} add_time
220
239
  */
221
240
 
@@ -80,7 +80,7 @@ var NewPersonAllOf = /*#__PURE__*/function () {
80
80
  return NewPersonAllOf;
81
81
  }();
82
82
  /**
83
- * Optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
83
+ * The optional creation date & time of the person in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
84
84
  * @member {String} add_time
85
85
  */
86
86
 
@@ -35,8 +35,8 @@ var NewProductField = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>NewProductField</code>.
37
37
  * @alias module:model/NewProductField
38
- * @param name {String} Name of the field
39
- * @param fieldType {module:model/NewProductField.FieldTypeEnum} Type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
38
+ * @param name {String} The name of the field
39
+ * @param fieldType {module:model/NewProductField.FieldTypeEnum} The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
40
40
  */
41
41
  function NewProductField(name, fieldType) {
42
42
  (0, _classCallCheck2["default"])(this, NewProductField);
@@ -95,7 +95,7 @@ var NewProductField = /*#__PURE__*/function () {
95
95
  return NewProductField;
96
96
  }();
97
97
  /**
98
- * Name of the field
98
+ * The name of the field
99
99
  * @member {String} name
100
100
  */
101
101
 
@@ -108,7 +108,7 @@ NewProductField.prototype['name'] = undefined;
108
108
 
109
109
  NewProductField.prototype['options'] = undefined;
110
110
  /**
111
- * Type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
111
+ * The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
112
112
  * @member {module:model/NewProductField.FieldTypeEnum} field_type
113
113
  */
114
114
 
@@ -43,7 +43,7 @@ var Note = /*#__PURE__*/function () {
43
43
  * @alias module:model/Note
44
44
  * @implements module:model/NoteConnectToParams
45
45
  * @implements module:model/NoteParams
46
- * @param content {String} Content of the note in HTML format. Subject to sanitization on the back-end.
46
+ * @param content {String} The content of the note in HTML format. Subject to sanitization on the back-end.
47
47
  */
48
48
  function Note(content) {
49
49
  (0, _classCallCheck2["default"])(this, Note);
@@ -163,55 +163,55 @@ Note.prototype['lead_id'] = undefined;
163
163
 
164
164
  Note.prototype['deal_id'] = undefined;
165
165
  /**
166
- * The ID of the person this note will be attached to
166
+ * The ID of the person the note will be attached to
167
167
  * @member {Number} person_id
168
168
  */
169
169
 
170
170
  Note.prototype['person_id'] = undefined;
171
171
  /**
172
- * The ID of the organization this note will be attached to
172
+ * The ID of the organization the note will be attached to
173
173
  * @member {Number} org_id
174
174
  */
175
175
 
176
176
  Note.prototype['org_id'] = undefined;
177
177
  /**
178
- * Content of the note in HTML format. Subject to sanitization on the back-end.
178
+ * The content of the note in HTML format. Subject to sanitization on the back-end.
179
179
  * @member {String} content
180
180
  */
181
181
 
182
182
  Note.prototype['content'] = undefined;
183
183
  /**
184
- * ID of the user who will be marked as the author of this note. Only an admin can change the author.
184
+ * The ID of the user who will be marked as the author of the note. Only an admin can change the author.
185
185
  * @member {Number} user_id
186
186
  */
187
187
 
188
188
  Note.prototype['user_id'] = undefined;
189
189
  /**
190
- * Optional creation date & time of the Note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
190
+ * The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
191
191
  * @member {String} add_time
192
192
  */
193
193
 
194
194
  Note.prototype['add_time'] = undefined;
195
195
  /**
196
- * If set, then results are filtered by note to lead pinning state (`lead_id` is also required)
196
+ * If set, the results are filtered by note to lead pinning state (`lead_id` is also required)
197
197
  * @member {module:model/NumberBoolean} pinned_to_lead_flag
198
198
  */
199
199
 
200
200
  Note.prototype['pinned_to_lead_flag'] = undefined;
201
201
  /**
202
- * If set, then results are filtered by note to deal pinning state (`deal_id` is also required).
202
+ * If set, the results are filtered by note to deal pinning state (`deal_id` is also required)
203
203
  * @member {module:model/NumberBoolean} pinned_to_deal_flag
204
204
  */
205
205
 
206
206
  Note.prototype['pinned_to_deal_flag'] = undefined;
207
207
  /**
208
- * If set, then results are filtered by note to organization pinning state (`org_id` is also required).
208
+ * If set, the results are filtered by note to organization pinning state (`org_id` is also required)
209
209
  * @member {module:model/NumberBoolean} pinned_to_organization_flag
210
210
  */
211
211
 
212
212
  Note.prototype['pinned_to_organization_flag'] = undefined;
213
213
  /**
214
- * If set, then results are filtered by note to person pinning state (`person_id` is also required).
214
+ * If set, the results are filtered by note to person pinning state (`person_id` is also required)
215
215
  * @member {module:model/NumberBoolean} pinned_to_person_flag
216
216
  */
217
217
 
@@ -230,56 +230,56 @@ _NoteConnectToParams["default"].prototype['lead_id'] = undefined;
230
230
 
231
231
  _NoteConnectToParams["default"].prototype['deal_id'] = undefined;
232
232
  /**
233
- * The ID of the person this note will be attached to
233
+ * The ID of the person the note will be attached to
234
234
  * @member {Number} person_id
235
235
  */
236
236
 
237
237
  _NoteConnectToParams["default"].prototype['person_id'] = undefined;
238
238
  /**
239
- * The ID of the organization this note will be attached to
239
+ * The ID of the organization the note will be attached to
240
240
  * @member {Number} org_id
241
241
  */
242
242
 
243
243
  _NoteConnectToParams["default"].prototype['org_id'] = undefined; // Implement NoteParams interface:
244
244
 
245
245
  /**
246
- * Content of the note in HTML format. Subject to sanitization on the back-end.
246
+ * The content of the note in HTML format. Subject to sanitization on the back-end.
247
247
  * @member {String} content
248
248
  */
249
249
 
250
250
  _NoteParams["default"].prototype['content'] = undefined;
251
251
  /**
252
- * ID of the user who will be marked as the author of this note. Only an admin can change the author.
252
+ * The ID of the user who will be marked as the author of the note. Only an admin can change the author.
253
253
  * @member {Number} user_id
254
254
  */
255
255
 
256
256
  _NoteParams["default"].prototype['user_id'] = undefined;
257
257
  /**
258
- * Optional creation date & time of the Note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
258
+ * The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
259
259
  * @member {String} add_time
260
260
  */
261
261
 
262
262
  _NoteParams["default"].prototype['add_time'] = undefined;
263
263
  /**
264
- * If set, then results are filtered by note to lead pinning state (`lead_id` is also required)
264
+ * If set, the results are filtered by note to lead pinning state (`lead_id` is also required)
265
265
  * @member {module:model/NumberBoolean} pinned_to_lead_flag
266
266
  */
267
267
 
268
268
  _NoteParams["default"].prototype['pinned_to_lead_flag'] = undefined;
269
269
  /**
270
- * If set, then results are filtered by note to deal pinning state (`deal_id` is also required).
270
+ * If set, the results are filtered by note to deal pinning state (`deal_id` is also required)
271
271
  * @member {module:model/NumberBoolean} pinned_to_deal_flag
272
272
  */
273
273
 
274
274
  _NoteParams["default"].prototype['pinned_to_deal_flag'] = undefined;
275
275
  /**
276
- * If set, then results are filtered by note to organization pinning state (`org_id` is also required).
276
+ * If set, the results are filtered by note to organization pinning state (`org_id` is also required)
277
277
  * @member {module:model/NumberBoolean} pinned_to_organization_flag
278
278
  */
279
279
 
280
280
  _NoteParams["default"].prototype['pinned_to_organization_flag'] = undefined;
281
281
  /**
282
- * If set, then results are filtered by note to person pinning state (`person_id` is also required).
282
+ * If set, the results are filtered by note to person pinning state (`person_id` is also required)
283
283
  * @member {module:model/NumberBoolean} pinned_to_person_flag
284
284
  */
285
285
 
@@ -108,13 +108,13 @@ NoteConnectToParams.prototype['lead_id'] = undefined;
108
108
 
109
109
  NoteConnectToParams.prototype['deal_id'] = undefined;
110
110
  /**
111
- * The ID of the person this note will be attached to
111
+ * The ID of the person the note will be attached to
112
112
  * @member {Number} person_id
113
113
  */
114
114
 
115
115
  NoteConnectToParams.prototype['person_id'] = undefined;
116
116
  /**
117
- * The ID of the organization this note will be attached to
117
+ * The ID of the organization the note will be attached to
118
118
  * @member {Number} org_id
119
119
  */
120
120
 
@@ -34,7 +34,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
34
34
  var NoteCreatorUser = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>NoteCreatorUser</code>.
37
- * The User who created the Note
37
+ * The user who created the note
38
38
  * @alias module:model/NoteCreatorUser
39
39
  */
40
40
  function NoteCreatorUser() {
@@ -96,26 +96,26 @@ var NoteCreatorUser = /*#__PURE__*/function () {
96
96
  return NoteCreatorUser;
97
97
  }();
98
98
  /**
99
- * The Email of the Note creator
99
+ * The email of the note creator
100
100
  * @member {String} email
101
101
  */
102
102
 
103
103
 
104
104
  NoteCreatorUser.prototype['email'] = undefined;
105
105
  /**
106
- * The URL of the Note creator avatar picture
106
+ * The URL of the note creator avatar picture
107
107
  * @member {String} icon_url
108
108
  */
109
109
 
110
110
  NoteCreatorUser.prototype['icon_url'] = undefined;
111
111
  /**
112
- * If the Note is created by you or not
112
+ * Whether the note is created by you or not
113
113
  * @member {Boolean} is_you
114
114
  */
115
115
 
116
116
  NoteCreatorUser.prototype['is_you'] = undefined;
117
117
  /**
118
- * The name of the Note creator
118
+ * The name of the note creator
119
119
  * @member {String} name
120
120
  */
121
121
 
@@ -122,20 +122,20 @@ var NoteField = /*#__PURE__*/function () {
122
122
  return NoteField;
123
123
  }();
124
124
  /**
125
- * The ID of the Field
125
+ * The ID of the field
126
126
  * @member {Number} id
127
127
  */
128
128
 
129
129
 
130
130
  NoteField.prototype['id'] = undefined;
131
131
  /**
132
- * The key of the Field
132
+ * The key of the field
133
133
  * @member {String} key
134
134
  */
135
135
 
136
136
  NoteField.prototype['key'] = undefined;
137
137
  /**
138
- * The name of the Field
138
+ * The name of the field
139
139
  * @member {String} name
140
140
  */
141
141
 
@@ -146,13 +146,13 @@ NoteField.prototype['name'] = undefined;
146
146
 
147
147
  NoteField.prototype['field_type'] = undefined;
148
148
  /**
149
- * The active flag of the Field
149
+ * The active flag of the field
150
150
  * @member {Boolean} active_flag
151
151
  */
152
152
 
153
153
  NoteField.prototype['active_flag'] = undefined;
154
154
  /**
155
- * The edit flag of the Field
155
+ * The edit flag of the field
156
156
  * @member {Boolean} edit_flag
157
157
  */
158
158
 
@@ -164,13 +164,13 @@ NoteField.prototype['edit_flag'] = undefined;
164
164
 
165
165
  NoteField.prototype['bulk_edit_allowed'] = undefined;
166
166
  /**
167
- * Whether or not the Field is mandatory
167
+ * Whether or not the field is mandatory
168
168
  * @member {Boolean} mandatory_flag
169
169
  */
170
170
 
171
171
  NoteField.prototype['mandatory_flag'] = undefined;
172
172
  /**
173
- * The options of the Field. When there are no options, `null` is returned.
173
+ * The options of the field. When there are no options, `null` is returned.
174
174
  * @member {Array.<Object>} options
175
175
  */
176
176
 
@@ -112,44 +112,44 @@ var NoteParams = /*#__PURE__*/function () {
112
112
  return NoteParams;
113
113
  }();
114
114
  /**
115
- * Content of the note in HTML format. Subject to sanitization on the back-end.
115
+ * The content of the note in HTML format. Subject to sanitization on the back-end.
116
116
  * @member {String} content
117
117
  */
118
118
 
119
119
 
120
120
  NoteParams.prototype['content'] = undefined;
121
121
  /**
122
- * ID of the user who will be marked as the author of this note. Only an admin can change the author.
122
+ * The ID of the user who will be marked as the author of the note. Only an admin can change the author.
123
123
  * @member {Number} user_id
124
124
  */
125
125
 
126
126
  NoteParams.prototype['user_id'] = undefined;
127
127
  /**
128
- * Optional creation date & time of the Note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
128
+ * The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
129
129
  * @member {String} add_time
130
130
  */
131
131
 
132
132
  NoteParams.prototype['add_time'] = undefined;
133
133
  /**
134
- * If set, then results are filtered by note to lead pinning state (`lead_id` is also required)
134
+ * If set, the results are filtered by note to lead pinning state (`lead_id` is also required)
135
135
  * @member {module:model/NumberBoolean} pinned_to_lead_flag
136
136
  */
137
137
 
138
138
  NoteParams.prototype['pinned_to_lead_flag'] = undefined;
139
139
  /**
140
- * If set, then results are filtered by note to deal pinning state (`deal_id` is also required).
140
+ * If set, the results are filtered by note to deal pinning state (`deal_id` is also required)
141
141
  * @member {module:model/NumberBoolean} pinned_to_deal_flag
142
142
  */
143
143
 
144
144
  NoteParams.prototype['pinned_to_deal_flag'] = undefined;
145
145
  /**
146
- * If set, then results are filtered by note to organization pinning state (`org_id` is also required).
146
+ * If set, the results are filtered by note to organization pinning state (`org_id` is also required)
147
147
  * @member {module:model/NumberBoolean} pinned_to_organization_flag
148
148
  */
149
149
 
150
150
  NoteParams.prototype['pinned_to_organization_flag'] = undefined;
151
151
  /**
152
- * If set, then results are filtered by note to person pinning state (`person_id` is also required).
152
+ * If set, the results are filtered by note to person pinning state (`person_id` is also required)
153
153
  * @member {module:model/NumberBoolean} pinned_to_person_flag
154
154
  */
155
155
 
@@ -130,68 +130,68 @@ var OrganizationAddressInfo = /*#__PURE__*/function () {
130
130
  return OrganizationAddressInfo;
131
131
  }();
132
132
  /**
133
- * The full address of the Organization
133
+ * The full address of the organization
134
134
  * @member {String} address
135
135
  */
136
136
 
137
137
 
138
138
  OrganizationAddressInfo.prototype['address'] = undefined;
139
139
  /**
140
- * The sub-premise of the Organization location
140
+ * The sub-premise of the organization location
141
141
  * @member {String} address_subpremise
142
142
  */
143
143
 
144
144
  OrganizationAddressInfo.prototype['address_subpremise'] = undefined;
145
145
  /**
146
- * The street number of the Organization location
146
+ * The street number of the organization location
147
147
  * @member {String} address_street_number
148
148
  */
149
149
 
150
150
  OrganizationAddressInfo.prototype['address_street_number'] = undefined;
151
151
  /**
152
- * The route of the Organization location
152
+ * The route of the organization location
153
153
  * @member {String} address_route
154
154
  */
155
155
 
156
156
  OrganizationAddressInfo.prototype['address_route'] = undefined;
157
157
  /**
158
- * The sub-locality of the Organization location
158
+ * The sub-locality of the organization location
159
159
  * @member {String} address_sublocality
160
160
  */
161
161
 
162
162
  OrganizationAddressInfo.prototype['address_sublocality'] = undefined;
163
163
  /**
164
- * The locality of the Organization location
164
+ * The locality of the organization location
165
165
  * @member {String} address_locality
166
166
  */
167
167
 
168
168
  OrganizationAddressInfo.prototype['address_locality'] = undefined;
169
169
  /**
170
- * The level 1 admin area of the Organization location
170
+ * The level 1 admin area of the organization location
171
171
  * @member {String} address_admin_area_level_1
172
172
  */
173
173
 
174
174
  OrganizationAddressInfo.prototype['address_admin_area_level_1'] = undefined;
175
175
  /**
176
- * The level 2 admin area of the Organization location
176
+ * The level 2 admin area of the organization location
177
177
  * @member {String} address_admin_area_level_2
178
178
  */
179
179
 
180
180
  OrganizationAddressInfo.prototype['address_admin_area_level_2'] = undefined;
181
181
  /**
182
- * The country of the Organization location
182
+ * The country of the organization location
183
183
  * @member {String} address_country
184
184
  */
185
185
 
186
186
  OrganizationAddressInfo.prototype['address_country'] = undefined;
187
187
  /**
188
- * The postal code of the Organization location
188
+ * The postal code of the organization location
189
189
  * @member {String} address_postal_code
190
190
  */
191
191
 
192
192
  OrganizationAddressInfo.prototype['address_postal_code'] = undefined;
193
193
  /**
194
- * The formatted Organization location
194
+ * The formatted organization location
195
195
  * @member {String} address_formatted_address
196
196
  */
197
197