pipedrive 13.0.8 → 13.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +20 -0
- package/README.md +18 -16
- package/dist/api/ActivitiesApi.js +44 -44
- package/dist/api/ActivityTypesApi.js +4 -4
- package/dist/api/CallLogsApi.js +6 -6
- package/dist/api/CurrenciesApi.js +2 -2
- package/dist/api/DealFieldsApi.js +10 -10
- package/dist/api/DealsApi.js +100 -100
- package/dist/api/FilesApi.js +34 -34
- package/dist/api/FiltersApi.js +2 -2
- package/dist/api/GlobalMessagesApi.js +8 -8
- package/dist/api/GoalsApi.js +54 -54
- package/dist/api/ItemSearchApi.js +4 -4
- package/dist/api/LeadLabelsApi.js +12 -12
- package/dist/api/LeadSourcesApi.js +2 -2
- package/dist/api/LeadsApi.js +18 -18
- package/dist/api/MailboxApi.js +26 -26
- package/dist/api/NoteFieldsApi.js +2 -2
- package/dist/api/NotesApi.js +42 -42
- package/dist/api/OrganizationFieldsApi.js +10 -10
- package/dist/api/OrganizationRelationshipsApi.js +12 -12
- package/dist/api/OrganizationsApi.js +50 -50
- package/dist/api/PermissionSetsApi.js +12 -12
- package/dist/api/PersonFieldsApi.js +10 -10
- package/dist/api/PersonsApi.js +74 -74
- package/dist/api/PipelinesApi.js +50 -50
- package/dist/api/ProductFieldsApi.js +10 -10
- package/dist/api/ProductsApi.js +44 -44
- package/dist/api/RecentsApi.js +6 -6
- package/dist/api/RolesApi.js +38 -38
- package/dist/api/StagesApi.js +14 -14
- package/dist/api/SubscriptionsApi.js +34 -34
- package/dist/api/TeamsApi.js +32 -32
- package/dist/api/UserConnectionsApi.js +2 -2
- package/dist/api/UserSettingsApi.js +2 -2
- package/dist/api/UsersApi.js +44 -44
- package/dist/api/WebhooksApi.js +14 -14
- package/dist/index.js +16 -0
- package/dist/model/ActivityDistributionDataActivityDistribution.js +1 -1
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.js +4 -4
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js +2 -2
- package/dist/model/ActivityInfo.js +5 -5
- package/dist/model/ActivityObjectFragment.js +9 -9
- package/dist/model/ActivityPostObject.js +32 -32
- package/dist/model/ActivityPostObjectAllOf.js +7 -7
- package/dist/model/ActivityPutObject.js +32 -32
- package/dist/model/ActivityPutObjectAllOf.js +7 -7
- package/dist/model/ActivityResponseObject.js +96 -96
- package/dist/model/ActivityResponseObjectAllOf.js +39 -39
- package/dist/model/ActivityTypeBulkDeleteResponseAllOfData.js +1 -1
- package/dist/model/AddDealFollowerRequest.js +2 -2
- package/dist/model/AddDealParticipantRequest.js +2 -2
- package/dist/model/AddFollowerToPersonResponseAllOfData.js +4 -4
- package/dist/model/AddLeadLabelRequest.js +2 -2
- package/dist/model/AddLeadRequest.js +9 -9
- package/dist/model/AddNoteRequest.js +22 -22
- package/dist/model/AddNoteRequestAllOf.js +4 -4
- package/dist/model/AddOrganizationRelationshipRequest.js +6 -39
- package/dist/model/AddPersonFollowerRequest.js +2 -2
- package/dist/model/AddProductAttachmentDetails.js +51 -51
- package/dist/model/AddProductAttachmentDetailsAllOf.js +1 -1
- package/dist/model/AddProductFollowerRequest.js +2 -2
- package/dist/model/AddProductRequestBody.js +12 -12
- package/dist/model/AddTeamUserRequest.js +2 -2
- package/dist/model/AddWebhookRequest.js +7 -7
- package/dist/model/AddedDealFollowerData.js +4 -4
- package/dist/model/AdditionalBaseOrganizationItemInfo.js +64 -64
- package/dist/model/AdditionalDataWithPagination.js +1 -1
- package/dist/model/AdditionalMergePersonInfo.js +60 -60
- package/dist/model/AdditionalPersonInfo.js +50 -50
- package/dist/model/AllOrganizationRelationshipsGetResponse.js +2 -2
- package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +1 -1
- package/dist/model/AllOrganizationsGetResponse.js +2 -2
- package/dist/model/AllOrganizationsGetResponseAllOf.js +1 -1
- package/dist/model/Assignee.js +3 -3
- package/dist/model/BaseComment.js +7 -7
- package/dist/model/BaseCurrency.js +7 -7
- package/dist/model/BaseDeal.js +51 -51
- package/dist/model/BaseNote.js +14 -14
- package/dist/model/BaseNoteDealTitle.js +2 -2
- package/dist/model/BaseNoteOrganization.js +2 -2
- package/dist/model/BaseNotePerson.js +2 -2
- package/dist/model/BaseOrganizationItem.js +86 -86
- package/dist/model/BaseOrganizationItemFields.js +11 -11
- package/dist/model/BaseOrganizationItemWithEditNameFlag.js +88 -88
- package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +1 -1
- package/dist/model/BaseOrganizationRelationshipItem.js +5 -5
- package/dist/model/BasePersonItem.js +13 -13
- package/dist/model/BasePersonItemEmail.js +2 -2
- package/dist/model/BasePersonItemPhone.js +3 -3
- package/dist/model/BasePipeline.js +8 -8
- package/dist/model/BasePipelineWithSelectedFlag.js +18 -18
- package/dist/model/BasePipelineWithSelectedFlagAllOf.js +1 -1
- package/dist/model/BaseProduct.js +3 -3
- package/dist/model/BaseRole.js +3 -3
- package/dist/model/BaseStage.js +10 -10
- package/dist/model/BaseTeam.js +20 -20
- package/dist/model/BaseTeamAdditionalProperties.js +2 -2
- package/dist/model/BaseUser.js +19 -19
- package/dist/model/BaseUserMe.js +48 -48
- package/dist/model/BaseUserMeAllOf.js +5 -5
- package/dist/model/BaseUserMeAllOfLanguage.js +1 -1
- package/dist/model/BaseWebhook.js +3 -3
- package/dist/model/BasicDeal.js +10 -10
- package/dist/model/BasicDealProduct.js +17 -5
- package/dist/model/BasicGoal.js +6 -6
- package/dist/model/BasicOrganization.js +3 -3
- package/dist/model/BasicPerson.js +10 -10
- package/dist/model/BasicPersonEmail.js +112 -0
- package/dist/model/BasicProductField.js +3 -3
- package/dist/model/BulkDeleteResponseAllOfData.js +1 -1
- package/dist/model/CalculatedFields.js +2 -2
- package/dist/model/CallLogObject.js +6 -6
- package/dist/model/CommentPostPutObject.js +2 -2
- package/dist/model/CreateTeam.js +6 -6
- package/dist/model/Currencies.js +1 -1
- package/dist/model/DealCountAndActivityInfo.js +26 -26
- package/dist/model/DealFlowResponseAllOfData.js +1 -1
- package/dist/model/DealListActivitiesResponse.js +2 -2
- package/dist/model/DealListActivitiesResponseAllOf.js +1 -1
- package/dist/model/DealNonStrict.js +104 -104
- package/dist/model/DealNonStrictModeFields.js +1 -1
- package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +6 -6
- package/dist/model/DealNonStrictWithDetails.js +110 -110
- package/dist/model/DealNonStrictWithDetailsAllOf.js +3 -3
- package/dist/model/DealNonStrictWithDetailsAllOfAge.js +1 -1
- package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +1 -1
- package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -3
- package/dist/model/DealOrganizationData.js +7 -7
- package/dist/model/DealOrganizationDataWithId.js +14 -14
- package/dist/model/DealOrganizationDataWithIdAllOf.js +1 -1
- package/dist/model/DealParticipantCountInfo.js +2 -2
- package/dist/model/DealParticipants.js +1 -1
- package/dist/model/DealPersonData.js +10 -10
- package/dist/model/DealPersonDataEmail.js +112 -0
- package/dist/model/DealPersonDataPhone.js +1 -1
- package/dist/model/DealPersonDataWithId.js +17 -17
- package/dist/model/DealPersonDataWithIdAllOf.js +1 -1
- package/dist/model/DealSearchItemItem.js +8 -8
- package/dist/model/DealSearchItemItemOrganization.js +2 -2
- package/dist/model/DealSearchItemItemOwner.js +1 -1
- package/dist/model/DealSearchItemItemPerson.js +2 -2
- package/dist/model/DealSearchItemItemStage.js +2 -2
- package/dist/model/DealSearchResponseAllOfData.js +1 -1
- package/dist/model/DealStrict.js +112 -112
- package/dist/model/DealStrictModeFields.js +5 -5
- package/dist/model/DealStrictWithMergeId.js +114 -114
- package/dist/model/DealStrictWithMergeIdAllOf.js +1 -1
- package/dist/model/DealSummaryPerStages.js +1 -1
- package/dist/model/DealTitleParameter.js +1 -1
- package/dist/model/DealUserData.js +7 -7
- package/dist/model/DealUserDataWithId.js +14 -14
- package/dist/model/DealUserDataWithIdAllOf.js +1 -1
- package/dist/model/DealsCountAndActivityInfo.js +26 -26
- package/dist/model/DealsCountInfo.js +8 -8
- package/dist/model/DealsMovementsInfo.js +2 -2
- package/dist/model/DealsMovementsInfoFormattedValues.js +2 -2
- package/dist/model/DealsMovementsInfoValues.js +2 -2
- package/dist/model/DeleteActivitiesResponse200Data.js +1 -1
- package/dist/model/DeleteActivityResponse200Data.js +1 -1
- package/dist/model/DeleteDealData.js +1 -1
- package/dist/model/DeleteDealFollowerData.js +1 -1
- package/dist/model/DeleteDealParticipantData.js +1 -1
- package/dist/model/DeleteDealProductData.js +2 -2
- package/dist/model/DeleteFileData.js +1 -1
- package/dist/model/DeleteMultipleDealsData.js +1 -1
- package/dist/model/DeleteMultipleProductFieldsResponseData.js +1 -1
- package/dist/model/DeletePersonResponseAllOfData.js +1 -1
- package/dist/model/DeletePersonsInBulkResponseAllOfData.js +1 -1
- package/dist/model/DeleteProductFieldResponseData.js +1 -1
- package/dist/model/DeleteProductFollowerResponseData.js +1 -1
- package/dist/model/DeleteProductResponseData.js +1 -1
- package/dist/model/DeleteResponseAllOfData.js +1 -1
- package/dist/model/DeleteRoleAllOfData.js +1 -1
- package/dist/model/DeleteRoleAssignmentAllOfData.js +1 -1
- package/dist/model/DeleteStageResponse200Data.js +1 -1
- package/dist/model/DeleteStagesResponse200Data.js +1 -1
- package/dist/model/DeleteTeamUserRequest.js +2 -2
- package/dist/model/Duration.js +3 -3
- package/dist/model/EditPipeline.js +2 -2
- package/dist/model/EditPipelineAllOf.js +1 -1
- package/dist/model/EmailInfo.js +2 -2
- package/dist/model/ExpectedOutcome.js +3 -3
- package/dist/model/Field.js +18 -18
- package/dist/model/FieldCreateRequest.js +5 -5
- package/dist/model/FieldCreateRequestAllOf.js +3 -3
- package/dist/model/FieldUpdateRequest.js +1 -1
- package/dist/model/FileData.js +24 -24
- package/dist/model/FileItem.js +24 -24
- package/dist/model/FiltersPostResponseAllOfData.js +1 -1
- package/dist/model/FullRole.js +12 -12
- package/dist/model/FullRoleAllOf.js +1 -1
- package/dist/model/GetAddProductAttachementDetails.js +1 -1
- package/dist/model/GetAddedDeal.js +1 -1
- package/dist/model/GetAddedDealAdditionalData.js +1 -1
- package/dist/model/GetAllPersonsResponse.js +2 -2
- package/dist/model/GetAllPersonsResponseAllOf.js +1 -1
- package/dist/model/GetAllProductFieldsResponse.js +2 -2
- package/dist/model/GetComments.js +1 -1
- package/dist/model/GetDealAdditionalData.js +1 -1
- package/dist/model/GetDeals.js +1 -1
- package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -4
- package/dist/model/GetDealsMovementsInPipelineAllOfData.js +1 -1
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -3
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -3
- package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -2
- package/dist/model/GetDealsSummaryData.js +6 -6
- package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -6
- package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -4
- package/dist/model/GetDealsTimelineData.js +1 -1
- package/dist/model/GetDealsTimelineDataTotals.js +9 -9
- package/dist/model/GetDuplicatedDeal.js +1 -1
- package/dist/model/GetLeadSourcesResponse200Data.js +1 -1
- package/dist/model/GetNotes.js +1 -1
- package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +1 -1
- package/dist/model/GetProductAttachementDetails.js +1 -1
- package/dist/model/GetProductFieldResponse.js +1 -1
- package/dist/model/GetRecentsAdditionalData.js +2 -2
- package/dist/model/GetRoleAllOfAdditionalData.js +1 -1
- package/dist/model/GetRoleAssignments.js +2 -2
- package/dist/model/GetRoleAssignmentsAllOf.js +1 -1
- package/dist/model/GetRoles.js +2 -2
- package/dist/model/GetRolesAllOf.js +1 -1
- package/dist/model/GetStageDeals.js +1 -1
- package/dist/model/GetStages.js +1 -1
- package/dist/model/GlobalMessageData.js +6 -6
- package/dist/model/GlobalMessageGet.js +2 -2
- package/dist/model/GlobalMessageGetAllOf.js +1 -1
- package/dist/model/GlobalMessageUserData.js +3 -3
- package/dist/model/GoalResults.js +1 -1
- package/dist/model/GoalType.js +2 -2
- package/dist/model/GoalsResponseComponent.js +4 -4
- package/dist/model/LeadLabelResponse.js +4 -4
- package/dist/model/LeadResponse.js +16 -16
- package/dist/model/LeadValue.js +1 -1
- package/dist/model/ListActivitiesResponse.js +2 -2
- package/dist/model/ListActivitiesResponseAllOf.js +1 -1
- package/dist/model/ListDealsResponse.js +2 -2
- package/dist/model/ListDealsResponseAllOf.js +1 -1
- package/dist/model/ListFilesResponse.js +2 -2
- package/dist/model/ListFilesResponseAllOf.js +1 -1
- package/dist/model/ListFollowersResponse.js +2 -2
- package/dist/model/ListFollowersResponseAllOf.js +1 -1
- package/dist/model/ListFollowersResponseAllOfData.js +4 -4
- package/dist/model/ListMailMessagesResponse.js +2 -2
- package/dist/model/ListMailMessagesResponseAllOf.js +1 -1
- package/dist/model/ListPermittedUsersResponse1.js +2 -2
- package/dist/model/ListPermittedUsersResponse1AllOf.js +1 -1
- package/dist/model/ListPermittedUsersResponseAllOfData.js +1 -1
- package/dist/model/ListPersonProductsResponse.js +2 -2
- package/dist/model/ListPersonProductsResponseAllOf.js +1 -1
- package/dist/model/ListPersonsResponse.js +2 -2
- package/dist/model/ListPersonsResponseAllOf.js +1 -1
- package/dist/model/ListProductAdditionalData.js +10 -10
- package/dist/model/ListProductAdditionalDataAllOf.js +5 -5
- package/dist/model/ListProductFollowersResponse.js +2 -2
- package/dist/model/ListProductFollowersResponseAllOf.js +1 -1
- package/dist/model/ListProductFollowersResponseAllOfData.js +4 -4
- package/dist/model/ListProductsResponseAllOfData.js +1 -1
- package/dist/model/MergeDealsRequest.js +2 -2
- package/dist/model/MergeOrganizationsRequest.js +2 -2
- package/dist/model/MergePersonDealRelatedInfo.js +30 -30
- package/dist/model/MergePersonItem.js +86 -86
- package/dist/model/MergePersonsRequest.js +2 -2
- package/dist/model/NewDeal.js +25 -25
- package/dist/model/NewDealAllOf.js +1 -1
- package/dist/model/NewDealProduct.js +33 -14
- package/dist/model/NewDealProductAllOf.js +2 -2
- package/dist/model/NewFollowerResponseData.js +4 -4
- package/dist/model/NewGoal.js +12 -12
- package/dist/model/NewOrganization.js +9 -9
- package/dist/model/NewOrganizationAllOf.js +1 -1
- package/dist/model/NewPerson.js +20 -20
- package/dist/model/NewPersonAllOf.js +1 -1
- package/dist/model/NewProductField.js +4 -4
- package/dist/model/Note.js +19 -19
- package/dist/model/NoteConnectToParams.js +2 -2
- package/dist/model/NoteCreatorUser.js +5 -5
- package/dist/model/NoteField.js +7 -7
- package/dist/model/NoteParams.js +7 -7
- package/dist/model/OrganizationAddressInfo.js +11 -11
- package/dist/model/OrganizationCountAndAddressInfo.js +38 -38
- package/dist/model/OrganizationCountInfo.js +8 -8
- package/dist/model/OrganizationData.js +5 -5
- package/dist/model/OrganizationDataWithId.js +13 -13
- package/dist/model/OrganizationDataWithIdAllOf.js +1 -1
- package/dist/model/OrganizationDataWithIdAndActiveFlag.js +15 -15
- package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +1 -1
- package/dist/model/OrganizationDeleteResponseData.js +1 -1
- package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +1 -1
- package/dist/model/OrganizationFlowResponseAllOfData.js +1 -1
- package/dist/model/OrganizationFollowerDeleteResponseData.js +1 -1
- package/dist/model/OrganizationFollowerItem.js +2 -2
- package/dist/model/OrganizationFollowerItemAllOf.js +1 -1
- package/dist/model/OrganizationItem.js +88 -88
- package/dist/model/OrganizationRelationship.js +1 -1
- package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +1 -1
- package/dist/model/OrganizationRelationshipDetails.js +16 -16
- package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -14
- package/dist/model/OrganizationSearchItemItem.js +5 -5
- package/dist/model/OrganizationsDeleteResponseData.js +1 -1
- package/dist/model/OrganizationsMergeResponseData.js +1 -1
- package/dist/model/Owner.js +12 -12
- package/dist/model/Params.js +2 -2
- package/dist/model/PaymentItem.js +13 -13
- package/dist/model/PermissionSets.js +2 -2
- package/dist/model/PermissionSetsAllOf.js +1 -1
- package/dist/model/PermissionSetsItem.js +3 -3
- package/dist/model/PersonCountAndEmailInfo.js +18 -18
- package/dist/model/PersonCountEmailDealAndActivityInfo.js +44 -44
- package/dist/model/PersonCountInfo.js +7 -7
- package/dist/model/PersonData.js +5 -5
- package/dist/model/PersonDataEmail.js +2 -2
- package/dist/model/PersonDataPhone.js +2 -2
- package/dist/model/PersonDataWithActiveFlag.js +13 -13
- package/dist/model/PersonDataWithActiveFlagAllOf.js +1 -1
- package/dist/model/PersonFlowResponseAllOfData.js +1 -1
- package/dist/model/PersonItem.js +76 -76
- package/dist/model/PersonListProduct.js +14 -14
- package/dist/model/PersonNameCountAndEmailInfo.js +24 -24
- package/dist/model/PersonNameCountAndEmailInfoWithIds.js +30 -30
- package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +3 -3
- package/dist/model/PersonNameInfo.js +3 -3
- package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +6 -6
- package/dist/model/PersonSearchItemItem.js +4 -4
- package/dist/model/PersonSearchItemItemOrganization.js +2 -2
- package/dist/model/PersonSearchItemItemOwner.js +1 -1
- package/dist/model/PictureData.js +2 -2
- package/dist/model/PictureDataWithID.js +4 -4
- package/dist/model/PictureDataWithValue.js +4 -4
- package/dist/model/Pipeline.js +4 -4
- package/dist/model/PipelineDetails.js +19 -19
- package/dist/model/PostDealParticipants.js +1 -1
- package/dist/model/PostRoleAssignmentAllOfData.js +2 -2
- package/dist/model/PostRoleSettingsAllOfData.js +1 -1
- package/dist/model/PostRolesAllOfData.js +1 -1
- package/dist/model/ProductAttachementFields.js +12 -12
- package/dist/model/ProductAttachmentDetails.js +51 -44
- package/dist/model/ProductBaseDeal.js +42 -42
- package/dist/model/ProductField.js +36 -36
- package/dist/model/ProductFieldAllOf.js +15 -15
- package/dist/model/ProductListItem.js +21 -21
- package/dist/model/ProductRequest.js +6 -6
- package/dist/model/ProductSearchItemItem.js +5 -5
- package/dist/model/ProductSearchItemItemOwner.js +1 -1
- package/dist/model/ProductWithArrayPrices.js +6 -6
- package/dist/model/ProductWithObjectPrices.js +6 -6
- package/dist/model/ProductsResponse.js +1 -1
- package/dist/model/RecentDataProduct.js +15 -15
- package/dist/model/RelatedDealDataDEALID.js +8 -8
- package/dist/model/RelatedOrganizationName.js +1 -1
- package/dist/model/RelatedPersonData.js +1 -1
- package/dist/model/RelationshipOrganizationInfoItem.js +12 -12
- package/dist/model/RelationshipOrganizationInfoItemAllOf.js +1 -1
- package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +14 -14
- package/dist/model/RequredTitleParameter.js +2 -2
- package/dist/model/ResponseCallLogObject.js +14 -14
- package/dist/model/ResponseCallLogObjectAllOf.js +1 -1
- package/dist/model/RoleAssignment.js +11 -11
- package/dist/model/RoleAssignmentAllOf.js +3 -3
- package/dist/model/RoleSettings.js +10 -10
- package/dist/model/RolesAdditionalData.js +1 -1
- package/dist/model/RolesAdditionalDataPagination.js +1 -1
- package/dist/model/SinglePermissionSetsItem.js +8 -8
- package/dist/model/SinglePermissionSetsItemAllOf.js +1 -1
- package/dist/model/Stage.js +5 -5
- package/dist/model/StageConversions.js +3 -3
- package/dist/model/StageDetails.js +21 -21
- package/dist/model/StageWithPipelineInfo.js +24 -24
- package/dist/model/StageWithPipelineInfoAllOf.js +2 -2
- package/dist/model/SubRole.js +10 -10
- package/dist/model/SubRoleAllOf.js +3 -3
- package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -5
- package/dist/model/SubscriptionInstallmentUpdateRequest.js +1 -1
- package/dist/model/SubscriptionItem.js +15 -15
- package/dist/model/SubscriptionRecurringCancelRequest.js +1 -1
- package/dist/model/SubscriptionRecurringCreateRequest.js +14 -14
- package/dist/model/SubscriptionRecurringUpdateRequest.js +3 -3
- package/dist/model/TeamId.js +1 -1
- package/dist/model/UpdateDealRequest.js +22 -22
- package/dist/model/UpdateLeadLabelRequest.js +1 -1
- package/dist/model/UpdateLeadRequest.js +9 -9
- package/dist/model/UpdateStageRequest.js +10 -10
- package/dist/model/UpdateTeam.js +14 -14
- package/dist/model/UpdateTeamAllOf.js +2 -2
- package/dist/model/UpdateTeamWithAdditionalProperties.js +18 -18
- package/dist/model/UserAssignmentToPermissionSet.js +4 -4
- package/dist/model/UserAssignmentsToPermissionSet.js +2 -2
- package/dist/model/UserAssignmentsToPermissionSetAllOf.js +1 -1
- package/dist/model/UserData.js +6 -6
- package/dist/model/UserDataWithId.js +12 -12
- package/dist/model/UserIDs.js +2 -2
- package/dist/model/UserIDsAllOf.js +1 -1
- package/dist/model/UserPermissionsItem.js +31 -31
- package/dist/model/UserSettingsItem.js +5 -5
- package/package.json +1 -1
package/dist/model/NewDeal.js
CHANGED
@@ -37,7 +37,7 @@ var NewDeal = /*#__PURE__*/function () {
|
|
37
37
|
* @implements module:model/RequredTitleParameter
|
38
38
|
* @implements module:model/BasicDeal
|
39
39
|
* @implements module:model/NewDealAllOf
|
40
|
-
* @param title {String}
|
40
|
+
* @param title {String} The title of the deal
|
41
41
|
*/
|
42
42
|
function NewDeal(title) {
|
43
43
|
(0, _classCallCheck2["default"])(this, NewDeal);
|
@@ -158,44 +158,44 @@ var NewDeal = /*#__PURE__*/function () {
|
|
158
158
|
return NewDeal;
|
159
159
|
}();
|
160
160
|
/**
|
161
|
-
*
|
161
|
+
* The title of the deal
|
162
162
|
* @member {String} title
|
163
163
|
*/
|
164
164
|
|
165
165
|
|
166
166
|
NewDeal.prototype['title'] = undefined;
|
167
167
|
/**
|
168
|
-
*
|
168
|
+
* The value of the deal. If omitted, value will be set to 0.
|
169
169
|
* @member {String} value
|
170
170
|
*/
|
171
171
|
|
172
172
|
NewDeal.prototype['value'] = undefined;
|
173
173
|
/**
|
174
|
-
*
|
174
|
+
* The currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.
|
175
175
|
* @member {String} currency
|
176
176
|
*/
|
177
177
|
|
178
178
|
NewDeal.prototype['currency'] = undefined;
|
179
179
|
/**
|
180
|
-
* The ID of the
|
180
|
+
* The ID of the user which will be the owner of the created deal. If not provided, the user making the request will be used.
|
181
181
|
* @member {Number} user_id
|
182
182
|
*/
|
183
183
|
|
184
184
|
NewDeal.prototype['user_id'] = undefined;
|
185
185
|
/**
|
186
|
-
* The ID of a
|
186
|
+
* The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first. This property is required unless `org_id` is specified.
|
187
187
|
* @member {Number} person_id
|
188
188
|
*/
|
189
189
|
|
190
190
|
NewDeal.prototype['person_id'] = undefined;
|
191
191
|
/**
|
192
|
-
* The ID of an
|
192
|
+
* The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first. This property is required unless `person_id` is specified.
|
193
193
|
* @member {Number} org_id
|
194
194
|
*/
|
195
195
|
|
196
196
|
NewDeal.prototype['org_id'] = undefined;
|
197
197
|
/**
|
198
|
-
* The ID of a stage this
|
198
|
+
* The ID of a stage this deal will be placed in a pipeline (note that you can't supply the ID of the pipeline as this will be assigned automatically based on `stage_id`). If omitted, the deal will be placed in the first stage of the default pipeline.
|
199
199
|
* @member {Number} stage_id
|
200
200
|
*/
|
201
201
|
|
@@ -207,75 +207,75 @@ NewDeal.prototype['stage_id'] = undefined;
|
|
207
207
|
|
208
208
|
NewDeal.prototype['status'] = undefined;
|
209
209
|
/**
|
210
|
-
* The expected close date of the
|
210
|
+
* The expected close date of the deal. In ISO 8601 format: YYYY-MM-DD.
|
211
211
|
* @member {Date} expected_close_date
|
212
212
|
*/
|
213
213
|
|
214
214
|
NewDeal.prototype['expected_close_date'] = undefined;
|
215
215
|
/**
|
216
|
-
*
|
216
|
+
* The success probability percentage of the deal. Used/shown only when `deal_probability` for the pipeline of the deal is enabled.
|
217
217
|
* @member {Number} probability
|
218
218
|
*/
|
219
219
|
|
220
220
|
NewDeal.prototype['probability'] = undefined;
|
221
221
|
/**
|
222
|
-
*
|
222
|
+
* The optional message about why the deal was lost (to be used when status = lost)
|
223
223
|
* @member {String} lost_reason
|
224
224
|
*/
|
225
225
|
|
226
226
|
NewDeal.prototype['lost_reason'] = undefined;
|
227
227
|
/**
|
228
|
-
*
|
228
|
+
* The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
|
229
229
|
* @member {module:model/VisibleTo} visible_to
|
230
230
|
*/
|
231
231
|
|
232
232
|
NewDeal.prototype['visible_to'] = undefined;
|
233
233
|
/**
|
234
|
-
*
|
234
|
+
* The optional creation date & time of the deal in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
235
235
|
* @member {String} add_time
|
236
236
|
*/
|
237
237
|
|
238
238
|
NewDeal.prototype['add_time'] = undefined; // Implement RequredTitleParameter interface:
|
239
239
|
|
240
240
|
/**
|
241
|
-
*
|
241
|
+
* The title of the deal
|
242
242
|
* @member {String} title
|
243
243
|
*/
|
244
244
|
|
245
245
|
_RequredTitleParameter["default"].prototype['title'] = undefined; // Implement BasicDeal interface:
|
246
246
|
|
247
247
|
/**
|
248
|
-
*
|
248
|
+
* The value of the deal. If omitted, value will be set to 0.
|
249
249
|
* @member {String} value
|
250
250
|
*/
|
251
251
|
|
252
252
|
_BasicDeal["default"].prototype['value'] = undefined;
|
253
253
|
/**
|
254
|
-
*
|
254
|
+
* The currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.
|
255
255
|
* @member {String} currency
|
256
256
|
*/
|
257
257
|
|
258
258
|
_BasicDeal["default"].prototype['currency'] = undefined;
|
259
259
|
/**
|
260
|
-
* The ID of the
|
260
|
+
* The ID of the user which will be the owner of the created deal. If not provided, the user making the request will be used.
|
261
261
|
* @member {Number} user_id
|
262
262
|
*/
|
263
263
|
|
264
264
|
_BasicDeal["default"].prototype['user_id'] = undefined;
|
265
265
|
/**
|
266
|
-
* The ID of a
|
266
|
+
* The ID of a person which this deal will be linked to. If the person does not exist yet, it needs to be created first. This property is required unless `org_id` is specified.
|
267
267
|
* @member {Number} person_id
|
268
268
|
*/
|
269
269
|
|
270
270
|
_BasicDeal["default"].prototype['person_id'] = undefined;
|
271
271
|
/**
|
272
|
-
* The ID of an
|
272
|
+
* The ID of an organization which this deal will be linked to. If the organization does not exist yet, it needs to be created first. This property is required unless `person_id` is specified.
|
273
273
|
* @member {Number} org_id
|
274
274
|
*/
|
275
275
|
|
276
276
|
_BasicDeal["default"].prototype['org_id'] = undefined;
|
277
277
|
/**
|
278
|
-
* The ID of a stage this
|
278
|
+
* The ID of a stage this deal will be placed in a pipeline (note that you can't supply the ID of the pipeline as this will be assigned automatically based on `stage_id`). If omitted, the deal will be placed in the first stage of the default pipeline.
|
279
279
|
* @member {Number} stage_id
|
280
280
|
*/
|
281
281
|
|
@@ -287,32 +287,32 @@ _BasicDeal["default"].prototype['stage_id'] = undefined;
|
|
287
287
|
|
288
288
|
_BasicDeal["default"].prototype['status'] = undefined;
|
289
289
|
/**
|
290
|
-
* The expected close date of the
|
290
|
+
* The expected close date of the deal. In ISO 8601 format: YYYY-MM-DD.
|
291
291
|
* @member {Date} expected_close_date
|
292
292
|
*/
|
293
293
|
|
294
294
|
_BasicDeal["default"].prototype['expected_close_date'] = undefined;
|
295
295
|
/**
|
296
|
-
*
|
296
|
+
* The success probability percentage of the deal. Used/shown only when `deal_probability` for the pipeline of the deal is enabled.
|
297
297
|
* @member {Number} probability
|
298
298
|
*/
|
299
299
|
|
300
300
|
_BasicDeal["default"].prototype['probability'] = undefined;
|
301
301
|
/**
|
302
|
-
*
|
302
|
+
* The optional message about why the deal was lost (to be used when status = lost)
|
303
303
|
* @member {String} lost_reason
|
304
304
|
*/
|
305
305
|
|
306
306
|
_BasicDeal["default"].prototype['lost_reason'] = undefined;
|
307
307
|
/**
|
308
|
-
*
|
308
|
+
* The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
|
309
309
|
* @member {module:model/VisibleTo} visible_to
|
310
310
|
*/
|
311
311
|
|
312
312
|
_BasicDeal["default"].prototype['visible_to'] = undefined; // Implement NewDealAllOf interface:
|
313
313
|
|
314
314
|
/**
|
315
|
-
*
|
315
|
+
* The optional creation date & time of the deal in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
316
316
|
* @member {String} add_time
|
317
317
|
*/
|
318
318
|
|
@@ -80,7 +80,7 @@ var NewDealAllOf = /*#__PURE__*/function () {
|
|
80
80
|
return NewDealAllOf;
|
81
81
|
}();
|
82
82
|
/**
|
83
|
-
*
|
83
|
+
* The optional creation date & time of the deal in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
84
84
|
* @member {String} add_time
|
85
85
|
*/
|
86
86
|
|
@@ -43,9 +43,9 @@ var NewDealProduct = /*#__PURE__*/function () {
|
|
43
43
|
* @alias module:model/NewDealProduct
|
44
44
|
* @implements module:model/BasicDealProduct
|
45
45
|
* @implements module:model/NewDealProductAllOf
|
46
|
-
* @param itemPrice {Number}
|
46
|
+
* @param itemPrice {Number} The price at which this product will be added to the deal
|
47
47
|
* @param quantity {Number} Quantity – e.g. how many items of this product will be added to the deal
|
48
|
-
* @param productId {Number} ID of the product that will be attached
|
48
|
+
* @param productId {Number} The ID of the product that will be attached
|
49
49
|
*/
|
50
50
|
function NewDealProduct(itemPrice, quantity, productId) {
|
51
51
|
(0, _classCallCheck2["default"])(this, NewDealProduct);
|
@@ -118,6 +118,11 @@ var NewDealProduct = /*#__PURE__*/function () {
|
|
118
118
|
delete data['comments'];
|
119
119
|
}
|
120
120
|
|
121
|
+
if (data.hasOwnProperty('tax')) {
|
122
|
+
obj['tax'] = _ApiClient["default"].convertToType(data['tax'], 'Number');
|
123
|
+
delete data['tax'];
|
124
|
+
}
|
125
|
+
|
121
126
|
if (data.hasOwnProperty('enabled_flag')) {
|
122
127
|
obj['enabled_flag'] = _ApiClient["default"].convertToType(data['enabled_flag'], _NumberBoolean["default"]);
|
123
128
|
delete data['enabled_flag'];
|
@@ -139,7 +144,7 @@ var NewDealProduct = /*#__PURE__*/function () {
|
|
139
144
|
return NewDealProduct;
|
140
145
|
}();
|
141
146
|
/**
|
142
|
-
*
|
147
|
+
* The price at which this product will be added to the deal
|
143
148
|
* @member {Number} item_price
|
144
149
|
*/
|
145
150
|
|
@@ -152,21 +157,21 @@ NewDealProduct.prototype['item_price'] = undefined;
|
|
152
157
|
|
153
158
|
NewDealProduct.prototype['quantity'] = undefined;
|
154
159
|
/**
|
155
|
-
*
|
160
|
+
* The discount %. If omitted, will be set to 0.
|
156
161
|
* @member {Number} discount_percentage
|
157
162
|
* @default 0
|
158
163
|
*/
|
159
164
|
|
160
165
|
NewDealProduct.prototype['discount_percentage'] = 0;
|
161
166
|
/**
|
162
|
-
*
|
167
|
+
* The duration of the product (when product durations are not enabled for the company or if omitted, defaults to 1)
|
163
168
|
* @member {Number} duration
|
164
169
|
* @default 1
|
165
170
|
*/
|
166
171
|
|
167
172
|
NewDealProduct.prototype['duration'] = 1;
|
168
173
|
/**
|
169
|
-
* ID of the product variation to use. When omitted, no variation will be used.
|
174
|
+
* The ID of the product variation to use. When omitted, no variation will be used.
|
170
175
|
* @member {Number} product_variation_id
|
171
176
|
*/
|
172
177
|
|
@@ -178,20 +183,27 @@ NewDealProduct.prototype['product_variation_id'] = undefined;
|
|
178
183
|
|
179
184
|
NewDealProduct.prototype['comments'] = undefined;
|
180
185
|
/**
|
181
|
-
*
|
186
|
+
* The tax percentage
|
187
|
+
* @member {Number} tax
|
188
|
+
* @default 0
|
189
|
+
*/
|
190
|
+
|
191
|
+
NewDealProduct.prototype['tax'] = 0;
|
192
|
+
/**
|
193
|
+
* 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.
|
182
194
|
* @member {module:model/NumberBoolean} enabled_flag
|
183
195
|
*/
|
184
196
|
|
185
197
|
NewDealProduct.prototype['enabled_flag'] = undefined;
|
186
198
|
/**
|
187
|
-
* ID of the product that will be attached
|
199
|
+
* The ID of the product that will be attached
|
188
200
|
* @member {Number} product_id
|
189
201
|
*/
|
190
202
|
|
191
203
|
NewDealProduct.prototype['product_id'] = undefined; // Implement BasicDealProduct interface:
|
192
204
|
|
193
205
|
/**
|
194
|
-
*
|
206
|
+
* The price at which this product will be added to the deal
|
195
207
|
* @member {Number} item_price
|
196
208
|
*/
|
197
209
|
|
@@ -203,21 +215,21 @@ _BasicDealProduct["default"].prototype['item_price'] = undefined;
|
|
203
215
|
|
204
216
|
_BasicDealProduct["default"].prototype['quantity'] = undefined;
|
205
217
|
/**
|
206
|
-
*
|
218
|
+
* The discount %. If omitted, will be set to 0.
|
207
219
|
* @member {Number} discount_percentage
|
208
220
|
* @default 0
|
209
221
|
*/
|
210
222
|
|
211
223
|
_BasicDealProduct["default"].prototype['discount_percentage'] = 0;
|
212
224
|
/**
|
213
|
-
*
|
225
|
+
* The duration of the product (when product durations are not enabled for the company or if omitted, defaults to 1)
|
214
226
|
* @member {Number} duration
|
215
227
|
* @default 1
|
216
228
|
*/
|
217
229
|
|
218
230
|
_BasicDealProduct["default"].prototype['duration'] = 1;
|
219
231
|
/**
|
220
|
-
* ID of the product variation to use. When omitted, no variation will be used.
|
232
|
+
* The ID of the product variation to use. When omitted, no variation will be used.
|
221
233
|
* @member {Number} product_variation_id
|
222
234
|
*/
|
223
235
|
|
@@ -229,14 +241,21 @@ _BasicDealProduct["default"].prototype['product_variation_id'] = undefined;
|
|
229
241
|
|
230
242
|
_BasicDealProduct["default"].prototype['comments'] = undefined;
|
231
243
|
/**
|
232
|
-
*
|
244
|
+
* The tax percentage
|
245
|
+
* @member {Number} tax
|
246
|
+
* @default 0
|
247
|
+
*/
|
248
|
+
|
249
|
+
_BasicDealProduct["default"].prototype['tax'] = 0;
|
250
|
+
/**
|
251
|
+
* 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.
|
233
252
|
* @member {module:model/NumberBoolean} enabled_flag
|
234
253
|
*/
|
235
254
|
|
236
255
|
_BasicDealProduct["default"].prototype['enabled_flag'] = undefined; // Implement NewDealProductAllOf interface:
|
237
256
|
|
238
257
|
/**
|
239
|
-
* ID of the product that will be attached
|
258
|
+
* The ID of the product that will be attached
|
240
259
|
* @member {Number} product_id
|
241
260
|
*/
|
242
261
|
|
@@ -35,7 +35,7 @@ var NewDealProductAllOf = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
36
36
|
* Constructs a new <code>NewDealProductAllOf</code>.
|
37
37
|
* @alias module:model/NewDealProductAllOf
|
38
|
-
* @param productId {Number} ID of the product that will be attached
|
38
|
+
* @param productId {Number} The ID of the product that will be attached
|
39
39
|
*/
|
40
40
|
function NewDealProductAllOf(productId) {
|
41
41
|
(0, _classCallCheck2["default"])(this, NewDealProductAllOf);
|
@@ -83,7 +83,7 @@ var NewDealProductAllOf = /*#__PURE__*/function () {
|
|
83
83
|
return NewDealProductAllOf;
|
84
84
|
}();
|
85
85
|
/**
|
86
|
-
* ID of the product that will be attached
|
86
|
+
* The ID of the product that will be attached
|
87
87
|
* @member {Number} product_id
|
88
88
|
*/
|
89
89
|
|
@@ -95,26 +95,26 @@ var NewFollowerResponseData = /*#__PURE__*/function () {
|
|
95
95
|
return NewFollowerResponseData;
|
96
96
|
}();
|
97
97
|
/**
|
98
|
-
* The ID of the user that was added as
|
98
|
+
* The ID of the user that was added as follower
|
99
99
|
* @member {Number} user_id
|
100
100
|
*/
|
101
101
|
|
102
102
|
|
103
103
|
NewFollowerResponseData.prototype['user_id'] = undefined;
|
104
104
|
/**
|
105
|
-
* The ID of the
|
105
|
+
* The ID of the follower
|
106
106
|
* @member {Number} id
|
107
107
|
*/
|
108
108
|
|
109
109
|
NewFollowerResponseData.prototype['id'] = undefined;
|
110
110
|
/**
|
111
|
-
* The ID of the
|
111
|
+
* The ID of the product
|
112
112
|
* @member {Number} product_id
|
113
113
|
*/
|
114
114
|
|
115
115
|
NewFollowerResponseData.prototype['product_id'] = undefined;
|
116
116
|
/**
|
117
|
-
* The
|
117
|
+
* The follower creation time. Format: YYYY-MM-DD HH:MM:SS
|
118
118
|
* @member {String} add_time
|
119
119
|
*/
|
120
120
|
|
package/dist/model/NewGoal.js
CHANGED
@@ -113,75 +113,75 @@ var NewGoal = /*#__PURE__*/function () {
|
|
113
113
|
return NewGoal;
|
114
114
|
}();
|
115
115
|
/**
|
116
|
-
*
|
116
|
+
* The title of the goal
|
117
117
|
* @member {String} title
|
118
118
|
*/
|
119
119
|
|
120
120
|
|
121
121
|
NewGoal.prototype['title'] = undefined;
|
122
122
|
/**
|
123
|
-
* Who
|
123
|
+
* Who this goal is assigned to. It requires the following JSON structure: { \"id\": \"1\", \"type\": \"person\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
|
124
124
|
* @member {Object} assignee
|
125
125
|
*/
|
126
126
|
|
127
127
|
NewGoal.prototype['assignee'] = undefined;
|
128
128
|
/**
|
129
|
-
*
|
129
|
+
* The type of the goal. It requires the following JSON structure: { \"name\": \"deals_started\", \"params\": { \"pipeline_id\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
|
130
130
|
* @member {Object} type
|
131
131
|
*/
|
132
132
|
|
133
133
|
NewGoal.prototype['type'] = undefined;
|
134
134
|
/**
|
135
|
-
*
|
135
|
+
* The expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \"target\": \"50\", \"tracking_metric\": \"quantity\" } or { \"target\": \"50\", \"tracking_metric\": \"sum\", \"currency_id\": 1 }. `currency_id` should only be added to `sum` type of goals.
|
136
136
|
* @member {Object} expected_outcome
|
137
137
|
*/
|
138
138
|
|
139
139
|
NewGoal.prototype['expected_outcome'] = undefined;
|
140
140
|
/**
|
141
|
-
*
|
141
|
+
* The date when the goal starts and ends. It requires the following JSON structure: { \"start\": \"2019-01-01\", \"end\": \"2022-12-31\" }. Date in format of YYYY-MM-DD. \"end\" can be set to `null` for an infinite, open-ended goal.
|
142
142
|
* @member {Object} duration
|
143
143
|
*/
|
144
144
|
|
145
145
|
NewGoal.prototype['duration'] = undefined;
|
146
146
|
/**
|
147
|
-
*
|
147
|
+
* The interval of the goal
|
148
148
|
* @member {module:model/NewGoal.IntervalEnum} interval
|
149
149
|
*/
|
150
150
|
|
151
151
|
NewGoal.prototype['interval'] = undefined; // Implement BasicGoal interface:
|
152
152
|
|
153
153
|
/**
|
154
|
-
*
|
154
|
+
* The title of the goal
|
155
155
|
* @member {String} title
|
156
156
|
*/
|
157
157
|
|
158
158
|
_BasicGoal["default"].prototype['title'] = undefined;
|
159
159
|
/**
|
160
|
-
* Who
|
160
|
+
* Who this goal is assigned to. It requires the following JSON structure: { \"id\": \"1\", \"type\": \"person\" }. `type` can be either `person`, `company` or `team`. ID of the assignee person, company or team.
|
161
161
|
* @member {Object} assignee
|
162
162
|
*/
|
163
163
|
|
164
164
|
_BasicGoal["default"].prototype['assignee'] = undefined;
|
165
165
|
/**
|
166
|
-
*
|
166
|
+
* The type of the goal. It requires the following JSON structure: { \"name\": \"deals_started\", \"params\": { \"pipeline_id\": 1 } }. Type can be one of: `deals_won`, `deals_progressed`, `activities_completed`, `activities_added`, `deals_started` or `revenue_forecast`. `params` can include `pipeline_id`, `stage_id` or `activity_type_id`. `stage_id` is related to only `deals_progressed` type of goals and `activity_type_id` to `activities_completed` or `activities_added` types of goals. To track goal in all pipelines set `pipeline_id` as `null`.
|
167
167
|
* @member {Object} type
|
168
168
|
*/
|
169
169
|
|
170
170
|
_BasicGoal["default"].prototype['type'] = undefined;
|
171
171
|
/**
|
172
|
-
*
|
172
|
+
* The expected outcome of the goal. Expected outcome can be tracked either by `quantity` or by `sum`. It requires the following JSON structure: { \"target\": \"50\", \"tracking_metric\": \"quantity\" } or { \"target\": \"50\", \"tracking_metric\": \"sum\", \"currency_id\": 1 }. `currency_id` should only be added to `sum` type of goals.
|
173
173
|
* @member {Object} expected_outcome
|
174
174
|
*/
|
175
175
|
|
176
176
|
_BasicGoal["default"].prototype['expected_outcome'] = undefined;
|
177
177
|
/**
|
178
|
-
*
|
178
|
+
* The date when the goal starts and ends. It requires the following JSON structure: { \"start\": \"2019-01-01\", \"end\": \"2022-12-31\" }. Date in format of YYYY-MM-DD. \"end\" can be set to `null` for an infinite, open-ended goal.
|
179
179
|
* @member {Object} duration
|
180
180
|
*/
|
181
181
|
|
182
182
|
_BasicGoal["default"].prototype['duration'] = undefined;
|
183
183
|
/**
|
184
|
-
*
|
184
|
+
* The interval of the goal
|
185
185
|
* @member {module:model/BasicGoal.IntervalEnum} interval
|
186
186
|
*/
|
187
187
|
|
@@ -43,7 +43,7 @@ var NewOrganization = /*#__PURE__*/function () {
|
|
43
43
|
* @alias module:model/NewOrganization
|
44
44
|
* @implements module:model/BasicOrganization
|
45
45
|
* @implements module:model/NewOrganizationAllOf
|
46
|
-
* @param name {String}
|
46
|
+
* @param name {String} The name of the organization
|
47
47
|
*/
|
48
48
|
function NewOrganization(name) {
|
49
49
|
(0, _classCallCheck2["default"])(this, NewOrganization);
|
@@ -115,52 +115,52 @@ var NewOrganization = /*#__PURE__*/function () {
|
|
115
115
|
return NewOrganization;
|
116
116
|
}();
|
117
117
|
/**
|
118
|
-
*
|
118
|
+
* The name of the organization
|
119
119
|
* @member {String} name
|
120
120
|
*/
|
121
121
|
|
122
122
|
|
123
123
|
NewOrganization.prototype['name'] = undefined;
|
124
124
|
/**
|
125
|
-
* The ID of the user who will be marked as the owner of this
|
125
|
+
* The ID of the user who will be marked as the owner of this organization. When omitted, the authorized user ID will be used.
|
126
126
|
* @member {Number} owner_id
|
127
127
|
*/
|
128
128
|
|
129
129
|
NewOrganization.prototype['owner_id'] = undefined;
|
130
130
|
/**
|
131
|
-
*
|
131
|
+
* The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
|
132
132
|
* @member {module:model/VisibleTo} visible_to
|
133
133
|
*/
|
134
134
|
|
135
135
|
NewOrganization.prototype['visible_to'] = undefined;
|
136
136
|
/**
|
137
|
-
*
|
137
|
+
* The optional creation date & time of the organization in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
138
138
|
* @member {String} add_time
|
139
139
|
*/
|
140
140
|
|
141
141
|
NewOrganization.prototype['add_time'] = undefined; // Implement BasicOrganization interface:
|
142
142
|
|
143
143
|
/**
|
144
|
-
*
|
144
|
+
* The name of the organization
|
145
145
|
* @member {String} name
|
146
146
|
*/
|
147
147
|
|
148
148
|
_BasicOrganization["default"].prototype['name'] = undefined;
|
149
149
|
/**
|
150
|
-
* The ID of the user who will be marked as the owner of this
|
150
|
+
* The ID of the user who will be marked as the owner of this organization. When omitted, the authorized user ID will be used.
|
151
151
|
* @member {Number} owner_id
|
152
152
|
*/
|
153
153
|
|
154
154
|
_BasicOrganization["default"].prototype['owner_id'] = undefined;
|
155
155
|
/**
|
156
|
-
*
|
156
|
+
* The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner & followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
|
157
157
|
* @member {module:model/VisibleTo} visible_to
|
158
158
|
*/
|
159
159
|
|
160
160
|
_BasicOrganization["default"].prototype['visible_to'] = undefined; // Implement NewOrganizationAllOf interface:
|
161
161
|
|
162
162
|
/**
|
163
|
-
*
|
163
|
+
* The optional creation date & time of the organization in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
164
164
|
* @member {String} add_time
|
165
165
|
*/
|
166
166
|
|
@@ -80,7 +80,7 @@ var NewOrganizationAllOf = /*#__PURE__*/function () {
|
|
80
80
|
return NewOrganizationAllOf;
|
81
81
|
}();
|
82
82
|
/**
|
83
|
-
*
|
83
|
+
* The optional creation date & time of the organization in UTC. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
|
84
84
|
* @member {String} add_time
|
85
85
|
*/
|
86
86
|
|