pipedrive 13.0.9 → 13.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -13,8 +13,6 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
13
13
|
|
14
14
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
15
15
|
|
16
|
-
var _OrganizationRelationship = _interopRequireDefault(require("./OrganizationRelationship"));
|
17
|
-
|
18
16
|
/**
|
19
17
|
* Pipedrive API v1
|
20
18
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
@@ -37,16 +35,12 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
|
|
37
35
|
/**
|
38
36
|
* Constructs a new <code>AddOrganizationRelationshipRequest</code>.
|
39
37
|
* @alias module:model/AddOrganizationRelationshipRequest
|
40
|
-
* @implements module:model/OrganizationRelationship
|
41
38
|
* @param type {module:model/AddOrganizationRelationshipRequest.TypeEnum} The type of organization relationship
|
42
|
-
* @param relOwnerOrgId {Number} The owner of
|
43
|
-
* @param relLinkedOrgId {Number} The linked organization in
|
39
|
+
* @param relOwnerOrgId {Number} The owner of the relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
|
40
|
+
* @param relLinkedOrgId {Number} The linked organization in the relationship. If type is `parent`, then the linked organization is the daughter.
|
44
41
|
*/
|
45
42
|
function AddOrganizationRelationshipRequest(type, relOwnerOrgId, relLinkedOrgId) {
|
46
43
|
(0, _classCallCheck2["default"])(this, AddOrganizationRelationshipRequest);
|
47
|
-
|
48
|
-
_OrganizationRelationship["default"].initialize(this);
|
49
|
-
|
50
44
|
AddOrganizationRelationshipRequest.initialize(this, type, relOwnerOrgId, relLinkedOrgId);
|
51
45
|
}
|
52
46
|
/**
|
@@ -77,8 +71,6 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
|
|
77
71
|
if (data) {
|
78
72
|
obj = obj || new AddOrganizationRelationshipRequest();
|
79
73
|
|
80
|
-
_OrganizationRelationship["default"].constructFromObject(data, obj);
|
81
|
-
|
82
74
|
if (data.hasOwnProperty('org_id')) {
|
83
75
|
obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'Number');
|
84
76
|
delete data['org_id'];
|
@@ -110,7 +102,7 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
|
|
110
102
|
return AddOrganizationRelationshipRequest;
|
111
103
|
}();
|
112
104
|
/**
|
113
|
-
* ID of the base organization for the returned calculated values
|
105
|
+
* The ID of the base organization for the returned calculated values
|
114
106
|
* @member {Number} org_id
|
115
107
|
*/
|
116
108
|
|
@@ -123,42 +115,17 @@ AddOrganizationRelationshipRequest.prototype['org_id'] = undefined;
|
|
123
115
|
|
124
116
|
AddOrganizationRelationshipRequest.prototype['type'] = undefined;
|
125
117
|
/**
|
126
|
-
* The owner of
|
118
|
+
* The owner of the relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
|
127
119
|
* @member {Number} rel_owner_org_id
|
128
120
|
*/
|
129
121
|
|
130
122
|
AddOrganizationRelationshipRequest.prototype['rel_owner_org_id'] = undefined;
|
131
123
|
/**
|
132
|
-
* The linked organization in
|
133
|
-
* @member {Number} rel_linked_org_id
|
134
|
-
*/
|
135
|
-
|
136
|
-
AddOrganizationRelationshipRequest.prototype['rel_linked_org_id'] = undefined; // Implement OrganizationRelationship interface:
|
137
|
-
|
138
|
-
/**
|
139
|
-
* ID of the base organization for the returned calculated values
|
140
|
-
* @member {Number} org_id
|
141
|
-
*/
|
142
|
-
|
143
|
-
_OrganizationRelationship["default"].prototype['org_id'] = undefined;
|
144
|
-
/**
|
145
|
-
* The type of organization relationship
|
146
|
-
* @member {module:model/OrganizationRelationship.TypeEnum} type
|
147
|
-
*/
|
148
|
-
|
149
|
-
_OrganizationRelationship["default"].prototype['type'] = undefined;
|
150
|
-
/**
|
151
|
-
* The owner of this relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
|
152
|
-
* @member {Number} rel_owner_org_id
|
153
|
-
*/
|
154
|
-
|
155
|
-
_OrganizationRelationship["default"].prototype['rel_owner_org_id'] = undefined;
|
156
|
-
/**
|
157
|
-
* The linked organization in this relationship. If type is `parent`, then the linked organization is the daughter.
|
124
|
+
* The linked organization in the relationship. If type is `parent`, then the linked organization is the daughter.
|
158
125
|
* @member {Number} rel_linked_org_id
|
159
126
|
*/
|
160
127
|
|
161
|
-
|
128
|
+
AddOrganizationRelationshipRequest.prototype['rel_linked_org_id'] = undefined;
|
162
129
|
/**
|
163
130
|
* Allowed values for the <code>type</code> property.
|
164
131
|
* @enum {String}
|
@@ -35,7 +35,7 @@ var AddPersonFollowerRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
36
36
|
* Constructs a new <code>AddPersonFollowerRequest</code>.
|
37
37
|
* @alias module:model/AddPersonFollowerRequest
|
38
|
-
* @param userId {Number} ID of the user
|
38
|
+
* @param userId {Number} The ID of the user
|
39
39
|
*/
|
40
40
|
function AddPersonFollowerRequest(userId) {
|
41
41
|
(0, _classCallCheck2["default"])(this, AddPersonFollowerRequest);
|
@@ -83,7 +83,7 @@ var AddPersonFollowerRequest = /*#__PURE__*/function () {
|
|
83
83
|
return AddPersonFollowerRequest;
|
84
84
|
}();
|
85
85
|
/**
|
86
|
-
* ID of the user
|
86
|
+
* The ID of the user
|
87
87
|
* @member {Number} user_id
|
88
88
|
*/
|
89
89
|
|
@@ -197,7 +197,7 @@ var AddProductAttachmentDetails = /*#__PURE__*/function () {
|
|
197
197
|
return AddProductAttachmentDetails;
|
198
198
|
}();
|
199
199
|
/**
|
200
|
-
*
|
200
|
+
* The price at which this product will be added to the deal
|
201
201
|
* @member {Number} item_price
|
202
202
|
*/
|
203
203
|
|
@@ -210,21 +210,21 @@ AddProductAttachmentDetails.prototype['item_price'] = undefined;
|
|
210
210
|
|
211
211
|
AddProductAttachmentDetails.prototype['quantity'] = undefined;
|
212
212
|
/**
|
213
|
-
*
|
213
|
+
* The discount %. If omitted, will be set to 0.
|
214
214
|
* @member {Number} discount_percentage
|
215
215
|
* @default 0
|
216
216
|
*/
|
217
217
|
|
218
218
|
AddProductAttachmentDetails.prototype['discount_percentage'] = 0;
|
219
219
|
/**
|
220
|
-
*
|
220
|
+
* The duration of the product (when product durations are not enabled for the company or if omitted, defaults to 1)
|
221
221
|
* @member {Number} duration
|
222
222
|
* @default 1
|
223
223
|
*/
|
224
224
|
|
225
225
|
AddProductAttachmentDetails.prototype['duration'] = 1;
|
226
226
|
/**
|
227
|
-
* ID of the product variation to use. When omitted, no variation will be used.
|
227
|
+
* The ID of the product variation to use. When omitted, no variation will be used.
|
228
228
|
* @member {Number} product_variation_id
|
229
229
|
*/
|
230
230
|
|
@@ -236,37 +236,37 @@ AddProductAttachmentDetails.prototype['product_variation_id'] = undefined;
|
|
236
236
|
|
237
237
|
AddProductAttachmentDetails.prototype['comments'] = undefined;
|
238
238
|
/**
|
239
|
-
* The
|
239
|
+
* The product tax
|
240
240
|
* @member {Number} tax
|
241
241
|
*/
|
242
242
|
|
243
243
|
AddProductAttachmentDetails.prototype['tax'] = undefined;
|
244
244
|
/**
|
245
|
-
* Whether the product is enabled on the deal or not. This makes it possible to add products to a deal with specific price and discount criteria - but keep them disabled, which refrains them from being included in deal price calculation. When omitted, the product will be marked as enabled by default.
|
245
|
+
* Whether the product is enabled on the deal or not. This makes it possible to add products to a deal with a specific price and discount criteria - but keep them disabled, which refrains them from being included in the deal price calculation. When omitted, the product will be marked as enabled by default.
|
246
246
|
* @member {module:model/NumberBoolean} enabled_flag
|
247
247
|
*/
|
248
248
|
|
249
249
|
AddProductAttachmentDetails.prototype['enabled_flag'] = undefined;
|
250
250
|
/**
|
251
|
-
* The ID of the deal-product (the ID of the
|
251
|
+
* The ID of the deal-product (the ID of the product attached to the deal)
|
252
252
|
* @member {Number} id
|
253
253
|
*/
|
254
254
|
|
255
255
|
AddProductAttachmentDetails.prototype['id'] = undefined;
|
256
256
|
/**
|
257
|
-
* The ID of the
|
257
|
+
* The ID of the company
|
258
258
|
* @member {Number} company_id
|
259
259
|
*/
|
260
260
|
|
261
261
|
AddProductAttachmentDetails.prototype['company_id'] = undefined;
|
262
262
|
/**
|
263
|
-
* The ID of the
|
263
|
+
* The ID of the deal
|
264
264
|
* @member {Number} deal_id
|
265
265
|
*/
|
266
266
|
|
267
267
|
AddProductAttachmentDetails.prototype['deal_id'] = undefined;
|
268
268
|
/**
|
269
|
-
* The ID of the
|
269
|
+
* The ID of the product
|
270
270
|
* @member {Number} product_id
|
271
271
|
*/
|
272
272
|
|
@@ -278,56 +278,56 @@ AddProductAttachmentDetails.prototype['product_id'] = undefined;
|
|
278
278
|
|
279
279
|
AddProductAttachmentDetails.prototype['duration_unit'] = undefined;
|
280
280
|
/**
|
281
|
-
* The
|
281
|
+
* The product sum without the discount
|
282
282
|
* @member {Number} sum_no_discount
|
283
283
|
*/
|
284
284
|
|
285
285
|
AddProductAttachmentDetails.prototype['sum_no_discount'] = undefined;
|
286
286
|
/**
|
287
|
-
* The sum of all the
|
287
|
+
* The sum of all the products attached to the deal
|
288
288
|
* @member {Number} sum
|
289
289
|
*/
|
290
290
|
|
291
291
|
AddProductAttachmentDetails.prototype['sum'] = undefined;
|
292
292
|
/**
|
293
|
-
* The currency associated with the
|
293
|
+
* The currency associated with the deal product
|
294
294
|
* @member {String} currency
|
295
295
|
*/
|
296
296
|
|
297
297
|
AddProductAttachmentDetails.prototype['currency'] = undefined;
|
298
298
|
/**
|
299
|
-
* The date and time when the
|
299
|
+
* The date and time when the product was added to the deal
|
300
300
|
* @member {String} add_time
|
301
301
|
*/
|
302
302
|
|
303
303
|
AddProductAttachmentDetails.prototype['add_time'] = undefined;
|
304
304
|
/**
|
305
|
-
* The date and time when the
|
305
|
+
* The date and time when the deal product was last edited
|
306
306
|
* @member {String} last_edit
|
307
307
|
*/
|
308
308
|
|
309
309
|
AddProductAttachmentDetails.prototype['last_edit'] = undefined;
|
310
310
|
/**
|
311
|
-
*
|
311
|
+
* Whether the product is active or not
|
312
312
|
* @member {Boolean} active_flag
|
313
313
|
*/
|
314
314
|
|
315
315
|
AddProductAttachmentDetails.prototype['active_flag'] = undefined;
|
316
316
|
/**
|
317
|
-
* The
|
317
|
+
* The product name
|
318
318
|
* @member {String} name
|
319
319
|
*/
|
320
320
|
|
321
321
|
AddProductAttachmentDetails.prototype['name'] = undefined;
|
322
322
|
/**
|
323
|
-
* The ID of the deal-product (the ID of the
|
323
|
+
* The ID of the deal-product (the ID of the product attached to the deal)
|
324
324
|
* @member {Number} product_attachment_id
|
325
325
|
*/
|
326
326
|
|
327
327
|
AddProductAttachmentDetails.prototype['product_attachment_id'] = undefined; // Implement ProductAttachmentDetails interface:
|
328
328
|
|
329
329
|
/**
|
330
|
-
*
|
330
|
+
* The price at which this product will be added to the deal
|
331
331
|
* @member {Number} item_price
|
332
332
|
*/
|
333
333
|
|
@@ -339,21 +339,21 @@ _ProductAttachmentDetails["default"].prototype['item_price'] = undefined;
|
|
339
339
|
|
340
340
|
_ProductAttachmentDetails["default"].prototype['quantity'] = undefined;
|
341
341
|
/**
|
342
|
-
*
|
342
|
+
* The discount %. If omitted, will be set to 0.
|
343
343
|
* @member {Number} discount_percentage
|
344
344
|
* @default 0
|
345
345
|
*/
|
346
346
|
|
347
347
|
_ProductAttachmentDetails["default"].prototype['discount_percentage'] = 0;
|
348
348
|
/**
|
349
|
-
*
|
349
|
+
* The duration of the product (when product durations are not enabled for the company or if omitted, defaults to 1)
|
350
350
|
* @member {Number} duration
|
351
351
|
* @default 1
|
352
352
|
*/
|
353
353
|
|
354
354
|
_ProductAttachmentDetails["default"].prototype['duration'] = 1;
|
355
355
|
/**
|
356
|
-
* ID of the product variation to use. When omitted, no variation will be used.
|
356
|
+
* The ID of the product variation to use. When omitted, no variation will be used.
|
357
357
|
* @member {Number} product_variation_id
|
358
358
|
*/
|
359
359
|
|
@@ -365,37 +365,37 @@ _ProductAttachmentDetails["default"].prototype['product_variation_id'] = undefin
|
|
365
365
|
|
366
366
|
_ProductAttachmentDetails["default"].prototype['comments'] = undefined;
|
367
367
|
/**
|
368
|
-
* The
|
368
|
+
* The product tax
|
369
369
|
* @member {Number} tax
|
370
370
|
*/
|
371
371
|
|
372
372
|
_ProductAttachmentDetails["default"].prototype['tax'] = undefined;
|
373
373
|
/**
|
374
|
-
* Whether the product is enabled on the deal or not. This makes it possible to add products to a deal with specific price and discount criteria - but keep them disabled, which refrains them from being included in deal price calculation. When omitted, the product will be marked as enabled by default.
|
374
|
+
* Whether the product is enabled on the deal or not. This makes it possible to add products to a deal with a specific price and discount criteria - but keep them disabled, which refrains them from being included in the deal price calculation. When omitted, the product will be marked as enabled by default.
|
375
375
|
* @member {module:model/NumberBoolean} enabled_flag
|
376
376
|
*/
|
377
377
|
|
378
378
|
_ProductAttachmentDetails["default"].prototype['enabled_flag'] = undefined;
|
379
379
|
/**
|
380
|
-
* The ID of the deal-product (the ID of the
|
380
|
+
* The ID of the deal-product (the ID of the product attached to the deal)
|
381
381
|
* @member {Number} id
|
382
382
|
*/
|
383
383
|
|
384
384
|
_ProductAttachmentDetails["default"].prototype['id'] = undefined;
|
385
385
|
/**
|
386
|
-
* The ID of the
|
386
|
+
* The ID of the company
|
387
387
|
* @member {Number} company_id
|
388
388
|
*/
|
389
389
|
|
390
390
|
_ProductAttachmentDetails["default"].prototype['company_id'] = undefined;
|
391
391
|
/**
|
392
|
-
* The ID of the
|
392
|
+
* The ID of the deal
|
393
393
|
* @member {Number} deal_id
|
394
394
|
*/
|
395
395
|
|
396
396
|
_ProductAttachmentDetails["default"].prototype['deal_id'] = undefined;
|
397
397
|
/**
|
398
|
-
* The ID of the
|
398
|
+
* The ID of the product
|
399
399
|
* @member {Number} product_id
|
400
400
|
*/
|
401
401
|
|
@@ -407,50 +407,50 @@ _ProductAttachmentDetails["default"].prototype['product_id'] = undefined;
|
|
407
407
|
|
408
408
|
_ProductAttachmentDetails["default"].prototype['duration_unit'] = undefined;
|
409
409
|
/**
|
410
|
-
* The
|
410
|
+
* The product sum without the discount
|
411
411
|
* @member {Number} sum_no_discount
|
412
412
|
*/
|
413
413
|
|
414
414
|
_ProductAttachmentDetails["default"].prototype['sum_no_discount'] = undefined;
|
415
415
|
/**
|
416
|
-
* The sum of all the
|
416
|
+
* The sum of all the products attached to the deal
|
417
417
|
* @member {Number} sum
|
418
418
|
*/
|
419
419
|
|
420
420
|
_ProductAttachmentDetails["default"].prototype['sum'] = undefined;
|
421
421
|
/**
|
422
|
-
* The currency associated with the
|
422
|
+
* The currency associated with the deal product
|
423
423
|
* @member {String} currency
|
424
424
|
*/
|
425
425
|
|
426
426
|
_ProductAttachmentDetails["default"].prototype['currency'] = undefined;
|
427
427
|
/**
|
428
|
-
* The date and time when the
|
428
|
+
* The date and time when the product was added to the deal
|
429
429
|
* @member {String} add_time
|
430
430
|
*/
|
431
431
|
|
432
432
|
_ProductAttachmentDetails["default"].prototype['add_time'] = undefined;
|
433
433
|
/**
|
434
|
-
* The date and time when the
|
434
|
+
* The date and time when the deal product was last edited
|
435
435
|
* @member {String} last_edit
|
436
436
|
*/
|
437
437
|
|
438
438
|
_ProductAttachmentDetails["default"].prototype['last_edit'] = undefined;
|
439
439
|
/**
|
440
|
-
*
|
440
|
+
* Whether the product is active or not
|
441
441
|
* @member {Boolean} active_flag
|
442
442
|
*/
|
443
443
|
|
444
444
|
_ProductAttachmentDetails["default"].prototype['active_flag'] = undefined;
|
445
445
|
/**
|
446
|
-
* The
|
446
|
+
* The product name
|
447
447
|
* @member {String} name
|
448
448
|
*/
|
449
449
|
|
450
450
|
_ProductAttachmentDetails["default"].prototype['name'] = undefined; // Implement AddProductAttachmentDetailsAllOf interface:
|
451
451
|
|
452
452
|
/**
|
453
|
-
* The ID of the deal-product (the ID of the
|
453
|
+
* The ID of the deal-product (the ID of the product attached to the deal)
|
454
454
|
* @member {Number} product_attachment_id
|
455
455
|
*/
|
456
456
|
|
@@ -80,7 +80,7 @@ var AddProductAttachmentDetailsAllOf = /*#__PURE__*/function () {
|
|
80
80
|
return AddProductAttachmentDetailsAllOf;
|
81
81
|
}();
|
82
82
|
/**
|
83
|
-
* The ID of the deal-product (the ID of the
|
83
|
+
* The ID of the deal-product (the ID of the product attached to the deal)
|
84
84
|
* @member {Number} product_attachment_id
|
85
85
|
*/
|
86
86
|
|
@@ -35,7 +35,7 @@ var AddProductFollowerRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
36
36
|
* Constructs a new <code>AddProductFollowerRequest</code>.
|
37
37
|
* @alias module:model/AddProductFollowerRequest
|
38
|
-
* @param userId {Number} ID of the user
|
38
|
+
* @param userId {Number} The ID of the user
|
39
39
|
*/
|
40
40
|
function AddProductFollowerRequest(userId) {
|
41
41
|
(0, _classCallCheck2["default"])(this, AddProductFollowerRequest);
|
@@ -83,7 +83,7 @@ var AddProductFollowerRequest = /*#__PURE__*/function () {
|
|
83
83
|
return AddProductFollowerRequest;
|
84
84
|
}();
|
85
85
|
/**
|
86
|
-
* ID of the user
|
86
|
+
* The ID of the user
|
87
87
|
* @member {Number} user_id
|
88
88
|
*/
|
89
89
|
|
@@ -132,26 +132,26 @@ var AddProductRequestBody = /*#__PURE__*/function () {
|
|
132
132
|
return AddProductRequestBody;
|
133
133
|
}();
|
134
134
|
/**
|
135
|
-
*
|
135
|
+
* The name of the product
|
136
136
|
* @member {String} name
|
137
137
|
*/
|
138
138
|
|
139
139
|
|
140
140
|
AddProductRequestBody.prototype['name'] = undefined;
|
141
141
|
/**
|
142
|
-
*
|
142
|
+
* The product code
|
143
143
|
* @member {String} code
|
144
144
|
*/
|
145
145
|
|
146
146
|
AddProductRequestBody.prototype['code'] = undefined;
|
147
147
|
/**
|
148
|
-
*
|
148
|
+
* The unit in which this product is sold
|
149
149
|
* @member {String} unit
|
150
150
|
*/
|
151
151
|
|
152
152
|
AddProductRequestBody.prototype['unit'] = undefined;
|
153
153
|
/**
|
154
|
-
*
|
154
|
+
* The tax percentage
|
155
155
|
* @member {Number} tax
|
156
156
|
* @default 0
|
157
157
|
*/
|
@@ -168,13 +168,13 @@ AddProductRequestBody.prototype['active_flag'] = undefined;
|
|
168
168
|
|
169
169
|
AddProductRequestBody.prototype['selectable'] = undefined;
|
170
170
|
/**
|
171
|
-
*
|
171
|
+
* The visibility of the product. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table>
|
172
172
|
* @member {module:model/VisibleTo} visible_to
|
173
173
|
*/
|
174
174
|
|
175
175
|
AddProductRequestBody.prototype['visible_to'] = undefined;
|
176
176
|
/**
|
177
|
-
* ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used.
|
177
|
+
* The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used.
|
178
178
|
* @member {Number} owner_id
|
179
179
|
*/
|
180
180
|
|
@@ -187,25 +187,25 @@ AddProductRequestBody.prototype['owner_id'] = undefined;
|
|
187
187
|
AddProductRequestBody.prototype['prices'] = undefined; // Implement ProductRequest interface:
|
188
188
|
|
189
189
|
/**
|
190
|
-
*
|
190
|
+
* The name of the product
|
191
191
|
* @member {String} name
|
192
192
|
*/
|
193
193
|
|
194
194
|
_ProductRequest["default"].prototype['name'] = undefined;
|
195
195
|
/**
|
196
|
-
*
|
196
|
+
* The product code
|
197
197
|
* @member {String} code
|
198
198
|
*/
|
199
199
|
|
200
200
|
_ProductRequest["default"].prototype['code'] = undefined;
|
201
201
|
/**
|
202
|
-
*
|
202
|
+
* The unit in which this product is sold
|
203
203
|
* @member {String} unit
|
204
204
|
*/
|
205
205
|
|
206
206
|
_ProductRequest["default"].prototype['unit'] = undefined;
|
207
207
|
/**
|
208
|
-
*
|
208
|
+
* The tax percentage
|
209
209
|
* @member {Number} tax
|
210
210
|
* @default 0
|
211
211
|
*/
|
@@ -222,13 +222,13 @@ _ProductRequest["default"].prototype['active_flag'] = undefined;
|
|
222
222
|
|
223
223
|
_ProductRequest["default"].prototype['selectable'] = undefined;
|
224
224
|
/**
|
225
|
-
*
|
225
|
+
* The visibility of the product. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width: 40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table>
|
226
226
|
* @member {module:model/VisibleTo} visible_to
|
227
227
|
*/
|
228
228
|
|
229
229
|
_ProductRequest["default"].prototype['visible_to'] = undefined;
|
230
230
|
/**
|
231
|
-
* ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used.
|
231
|
+
* The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used.
|
232
232
|
* @member {Number} owner_id
|
233
233
|
*/
|
234
234
|
|
@@ -35,7 +35,7 @@ var AddTeamUserRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
36
36
|
* Constructs a new <code>AddTeamUserRequest</code>.
|
37
37
|
* @alias module:model/AddTeamUserRequest
|
38
|
-
* @param users {Array.<Number>}
|
38
|
+
* @param users {Array.<Number>} The list of user IDs
|
39
39
|
*/
|
40
40
|
function AddTeamUserRequest(users) {
|
41
41
|
(0, _classCallCheck2["default"])(this, AddTeamUserRequest);
|
@@ -83,7 +83,7 @@ var AddTeamUserRequest = /*#__PURE__*/function () {
|
|
83
83
|
return AddTeamUserRequest;
|
84
84
|
}();
|
85
85
|
/**
|
86
|
-
*
|
86
|
+
* The list of user IDs
|
87
87
|
* @member {Array.<Number>} users
|
88
88
|
*/
|
89
89
|
|
@@ -36,8 +36,8 @@ var AddWebhookRequest = /*#__PURE__*/function () {
|
|
36
36
|
* Constructs a new <code>AddWebhookRequest</code>.
|
37
37
|
* @alias module:model/AddWebhookRequest
|
38
38
|
* @param subscriptionUrl {String} A full, valid, publicly accessible URL which determines where to send the notifications. Please note that you cannot use Pipedrive API endpoints as the `subscription_url` and the chosen URL must not redirect to another link.
|
39
|
-
* @param eventAction {module:model/AddWebhookRequest.EventActionEnum}
|
40
|
-
* @param eventObject {module:model/AddWebhookRequest.EventObjectEnum}
|
39
|
+
* @param eventAction {module:model/AddWebhookRequest.EventActionEnum} The type of action to receive notifications about. Wildcard will match all supported actions.
|
40
|
+
* @param eventObject {module:model/AddWebhookRequest.EventObjectEnum} The type of object to receive notifications about. Wildcard will match all supported objects.
|
41
41
|
*/
|
42
42
|
function AddWebhookRequest(subscriptionUrl, eventAction, eventObject) {
|
43
43
|
(0, _classCallCheck2["default"])(this, AddWebhookRequest);
|
@@ -119,31 +119,31 @@ var AddWebhookRequest = /*#__PURE__*/function () {
|
|
119
119
|
|
120
120
|
AddWebhookRequest.prototype['subscription_url'] = undefined;
|
121
121
|
/**
|
122
|
-
*
|
122
|
+
* The type of action to receive notifications about. Wildcard will match all supported actions.
|
123
123
|
* @member {module:model/AddWebhookRequest.EventActionEnum} event_action
|
124
124
|
*/
|
125
125
|
|
126
126
|
AddWebhookRequest.prototype['event_action'] = undefined;
|
127
127
|
/**
|
128
|
-
*
|
128
|
+
* The type of object to receive notifications about. Wildcard will match all supported objects.
|
129
129
|
* @member {module:model/AddWebhookRequest.EventObjectEnum} event_object
|
130
130
|
*/
|
131
131
|
|
132
132
|
AddWebhookRequest.prototype['event_object'] = undefined;
|
133
133
|
/**
|
134
|
-
* The ID of the user this
|
134
|
+
* The ID of the user this Webhook will be authorized with. If not set, current authorized user will be used. Note that this does not filter only certain user's events — rather, this specifies the user's permissions under which each event is checked. Events about objects the selected user is not entitled to access are not sent. If you want to receive notifications for all events, a top-level admin user should be used.
|
135
135
|
* @member {Number} user_id
|
136
136
|
*/
|
137
137
|
|
138
138
|
AddWebhookRequest.prototype['user_id'] = undefined;
|
139
139
|
/**
|
140
|
-
* HTTP basic auth username of the subscription URL endpoint (if required)
|
140
|
+
* The HTTP basic auth username of the subscription URL endpoint (if required)
|
141
141
|
* @member {String} http_auth_user
|
142
142
|
*/
|
143
143
|
|
144
144
|
AddWebhookRequest.prototype['http_auth_user'] = undefined;
|
145
145
|
/**
|
146
|
-
* HTTP basic auth password of the subscription URL endpoint (if required)
|
146
|
+
* The HTTP basic auth password of the subscription URL endpoint (if required)
|
147
147
|
* @member {String} http_auth_password
|
148
148
|
*/
|
149
149
|
|
@@ -95,26 +95,26 @@ var AddedDealFollowerData = /*#__PURE__*/function () {
|
|
95
95
|
return AddedDealFollowerData;
|
96
96
|
}();
|
97
97
|
/**
|
98
|
-
* The
|
98
|
+
* The user ID who added the follower
|
99
99
|
* @member {Number} user_id
|
100
100
|
*/
|
101
101
|
|
102
102
|
|
103
103
|
AddedDealFollowerData.prototype['user_id'] = undefined;
|
104
104
|
/**
|
105
|
-
* The
|
105
|
+
* The follower ID
|
106
106
|
* @member {Number} id
|
107
107
|
*/
|
108
108
|
|
109
109
|
AddedDealFollowerData.prototype['id'] = undefined;
|
110
110
|
/**
|
111
|
-
* The ID of the
|
111
|
+
* The ID of the deal which the follower was added to
|
112
112
|
* @member {Number} deal_id
|
113
113
|
*/
|
114
114
|
|
115
115
|
AddedDealFollowerData.prototype['deal_id'] = undefined;
|
116
116
|
/**
|
117
|
-
* The date and time when the
|
117
|
+
* The date and time when the deal follower was added
|
118
118
|
* @member {String} add_time
|
119
119
|
*/
|
120
120
|
|