pipedrive 13.0.11 → 13.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +23 -20
- package/dist/ApiClient.js +46 -9
- package/dist/api/ActivitiesApi.js +44 -44
- package/dist/api/ActivityTypesApi.js +36 -36
- package/dist/api/CallLogsApi.js +23 -6
- package/dist/api/CurrenciesApi.js +2 -2
- package/dist/api/DealFieldsApi.js +18 -18
- package/dist/api/DealsApi.js +122 -110
- package/dist/api/FilesApi.js +38 -38
- package/dist/api/FiltersApi.js +23 -6
- 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 +16 -16
- package/dist/api/OrganizationRelationshipsApi.js +25 -12
- package/dist/api/OrganizationsApi.js +64 -56
- package/dist/api/PermissionSetsApi.js +12 -12
- package/dist/api/PersonFieldsApi.js +16 -16
- package/dist/api/PersonsApi.js +92 -84
- package/dist/api/PipelinesApi.js +50 -50
- package/dist/api/ProductFieldsApi.js +29 -16
- package/dist/api/ProductsApi.js +50 -46
- 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 +24 -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/ActivityTypeListResponse.js +2 -2
- package/dist/model/ActivityTypeListResponseAllOf.js +1 -1
- package/dist/model/ActivityTypeObjectResponse.js +9 -9
- 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 +5 -5
- 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 +23 -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/MarketingStatus.js +69 -0
- 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 +40 -21
- 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
|
@@ -290,7 +290,7 @@ var ProductBaseDeal = /*#__PURE__*/function () {
|
|
|
290
290
|
return ProductBaseDeal;
|
|
291
291
|
}();
|
|
292
292
|
/**
|
|
293
|
-
* The ID of the
|
|
293
|
+
* The ID of the deal
|
|
294
294
|
* @member {Number} id
|
|
295
295
|
*/
|
|
296
296
|
|
|
@@ -303,247 +303,247 @@ ProductBaseDeal.prototype['id'] = undefined;
|
|
|
303
303
|
|
|
304
304
|
ProductBaseDeal.prototype['company_id'] = undefined;
|
|
305
305
|
/**
|
|
306
|
-
* The ID of the
|
|
306
|
+
* The ID of the deal creator
|
|
307
307
|
* @member {Number} creator_user_id
|
|
308
308
|
*/
|
|
309
309
|
|
|
310
310
|
ProductBaseDeal.prototype['creator_user_id'] = undefined;
|
|
311
311
|
/**
|
|
312
|
-
* The ID of the
|
|
312
|
+
* The ID of the user
|
|
313
313
|
* @member {Number} user_id
|
|
314
314
|
*/
|
|
315
315
|
|
|
316
316
|
ProductBaseDeal.prototype['user_id'] = undefined;
|
|
317
317
|
/**
|
|
318
|
-
* The ID of the
|
|
318
|
+
* The ID of the person associated with the deal
|
|
319
319
|
* @member {Number} person_id
|
|
320
320
|
*/
|
|
321
321
|
|
|
322
322
|
ProductBaseDeal.prototype['person_id'] = undefined;
|
|
323
323
|
/**
|
|
324
|
-
* The ID of the
|
|
324
|
+
* The ID of the organization associated with the deal
|
|
325
325
|
* @member {Number} org_id
|
|
326
326
|
*/
|
|
327
327
|
|
|
328
328
|
ProductBaseDeal.prototype['org_id'] = undefined;
|
|
329
329
|
/**
|
|
330
|
-
* The ID of the
|
|
330
|
+
* The ID of the deal stage
|
|
331
331
|
* @member {Number} stage_id
|
|
332
332
|
*/
|
|
333
333
|
|
|
334
334
|
ProductBaseDeal.prototype['stage_id'] = undefined;
|
|
335
335
|
/**
|
|
336
|
-
* The title of the
|
|
336
|
+
* The title of the deal
|
|
337
337
|
* @member {String} title
|
|
338
338
|
*/
|
|
339
339
|
|
|
340
340
|
ProductBaseDeal.prototype['title'] = undefined;
|
|
341
341
|
/**
|
|
342
|
-
* The value of the
|
|
342
|
+
* The value of the deal
|
|
343
343
|
* @member {Number} value
|
|
344
344
|
*/
|
|
345
345
|
|
|
346
346
|
ProductBaseDeal.prototype['value'] = undefined;
|
|
347
347
|
/**
|
|
348
|
-
* The currency associated with the
|
|
348
|
+
* The currency associated with the deal
|
|
349
349
|
* @member {String} currency
|
|
350
350
|
*/
|
|
351
351
|
|
|
352
352
|
ProductBaseDeal.prototype['currency'] = undefined;
|
|
353
353
|
/**
|
|
354
|
-
* The creation date and time of the
|
|
354
|
+
* The creation date and time of the deal
|
|
355
355
|
* @member {String} add_time
|
|
356
356
|
*/
|
|
357
357
|
|
|
358
358
|
ProductBaseDeal.prototype['add_time'] = undefined;
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
360
|
+
* The first creation date and time of the deal
|
|
361
361
|
* @member {String} first_add_time
|
|
362
362
|
*/
|
|
363
363
|
|
|
364
364
|
ProductBaseDeal.prototype['first_add_time'] = undefined;
|
|
365
365
|
/**
|
|
366
|
-
* The last updated date and time of the
|
|
366
|
+
* The last updated date and time of the deal
|
|
367
367
|
* @member {String} update_time
|
|
368
368
|
*/
|
|
369
369
|
|
|
370
370
|
ProductBaseDeal.prototype['update_time'] = undefined;
|
|
371
371
|
/**
|
|
372
|
-
* The last updated date and time of the
|
|
372
|
+
* The last updated date and time of the deal stage
|
|
373
373
|
* @member {String} stage_change_time
|
|
374
374
|
*/
|
|
375
375
|
|
|
376
376
|
ProductBaseDeal.prototype['stage_change_time'] = undefined;
|
|
377
377
|
/**
|
|
378
|
-
*
|
|
378
|
+
* Whether the deal is active or not
|
|
379
379
|
* @member {Boolean} active
|
|
380
380
|
*/
|
|
381
381
|
|
|
382
382
|
ProductBaseDeal.prototype['active'] = undefined;
|
|
383
383
|
/**
|
|
384
|
-
*
|
|
384
|
+
* Whether the deal is deleted or not
|
|
385
385
|
* @member {Boolean} deleted
|
|
386
386
|
*/
|
|
387
387
|
|
|
388
388
|
ProductBaseDeal.prototype['deleted'] = undefined;
|
|
389
389
|
/**
|
|
390
|
-
* The status of the
|
|
390
|
+
* The status of the deal
|
|
391
391
|
* @member {String} status
|
|
392
392
|
*/
|
|
393
393
|
|
|
394
394
|
ProductBaseDeal.prototype['status'] = undefined;
|
|
395
395
|
/**
|
|
396
|
-
* The success probability percentage of the
|
|
396
|
+
* The success probability percentage of the deal
|
|
397
397
|
* @member {Number} probability
|
|
398
398
|
*/
|
|
399
399
|
|
|
400
400
|
ProductBaseDeal.prototype['probability'] = undefined;
|
|
401
401
|
/**
|
|
402
|
-
* The date of the next activity associated with the
|
|
402
|
+
* The date of the next activity associated with the deal
|
|
403
403
|
* @member {String} next_activity_date
|
|
404
404
|
*/
|
|
405
405
|
|
|
406
406
|
ProductBaseDeal.prototype['next_activity_date'] = undefined;
|
|
407
407
|
/**
|
|
408
|
-
* The time of the next activity associated with the
|
|
408
|
+
* The time of the next activity associated with the deal
|
|
409
409
|
* @member {String} next_activity_time
|
|
410
410
|
*/
|
|
411
411
|
|
|
412
412
|
ProductBaseDeal.prototype['next_activity_time'] = undefined;
|
|
413
413
|
/**
|
|
414
|
-
* The ID of the next activity associated with the
|
|
414
|
+
* The ID of the next activity associated with the deal
|
|
415
415
|
* @member {Number} next_activity_id
|
|
416
416
|
*/
|
|
417
417
|
|
|
418
418
|
ProductBaseDeal.prototype['next_activity_id'] = undefined;
|
|
419
419
|
/**
|
|
420
|
-
* The ID of the last activity associated with the
|
|
420
|
+
* The ID of the last activity associated with the deal
|
|
421
421
|
* @member {Number} last_activity_id
|
|
422
422
|
*/
|
|
423
423
|
|
|
424
424
|
ProductBaseDeal.prototype['last_activity_id'] = undefined;
|
|
425
425
|
/**
|
|
426
|
-
* The date of the last activity associated with the
|
|
426
|
+
* The date of the last activity associated with the deal
|
|
427
427
|
* @member {String} last_activity_date
|
|
428
428
|
*/
|
|
429
429
|
|
|
430
430
|
ProductBaseDeal.prototype['last_activity_date'] = undefined;
|
|
431
431
|
/**
|
|
432
|
-
* The reason for losing the
|
|
432
|
+
* The reason for losing the deal
|
|
433
433
|
* @member {String} lost_reason
|
|
434
434
|
*/
|
|
435
435
|
|
|
436
436
|
ProductBaseDeal.prototype['lost_reason'] = undefined;
|
|
437
437
|
/**
|
|
438
|
-
* The visibility of the
|
|
438
|
+
* The visibility of the deal
|
|
439
439
|
* @member {String} visible_to
|
|
440
440
|
*/
|
|
441
441
|
|
|
442
442
|
ProductBaseDeal.prototype['visible_to'] = undefined;
|
|
443
443
|
/**
|
|
444
|
-
* The date and time of closing the
|
|
444
|
+
* The date and time of closing the deal
|
|
445
445
|
* @member {String} close_time
|
|
446
446
|
*/
|
|
447
447
|
|
|
448
448
|
ProductBaseDeal.prototype['close_time'] = undefined;
|
|
449
449
|
/**
|
|
450
|
-
* The ID of pipeline associated with the
|
|
450
|
+
* The ID of pipeline associated with the deal
|
|
451
451
|
* @member {Number} pipeline_id
|
|
452
452
|
*/
|
|
453
453
|
|
|
454
454
|
ProductBaseDeal.prototype['pipeline_id'] = undefined;
|
|
455
455
|
/**
|
|
456
|
-
* The date and time of changing the
|
|
456
|
+
* The date and time of changing the deal status as won
|
|
457
457
|
* @member {String} won_time
|
|
458
458
|
*/
|
|
459
459
|
|
|
460
460
|
ProductBaseDeal.prototype['won_time'] = undefined;
|
|
461
461
|
/**
|
|
462
|
-
* The date and time of the first time changing the
|
|
462
|
+
* The date and time of the first time changing the deal status as won
|
|
463
463
|
* @member {String} first_won_time
|
|
464
464
|
*/
|
|
465
465
|
|
|
466
466
|
ProductBaseDeal.prototype['first_won_time'] = undefined;
|
|
467
467
|
/**
|
|
468
|
-
* The date and time of changing the
|
|
468
|
+
* The date and time of changing the deal status as lost
|
|
469
469
|
* @member {String} lost_time
|
|
470
470
|
*/
|
|
471
471
|
|
|
472
472
|
ProductBaseDeal.prototype['lost_time'] = undefined;
|
|
473
473
|
/**
|
|
474
|
-
* The number of
|
|
474
|
+
* The number of products associated with the deal
|
|
475
475
|
* @member {Number} products_count
|
|
476
476
|
*/
|
|
477
477
|
|
|
478
478
|
ProductBaseDeal.prototype['products_count'] = undefined;
|
|
479
479
|
/**
|
|
480
|
-
* The number of
|
|
480
|
+
* The number of files associated with the deal
|
|
481
481
|
* @member {Number} files_count
|
|
482
482
|
*/
|
|
483
483
|
|
|
484
484
|
ProductBaseDeal.prototype['files_count'] = undefined;
|
|
485
485
|
/**
|
|
486
|
-
* The number of
|
|
486
|
+
* The number of notes associated with the deal
|
|
487
487
|
* @member {Number} notes_count
|
|
488
488
|
*/
|
|
489
489
|
|
|
490
490
|
ProductBaseDeal.prototype['notes_count'] = undefined;
|
|
491
491
|
/**
|
|
492
|
-
* The number of
|
|
492
|
+
* The number of followers associated with the deal
|
|
493
493
|
* @member {Number} followers_count
|
|
494
494
|
*/
|
|
495
495
|
|
|
496
496
|
ProductBaseDeal.prototype['followers_count'] = undefined;
|
|
497
497
|
/**
|
|
498
|
-
* The number of emails associated with the
|
|
498
|
+
* The number of emails associated with the deal
|
|
499
499
|
* @member {Number} email_messages_count
|
|
500
500
|
*/
|
|
501
501
|
|
|
502
502
|
ProductBaseDeal.prototype['email_messages_count'] = undefined;
|
|
503
503
|
/**
|
|
504
|
-
* The number of
|
|
504
|
+
* The number of activities associated with the deal
|
|
505
505
|
* @member {Number} activities_count
|
|
506
506
|
*/
|
|
507
507
|
|
|
508
508
|
ProductBaseDeal.prototype['activities_count'] = undefined;
|
|
509
509
|
/**
|
|
510
|
-
* The number of completed
|
|
510
|
+
* The number of completed activities associated with the deal
|
|
511
511
|
* @member {Number} done_activities_count
|
|
512
512
|
*/
|
|
513
513
|
|
|
514
514
|
ProductBaseDeal.prototype['done_activities_count'] = undefined;
|
|
515
515
|
/**
|
|
516
|
-
* The number of incomplete
|
|
516
|
+
* The number of incomplete activities associated with the deal
|
|
517
517
|
* @member {Number} undone_activities_count
|
|
518
518
|
*/
|
|
519
519
|
|
|
520
520
|
ProductBaseDeal.prototype['undone_activities_count'] = undefined;
|
|
521
521
|
/**
|
|
522
|
-
* The number of
|
|
522
|
+
* The number of participants associated with the deal
|
|
523
523
|
* @member {Number} participants_count
|
|
524
524
|
*/
|
|
525
525
|
|
|
526
526
|
ProductBaseDeal.prototype['participants_count'] = undefined;
|
|
527
527
|
/**
|
|
528
|
-
* The expected close date of the
|
|
528
|
+
* The expected close date of the deal
|
|
529
529
|
* @member {Date} expected_close_date
|
|
530
530
|
*/
|
|
531
531
|
|
|
532
532
|
ProductBaseDeal.prototype['expected_close_date'] = undefined;
|
|
533
533
|
/**
|
|
534
|
-
* The date and time of the last incoming email associated with the
|
|
534
|
+
* The date and time of the last incoming email associated with the deal
|
|
535
535
|
* @member {String} last_incoming_mail_time
|
|
536
536
|
*/
|
|
537
537
|
|
|
538
538
|
ProductBaseDeal.prototype['last_incoming_mail_time'] = undefined;
|
|
539
539
|
/**
|
|
540
|
-
* The date and time of the last outgoing email associated with the
|
|
540
|
+
* The date and time of the last outgoing email associated with the deal
|
|
541
541
|
* @member {String} last_outgoing_mail_time
|
|
542
542
|
*/
|
|
543
543
|
|
|
544
544
|
ProductBaseDeal.prototype['last_outgoing_mail_time'] = undefined;
|
|
545
545
|
/**
|
|
546
|
-
* The label assigned to the
|
|
546
|
+
* The label assigned to the deal
|
|
547
547
|
* @member {String} label
|
|
548
548
|
*/
|
|
549
549
|
|
|
@@ -41,8 +41,8 @@ var ProductField = /*#__PURE__*/function () {
|
|
|
41
41
|
* @alias module:model/ProductField
|
|
42
42
|
* @implements module:model/NewProductField
|
|
43
43
|
* @implements module:model/ProductFieldAllOf
|
|
44
|
-
* @param name {String}
|
|
45
|
-
* @param fieldType {module:model/ProductField.FieldTypeEnum}
|
|
44
|
+
* @param name {String} The name of the field
|
|
45
|
+
* @param fieldType {module:model/ProductField.FieldTypeEnum} The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
|
|
46
46
|
*/
|
|
47
47
|
function ProductField(name, fieldType) {
|
|
48
48
|
(0, _classCallCheck2["default"])(this, ProductField);
|
|
@@ -185,7 +185,7 @@ var ProductField = /*#__PURE__*/function () {
|
|
|
185
185
|
return ProductField;
|
|
186
186
|
}();
|
|
187
187
|
/**
|
|
188
|
-
*
|
|
188
|
+
* The name of the field
|
|
189
189
|
* @member {String} name
|
|
190
190
|
*/
|
|
191
191
|
|
|
@@ -198,104 +198,104 @@ ProductField.prototype['name'] = undefined;
|
|
|
198
198
|
|
|
199
199
|
ProductField.prototype['options'] = undefined;
|
|
200
200
|
/**
|
|
201
|
-
*
|
|
201
|
+
* The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
|
|
202
202
|
* @member {module:model/ProductField.FieldTypeEnum} field_type
|
|
203
203
|
*/
|
|
204
204
|
|
|
205
205
|
ProductField.prototype['field_type'] = undefined;
|
|
206
206
|
/**
|
|
207
|
-
* The ID of the
|
|
207
|
+
* The ID of the product field
|
|
208
208
|
* @member {Number} id
|
|
209
209
|
*/
|
|
210
210
|
|
|
211
211
|
ProductField.prototype['id'] = undefined;
|
|
212
212
|
/**
|
|
213
|
-
* The key of the
|
|
213
|
+
* The key of the product field
|
|
214
214
|
* @member {String} key
|
|
215
215
|
*/
|
|
216
216
|
|
|
217
217
|
ProductField.prototype['key'] = undefined;
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
219
|
+
* The position (index) of the product field in the detail view
|
|
220
220
|
* @member {Number} order_nr
|
|
221
221
|
*/
|
|
222
222
|
|
|
223
223
|
ProductField.prototype['order_nr'] = undefined;
|
|
224
224
|
/**
|
|
225
|
-
* The
|
|
225
|
+
* The product field creation time. Format: YYYY-MM-DD HH:MM:SS
|
|
226
226
|
* @member {String} add_time
|
|
227
227
|
*/
|
|
228
228
|
|
|
229
229
|
ProductField.prototype['add_time'] = undefined;
|
|
230
230
|
/**
|
|
231
|
-
* The
|
|
231
|
+
* The product field last update time. Format: YYYY-MM-DD HH:MM:SS
|
|
232
232
|
* @member {String} update_time
|
|
233
233
|
*/
|
|
234
234
|
|
|
235
235
|
ProductField.prototype['update_time'] = undefined;
|
|
236
236
|
/**
|
|
237
|
-
* The ID of the last user to update the
|
|
237
|
+
* The ID of the last user to update the product field
|
|
238
238
|
* @member {Number} last_updated_by_user_id
|
|
239
239
|
*/
|
|
240
240
|
|
|
241
241
|
ProductField.prototype['last_updated_by_user_id'] = undefined;
|
|
242
242
|
/**
|
|
243
|
-
* Whether or not the
|
|
243
|
+
* Whether or not the product field is currently active
|
|
244
244
|
* @member {Boolean} active_flag
|
|
245
245
|
*/
|
|
246
246
|
|
|
247
247
|
ProductField.prototype['active_flag'] = undefined;
|
|
248
248
|
/**
|
|
249
|
-
* Whether or not the
|
|
249
|
+
* Whether or not the product field name and metadata is editable
|
|
250
250
|
* @member {Boolean} edit_flag
|
|
251
251
|
*/
|
|
252
252
|
|
|
253
253
|
ProductField.prototype['edit_flag'] = undefined;
|
|
254
254
|
/**
|
|
255
|
-
* Whether or not the
|
|
255
|
+
* Whether or not the product field is visible in the Add Product Modal
|
|
256
256
|
* @member {Boolean} add_visible_flag
|
|
257
257
|
*/
|
|
258
258
|
|
|
259
259
|
ProductField.prototype['add_visible_flag'] = undefined;
|
|
260
260
|
/**
|
|
261
|
-
* Whether or not the
|
|
261
|
+
* Whether or not the product field is marked as important
|
|
262
262
|
* @member {Boolean} important_flag
|
|
263
263
|
*/
|
|
264
264
|
|
|
265
265
|
ProductField.prototype['important_flag'] = undefined;
|
|
266
266
|
/**
|
|
267
|
-
* Whether or not the
|
|
267
|
+
* Whether or not the product field data can be edited
|
|
268
268
|
* @member {Boolean} bulk_edit_allowed
|
|
269
269
|
*/
|
|
270
270
|
|
|
271
271
|
ProductField.prototype['bulk_edit_allowed'] = undefined;
|
|
272
272
|
/**
|
|
273
|
-
* Whether or not the
|
|
273
|
+
* Whether or not the product field is searchable
|
|
274
274
|
* @member {Boolean} searchable_flag
|
|
275
275
|
*/
|
|
276
276
|
|
|
277
277
|
ProductField.prototype['searchable_flag'] = undefined;
|
|
278
278
|
/**
|
|
279
|
-
* Whether or not the
|
|
279
|
+
* Whether or not the product field value can be used when filtering searches
|
|
280
280
|
* @member {Boolean} filtering_allowed
|
|
281
281
|
*/
|
|
282
282
|
|
|
283
283
|
ProductField.prototype['filtering_allowed'] = undefined;
|
|
284
284
|
/**
|
|
285
|
-
* Whether or not the
|
|
285
|
+
* Whether or not the product field is sortable
|
|
286
286
|
* @member {Boolean} sortable_flag
|
|
287
287
|
*/
|
|
288
288
|
|
|
289
289
|
ProductField.prototype['sortable_flag'] = undefined;
|
|
290
290
|
/**
|
|
291
|
-
* Whether or not the
|
|
291
|
+
* Whether or not the product field is mandatory when creating products
|
|
292
292
|
* @member {Boolean} mandatory_flag
|
|
293
293
|
*/
|
|
294
294
|
|
|
295
295
|
ProductField.prototype['mandatory_flag'] = undefined; // Implement NewProductField interface:
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
|
-
*
|
|
298
|
+
* The name of the field
|
|
299
299
|
* @member {String} name
|
|
300
300
|
*/
|
|
301
301
|
|
|
@@ -307,98 +307,98 @@ _NewProductField["default"].prototype['name'] = undefined;
|
|
|
307
307
|
|
|
308
308
|
_NewProductField["default"].prototype['options'] = undefined;
|
|
309
309
|
/**
|
|
310
|
-
*
|
|
310
|
+
* The type of the field<table><tr><th>Value</th><th>Description</th></tr><tr><td>`varchar`</td><td>Text (up to 255 characters)</td><tr><td>`varchar_auto`</td><td>Autocomplete text (up to 255 characters)</td><tr><td>`text`</td><td>Long text (up to 65k characters)</td><tr><td>`double`</td><td>Numeric value</td><tr><td>`monetary`</td><td>Monetary field (has a numeric value and a currency value)</td><tr><td>`date`</td><td>Date (format YYYY-MM-DD)</td><tr><td>`set`</td><td>Options field with a possibility of having multiple chosen options</td><tr><td>`enum`</td><td>Options field with a single possible chosen option</td><tr><td>`user`</td><td>User field (contains a user ID of another Pipedrive user)</td><tr><td>`org`</td><td>Organization field (contains an organization ID which is stored on the same account)</td><tr><td>`people`</td><td>Person field (contains a product ID which is stored on the same account)</td><tr><td>`phone`</td><td>Phone field (up to 255 numbers and/or characters)</td><tr><td>`time`</td><td>Time field (format HH:MM:SS)</td><tr><td>`timerange`</td><td>Time-range field (has a start time and end time value, both HH:MM:SS)</td><tr><td>`daterange`</td><td>Date-range field (has a start date and end date value, both YYYY-MM-DD)</td><tr><td>`address`</td><td>Address field (autocompleted by Google Maps)</dd></table>
|
|
311
311
|
* @member {module:model/NewProductField.FieldTypeEnum} field_type
|
|
312
312
|
*/
|
|
313
313
|
|
|
314
314
|
_NewProductField["default"].prototype['field_type'] = undefined; // Implement ProductFieldAllOf interface:
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
|
-
* The ID of the
|
|
317
|
+
* The ID of the product field
|
|
318
318
|
* @member {Number} id
|
|
319
319
|
*/
|
|
320
320
|
|
|
321
321
|
_ProductFieldAllOf["default"].prototype['id'] = undefined;
|
|
322
322
|
/**
|
|
323
|
-
* The key of the
|
|
323
|
+
* The key of the product field
|
|
324
324
|
* @member {String} key
|
|
325
325
|
*/
|
|
326
326
|
|
|
327
327
|
_ProductFieldAllOf["default"].prototype['key'] = undefined;
|
|
328
328
|
/**
|
|
329
|
-
*
|
|
329
|
+
* The position (index) of the product field in the detail view
|
|
330
330
|
* @member {Number} order_nr
|
|
331
331
|
*/
|
|
332
332
|
|
|
333
333
|
_ProductFieldAllOf["default"].prototype['order_nr'] = undefined;
|
|
334
334
|
/**
|
|
335
|
-
* The
|
|
335
|
+
* The product field creation time. Format: YYYY-MM-DD HH:MM:SS
|
|
336
336
|
* @member {String} add_time
|
|
337
337
|
*/
|
|
338
338
|
|
|
339
339
|
_ProductFieldAllOf["default"].prototype['add_time'] = undefined;
|
|
340
340
|
/**
|
|
341
|
-
* The
|
|
341
|
+
* The product field last update time. Format: YYYY-MM-DD HH:MM:SS
|
|
342
342
|
* @member {String} update_time
|
|
343
343
|
*/
|
|
344
344
|
|
|
345
345
|
_ProductFieldAllOf["default"].prototype['update_time'] = undefined;
|
|
346
346
|
/**
|
|
347
|
-
* The ID of the last user to update the
|
|
347
|
+
* The ID of the last user to update the product field
|
|
348
348
|
* @member {Number} last_updated_by_user_id
|
|
349
349
|
*/
|
|
350
350
|
|
|
351
351
|
_ProductFieldAllOf["default"].prototype['last_updated_by_user_id'] = undefined;
|
|
352
352
|
/**
|
|
353
|
-
* Whether or not the
|
|
353
|
+
* Whether or not the product field is currently active
|
|
354
354
|
* @member {Boolean} active_flag
|
|
355
355
|
*/
|
|
356
356
|
|
|
357
357
|
_ProductFieldAllOf["default"].prototype['active_flag'] = undefined;
|
|
358
358
|
/**
|
|
359
|
-
* Whether or not the
|
|
359
|
+
* Whether or not the product field name and metadata is editable
|
|
360
360
|
* @member {Boolean} edit_flag
|
|
361
361
|
*/
|
|
362
362
|
|
|
363
363
|
_ProductFieldAllOf["default"].prototype['edit_flag'] = undefined;
|
|
364
364
|
/**
|
|
365
|
-
* Whether or not the
|
|
365
|
+
* Whether or not the product field is visible in the Add Product Modal
|
|
366
366
|
* @member {Boolean} add_visible_flag
|
|
367
367
|
*/
|
|
368
368
|
|
|
369
369
|
_ProductFieldAllOf["default"].prototype['add_visible_flag'] = undefined;
|
|
370
370
|
/**
|
|
371
|
-
* Whether or not the
|
|
371
|
+
* Whether or not the product field is marked as important
|
|
372
372
|
* @member {Boolean} important_flag
|
|
373
373
|
*/
|
|
374
374
|
|
|
375
375
|
_ProductFieldAllOf["default"].prototype['important_flag'] = undefined;
|
|
376
376
|
/**
|
|
377
|
-
* Whether or not the
|
|
377
|
+
* Whether or not the product field data can be edited
|
|
378
378
|
* @member {Boolean} bulk_edit_allowed
|
|
379
379
|
*/
|
|
380
380
|
|
|
381
381
|
_ProductFieldAllOf["default"].prototype['bulk_edit_allowed'] = undefined;
|
|
382
382
|
/**
|
|
383
|
-
* Whether or not the
|
|
383
|
+
* Whether or not the product field is searchable
|
|
384
384
|
* @member {Boolean} searchable_flag
|
|
385
385
|
*/
|
|
386
386
|
|
|
387
387
|
_ProductFieldAllOf["default"].prototype['searchable_flag'] = undefined;
|
|
388
388
|
/**
|
|
389
|
-
* Whether or not the
|
|
389
|
+
* Whether or not the product field value can be used when filtering searches
|
|
390
390
|
* @member {Boolean} filtering_allowed
|
|
391
391
|
*/
|
|
392
392
|
|
|
393
393
|
_ProductFieldAllOf["default"].prototype['filtering_allowed'] = undefined;
|
|
394
394
|
/**
|
|
395
|
-
* Whether or not the
|
|
395
|
+
* Whether or not the product field is sortable
|
|
396
396
|
* @member {Boolean} sortable_flag
|
|
397
397
|
*/
|
|
398
398
|
|
|
399
399
|
_ProductFieldAllOf["default"].prototype['sortable_flag'] = undefined;
|
|
400
400
|
/**
|
|
401
|
-
* Whether or not the
|
|
401
|
+
* Whether or not the product field is mandatory when creating products
|
|
402
402
|
* @member {Boolean} mandatory_flag
|
|
403
403
|
*/
|
|
404
404
|
|