pipedrive 13.0.8 → 13.0.12
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -105,8 +105,8 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
105
105
|
}
|
106
106
|
/**
|
107
107
|
* Delete an organization relationship
|
108
|
-
* Deletes an organization relationship and returns the deleted
|
109
|
-
* @param {Number} id ID of the organization relationship
|
108
|
+
* Deletes an organization relationship and returns the deleted ID.
|
109
|
+
* @param {Number} id The ID of the organization relationship
|
110
110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationRelationshipDeleteResponse} and HTTP response
|
111
111
|
*/
|
112
112
|
|
@@ -148,8 +148,8 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
148
148
|
}
|
149
149
|
/**
|
150
150
|
* Delete an organization relationship
|
151
|
-
* Deletes an organization relationship and returns the deleted
|
152
|
-
* @param {Number} id ID of the organization relationship
|
151
|
+
* Deletes an organization relationship and returns the deleted ID.
|
152
|
+
* @param {Number} id The ID of the organization relationship
|
153
153
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationRelationshipDeleteResponse}
|
154
154
|
*/
|
155
155
|
|
@@ -163,9 +163,9 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
163
163
|
/**
|
164
164
|
* Get one organization relationship
|
165
165
|
* Finds and returns an organization relationship from its ID.
|
166
|
-
* @param {Number} id ID of the organization relationship
|
166
|
+
* @param {Number} id The ID of the organization relationship
|
167
167
|
* @param {Object} opts Optional parameters
|
168
|
-
* @param {Number} opts.orgId ID of the base organization for the returned calculated values
|
168
|
+
* @param {Number} opts.orgId The ID of the base organization for the returned calculated values
|
169
169
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationRelationshipGetResponse} and HTTP response
|
170
170
|
*/
|
171
171
|
|
@@ -210,9 +210,9 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
210
210
|
/**
|
211
211
|
* Get one organization relationship
|
212
212
|
* Finds and returns an organization relationship from its ID.
|
213
|
-
* @param {Number} id ID of the organization relationship
|
213
|
+
* @param {Number} id The ID of the organization relationship
|
214
214
|
* @param {Object} opts Optional parameters
|
215
|
-
* @param {Number} opts.orgId ID of the base organization for the returned calculated values
|
215
|
+
* @param {Number} opts.orgId The ID of the base organization for the returned calculated values
|
216
216
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationRelationshipGetResponse}
|
217
217
|
*/
|
218
218
|
|
@@ -226,7 +226,7 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
226
226
|
/**
|
227
227
|
* Get all relationships for organization
|
228
228
|
* Gets all of the relationships for a supplied organization ID.
|
229
|
-
* @param {Number} orgId ID of the organization to get relationships for
|
229
|
+
* @param {Number} orgId The ID of the organization to get relationships for
|
230
230
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AllOrganizationRelationshipsGetResponse} and HTTP response
|
231
231
|
*/
|
232
232
|
|
@@ -269,7 +269,7 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
269
269
|
/**
|
270
270
|
* Get all relationships for organization
|
271
271
|
* Gets all of the relationships for a supplied organization ID.
|
272
|
-
* @param {Number} orgId ID of the organization to get relationships for
|
272
|
+
* @param {Number} orgId The ID of the organization to get relationships for
|
273
273
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AllOrganizationRelationshipsGetResponse}
|
274
274
|
*/
|
275
275
|
|
@@ -283,7 +283,7 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
283
283
|
/**
|
284
284
|
* Update an organization relationship
|
285
285
|
* Updates and returns an organization relationship.
|
286
|
-
* @param {Number} id ID of the organization relationship
|
286
|
+
* @param {Number} id The ID of the organization relationship
|
287
287
|
* @param {Object} opts Optional parameters
|
288
288
|
* @param {module:model/OrganizationRelationship} opts.organizationRelationship
|
289
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationRelationshipUpdateResponse} and HTTP response
|
@@ -328,7 +328,7 @@ var OrganizationRelationshipsApi = /*#__PURE__*/function () {
|
|
328
328
|
/**
|
329
329
|
* Update an organization relationship
|
330
330
|
* Updates and returns an organization relationship.
|
331
|
-
* @param {Number} id ID of the organization relationship
|
331
|
+
* @param {Number} id The ID of the organization relationship
|
332
332
|
* @param {Object} opts Optional parameters
|
333
333
|
* @param {module:model/OrganizationRelationship} opts.organizationRelationship
|
334
334
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationRelationshipUpdateResponse}
|
@@ -138,7 +138,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
138
138
|
/**
|
139
139
|
* Add a follower to an organization
|
140
140
|
* Adds a follower to an organization.
|
141
|
-
* @param {Number} id The ID of the
|
141
|
+
* @param {Number} id The ID of the organization
|
142
142
|
* @param {Object} opts Optional parameters
|
143
143
|
* @param {module:model/AddOrganizationFollowerRequest} opts.addOrganizationFollowerRequest
|
144
144
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationFollowerPostResponse} and HTTP response
|
@@ -183,7 +183,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
183
183
|
/**
|
184
184
|
* Add a follower to an organization
|
185
185
|
* Adds a follower to an organization.
|
186
|
-
* @param {Number} id The ID of the
|
186
|
+
* @param {Number} id The ID of the organization
|
187
187
|
* @param {Object} opts Optional parameters
|
188
188
|
* @param {module:model/AddOrganizationFollowerRequest} opts.addOrganizationFollowerRequest
|
189
189
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationFollowerPostResponse}
|
@@ -199,7 +199,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
199
199
|
/**
|
200
200
|
* Delete an organization
|
201
201
|
* Marks an organization as deleted.
|
202
|
-
* @param {Number} id The ID of the
|
202
|
+
* @param {Number} id The ID of the organization
|
203
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationDeleteResponse} and HTTP response
|
204
204
|
*/
|
205
205
|
|
@@ -242,7 +242,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
242
242
|
/**
|
243
243
|
* Delete an organization
|
244
244
|
* Marks an organization as deleted.
|
245
|
-
* @param {Number} id The ID of the
|
245
|
+
* @param {Number} id The ID of the organization
|
246
246
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationDeleteResponse}
|
247
247
|
*/
|
248
248
|
|
@@ -256,7 +256,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
256
256
|
/**
|
257
257
|
* Delete a follower from an organization
|
258
258
|
* Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
|
259
|
-
* @param {Number} id The ID of the
|
259
|
+
* @param {Number} id The ID of the organization
|
260
260
|
* @param {Number} followerId The ID of the follower
|
261
261
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationFollowerDeleteResponse} and HTTP response
|
262
262
|
*/
|
@@ -306,7 +306,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
306
306
|
/**
|
307
307
|
* Delete a follower from an organization
|
308
308
|
* Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
|
309
|
-
* @param {Number} id The ID of the
|
309
|
+
* @param {Number} id The ID of the organization
|
310
310
|
* @param {Number} followerId The ID of the follower
|
311
311
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationFollowerDeleteResponse}
|
312
312
|
*/
|
@@ -321,7 +321,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
321
321
|
/**
|
322
322
|
* Delete multiple organizations in bulk
|
323
323
|
* Marks multiple organizations as deleted.
|
324
|
-
* @param {String} ids
|
324
|
+
* @param {String} ids The comma-separated IDs that will be deleted
|
325
325
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationsDeleteResponse} and HTTP response
|
326
326
|
*/
|
327
327
|
|
@@ -364,7 +364,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
364
364
|
/**
|
365
365
|
* Delete multiple organizations in bulk
|
366
366
|
* Marks multiple organizations as deleted.
|
367
|
-
* @param {String} ids
|
367
|
+
* @param {String} ids The comma-separated IDs that will be deleted
|
368
368
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationsDeleteResponse}
|
369
369
|
*/
|
370
370
|
|
@@ -378,7 +378,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
378
378
|
/**
|
379
379
|
* Get details of an organization
|
380
380
|
* Returns details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
|
381
|
-
* @param {Number} id The ID of the
|
381
|
+
* @param {Number} id The ID of the organization
|
382
382
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationDetailsGetResponse} and HTTP response
|
383
383
|
*/
|
384
384
|
|
@@ -421,7 +421,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
421
421
|
/**
|
422
422
|
* Get details of an organization
|
423
423
|
* Returns details of an organization. Note that this also returns some additional fields which are not present when asking for all organizations. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of organizationFields.
|
424
|
-
* @param {Number} id The ID of the
|
424
|
+
* @param {Number} id The ID of the organization
|
425
425
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationDetailsGetResponse}
|
426
426
|
*/
|
427
427
|
|
@@ -435,7 +435,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
435
435
|
/**
|
436
436
|
* List activities associated with an organization
|
437
437
|
* Lists activities associated with an organization.
|
438
|
-
* @param {Number} id The ID of the
|
438
|
+
* @param {Number} id The ID of the organization
|
439
439
|
* @param {Object} opts Optional parameters
|
440
440
|
* @param {Number} opts.start Pagination start (default to 0)
|
441
441
|
* @param {Number} opts.limit Items shown per page
|
@@ -488,7 +488,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
488
488
|
/**
|
489
489
|
* List activities associated with an organization
|
490
490
|
* Lists activities associated with an organization.
|
491
|
-
* @param {Number} id The ID of the
|
491
|
+
* @param {Number} id The ID of the organization
|
492
492
|
* @param {Object} opts Optional parameters
|
493
493
|
* @param {Number} opts.start Pagination start (default to 0)
|
494
494
|
* @param {Number} opts.limit Items shown per page
|
@@ -507,12 +507,12 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
507
507
|
/**
|
508
508
|
* List deals associated with an organization
|
509
509
|
* Lists deals associated with an organization.
|
510
|
-
* @param {Number} id The ID of the
|
510
|
+
* @param {Number} id The ID of the organization
|
511
511
|
* @param {Object} opts Optional parameters
|
512
512
|
* @param {Number} opts.start Pagination start (default to 0)
|
513
513
|
* @param {Number} opts.limit Items shown per page
|
514
|
-
* @param {module:model/String} opts.status Only fetch deals with specific status. If omitted, all not deleted deals are fetched. (default to 'all_not_deleted')
|
515
|
-
* @param {String} opts.sort
|
514
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are fetched. (default to 'all_not_deleted')
|
515
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
516
516
|
* @param {module:model/NumberBoolean} opts.onlyPrimaryAssociation If set, only deals that are directly associated to the organization are fetched. If not set (default), all deals are fetched that are either directly or indirectly related to the organization. Indirect relations include relations through custom, organization-type fields and through persons of the given organization.
|
517
517
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListDealsResponse} and HTTP response
|
518
518
|
*/
|
@@ -562,12 +562,12 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
562
562
|
/**
|
563
563
|
* List deals associated with an organization
|
564
564
|
* Lists deals associated with an organization.
|
565
|
-
* @param {Number} id The ID of the
|
565
|
+
* @param {Number} id The ID of the organization
|
566
566
|
* @param {Object} opts Optional parameters
|
567
567
|
* @param {Number} opts.start Pagination start (default to 0)
|
568
568
|
* @param {Number} opts.limit Items shown per page
|
569
|
-
* @param {module:model/String} opts.status Only fetch deals with specific status. If omitted, all not deleted deals are fetched. (default to 'all_not_deleted')
|
570
|
-
* @param {String} opts.sort
|
569
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are fetched. (default to 'all_not_deleted')
|
570
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
571
571
|
* @param {module:model/NumberBoolean} opts.onlyPrimaryAssociation If set, only deals that are directly associated to the organization are fetched. If not set (default), all deals are fetched that are either directly or indirectly related to the organization. Indirect relations include relations through custom, organization-type fields and through persons of the given organization.
|
572
572
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListDealsResponse}
|
573
573
|
*/
|
@@ -582,12 +582,12 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
582
582
|
/**
|
583
583
|
* List files attached to an organization
|
584
584
|
* Lists files associated with an organization.
|
585
|
-
* @param {Number} id The ID of the
|
585
|
+
* @param {Number} id The ID of the organization
|
586
586
|
* @param {Object} opts Optional parameters
|
587
587
|
* @param {Number} opts.start Pagination start (default to 0)
|
588
588
|
* @param {Number} opts.limit Items shown per page
|
589
589
|
* @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
|
590
|
-
* @param {String} opts.sort
|
590
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (field_name_1 ASC, field_name_2 DESC). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
|
591
591
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
|
592
592
|
*/
|
593
593
|
|
@@ -635,12 +635,12 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
635
635
|
/**
|
636
636
|
* List files attached to an organization
|
637
637
|
* Lists files associated with an organization.
|
638
|
-
* @param {Number} id The ID of the
|
638
|
+
* @param {Number} id The ID of the organization
|
639
639
|
* @param {Object} opts Optional parameters
|
640
640
|
* @param {Number} opts.start Pagination start (default to 0)
|
641
641
|
* @param {Number} opts.limit Items shown per page
|
642
642
|
* @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
|
643
|
-
* @param {String} opts.sort
|
643
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (field_name_1 ASC, field_name_2 DESC). Only first-level field keys are supported (no nested keys). Supported fields: id, user_id, deal_id, person_id, org_id, product_id, add_time, update_time, file_name, file_type, file_size, comment.
|
644
644
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
|
645
645
|
*/
|
646
646
|
|
@@ -654,7 +654,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
654
654
|
/**
|
655
655
|
* List followers of an organization
|
656
656
|
* Lists the followers of an organization.
|
657
|
-
* @param {Number} id The ID of the
|
657
|
+
* @param {Number} id The ID of the organization
|
658
658
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationFollowersListResponse} and HTTP response
|
659
659
|
*/
|
660
660
|
|
@@ -697,7 +697,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
697
697
|
/**
|
698
698
|
* List followers of an organization
|
699
699
|
* Lists the followers of an organization.
|
700
|
-
* @param {Number} id The ID of the
|
700
|
+
* @param {Number} id The ID of the organization
|
701
701
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationFollowersListResponse}
|
702
702
|
*/
|
703
703
|
|
@@ -711,7 +711,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
711
711
|
/**
|
712
712
|
* List mail messages associated with an organization
|
713
713
|
* Lists mail messages associated with an organization.
|
714
|
-
* @param {Number} id The ID of the
|
714
|
+
* @param {Number} id The ID of the organization
|
715
715
|
* @param {Object} opts Optional parameters
|
716
716
|
* @param {Number} opts.start Pagination start (default to 0)
|
717
717
|
* @param {Number} opts.limit Items shown per page
|
@@ -760,7 +760,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
760
760
|
/**
|
761
761
|
* List mail messages associated with an organization
|
762
762
|
* Lists mail messages associated with an organization.
|
763
|
-
* @param {Number} id The ID of the
|
763
|
+
* @param {Number} id The ID of the organization
|
764
764
|
* @param {Object} opts Optional parameters
|
765
765
|
* @param {Number} opts.start Pagination start (default to 0)
|
766
766
|
* @param {Number} opts.limit Items shown per page
|
@@ -777,7 +777,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
777
777
|
/**
|
778
778
|
* List persons of an organization
|
779
779
|
* Lists persons associated with an organization.
|
780
|
-
* @param {Number} id The ID of the
|
780
|
+
* @param {Number} id The ID of the organization
|
781
781
|
* @param {Object} opts Optional parameters
|
782
782
|
* @param {Number} opts.start Pagination start (default to 0)
|
783
783
|
* @param {Number} opts.limit Items shown per page
|
@@ -826,7 +826,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
826
826
|
/**
|
827
827
|
* List persons of an organization
|
828
828
|
* Lists persons associated with an organization.
|
829
|
-
* @param {Number} id The ID of the
|
829
|
+
* @param {Number} id The ID of the organization
|
830
830
|
* @param {Object} opts Optional parameters
|
831
831
|
* @param {Number} opts.start Pagination start (default to 0)
|
832
832
|
* @param {Number} opts.limit Items shown per page
|
@@ -843,11 +843,11 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
843
843
|
/**
|
844
844
|
* List updates about an organization
|
845
845
|
* Lists updates about an organization.
|
846
|
-
* @param {Number} id The ID of the
|
846
|
+
* @param {Number} id The ID of the organization
|
847
847
|
* @param {Object} opts Optional parameters
|
848
848
|
* @param {Number} opts.start Pagination start (default to 0)
|
849
849
|
* @param {Number} opts.limit Items shown per page
|
850
|
-
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
850
|
+
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates.
|
851
851
|
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document)
|
852
852
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationFlowResponse} and HTTP response
|
853
853
|
*/
|
@@ -896,11 +896,11 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
896
896
|
/**
|
897
897
|
* List updates about an organization
|
898
898
|
* Lists updates about an organization.
|
899
|
-
* @param {Number} id The ID of the
|
899
|
+
* @param {Number} id The ID of the organization
|
900
900
|
* @param {Object} opts Optional parameters
|
901
901
|
* @param {Number} opts.start Pagination start (default to 0)
|
902
902
|
* @param {Number} opts.limit Items shown per page
|
903
|
-
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
903
|
+
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates.
|
904
904
|
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document)
|
905
905
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationFlowResponse}
|
906
906
|
*/
|
@@ -914,8 +914,8 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
914
914
|
}
|
915
915
|
/**
|
916
916
|
* List permitted users
|
917
|
-
* List users permitted to access an organization
|
918
|
-
* @param {Number} id The ID of the
|
917
|
+
* List users permitted to access an organization.
|
918
|
+
* @param {Number} id The ID of the organization
|
919
919
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListPermittedUsersResponse1} and HTTP response
|
920
920
|
*/
|
921
921
|
|
@@ -957,8 +957,8 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
957
957
|
}
|
958
958
|
/**
|
959
959
|
* List permitted users
|
960
|
-
* List users permitted to access an organization
|
961
|
-
* @param {Number} id The ID of the
|
960
|
+
* List users permitted to access an organization.
|
961
|
+
* @param {Number} id The ID of the organization
|
962
962
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListPermittedUsersResponse1}
|
963
963
|
*/
|
964
964
|
|
@@ -971,14 +971,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
971
971
|
}
|
972
972
|
/**
|
973
973
|
* Get all organizations
|
974
|
-
* Returns all organizations
|
974
|
+
* Returns all organizations.
|
975
975
|
* @param {Object} opts Optional parameters
|
976
976
|
* @param {Number} opts.userId If supplied, only organizations owned by the given user will be returned. However, `filter_id` takes precedence over `user_id` when both are supplied.
|
977
|
-
* @param {Number} opts.filterId ID of the filter to use
|
978
|
-
* @param {String} opts.firstChar If supplied, only organizations whose name starts with the specified letter will be returned (case insensitive)
|
977
|
+
* @param {Number} opts.filterId The ID of the filter to use
|
978
|
+
* @param {String} opts.firstChar If supplied, only organizations whose name starts with the specified letter will be returned (case insensitive)
|
979
979
|
* @param {Number} opts.start Pagination start (default to 0)
|
980
980
|
* @param {Number} opts.limit Items shown per page
|
981
|
-
* @param {String} opts.sort
|
981
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
982
982
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AllOrganizationsGetResponse} and HTTP response
|
983
983
|
*/
|
984
984
|
|
@@ -1020,14 +1020,14 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1020
1020
|
}
|
1021
1021
|
/**
|
1022
1022
|
* Get all organizations
|
1023
|
-
* Returns all organizations
|
1023
|
+
* Returns all organizations.
|
1024
1024
|
* @param {Object} opts Optional parameters
|
1025
1025
|
* @param {Number} opts.userId If supplied, only organizations owned by the given user will be returned. However, `filter_id` takes precedence over `user_id` when both are supplied.
|
1026
|
-
* @param {Number} opts.filterId ID of the filter to use
|
1027
|
-
* @param {String} opts.firstChar If supplied, only organizations whose name starts with the specified letter will be returned (case insensitive)
|
1026
|
+
* @param {Number} opts.filterId The ID of the filter to use
|
1027
|
+
* @param {String} opts.firstChar If supplied, only organizations whose name starts with the specified letter will be returned (case insensitive)
|
1028
1028
|
* @param {Number} opts.start Pagination start (default to 0)
|
1029
1029
|
* @param {Number} opts.limit Items shown per page
|
1030
|
-
* @param {String} opts.sort
|
1030
|
+
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
1031
1031
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AllOrganizationsGetResponse}
|
1032
1032
|
*/
|
1033
1033
|
|
@@ -1041,7 +1041,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1041
1041
|
/**
|
1042
1042
|
* Merge two organizations
|
1043
1043
|
* Merges an organization with another organization. For more information on how to merge two organizations, see <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
1044
|
-
* @param {Number} id The ID of the
|
1044
|
+
* @param {Number} id The ID of the organization
|
1045
1045
|
* @param {Object} opts Optional parameters
|
1046
1046
|
* @param {module:model/MergeOrganizationsRequest} opts.mergeOrganizationsRequest
|
1047
1047
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationsMergeResponse} and HTTP response
|
@@ -1086,7 +1086,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1086
1086
|
/**
|
1087
1087
|
* Merge two organizations
|
1088
1088
|
* Merges an organization with another organization. For more information on how to merge two organizations, see <a href=\"https://pipedrive.readme.io/docs/merging-two-organizations\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
1089
|
-
* @param {Number} id The ID of the
|
1089
|
+
* @param {Number} id The ID of the organization
|
1090
1090
|
* @param {Object} opts Optional parameters
|
1091
1091
|
* @param {module:model/MergeOrganizationsRequest} opts.mergeOrganizationsRequest
|
1092
1092
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationsMergeResponse}
|
@@ -1101,7 +1101,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1101
1101
|
}
|
1102
1102
|
/**
|
1103
1103
|
* Search organizations
|
1104
|
-
* Searches all
|
1104
|
+
* Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
1105
1105
|
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`).
|
1106
1106
|
* @param {Object} opts Optional parameters
|
1107
1107
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
|
@@ -1153,7 +1153,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1153
1153
|
}
|
1154
1154
|
/**
|
1155
1155
|
* Search organizations
|
1156
|
-
* Searches all
|
1156
|
+
* Searches all organizations by name, address, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
1157
1157
|
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`).
|
1158
1158
|
* @param {Object} opts Optional parameters
|
1159
1159
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
|
@@ -1173,7 +1173,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1173
1173
|
/**
|
1174
1174
|
* Update an organization
|
1175
1175
|
* Updates the properties of an organization.
|
1176
|
-
* @param {Number} id The ID of the
|
1176
|
+
* @param {Number} id The ID of the organization
|
1177
1177
|
* @param {Object} opts Optional parameters
|
1178
1178
|
* @param {module:model/BasicOrganization} opts.basicOrganization
|
1179
1179
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationUpdateResponse} and HTTP response
|
@@ -1218,7 +1218,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
1218
1218
|
/**
|
1219
1219
|
* Update an organization
|
1220
1220
|
* Updates the properties of an organization.
|
1221
|
-
* @param {Number} id The ID of the
|
1221
|
+
* @param {Number} id The ID of the organization
|
1222
1222
|
* @param {Object} opts Optional parameters
|
1223
1223
|
* @param {module:model/BasicOrganization} opts.basicOrganization
|
1224
1224
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationUpdateResponse}
|
@@ -43,8 +43,8 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
43
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
44
44
|
}
|
45
45
|
/**
|
46
|
-
* Get one
|
47
|
-
* @param {Number} id ID of the permission set
|
46
|
+
* Get one permission set
|
47
|
+
* @param {Number} id The ID of the permission set
|
48
48
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SinglePermissionSetsItem} and HTTP response
|
49
49
|
*/
|
50
50
|
|
@@ -86,8 +86,8 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
86
86
|
return this.apiClient.callApi('/permissionSets/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
87
87
|
}
|
88
88
|
/**
|
89
|
-
* Get one
|
90
|
-
* @param {Number} id ID of the permission set
|
89
|
+
* Get one permission set
|
90
|
+
* @param {Number} id The ID of the permission set
|
91
91
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SinglePermissionSetsItem}
|
92
92
|
*/
|
93
93
|
|
@@ -99,9 +99,9 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
99
99
|
});
|
100
100
|
}
|
101
101
|
/**
|
102
|
-
* List
|
103
|
-
* The list of assignments for a
|
104
|
-
* @param {Number} id ID of the permission set
|
102
|
+
* List permission set assignments
|
103
|
+
* The list of assignments for a permission set.
|
104
|
+
* @param {Number} id The ID of the permission set
|
105
105
|
* @param {Object} opts Optional parameters
|
106
106
|
* @param {Number} opts.start Pagination start (default to 0)
|
107
107
|
* @param {Number} opts.limit Items shown per page
|
@@ -148,9 +148,9 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
148
148
|
return this.apiClient.callApi('/permissionSets/{id}/assignments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
149
149
|
}
|
150
150
|
/**
|
151
|
-
* List
|
152
|
-
* The list of assignments for a
|
153
|
-
* @param {Number} id ID of the permission set
|
151
|
+
* List permission set assignments
|
152
|
+
* The list of assignments for a permission set.
|
153
|
+
* @param {Number} id The ID of the permission set
|
154
154
|
* @param {Object} opts Optional parameters
|
155
155
|
* @param {Number} opts.start Pagination start (default to 0)
|
156
156
|
* @param {Number} opts.limit Items shown per page
|
@@ -165,7 +165,7 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
165
165
|
});
|
166
166
|
}
|
167
167
|
/**
|
168
|
-
* Get all
|
168
|
+
* Get all permission sets
|
169
169
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PermissionSets} and HTTP response
|
170
170
|
*/
|
171
171
|
|
@@ -199,7 +199,7 @@ var PermissionSetsApi = /*#__PURE__*/function () {
|
|
199
199
|
return this.apiClient.callApi('/permissionSets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
200
200
|
}
|
201
201
|
/**
|
202
|
-
* Get all
|
202
|
+
* Get all permission sets
|
203
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PermissionSets}
|
204
204
|
*/
|
205
205
|
|
@@ -104,7 +104,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
104
104
|
/**
|
105
105
|
* Delete a person field
|
106
106
|
* Marks a field as deleted. For more information on how to delete a custom field, see <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
107
|
-
* @param {Number} id ID of the field
|
107
|
+
* @param {Number} id The ID of the field
|
108
108
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteResponse} and HTTP response
|
109
109
|
*/
|
110
110
|
|
@@ -147,7 +147,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
147
147
|
/**
|
148
148
|
* Delete a person field
|
149
149
|
* Marks a field as deleted. For more information on how to delete a custom field, see <a href=\"https://pipedrive.readme.io/docs/deleting-a-custom-field\" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
150
|
-
* @param {Number} id ID of the field
|
150
|
+
* @param {Number} id The ID of the field
|
151
151
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteResponse}
|
152
152
|
*/
|
153
153
|
|
@@ -161,7 +161,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
161
161
|
/**
|
162
162
|
* Delete multiple person fields in bulk
|
163
163
|
* Marks multiple fields as deleted.
|
164
|
-
* @param {String} ids
|
164
|
+
* @param {String} ids The comma-separated field IDs to delete
|
165
165
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BulkDeleteResponse} and HTTP response
|
166
166
|
*/
|
167
167
|
|
@@ -204,7 +204,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
204
204
|
/**
|
205
205
|
* Delete multiple person fields in bulk
|
206
206
|
* Marks multiple fields as deleted.
|
207
|
-
* @param {String} ids
|
207
|
+
* @param {String} ids The comma-separated field IDs to delete
|
208
208
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BulkDeleteResponse}
|
209
209
|
*/
|
210
210
|
|
@@ -218,7 +218,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
218
218
|
/**
|
219
219
|
* Get one person field
|
220
220
|
* Returns data about a specific person field.
|
221
|
-
* @param {Number} id ID of the field
|
221
|
+
* @param {Number} id The ID of the field
|
222
222
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FieldResponse} and HTTP response
|
223
223
|
*/
|
224
224
|
|
@@ -261,7 +261,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
261
261
|
/**
|
262
262
|
* Get one person field
|
263
263
|
* Returns data about a specific person field.
|
264
|
-
* @param {Number} id ID of the field
|
264
|
+
* @param {Number} id The ID of the field
|
265
265
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FieldResponse}
|
266
266
|
*/
|
267
267
|
|
@@ -274,7 +274,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
274
274
|
}
|
275
275
|
/**
|
276
276
|
* Get all person fields
|
277
|
-
* Returns data about all person fields
|
277
|
+
* Returns data about all person fields.
|
278
278
|
* @param {Object} opts Optional parameters
|
279
279
|
* @param {Number} opts.start Pagination start (default to 0)
|
280
280
|
* @param {Number} opts.limit Items shown per page
|
@@ -315,7 +315,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
315
315
|
}
|
316
316
|
/**
|
317
317
|
* Get all person fields
|
318
|
-
* Returns data about all person fields
|
318
|
+
* Returns data about all person fields.
|
319
319
|
* @param {Object} opts Optional parameters
|
320
320
|
* @param {Number} opts.start Pagination start (default to 0)
|
321
321
|
* @param {Number} opts.limit Items shown per page
|
@@ -332,7 +332,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
332
332
|
/**
|
333
333
|
* Update a person field
|
334
334
|
* Updates a person field. See an example of updating custom fields’ values in <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
335
|
-
* @param {Number} id ID of the field
|
335
|
+
* @param {Number} id The ID of the field
|
336
336
|
* @param {Object} opts Optional parameters
|
337
337
|
* @param {module:model/FieldUpdateRequest} opts.fieldUpdateRequest
|
338
338
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FieldResponse} and HTTP response
|
@@ -377,7 +377,7 @@ var PersonFieldsApi = /*#__PURE__*/function () {
|
|
377
377
|
/**
|
378
378
|
* Update a person field
|
379
379
|
* Updates a person field. See an example of updating custom fields’ values in <a href=\" https://pipedrive.readme.io/docs/updating-custom-field-value \" target=\"_blank\" rel=\"noopener noreferrer\">this tutorial</a>.
|
380
|
-
* @param {Number} id ID of the field
|
380
|
+
* @param {Number} id The ID of the field
|
381
381
|
* @param {Object} opts Optional parameters
|
382
382
|
* @param {module:model/FieldUpdateRequest} opts.fieldUpdateRequest
|
383
383
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FieldResponse}
|