pipedrive 13.0.9 → 13.1.0
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 +18 -0
- package/README.md +18 -16
- package/dist/ApiClient.js +46 -9
- package/dist/api/ActivitiesApi.js +44 -44
- package/dist/api/ActivityTypesApi.js +4 -4
- package/dist/api/CallLogsApi.js +23 -6
- package/dist/api/CurrenciesApi.js +2 -2
- package/dist/api/DealFieldsApi.js +10 -10
- package/dist/api/DealsApi.js +112 -100
- package/dist/api/FilesApi.js +34 -34
- package/dist/api/FiltersApi.js +19 -2
- package/dist/api/GlobalMessagesApi.js +8 -8
- package/dist/api/GoalsApi.js +54 -54
- package/dist/api/ItemSearchApi.js +6 -6
- package/dist/api/LeadLabelsApi.js +21 -12
- package/dist/api/LeadSourcesApi.js +2 -2
- package/dist/api/LeadsApi.js +23 -18
- package/dist/api/MailboxApi.js +26 -26
- package/dist/api/NoteFieldsApi.js +2 -2
- package/dist/api/NotesApi.js +50 -42
- package/dist/api/OrganizationFieldsApi.js +10 -10
- package/dist/api/OrganizationRelationshipsApi.js +25 -12
- package/dist/api/OrganizationsApi.js +58 -50
- package/dist/api/PermissionSetsApi.js +12 -12
- package/dist/api/PersonFieldsApi.js +10 -10
- package/dist/api/PersonsApi.js +82 -74
- package/dist/api/PipelinesApi.js +50 -50
- package/dist/api/ProductFieldsApi.js +23 -10
- package/dist/api/ProductsApi.js +48 -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 +76 -34
- package/dist/api/TeamsApi.js +49 -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 +27 -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 +36 -36
- 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 +6 -6
- 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 +16 -16
- 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 +35 -35
- 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 +3 -2
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
|
|
@@ -68,6 +68,15 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
68
68
|
value: function addTeamWithHttpInfo(opts) {
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
var postBody = opts['createTeam'];
|
|
71
|
+
|
|
72
|
+
if (opts['name'] === undefined || opts['name'] === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'name' when calling addTeam");
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (opts['manager_id'] === undefined || opts['manager_id'] === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'manager_id' when calling addTeam");
|
|
78
|
+
}
|
|
79
|
+
|
|
71
80
|
var pathParams = {};
|
|
72
81
|
var queryParams = {};
|
|
73
82
|
var headerParams = {};
|
|
@@ -94,7 +103,7 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
94
103
|
}
|
|
95
104
|
/**
|
|
96
105
|
* Add a new team
|
|
97
|
-
* Adds a new team to the company and returns the created object
|
|
106
|
+
* Adds a new team to the company and returns the created object.
|
|
98
107
|
* @param {Object} opts Optional parameters
|
|
99
108
|
* @param {module:model/CreateTeam} opts.createTeam
|
|
100
109
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
|
@@ -109,8 +118,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
109
118
|
}
|
|
110
119
|
/**
|
|
111
120
|
* Add users to a team
|
|
112
|
-
* Adds users to an existing team
|
|
113
|
-
* @param {Number} id ID of the team
|
|
121
|
+
* Adds users to an existing team.
|
|
122
|
+
* @param {Number} id The ID of the team
|
|
114
123
|
* @param {Object} opts Optional parameters
|
|
115
124
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
|
116
125
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
@@ -126,6 +135,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
126
135
|
throw new Error("Missing the required parameter 'id' when calling addTeamUser");
|
|
127
136
|
}
|
|
128
137
|
|
|
138
|
+
if (opts['users'] === undefined || opts['users'] === null) {
|
|
139
|
+
throw new Error("Missing the required parameter 'users' when calling addTeamUser");
|
|
140
|
+
}
|
|
141
|
+
|
|
129
142
|
var pathParams = {
|
|
130
143
|
'id': id
|
|
131
144
|
};
|
|
@@ -154,8 +167,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
154
167
|
}
|
|
155
168
|
/**
|
|
156
169
|
* Add users to a team
|
|
157
|
-
* Adds users to an existing team
|
|
158
|
-
* @param {Number} id ID of the team
|
|
170
|
+
* Adds users to an existing team.
|
|
171
|
+
* @param {Number} id The ID of the team
|
|
159
172
|
* @param {Object} opts Optional parameters
|
|
160
173
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
|
161
174
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
@@ -170,8 +183,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
170
183
|
}
|
|
171
184
|
/**
|
|
172
185
|
* Delete users from a team
|
|
173
|
-
* Deletes users from an existing team
|
|
174
|
-
* @param {Number} id ID of the team
|
|
186
|
+
* Deletes users from an existing team.
|
|
187
|
+
* @param {Number} id The ID of the team
|
|
175
188
|
* @param {Object} opts Optional parameters
|
|
176
189
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
|
177
190
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
@@ -187,6 +200,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
187
200
|
throw new Error("Missing the required parameter 'id' when calling deleteTeamUser");
|
|
188
201
|
}
|
|
189
202
|
|
|
203
|
+
if (opts['users'] === undefined || opts['users'] === null) {
|
|
204
|
+
throw new Error("Missing the required parameter 'users' when calling deleteTeamUser");
|
|
205
|
+
}
|
|
206
|
+
|
|
190
207
|
var pathParams = {
|
|
191
208
|
'id': id
|
|
192
209
|
};
|
|
@@ -215,8 +232,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
215
232
|
}
|
|
216
233
|
/**
|
|
217
234
|
* Delete users from a team
|
|
218
|
-
* Deletes users from an existing team
|
|
219
|
-
* @param {Number} id ID of the team
|
|
235
|
+
* Deletes users from an existing team.
|
|
236
|
+
* @param {Number} id The ID of the team
|
|
220
237
|
* @param {Object} opts Optional parameters
|
|
221
238
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
|
222
239
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
@@ -231,8 +248,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
231
248
|
}
|
|
232
249
|
/**
|
|
233
250
|
* Get a single team
|
|
234
|
-
* Returns data about a specific team
|
|
235
|
-
* @param {Number} id ID of the team
|
|
251
|
+
* Returns data about a specific team.
|
|
252
|
+
* @param {Number} id The ID of the team
|
|
236
253
|
* @param {Object} opts Optional parameters
|
|
237
254
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
238
255
|
* @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 +295,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
278
295
|
}
|
|
279
296
|
/**
|
|
280
297
|
* Get a single team
|
|
281
|
-
* Returns data about a specific team
|
|
282
|
-
* @param {Number} id ID of the team
|
|
298
|
+
* Returns data about a specific team.
|
|
299
|
+
* @param {Number} id The ID of the team
|
|
283
300
|
* @param {Object} opts Optional parameters
|
|
284
301
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
285
302
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
|
@@ -294,8 +311,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
294
311
|
}
|
|
295
312
|
/**
|
|
296
313
|
* Get all users in a team
|
|
297
|
-
* Returns list of all user IDs within a team
|
|
298
|
-
* @param {Number} id ID of the team
|
|
314
|
+
* Returns a list of all user IDs within a team.
|
|
315
|
+
* @param {Number} id The ID of the team
|
|
299
316
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
300
317
|
*/
|
|
301
318
|
|
|
@@ -337,8 +354,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
337
354
|
}
|
|
338
355
|
/**
|
|
339
356
|
* Get all users in a team
|
|
340
|
-
* Returns list of all user IDs within a team
|
|
341
|
-
* @param {Number} id ID of the team
|
|
357
|
+
* Returns a list of all user IDs within a team.
|
|
358
|
+
* @param {Number} id The ID of the team
|
|
342
359
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
343
360
|
*/
|
|
344
361
|
|
|
@@ -351,9 +368,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
351
368
|
}
|
|
352
369
|
/**
|
|
353
370
|
* Get all teams
|
|
354
|
-
* Returns data about teams within the company
|
|
371
|
+
* Returns data about teams within the company.
|
|
355
372
|
* @param {Object} opts Optional parameters
|
|
356
|
-
* @param {module:model/String} opts.orderBy
|
|
373
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
357
374
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
358
375
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
|
359
376
|
*/
|
|
@@ -392,9 +409,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
392
409
|
}
|
|
393
410
|
/**
|
|
394
411
|
* Get all teams
|
|
395
|
-
* Returns data about teams within the company
|
|
412
|
+
* Returns data about teams within the company.
|
|
396
413
|
* @param {Object} opts Optional parameters
|
|
397
|
-
* @param {module:model/String} opts.orderBy
|
|
414
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
398
415
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
399
416
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
|
400
417
|
*/
|
|
@@ -408,10 +425,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
408
425
|
}
|
|
409
426
|
/**
|
|
410
427
|
* 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
|
|
428
|
+
* Returns data about all teams which have the specified user as a member.
|
|
429
|
+
* @param {Number} id The ID of the user
|
|
413
430
|
* @param {Object} opts Optional parameters
|
|
414
|
-
* @param {module:model/String} opts.orderBy
|
|
431
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
415
432
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
416
433
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
|
417
434
|
*/
|
|
@@ -457,10 +474,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
457
474
|
}
|
|
458
475
|
/**
|
|
459
476
|
* 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
|
|
477
|
+
* Returns data about all teams which have the specified user as a member.
|
|
478
|
+
* @param {Number} id The ID of the user
|
|
462
479
|
* @param {Object} opts Optional parameters
|
|
463
|
-
* @param {module:model/String} opts.orderBy
|
|
480
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
|
464
481
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
|
465
482
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
|
466
483
|
*/
|
|
@@ -474,8 +491,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
474
491
|
}
|
|
475
492
|
/**
|
|
476
493
|
* Update a team
|
|
477
|
-
* Updates an existing team and returns the updated object
|
|
478
|
-
* @param {Number} id ID of the team
|
|
494
|
+
* Updates an existing team and returns the updated object.
|
|
495
|
+
* @param {Number} id The ID of the team
|
|
479
496
|
* @param {Object} opts Optional parameters
|
|
480
497
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
|
481
498
|
* @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 +536,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
|
519
536
|
}
|
|
520
537
|
/**
|
|
521
538
|
* Update a team
|
|
522
|
-
* Updates an existing team and returns the updated object
|
|
523
|
-
* @param {Number} id ID of the team
|
|
539
|
+
* Updates an existing team and returns the updated object.
|
|
540
|
+
* @param {Number} id The ID of the team
|
|
524
541
|
* @param {Object} opts Optional parameters
|
|
525
542
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
|
526
543
|
* @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
|
|
@@ -64,6 +64,19 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
64
64
|
value: function addWebhookWithHttpInfo(opts) {
|
|
65
65
|
opts = opts || {};
|
|
66
66
|
var postBody = opts['addWebhookRequest'];
|
|
67
|
+
|
|
68
|
+
if (opts['subscription_url'] === undefined || opts['subscription_url'] === null) {
|
|
69
|
+
throw new Error("Missing the required parameter 'subscription_url' when calling addWebhook");
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (opts['event_action'] === undefined || opts['event_action'] === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'event_action' when calling addWebhook");
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (opts['event_object'] === undefined || opts['event_object'] === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'event_object' when calling addWebhook");
|
|
78
|
+
}
|
|
79
|
+
|
|
67
80
|
var pathParams = {};
|
|
68
81
|
var queryParams = {};
|
|
69
82
|
var headerParams = {};
|
|
@@ -89,8 +102,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
89
102
|
return this.apiClient.callApi('/webhooks', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
90
103
|
}
|
|
91
104
|
/**
|
|
92
|
-
* Create a new
|
|
93
|
-
* Creates a new
|
|
105
|
+
* Create a new Webhook
|
|
106
|
+
* Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">this guide</a> for more details.
|
|
94
107
|
* @param {Object} opts Optional parameters
|
|
95
108
|
* @param {module:model/AddWebhookRequest} opts.addWebhookRequest
|
|
96
109
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhook}
|
|
@@ -104,9 +117,9 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
104
117
|
});
|
|
105
118
|
}
|
|
106
119
|
/**
|
|
107
|
-
* Delete existing
|
|
108
|
-
* Deletes the specified
|
|
109
|
-
* @param {Number} id The ID of the
|
|
120
|
+
* Delete existing Webhook
|
|
121
|
+
* Deletes the specified Webhook.
|
|
122
|
+
* @param {Number} id The ID of the Webhook to delete
|
|
110
123
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponseWithStatus} and HTTP response
|
|
111
124
|
*/
|
|
112
125
|
|
|
@@ -147,9 +160,9 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
147
160
|
return this.apiClient.callApi('/webhooks/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
148
161
|
}
|
|
149
162
|
/**
|
|
150
|
-
* Delete existing
|
|
151
|
-
* Deletes the specified
|
|
152
|
-
* @param {Number} id The ID of the
|
|
163
|
+
* Delete existing Webhook
|
|
164
|
+
* Deletes the specified Webhook.
|
|
165
|
+
* @param {Number} id The ID of the Webhook to delete
|
|
153
166
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponseWithStatus}
|
|
154
167
|
*/
|
|
155
168
|
|
|
@@ -161,8 +174,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
161
174
|
});
|
|
162
175
|
}
|
|
163
176
|
/**
|
|
164
|
-
* Get all
|
|
165
|
-
* Returns data about all
|
|
177
|
+
* Get all Webhooks
|
|
178
|
+
* Returns data about all the Webhooks of a company.
|
|
166
179
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Webhooks} and HTTP response
|
|
167
180
|
*/
|
|
168
181
|
|
|
@@ -196,8 +209,8 @@ var WebhooksApi = /*#__PURE__*/function () {
|
|
|
196
209
|
return this.apiClient.callApi('/webhooks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
197
210
|
}
|
|
198
211
|
/**
|
|
199
|
-
* Get all
|
|
200
|
-
* Returns data about all
|
|
212
|
+
* Get all Webhooks
|
|
213
|
+
* Returns data about all the Webhooks of a company.
|
|
201
214
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Webhooks}
|
|
202
215
|
*/
|
|
203
216
|
|
package/dist/index.js
CHANGED
|
@@ -689,6 +689,12 @@ Object.defineProperty(exports, "BasicPerson", {
|
|
|
689
689
|
return _BasicPerson["default"];
|
|
690
690
|
}
|
|
691
691
|
});
|
|
692
|
+
Object.defineProperty(exports, "BasicPersonEmail", {
|
|
693
|
+
enumerable: true,
|
|
694
|
+
get: function get() {
|
|
695
|
+
return _BasicPersonEmail["default"];
|
|
696
|
+
}
|
|
697
|
+
});
|
|
692
698
|
Object.defineProperty(exports, "BasicProductField", {
|
|
693
699
|
enumerable: true,
|
|
694
700
|
get: function get() {
|
|
@@ -941,6 +947,12 @@ Object.defineProperty(exports, "DealPersonData", {
|
|
|
941
947
|
return _DealPersonData["default"];
|
|
942
948
|
}
|
|
943
949
|
});
|
|
950
|
+
Object.defineProperty(exports, "DealPersonDataEmail", {
|
|
951
|
+
enumerable: true,
|
|
952
|
+
get: function get() {
|
|
953
|
+
return _DealPersonDataEmail["default"];
|
|
954
|
+
}
|
|
955
|
+
});
|
|
944
956
|
Object.defineProperty(exports, "DealPersonDataPhone", {
|
|
945
957
|
enumerable: true,
|
|
946
958
|
get: function get() {
|
|
@@ -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() {
|