pipedrive 13.0.8 → 13.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +18 -16
- package/dist/api/ActivitiesApi.js +44 -44
- package/dist/api/ActivityTypesApi.js +4 -4
- package/dist/api/CallLogsApi.js +6 -6
- package/dist/api/CurrenciesApi.js +2 -2
- package/dist/api/DealFieldsApi.js +10 -10
- package/dist/api/DealsApi.js +100 -100
- package/dist/api/FilesApi.js +34 -34
- package/dist/api/FiltersApi.js +2 -2
- package/dist/api/GlobalMessagesApi.js +8 -8
- package/dist/api/GoalsApi.js +54 -54
- package/dist/api/ItemSearchApi.js +4 -4
- package/dist/api/LeadLabelsApi.js +12 -12
- package/dist/api/LeadSourcesApi.js +2 -2
- package/dist/api/LeadsApi.js +18 -18
- package/dist/api/MailboxApi.js +26 -26
- package/dist/api/NoteFieldsApi.js +2 -2
- package/dist/api/NotesApi.js +42 -42
- package/dist/api/OrganizationFieldsApi.js +10 -10
- package/dist/api/OrganizationRelationshipsApi.js +12 -12
- package/dist/api/OrganizationsApi.js +50 -50
- package/dist/api/PermissionSetsApi.js +12 -12
- package/dist/api/PersonFieldsApi.js +10 -10
- package/dist/api/PersonsApi.js +74 -74
- package/dist/api/PipelinesApi.js +50 -50
- package/dist/api/ProductFieldsApi.js +10 -10
- package/dist/api/ProductsApi.js +44 -44
- package/dist/api/RecentsApi.js +6 -6
- package/dist/api/RolesApi.js +38 -38
- package/dist/api/StagesApi.js +14 -14
- package/dist/api/SubscriptionsApi.js +34 -34
- package/dist/api/TeamsApi.js +32 -32
- package/dist/api/UserConnectionsApi.js +2 -2
- package/dist/api/UserSettingsApi.js +2 -2
- package/dist/api/UsersApi.js +44 -44
- package/dist/api/WebhooksApi.js +14 -14
- package/dist/index.js +16 -0
- package/dist/model/ActivityDistributionDataActivityDistribution.js +1 -1
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.js +4 -4
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js +2 -2
- package/dist/model/ActivityInfo.js +5 -5
- package/dist/model/ActivityObjectFragment.js +9 -9
- package/dist/model/ActivityPostObject.js +32 -32
- package/dist/model/ActivityPostObjectAllOf.js +7 -7
- package/dist/model/ActivityPutObject.js +32 -32
- package/dist/model/ActivityPutObjectAllOf.js +7 -7
- package/dist/model/ActivityResponseObject.js +96 -96
- package/dist/model/ActivityResponseObjectAllOf.js +39 -39
- package/dist/model/ActivityTypeBulkDeleteResponseAllOfData.js +1 -1
- package/dist/model/AddDealFollowerRequest.js +2 -2
- package/dist/model/AddDealParticipantRequest.js +2 -2
- package/dist/model/AddFollowerToPersonResponseAllOfData.js +4 -4
- package/dist/model/AddLeadLabelRequest.js +2 -2
- package/dist/model/AddLeadRequest.js +9 -9
- package/dist/model/AddNoteRequest.js +22 -22
- package/dist/model/AddNoteRequestAllOf.js +4 -4
- package/dist/model/AddOrganizationRelationshipRequest.js +6 -39
- package/dist/model/AddPersonFollowerRequest.js +2 -2
- package/dist/model/AddProductAttachmentDetails.js +51 -51
- package/dist/model/AddProductAttachmentDetailsAllOf.js +1 -1
- package/dist/model/AddProductFollowerRequest.js +2 -2
- package/dist/model/AddProductRequestBody.js +12 -12
- package/dist/model/AddTeamUserRequest.js +2 -2
- package/dist/model/AddWebhookRequest.js +7 -7
- package/dist/model/AddedDealFollowerData.js +4 -4
- package/dist/model/AdditionalBaseOrganizationItemInfo.js +64 -64
- package/dist/model/AdditionalDataWithPagination.js +1 -1
- package/dist/model/AdditionalMergePersonInfo.js +60 -60
- package/dist/model/AdditionalPersonInfo.js +50 -50
- package/dist/model/AllOrganizationRelationshipsGetResponse.js +2 -2
- package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +1 -1
- package/dist/model/AllOrganizationsGetResponse.js +2 -2
- package/dist/model/AllOrganizationsGetResponseAllOf.js +1 -1
- package/dist/model/Assignee.js +3 -3
- package/dist/model/BaseComment.js +7 -7
- package/dist/model/BaseCurrency.js +7 -7
- package/dist/model/BaseDeal.js +51 -51
- package/dist/model/BaseNote.js +14 -14
- package/dist/model/BaseNoteDealTitle.js +2 -2
- package/dist/model/BaseNoteOrganization.js +2 -2
- package/dist/model/BaseNotePerson.js +2 -2
- package/dist/model/BaseOrganizationItem.js +86 -86
- package/dist/model/BaseOrganizationItemFields.js +11 -11
- package/dist/model/BaseOrganizationItemWithEditNameFlag.js +88 -88
- package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +1 -1
- package/dist/model/BaseOrganizationRelationshipItem.js +5 -5
- package/dist/model/BasePersonItem.js +13 -13
- package/dist/model/BasePersonItemEmail.js +2 -2
- package/dist/model/BasePersonItemPhone.js +3 -3
- package/dist/model/BasePipeline.js +8 -8
- package/dist/model/BasePipelineWithSelectedFlag.js +18 -18
- package/dist/model/BasePipelineWithSelectedFlagAllOf.js +1 -1
- package/dist/model/BaseProduct.js +3 -3
- package/dist/model/BaseRole.js +3 -3
- package/dist/model/BaseStage.js +10 -10
- package/dist/model/BaseTeam.js +20 -20
- package/dist/model/BaseTeamAdditionalProperties.js +2 -2
- package/dist/model/BaseUser.js +19 -19
- package/dist/model/BaseUserMe.js +48 -48
- package/dist/model/BaseUserMeAllOf.js +5 -5
- package/dist/model/BaseUserMeAllOfLanguage.js +1 -1
- package/dist/model/BaseWebhook.js +3 -3
- package/dist/model/BasicDeal.js +10 -10
- package/dist/model/BasicDealProduct.js +17 -5
- package/dist/model/BasicGoal.js +6 -6
- package/dist/model/BasicOrganization.js +3 -3
- package/dist/model/BasicPerson.js +10 -10
- package/dist/model/BasicPersonEmail.js +112 -0
- package/dist/model/BasicProductField.js +3 -3
- package/dist/model/BulkDeleteResponseAllOfData.js +1 -1
- package/dist/model/CalculatedFields.js +2 -2
- package/dist/model/CallLogObject.js +6 -6
- package/dist/model/CommentPostPutObject.js +2 -2
- package/dist/model/CreateTeam.js +6 -6
- package/dist/model/Currencies.js +1 -1
- package/dist/model/DealCountAndActivityInfo.js +26 -26
- package/dist/model/DealFlowResponseAllOfData.js +1 -1
- package/dist/model/DealListActivitiesResponse.js +2 -2
- package/dist/model/DealListActivitiesResponseAllOf.js +1 -1
- package/dist/model/DealNonStrict.js +104 -104
- package/dist/model/DealNonStrictModeFields.js +1 -1
- package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +6 -6
- package/dist/model/DealNonStrictWithDetails.js +110 -110
- package/dist/model/DealNonStrictWithDetailsAllOf.js +3 -3
- package/dist/model/DealNonStrictWithDetailsAllOfAge.js +1 -1
- package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +1 -1
- package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -3
- package/dist/model/DealOrganizationData.js +7 -7
- package/dist/model/DealOrganizationDataWithId.js +14 -14
- package/dist/model/DealOrganizationDataWithIdAllOf.js +1 -1
- package/dist/model/DealParticipantCountInfo.js +2 -2
- package/dist/model/DealParticipants.js +1 -1
- package/dist/model/DealPersonData.js +10 -10
- package/dist/model/DealPersonDataEmail.js +112 -0
- package/dist/model/DealPersonDataPhone.js +1 -1
- package/dist/model/DealPersonDataWithId.js +17 -17
- package/dist/model/DealPersonDataWithIdAllOf.js +1 -1
- package/dist/model/DealSearchItemItem.js +8 -8
- package/dist/model/DealSearchItemItemOrganization.js +2 -2
- package/dist/model/DealSearchItemItemOwner.js +1 -1
- package/dist/model/DealSearchItemItemPerson.js +2 -2
- package/dist/model/DealSearchItemItemStage.js +2 -2
- package/dist/model/DealSearchResponseAllOfData.js +1 -1
- package/dist/model/DealStrict.js +112 -112
- package/dist/model/DealStrictModeFields.js +5 -5
- package/dist/model/DealStrictWithMergeId.js +114 -114
- package/dist/model/DealStrictWithMergeIdAllOf.js +1 -1
- package/dist/model/DealSummaryPerStages.js +1 -1
- package/dist/model/DealTitleParameter.js +1 -1
- package/dist/model/DealUserData.js +7 -7
- package/dist/model/DealUserDataWithId.js +14 -14
- package/dist/model/DealUserDataWithIdAllOf.js +1 -1
- package/dist/model/DealsCountAndActivityInfo.js +26 -26
- package/dist/model/DealsCountInfo.js +8 -8
- package/dist/model/DealsMovementsInfo.js +2 -2
- package/dist/model/DealsMovementsInfoFormattedValues.js +2 -2
- package/dist/model/DealsMovementsInfoValues.js +2 -2
- package/dist/model/DeleteActivitiesResponse200Data.js +1 -1
- package/dist/model/DeleteActivityResponse200Data.js +1 -1
- package/dist/model/DeleteDealData.js +1 -1
- package/dist/model/DeleteDealFollowerData.js +1 -1
- package/dist/model/DeleteDealParticipantData.js +1 -1
- package/dist/model/DeleteDealProductData.js +2 -2
- package/dist/model/DeleteFileData.js +1 -1
- package/dist/model/DeleteMultipleDealsData.js +1 -1
- package/dist/model/DeleteMultipleProductFieldsResponseData.js +1 -1
- package/dist/model/DeletePersonResponseAllOfData.js +1 -1
- package/dist/model/DeletePersonsInBulkResponseAllOfData.js +1 -1
- package/dist/model/DeleteProductFieldResponseData.js +1 -1
- package/dist/model/DeleteProductFollowerResponseData.js +1 -1
- package/dist/model/DeleteProductResponseData.js +1 -1
- package/dist/model/DeleteResponseAllOfData.js +1 -1
- package/dist/model/DeleteRoleAllOfData.js +1 -1
- package/dist/model/DeleteRoleAssignmentAllOfData.js +1 -1
- package/dist/model/DeleteStageResponse200Data.js +1 -1
- package/dist/model/DeleteStagesResponse200Data.js +1 -1
- package/dist/model/DeleteTeamUserRequest.js +2 -2
- package/dist/model/Duration.js +3 -3
- package/dist/model/EditPipeline.js +2 -2
- package/dist/model/EditPipelineAllOf.js +1 -1
- package/dist/model/EmailInfo.js +2 -2
- package/dist/model/ExpectedOutcome.js +3 -3
- package/dist/model/Field.js +18 -18
- package/dist/model/FieldCreateRequest.js +5 -5
- package/dist/model/FieldCreateRequestAllOf.js +3 -3
- package/dist/model/FieldUpdateRequest.js +1 -1
- package/dist/model/FileData.js +24 -24
- package/dist/model/FileItem.js +24 -24
- package/dist/model/FiltersPostResponseAllOfData.js +1 -1
- package/dist/model/FullRole.js +12 -12
- package/dist/model/FullRoleAllOf.js +1 -1
- package/dist/model/GetAddProductAttachementDetails.js +1 -1
- package/dist/model/GetAddedDeal.js +1 -1
- package/dist/model/GetAddedDealAdditionalData.js +1 -1
- package/dist/model/GetAllPersonsResponse.js +2 -2
- package/dist/model/GetAllPersonsResponseAllOf.js +1 -1
- package/dist/model/GetAllProductFieldsResponse.js +2 -2
- package/dist/model/GetComments.js +1 -1
- package/dist/model/GetDealAdditionalData.js +1 -1
- package/dist/model/GetDeals.js +1 -1
- package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -4
- package/dist/model/GetDealsMovementsInPipelineAllOfData.js +1 -1
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -3
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -3
- package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -2
- package/dist/model/GetDealsSummaryData.js +6 -6
- package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -6
- package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -4
- package/dist/model/GetDealsTimelineData.js +1 -1
- package/dist/model/GetDealsTimelineDataTotals.js +9 -9
- package/dist/model/GetDuplicatedDeal.js +1 -1
- package/dist/model/GetLeadSourcesResponse200Data.js +1 -1
- package/dist/model/GetNotes.js +1 -1
- package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +1 -1
- package/dist/model/GetProductAttachementDetails.js +1 -1
- package/dist/model/GetProductFieldResponse.js +1 -1
- package/dist/model/GetRecentsAdditionalData.js +2 -2
- package/dist/model/GetRoleAllOfAdditionalData.js +1 -1
- package/dist/model/GetRoleAssignments.js +2 -2
- package/dist/model/GetRoleAssignmentsAllOf.js +1 -1
- package/dist/model/GetRoles.js +2 -2
- package/dist/model/GetRolesAllOf.js +1 -1
- package/dist/model/GetStageDeals.js +1 -1
- package/dist/model/GetStages.js +1 -1
- package/dist/model/GlobalMessageData.js +6 -6
- package/dist/model/GlobalMessageGet.js +2 -2
- package/dist/model/GlobalMessageGetAllOf.js +1 -1
- package/dist/model/GlobalMessageUserData.js +3 -3
- package/dist/model/GoalResults.js +1 -1
- package/dist/model/GoalType.js +2 -2
- package/dist/model/GoalsResponseComponent.js +4 -4
- package/dist/model/LeadLabelResponse.js +4 -4
- package/dist/model/LeadResponse.js +16 -16
- package/dist/model/LeadValue.js +1 -1
- package/dist/model/ListActivitiesResponse.js +2 -2
- package/dist/model/ListActivitiesResponseAllOf.js +1 -1
- package/dist/model/ListDealsResponse.js +2 -2
- package/dist/model/ListDealsResponseAllOf.js +1 -1
- package/dist/model/ListFilesResponse.js +2 -2
- package/dist/model/ListFilesResponseAllOf.js +1 -1
- package/dist/model/ListFollowersResponse.js +2 -2
- package/dist/model/ListFollowersResponseAllOf.js +1 -1
- package/dist/model/ListFollowersResponseAllOfData.js +4 -4
- package/dist/model/ListMailMessagesResponse.js +2 -2
- package/dist/model/ListMailMessagesResponseAllOf.js +1 -1
- package/dist/model/ListPermittedUsersResponse1.js +2 -2
- package/dist/model/ListPermittedUsersResponse1AllOf.js +1 -1
- package/dist/model/ListPermittedUsersResponseAllOfData.js +1 -1
- package/dist/model/ListPersonProductsResponse.js +2 -2
- package/dist/model/ListPersonProductsResponseAllOf.js +1 -1
- package/dist/model/ListPersonsResponse.js +2 -2
- package/dist/model/ListPersonsResponseAllOf.js +1 -1
- package/dist/model/ListProductAdditionalData.js +10 -10
- package/dist/model/ListProductAdditionalDataAllOf.js +5 -5
- package/dist/model/ListProductFollowersResponse.js +2 -2
- package/dist/model/ListProductFollowersResponseAllOf.js +1 -1
- package/dist/model/ListProductFollowersResponseAllOfData.js +4 -4
- package/dist/model/ListProductsResponseAllOfData.js +1 -1
- package/dist/model/MergeDealsRequest.js +2 -2
- package/dist/model/MergeOrganizationsRequest.js +2 -2
- package/dist/model/MergePersonDealRelatedInfo.js +30 -30
- package/dist/model/MergePersonItem.js +86 -86
- package/dist/model/MergePersonsRequest.js +2 -2
- package/dist/model/NewDeal.js +25 -25
- package/dist/model/NewDealAllOf.js +1 -1
- package/dist/model/NewDealProduct.js +33 -14
- package/dist/model/NewDealProductAllOf.js +2 -2
- package/dist/model/NewFollowerResponseData.js +4 -4
- package/dist/model/NewGoal.js +12 -12
- package/dist/model/NewOrganization.js +9 -9
- package/dist/model/NewOrganizationAllOf.js +1 -1
- package/dist/model/NewPerson.js +20 -20
- package/dist/model/NewPersonAllOf.js +1 -1
- package/dist/model/NewProductField.js +4 -4
- package/dist/model/Note.js +19 -19
- package/dist/model/NoteConnectToParams.js +2 -2
- package/dist/model/NoteCreatorUser.js +5 -5
- package/dist/model/NoteField.js +7 -7
- package/dist/model/NoteParams.js +7 -7
- package/dist/model/OrganizationAddressInfo.js +11 -11
- package/dist/model/OrganizationCountAndAddressInfo.js +38 -38
- package/dist/model/OrganizationCountInfo.js +8 -8
- package/dist/model/OrganizationData.js +5 -5
- package/dist/model/OrganizationDataWithId.js +13 -13
- package/dist/model/OrganizationDataWithIdAllOf.js +1 -1
- package/dist/model/OrganizationDataWithIdAndActiveFlag.js +15 -15
- package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +1 -1
- package/dist/model/OrganizationDeleteResponseData.js +1 -1
- package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +1 -1
- package/dist/model/OrganizationFlowResponseAllOfData.js +1 -1
- package/dist/model/OrganizationFollowerDeleteResponseData.js +1 -1
- package/dist/model/OrganizationFollowerItem.js +2 -2
- package/dist/model/OrganizationFollowerItemAllOf.js +1 -1
- package/dist/model/OrganizationItem.js +88 -88
- package/dist/model/OrganizationRelationship.js +1 -1
- package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +1 -1
- package/dist/model/OrganizationRelationshipDetails.js +16 -16
- package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -14
- package/dist/model/OrganizationSearchItemItem.js +5 -5
- package/dist/model/OrganizationsDeleteResponseData.js +1 -1
- package/dist/model/OrganizationsMergeResponseData.js +1 -1
- package/dist/model/Owner.js +12 -12
- package/dist/model/Params.js +2 -2
- package/dist/model/PaymentItem.js +13 -13
- package/dist/model/PermissionSets.js +2 -2
- package/dist/model/PermissionSetsAllOf.js +1 -1
- package/dist/model/PermissionSetsItem.js +3 -3
- package/dist/model/PersonCountAndEmailInfo.js +18 -18
- package/dist/model/PersonCountEmailDealAndActivityInfo.js +44 -44
- package/dist/model/PersonCountInfo.js +7 -7
- package/dist/model/PersonData.js +5 -5
- package/dist/model/PersonDataEmail.js +2 -2
- package/dist/model/PersonDataPhone.js +2 -2
- package/dist/model/PersonDataWithActiveFlag.js +13 -13
- package/dist/model/PersonDataWithActiveFlagAllOf.js +1 -1
- package/dist/model/PersonFlowResponseAllOfData.js +1 -1
- package/dist/model/PersonItem.js +76 -76
- package/dist/model/PersonListProduct.js +14 -14
- package/dist/model/PersonNameCountAndEmailInfo.js +24 -24
- package/dist/model/PersonNameCountAndEmailInfoWithIds.js +30 -30
- package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +3 -3
- package/dist/model/PersonNameInfo.js +3 -3
- package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +6 -6
- package/dist/model/PersonSearchItemItem.js +4 -4
- package/dist/model/PersonSearchItemItemOrganization.js +2 -2
- package/dist/model/PersonSearchItemItemOwner.js +1 -1
- package/dist/model/PictureData.js +2 -2
- package/dist/model/PictureDataWithID.js +4 -4
- package/dist/model/PictureDataWithValue.js +4 -4
- package/dist/model/Pipeline.js +4 -4
- package/dist/model/PipelineDetails.js +19 -19
- package/dist/model/PostDealParticipants.js +1 -1
- package/dist/model/PostRoleAssignmentAllOfData.js +2 -2
- package/dist/model/PostRoleSettingsAllOfData.js +1 -1
- package/dist/model/PostRolesAllOfData.js +1 -1
- package/dist/model/ProductAttachementFields.js +12 -12
- package/dist/model/ProductAttachmentDetails.js +51 -44
- package/dist/model/ProductBaseDeal.js +42 -42
- package/dist/model/ProductField.js +36 -36
- package/dist/model/ProductFieldAllOf.js +15 -15
- package/dist/model/ProductListItem.js +21 -21
- package/dist/model/ProductRequest.js +6 -6
- package/dist/model/ProductSearchItemItem.js +5 -5
- package/dist/model/ProductSearchItemItemOwner.js +1 -1
- package/dist/model/ProductWithArrayPrices.js +6 -6
- package/dist/model/ProductWithObjectPrices.js +6 -6
- package/dist/model/ProductsResponse.js +1 -1
- package/dist/model/RecentDataProduct.js +15 -15
- package/dist/model/RelatedDealDataDEALID.js +8 -8
- package/dist/model/RelatedOrganizationName.js +1 -1
- package/dist/model/RelatedPersonData.js +1 -1
- package/dist/model/RelationshipOrganizationInfoItem.js +12 -12
- package/dist/model/RelationshipOrganizationInfoItemAllOf.js +1 -1
- package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +14 -14
- package/dist/model/RequredTitleParameter.js +2 -2
- package/dist/model/ResponseCallLogObject.js +14 -14
- package/dist/model/ResponseCallLogObjectAllOf.js +1 -1
- package/dist/model/RoleAssignment.js +11 -11
- package/dist/model/RoleAssignmentAllOf.js +3 -3
- package/dist/model/RoleSettings.js +10 -10
- package/dist/model/RolesAdditionalData.js +1 -1
- package/dist/model/RolesAdditionalDataPagination.js +1 -1
- package/dist/model/SinglePermissionSetsItem.js +8 -8
- package/dist/model/SinglePermissionSetsItemAllOf.js +1 -1
- package/dist/model/Stage.js +5 -5
- package/dist/model/StageConversions.js +3 -3
- package/dist/model/StageDetails.js +21 -21
- package/dist/model/StageWithPipelineInfo.js +24 -24
- package/dist/model/StageWithPipelineInfoAllOf.js +2 -2
- package/dist/model/SubRole.js +10 -10
- package/dist/model/SubRoleAllOf.js +3 -3
- package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -5
- package/dist/model/SubscriptionInstallmentUpdateRequest.js +1 -1
- package/dist/model/SubscriptionItem.js +15 -15
- package/dist/model/SubscriptionRecurringCancelRequest.js +1 -1
- package/dist/model/SubscriptionRecurringCreateRequest.js +14 -14
- package/dist/model/SubscriptionRecurringUpdateRequest.js +3 -3
- package/dist/model/TeamId.js +1 -1
- package/dist/model/UpdateDealRequest.js +22 -22
- package/dist/model/UpdateLeadLabelRequest.js +1 -1
- package/dist/model/UpdateLeadRequest.js +9 -9
- package/dist/model/UpdateStageRequest.js +10 -10
- package/dist/model/UpdateTeam.js +14 -14
- package/dist/model/UpdateTeamAllOf.js +2 -2
- package/dist/model/UpdateTeamWithAdditionalProperties.js +18 -18
- package/dist/model/UserAssignmentToPermissionSet.js +4 -4
- package/dist/model/UserAssignmentsToPermissionSet.js +2 -2
- package/dist/model/UserAssignmentsToPermissionSetAllOf.js +1 -1
- package/dist/model/UserData.js +6 -6
- package/dist/model/UserDataWithId.js +12 -12
- package/dist/model/UserIDs.js +2 -2
- package/dist/model/UserIDsAllOf.js +1 -1
- package/dist/model/UserPermissionsItem.js +31 -31
- package/dist/model/UserSettingsItem.js +5 -5
- package/package.json +1 -1
package/dist/api/TeamsApi.js
CHANGED
|
@@ -56,7 +56,7 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Add a new team
|
|
59
|
-
* Adds a new team to the company and returns the created object
|
|
59
|
+
* Adds a new team to the company and returns the created object.
|
|
60
60
|
* @param {Object} opts Optional parameters
|
|
61
61
|
* @param {module:model/CreateTeam} opts.createTeam
|
|
62
62
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
|
@@ -94,7 +94,7 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Add a new team
|
|
97
|
-
* Adds a new team to the company and returns the created object
|
|
97
|
+
* Adds a new team to the company and returns the created object.
|
|
98
98
|
* @param {Object} opts Optional parameters
|
|
99
99
|
* @param {module:model/CreateTeam} opts.createTeam
|
|
100
100
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
|
@@ -109,8 +109,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Add users to a team
|
|
112
|
-
* Adds users to an existing team
|
|
113
|
-
* @param {Number} id ID of the team
|
|
112
|
+
* Adds users to an existing team.
|
|
113
|
+
* @param {Number} id The ID of the team
|
|
114
114
|
* @param {Object} opts Optional parameters
|
|
115
115
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
|
116
116
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
@@ -154,8 +154,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
156
|
* Add users to a team
|
|
157
|
-
* Adds users to an existing team
|
|
158
|
-
* @param {Number} id ID of the team
|
|
157
|
+
* Adds users to an existing team.
|
|
158
|
+
* @param {Number} id The ID of the team
|
|
159
159
|
* @param {Object} opts Optional parameters
|
|
160
160
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
|
161
161
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
@@ -170,8 +170,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* Delete users from a team
|
|
173
|
-
* Deletes users from an existing team
|
|
174
|
-
* @param {Number} id ID of the team
|
|
173
|
+
* Deletes users from an existing team.
|
|
174
|
+
* @param {Number} id The ID of the team
|
|
175
175
|
* @param {Object} opts Optional parameters
|
|
176
176
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
|
177
177
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
@@ -215,8 +215,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
217
|
* Delete users from a team
|
|
218
|
-
* Deletes users from an existing team
|
|
219
|
-
* @param {Number} id ID of the team
|
|
218
|
+
* Deletes users from an existing team.
|
|
219
|
+
* @param {Number} id The ID of the team
|
|
220
220
|
* @param {Object} opts Optional parameters
|
|
221
221
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
|
222
222
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
@@ -231,8 +231,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
233
|
* Get a single team
|
|
234
|
-
* Returns data about a specific team
|
|
235
|
-
* @param {Number} id ID of the team
|
|
234
|
+
* Returns data about a specific team.
|
|
235
|
+
* @param {Number} id The ID of the team
|
|
236
236
|
* @param {Object} opts Optional parameters
|
|
237
237
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
238
238
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
|
@@ -278,8 +278,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
280
|
* Get a single team
|
|
281
|
-
* Returns data about a specific team
|
|
282
|
-
* @param {Number} id ID of the team
|
|
281
|
+
* Returns data about a specific team.
|
|
282
|
+
* @param {Number} id The ID of the team
|
|
283
283
|
* @param {Object} opts Optional parameters
|
|
284
284
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
285
285
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
|
@@ -294,8 +294,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* Get all users in a team
|
|
297
|
-
* Returns list of all user IDs within a team
|
|
298
|
-
* @param {Number} id ID of the team
|
|
297
|
+
* Returns a list of all user IDs within a team.
|
|
298
|
+
* @param {Number} id The ID of the team
|
|
299
299
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
300
300
|
*/
|
|
301
301
|
|
|
@@ -337,8 +337,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
337
337
|
}
|
|
338
338
|
/**
|
|
339
339
|
* Get all users in a team
|
|
340
|
-
* Returns list of all user IDs within a team
|
|
341
|
-
* @param {Number} id ID of the team
|
|
340
|
+
* Returns a list of all user IDs within a team.
|
|
341
|
+
* @param {Number} id The ID of the team
|
|
342
342
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
343
343
|
*/
|
|
344
344
|
|
|
@@ -351,9 +351,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* Get all teams
|
|
354
|
-
* Returns data about teams within the company
|
|
354
|
+
* Returns data about teams within the company.
|
|
355
355
|
* @param {Object} opts Optional parameters
|
|
356
|
-
* @param {module:model/String} opts.orderBy
|
|
356
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
357
357
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
358
358
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
|
359
359
|
*/
|
|
@@ -392,9 +392,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* Get all teams
|
|
395
|
-
* Returns data about teams within the company
|
|
395
|
+
* Returns data about teams within the company.
|
|
396
396
|
* @param {Object} opts Optional parameters
|
|
397
|
-
* @param {module:model/String} opts.orderBy
|
|
397
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
398
398
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
399
399
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
|
400
400
|
*/
|
|
@@ -408,10 +408,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
* Get all teams of a user
|
|
411
|
-
* Returns data about all teams which have specified user as a member
|
|
412
|
-
* @param {Number} id ID of the user
|
|
411
|
+
* Returns data about all teams which have the specified user as a member.
|
|
412
|
+
* @param {Number} id The ID of the user
|
|
413
413
|
* @param {Object} opts Optional parameters
|
|
414
|
-
* @param {module:model/String} opts.orderBy
|
|
414
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
415
415
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
416
416
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
|
417
417
|
*/
|
|
@@ -457,10 +457,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
459
|
* Get all teams of a user
|
|
460
|
-
* Returns data about all teams which have specified user as a member
|
|
461
|
-
* @param {Number} id ID of the user
|
|
460
|
+
* Returns data about all teams which have the specified user as a member.
|
|
461
|
+
* @param {Number} id The ID of the user
|
|
462
462
|
* @param {Object} opts Optional parameters
|
|
463
|
-
* @param {module:model/String} opts.orderBy
|
|
463
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
464
464
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
465
465
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
|
466
466
|
*/
|
|
@@ -474,8 +474,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
476
476
|
* Update a team
|
|
477
|
-
* Updates an existing team and returns the updated object
|
|
478
|
-
* @param {Number} id ID of the team
|
|
477
|
+
* Updates an existing team and returns the updated object.
|
|
478
|
+
* @param {Number} id The ID of the team
|
|
479
479
|
* @param {Object} opts Optional parameters
|
|
480
480
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
|
481
481
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
|
@@ -519,8 +519,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
519
519
|
}
|
|
520
520
|
/**
|
|
521
521
|
* Update a team
|
|
522
|
-
* Updates an existing team and returns the updated object
|
|
523
|
-
* @param {Number} id ID of the team
|
|
522
|
+
* Updates an existing team and returns the updated object.
|
|
523
|
+
* @param {Number} id The ID of the team
|
|
524
524
|
* @param {Object} opts Optional parameters
|
|
525
525
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
|
526
526
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
|
@@ -42,7 +42,7 @@ var UserConnectionsApi = /*#__PURE__*/function () {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Get all user connections
|
|
45
|
-
* Returns data about all connections for authorized user.
|
|
45
|
+
* Returns data about all connections for the authorized user.
|
|
46
46
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserConnections} and HTTP response
|
|
47
47
|
*/
|
|
48
48
|
|
|
@@ -78,7 +78,7 @@ var UserConnectionsApi = /*#__PURE__*/function () {
|
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Get all user connections
|
|
81
|
-
* Returns data about all connections for authorized user.
|
|
81
|
+
* Returns data about all connections for the authorized user.
|
|
82
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserConnections}
|
|
83
83
|
*/
|
|
84
84
|
|
|
@@ -42,7 +42,7 @@ var UserSettingsApi = /*#__PURE__*/function () {
|
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* List settings of an authorized user
|
|
45
|
-
*
|
|
45
|
+
* Lists the settings of an authorized user. Example response contains a shortened list of settings.
|
|
46
46
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserSettings} and HTTP response
|
|
47
47
|
*/
|
|
48
48
|
|
|
@@ -78,7 +78,7 @@ var UserSettingsApi = /*#__PURE__*/function () {
|
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* List settings of an authorized user
|
|
81
|
-
*
|
|
81
|
+
* Lists the settings of an authorized user. Example response contains a shortened list of settings.
|
|
82
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserSettings}
|
|
83
83
|
*/
|
|
84
84
|
|
package/dist/api/UsersApi.js
CHANGED
|
@@ -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
|
|
67
|
-
* @param {String} email
|
|
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
|
|
125
|
-
* @param {String} email
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
*/
|
package/dist/api/WebhooksApi.js
CHANGED
|
@@ -51,8 +51,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
51
51
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Create a new
|
|
55
|
-
* Creates a new
|
|
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\">this guide</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
|
|
@@ -89,8 +89,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
89
89
|
return this.apiClient.callApi('/webhooks', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* Create a new
|
|
93
|
-
* Creates a new
|
|
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\" target=\"_blank\" rel=\"noopener noreferrer\">this guide</a> for more details.
|
|
94
94
|
* @param {Object} opts Optional parameters
|
|
95
95
|
* @param {module:model/AddWebhookRequest} opts.addWebhookRequest
|
|
96
96
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhook}
|
|
@@ -104,9 +104,9 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* Delete existing
|
|
108
|
-
* Deletes the specified
|
|
109
|
-
* @param {Number} id The ID of the
|
|
107
|
+
* Delete existing Webhook
|
|
108
|
+
* Deletes the specified Webhook.
|
|
109
|
+
* @param {Number} id The ID of the Webhook to delete
|
|
110
110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponseWithStatus} and HTTP response
|
|
111
111
|
*/
|
|
112
112
|
|
|
@@ -147,9 +147,9 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
147
147
|
return this.apiClient.callApi('/webhooks/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
* Delete existing
|
|
151
|
-
* Deletes the specified
|
|
152
|
-
* @param {Number} id The ID of the
|
|
150
|
+
* Delete existing Webhook
|
|
151
|
+
* Deletes the specified Webhook.
|
|
152
|
+
* @param {Number} id The ID of the Webhook to delete
|
|
153
153
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponseWithStatus}
|
|
154
154
|
*/
|
|
155
155
|
|
|
@@ -161,8 +161,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
|
-
* Get all
|
|
165
|
-
* Returns data about all
|
|
164
|
+
* Get all Webhooks
|
|
165
|
+
* Returns data about all the Webhooks of a company.
|
|
166
166
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Webhooks} and HTTP response
|
|
167
167
|
*/
|
|
168
168
|
|
|
@@ -196,8 +196,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
196
196
|
return this.apiClient.callApi('/webhooks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* Get all
|
|
200
|
-
* Returns data about all
|
|
199
|
+
* Get all Webhooks
|
|
200
|
+
* Returns data about all the Webhooks of a company.
|
|
201
201
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhooks}
|
|
202
202
|
*/
|
|
203
203
|
|
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() {
|
|
@@ -4512,6 +4524,8 @@ var _BasicOrganization = _interopRequireDefault(require("./model/BasicOrganizati
|
|
|
4512
4524
|
|
|
4513
4525
|
var _BasicPerson = _interopRequireDefault(require("./model/BasicPerson"));
|
|
4514
4526
|
|
|
4527
|
+
var _BasicPersonEmail = _interopRequireDefault(require("./model/BasicPersonEmail"));
|
|
4528
|
+
|
|
4515
4529
|
var _BasicProductField = _interopRequireDefault(require("./model/BasicProductField"));
|
|
4516
4530
|
|
|
4517
4531
|
var _BulkDeleteResponse = _interopRequireDefault(require("./model/BulkDeleteResponse"));
|
|
@@ -4590,6 +4604,8 @@ var _DealParticipants = _interopRequireDefault(require("./model/DealParticipants
|
|
|
4590
4604
|
|
|
4591
4605
|
var _DealPersonData = _interopRequireDefault(require("./model/DealPersonData"));
|
|
4592
4606
|
|
|
4607
|
+
var _DealPersonDataEmail = _interopRequireDefault(require("./model/DealPersonDataEmail"));
|
|
4608
|
+
|
|
4593
4609
|
var _DealPersonDataPhone = _interopRequireDefault(require("./model/DealPersonDataPhone"));
|
|
4594
4610
|
|
|
4595
4611
|
var _DealPersonDataWithId = _interopRequireDefault(require("./model/DealPersonDataWithId"));
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
119
|
+
* The percentage of activities belongs to the user
|
|
120
120
|
* @member {Number} share
|
|
121
121
|
*/
|
|
122
122
|
|
package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js
CHANGED
|
@@ -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
|
|
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
|
|
84
|
+
* The count of activities related to a specific type
|
|
85
85
|
* @member {Number} ACTIVITY_TYPE_NAME
|
|
86
86
|
*/
|
|
87
87
|
|