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
|
@@ -147,136 +147,136 @@ var AddNoteRequest = /*#__PURE__*/function () {
|
|
|
147
147
|
return AddNoteRequest;
|
|
148
148
|
}();
|
|
149
149
|
/**
|
|
150
|
-
* The ID of the
|
|
150
|
+
* The ID of the lead the note will be attached to. This property is required unless one of (`deal_id/person_id/org_id`) is specified.
|
|
151
151
|
* @member {String} lead_id
|
|
152
152
|
*/
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
AddNoteRequest.prototype['lead_id'] = undefined;
|
|
156
156
|
/**
|
|
157
|
-
* The ID of the
|
|
157
|
+
* The ID of the deal the note will be attached to. This property is required unless one of (`lead_id/person_id/org_id`) is specified.
|
|
158
158
|
* @member {Number} deal_id
|
|
159
159
|
*/
|
|
160
160
|
|
|
161
161
|
AddNoteRequest.prototype['deal_id'] = undefined;
|
|
162
162
|
/**
|
|
163
|
-
* The ID of the
|
|
163
|
+
* The ID of the person this note will be attached to. This property is required unless one of (`deal_id/lead_id/org_id`) is specified.
|
|
164
164
|
* @member {Number} person_id
|
|
165
165
|
*/
|
|
166
166
|
|
|
167
167
|
AddNoteRequest.prototype['person_id'] = undefined;
|
|
168
168
|
/**
|
|
169
|
-
* The ID of the
|
|
169
|
+
* The ID of the organization this note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id`) is specified.
|
|
170
170
|
* @member {Number} org_id
|
|
171
171
|
*/
|
|
172
172
|
|
|
173
173
|
AddNoteRequest.prototype['org_id'] = undefined;
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* The content of the note in HTML format. Subject to sanitization on the back-end.
|
|
176
176
|
* @member {String} content
|
|
177
177
|
*/
|
|
178
178
|
|
|
179
179
|
AddNoteRequest.prototype['content'] = undefined;
|
|
180
180
|
/**
|
|
181
|
-
* ID of the user who will be marked as the author of
|
|
181
|
+
* The ID of the user who will be marked as the author of the note. Only an admin can change the author.
|
|
182
182
|
* @member {Number} user_id
|
|
183
183
|
*/
|
|
184
184
|
|
|
185
185
|
AddNoteRequest.prototype['user_id'] = undefined;
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
|
188
188
|
* @member {String} add_time
|
|
189
189
|
*/
|
|
190
190
|
|
|
191
191
|
AddNoteRequest.prototype['add_time'] = undefined;
|
|
192
192
|
/**
|
|
193
|
-
* If set,
|
|
193
|
+
* If set, the results are filtered by note to lead pinning state (`lead_id` is also required)
|
|
194
194
|
* @member {module:model/NumberBoolean} pinned_to_lead_flag
|
|
195
195
|
*/
|
|
196
196
|
|
|
197
197
|
AddNoteRequest.prototype['pinned_to_lead_flag'] = undefined;
|
|
198
198
|
/**
|
|
199
|
-
* If set,
|
|
199
|
+
* If set, the results are filtered by note to deal pinning state (`deal_id` is also required)
|
|
200
200
|
* @member {module:model/NumberBoolean} pinned_to_deal_flag
|
|
201
201
|
*/
|
|
202
202
|
|
|
203
203
|
AddNoteRequest.prototype['pinned_to_deal_flag'] = undefined;
|
|
204
204
|
/**
|
|
205
|
-
* If set,
|
|
205
|
+
* If set, the results are filtered by note to organization pinning state (`org_id` is also required)
|
|
206
206
|
* @member {module:model/NumberBoolean} pinned_to_organization_flag
|
|
207
207
|
*/
|
|
208
208
|
|
|
209
209
|
AddNoteRequest.prototype['pinned_to_organization_flag'] = undefined;
|
|
210
210
|
/**
|
|
211
|
-
* If set,
|
|
211
|
+
* If set, the results are filtered by note to person pinning state (`person_id` is also required)
|
|
212
212
|
* @member {module:model/NumberBoolean} pinned_to_person_flag
|
|
213
213
|
*/
|
|
214
214
|
|
|
215
215
|
AddNoteRequest.prototype['pinned_to_person_flag'] = undefined; // Implement AddNoteRequestAllOf interface:
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* The ID of the
|
|
218
|
+
* The ID of the lead the note will be attached to. This property is required unless one of (`deal_id/person_id/org_id`) is specified.
|
|
219
219
|
* @member {String} lead_id
|
|
220
220
|
*/
|
|
221
221
|
|
|
222
222
|
_AddNoteRequestAllOf["default"].prototype['lead_id'] = undefined;
|
|
223
223
|
/**
|
|
224
|
-
* The ID of the
|
|
224
|
+
* The ID of the deal the note will be attached to. This property is required unless one of (`lead_id/person_id/org_id`) is specified.
|
|
225
225
|
* @member {Number} deal_id
|
|
226
226
|
*/
|
|
227
227
|
|
|
228
228
|
_AddNoteRequestAllOf["default"].prototype['deal_id'] = undefined;
|
|
229
229
|
/**
|
|
230
|
-
* The ID of the
|
|
230
|
+
* The ID of the person this note will be attached to. This property is required unless one of (`deal_id/lead_id/org_id`) is specified.
|
|
231
231
|
* @member {Number} person_id
|
|
232
232
|
*/
|
|
233
233
|
|
|
234
234
|
_AddNoteRequestAllOf["default"].prototype['person_id'] = undefined;
|
|
235
235
|
/**
|
|
236
|
-
* The ID of the
|
|
236
|
+
* The ID of the organization this note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id`) is specified.
|
|
237
237
|
* @member {Number} org_id
|
|
238
238
|
*/
|
|
239
239
|
|
|
240
240
|
_AddNoteRequestAllOf["default"].prototype['org_id'] = undefined; // Implement NoteParams interface:
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* The content of the note in HTML format. Subject to sanitization on the back-end.
|
|
244
244
|
* @member {String} content
|
|
245
245
|
*/
|
|
246
246
|
|
|
247
247
|
_NoteParams["default"].prototype['content'] = undefined;
|
|
248
248
|
/**
|
|
249
|
-
* ID of the user who will be marked as the author of
|
|
249
|
+
* The ID of the user who will be marked as the author of the note. Only an admin can change the author.
|
|
250
250
|
* @member {Number} user_id
|
|
251
251
|
*/
|
|
252
252
|
|
|
253
253
|
_NoteParams["default"].prototype['user_id'] = undefined;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
|
256
256
|
* @member {String} add_time
|
|
257
257
|
*/
|
|
258
258
|
|
|
259
259
|
_NoteParams["default"].prototype['add_time'] = undefined;
|
|
260
260
|
/**
|
|
261
|
-
* If set,
|
|
261
|
+
* If set, the results are filtered by note to lead pinning state (`lead_id` is also required)
|
|
262
262
|
* @member {module:model/NumberBoolean} pinned_to_lead_flag
|
|
263
263
|
*/
|
|
264
264
|
|
|
265
265
|
_NoteParams["default"].prototype['pinned_to_lead_flag'] = undefined;
|
|
266
266
|
/**
|
|
267
|
-
* If set,
|
|
267
|
+
* If set, the results are filtered by note to deal pinning state (`deal_id` is also required)
|
|
268
268
|
* @member {module:model/NumberBoolean} pinned_to_deal_flag
|
|
269
269
|
*/
|
|
270
270
|
|
|
271
271
|
_NoteParams["default"].prototype['pinned_to_deal_flag'] = undefined;
|
|
272
272
|
/**
|
|
273
|
-
* If set,
|
|
273
|
+
* If set, the results are filtered by note to organization pinning state (`org_id` is also required)
|
|
274
274
|
* @member {module:model/NumberBoolean} pinned_to_organization_flag
|
|
275
275
|
*/
|
|
276
276
|
|
|
277
277
|
_NoteParams["default"].prototype['pinned_to_organization_flag'] = undefined;
|
|
278
278
|
/**
|
|
279
|
-
* If set,
|
|
279
|
+
* If set, the results are filtered by note to person pinning state (`person_id` is also required)
|
|
280
280
|
* @member {module:model/NumberBoolean} pinned_to_person_flag
|
|
281
281
|
*/
|
|
282
282
|
|
|
@@ -95,26 +95,26 @@ var AddNoteRequestAllOf = /*#__PURE__*/function () {
|
|
|
95
95
|
return AddNoteRequestAllOf;
|
|
96
96
|
}();
|
|
97
97
|
/**
|
|
98
|
-
* The ID of the
|
|
98
|
+
* The ID of the lead the note will be attached to. This property is required unless one of (`deal_id/person_id/org_id`) is specified.
|
|
99
99
|
* @member {String} lead_id
|
|
100
100
|
*/
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
AddNoteRequestAllOf.prototype['lead_id'] = undefined;
|
|
104
104
|
/**
|
|
105
|
-
* The ID of the
|
|
105
|
+
* The ID of the deal the note will be attached to. This property is required unless one of (`lead_id/person_id/org_id`) is specified.
|
|
106
106
|
* @member {Number} deal_id
|
|
107
107
|
*/
|
|
108
108
|
|
|
109
109
|
AddNoteRequestAllOf.prototype['deal_id'] = undefined;
|
|
110
110
|
/**
|
|
111
|
-
* The ID of the
|
|
111
|
+
* The ID of the person this note will be attached to. This property is required unless one of (`deal_id/lead_id/org_id`) is specified.
|
|
112
112
|
* @member {Number} person_id
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
AddNoteRequestAllOf.prototype['person_id'] = undefined;
|
|
116
116
|
/**
|
|
117
|
-
* The ID of the
|
|
117
|
+
* The ID of the organization this note will be attached to. This property is required unless one of (`deal_id/lead_id/person_id`) is specified.
|
|
118
118
|
* @member {Number} org_id
|
|
119
119
|
*/
|
|
120
120
|
|
|
@@ -36,8 +36,8 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
|
|
|
36
36
|
* Constructs a new <code>AddOrganizationRelationshipRequest</code>.
|
|
37
37
|
* @alias module:model/AddOrganizationRelationshipRequest
|
|
38
38
|
* @param type {module:model/AddOrganizationRelationshipRequest.TypeEnum} The type of organization relationship
|
|
39
|
-
* @param relOwnerOrgId {Number} The owner of
|
|
40
|
-
* @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.
|
|
41
41
|
*/
|
|
42
42
|
function AddOrganizationRelationshipRequest(type, relOwnerOrgId, relLinkedOrgId) {
|
|
43
43
|
(0, _classCallCheck2["default"])(this, AddOrganizationRelationshipRequest);
|
|
@@ -102,7 +102,7 @@ var AddOrganizationRelationshipRequest = /*#__PURE__*/function () {
|
|
|
102
102
|
return AddOrganizationRelationshipRequest;
|
|
103
103
|
}();
|
|
104
104
|
/**
|
|
105
|
-
* ID of the base organization for the returned calculated values
|
|
105
|
+
* The ID of the base organization for the returned calculated values
|
|
106
106
|
* @member {Number} org_id
|
|
107
107
|
*/
|
|
108
108
|
|
|
@@ -115,13 +115,13 @@ AddOrganizationRelationshipRequest.prototype['org_id'] = undefined;
|
|
|
115
115
|
|
|
116
116
|
AddOrganizationRelationshipRequest.prototype['type'] = undefined;
|
|
117
117
|
/**
|
|
118
|
-
* 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.
|
|
119
119
|
* @member {Number} rel_owner_org_id
|
|
120
120
|
*/
|
|
121
121
|
|
|
122
122
|
AddOrganizationRelationshipRequest.prototype['rel_owner_org_id'] = undefined;
|
|
123
123
|
/**
|
|
124
|
-
* The linked organization in
|
|
124
|
+
* The linked organization in the relationship. If type is `parent`, then the linked organization is the daughter.
|
|
125
125
|
* @member {Number} rel_linked_org_id
|
|
126
126
|
*/
|
|
127
127
|
|
|
@@ -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
|
|