pipedrive 13.0.11 → 13.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -0
- package/README.md +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
@@ -52,7 +52,7 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
52
52
|
}
|
53
53
|
/**
|
54
54
|
* Add a recurring subscription
|
55
|
-
* Adds a new recurring
|
55
|
+
* Adds a new recurring subscription.
|
56
56
|
* @param {Object} opts Optional parameters
|
57
57
|
* @param {module:model/SubscriptionRecurringCreateRequest} opts.subscriptionRecurringCreateRequest
|
58
58
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
@@ -64,6 +64,27 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
64
64
|
value: function addRecurringSubscriptionWithHttpInfo(opts) {
|
65
65
|
opts = opts || {};
|
66
66
|
var postBody = opts['subscriptionRecurringCreateRequest'];
|
67
|
+
|
68
|
+
if (opts['deal_id'] === undefined || opts['deal_id'] === null) {
|
69
|
+
throw new Error("Missing the required parameter 'deal_id' when calling addRecurringSubscription");
|
70
|
+
}
|
71
|
+
|
72
|
+
if (opts['currency'] === undefined || opts['currency'] === null) {
|
73
|
+
throw new Error("Missing the required parameter 'currency' when calling addRecurringSubscription");
|
74
|
+
}
|
75
|
+
|
76
|
+
if (opts['cadence_type'] === undefined || opts['cadence_type'] === null) {
|
77
|
+
throw new Error("Missing the required parameter 'cadence_type' when calling addRecurringSubscription");
|
78
|
+
}
|
79
|
+
|
80
|
+
if (opts['cycle_amount'] === undefined || opts['cycle_amount'] === null) {
|
81
|
+
throw new Error("Missing the required parameter 'cycle_amount' when calling addRecurringSubscription");
|
82
|
+
}
|
83
|
+
|
84
|
+
if (opts['start_date'] === undefined || opts['start_date'] === null) {
|
85
|
+
throw new Error("Missing the required parameter 'start_date' when calling addRecurringSubscription");
|
86
|
+
}
|
87
|
+
|
67
88
|
var pathParams = {};
|
68
89
|
var queryParams = {};
|
69
90
|
var headerParams = {};
|
@@ -90,7 +111,7 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
90
111
|
}
|
91
112
|
/**
|
92
113
|
* Add a recurring subscription
|
93
|
-
* Adds a new recurring
|
114
|
+
* Adds a new recurring subscription.
|
94
115
|
* @param {Object} opts Optional parameters
|
95
116
|
* @param {module:model/SubscriptionRecurringCreateRequest} opts.subscriptionRecurringCreateRequest
|
96
117
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
@@ -105,7 +126,7 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
105
126
|
}
|
106
127
|
/**
|
107
128
|
* Add an installment subscription
|
108
|
-
* Adds a new installment
|
129
|
+
* Adds a new installment subscription.
|
109
130
|
* @param {Object} opts Optional parameters
|
110
131
|
* @param {module:model/SubscriptionInstallmentCreateRequest} opts.subscriptionInstallmentCreateRequest
|
111
132
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
@@ -116,6 +137,19 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
116
137
|
value: function addSubscriptionInstallmentWithHttpInfo(opts) {
|
117
138
|
opts = opts || {};
|
118
139
|
var postBody = opts['subscriptionInstallmentCreateRequest'];
|
140
|
+
|
141
|
+
if (opts['deal_id'] === undefined || opts['deal_id'] === null) {
|
142
|
+
throw new Error("Missing the required parameter 'deal_id' when calling addSubscriptionInstallment");
|
143
|
+
}
|
144
|
+
|
145
|
+
if (opts['currency'] === undefined || opts['currency'] === null) {
|
146
|
+
throw new Error("Missing the required parameter 'currency' when calling addSubscriptionInstallment");
|
147
|
+
}
|
148
|
+
|
149
|
+
if (opts['payments'] === undefined || opts['payments'] === null) {
|
150
|
+
throw new Error("Missing the required parameter 'payments' when calling addSubscriptionInstallment");
|
151
|
+
}
|
152
|
+
|
119
153
|
var pathParams = {};
|
120
154
|
var queryParams = {};
|
121
155
|
var headerParams = {};
|
@@ -142,7 +176,7 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
142
176
|
}
|
143
177
|
/**
|
144
178
|
* Add an installment subscription
|
145
|
-
* Adds a new installment
|
179
|
+
* Adds a new installment subscription.
|
146
180
|
* @param {Object} opts Optional parameters
|
147
181
|
* @param {module:model/SubscriptionInstallmentCreateRequest} opts.subscriptionInstallmentCreateRequest
|
148
182
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
@@ -157,8 +191,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
157
191
|
}
|
158
192
|
/**
|
159
193
|
* Cancel a recurring subscription
|
160
|
-
* Cancels a recurring
|
161
|
-
* @param {Number} id ID of the
|
194
|
+
* Cancels a recurring subscription.
|
195
|
+
* @param {Number} id The ID of the subscription
|
162
196
|
* @param {Object} opts Optional parameters
|
163
197
|
* @param {module:model/SubscriptionRecurringCancelRequest} opts.subscriptionRecurringCancelRequest
|
164
198
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
@@ -202,8 +236,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
202
236
|
}
|
203
237
|
/**
|
204
238
|
* Cancel a recurring subscription
|
205
|
-
* Cancels a recurring
|
206
|
-
* @param {Number} id ID of the
|
239
|
+
* Cancels a recurring subscription.
|
240
|
+
* @param {Number} id The ID of the subscription
|
207
241
|
* @param {Object} opts Optional parameters
|
208
242
|
* @param {module:model/SubscriptionRecurringCancelRequest} opts.subscriptionRecurringCancelRequest
|
209
243
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
@@ -218,8 +252,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
218
252
|
}
|
219
253
|
/**
|
220
254
|
* Delete a subscription
|
221
|
-
* Marks an installment or a recurring
|
222
|
-
* @param {Number} id ID of the
|
255
|
+
* Marks an installment or a recurring subscription as deleted.
|
256
|
+
* @param {Number} id The ID of the subscription
|
223
257
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
224
258
|
*/
|
225
259
|
|
@@ -261,8 +295,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
261
295
|
}
|
262
296
|
/**
|
263
297
|
* Delete a subscription
|
264
|
-
* Marks an installment or a recurring
|
265
|
-
* @param {Number} id ID of the
|
298
|
+
* Marks an installment or a recurring subscription as deleted.
|
299
|
+
* @param {Number} id The ID of the subscription
|
266
300
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
267
301
|
*/
|
268
302
|
|
@@ -275,8 +309,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
275
309
|
}
|
276
310
|
/**
|
277
311
|
* Find subscription by deal
|
278
|
-
* Returns details of an installment or a recurring
|
279
|
-
* @param {Number} dealId ID of the
|
312
|
+
* Returns details of an installment or a recurring subscription by the deal ID.
|
313
|
+
* @param {Number} dealId The ID of the deal
|
280
314
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
281
315
|
*/
|
282
316
|
|
@@ -318,8 +352,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
318
352
|
}
|
319
353
|
/**
|
320
354
|
* Find subscription by deal
|
321
|
-
* Returns details of an installment or a recurring
|
322
|
-
* @param {Number} dealId ID of the
|
355
|
+
* Returns details of an installment or a recurring subscription by the deal ID.
|
356
|
+
* @param {Number} dealId The ID of the deal
|
323
357
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
324
358
|
*/
|
325
359
|
|
@@ -332,8 +366,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
332
366
|
}
|
333
367
|
/**
|
334
368
|
* Get details of a subscription
|
335
|
-
* Returns details of an installment or a recurring
|
336
|
-
* @param {Number} id ID of the
|
369
|
+
* Returns details of an installment or a recurring subscription.
|
370
|
+
* @param {Number} id The ID of the subscription
|
337
371
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
338
372
|
*/
|
339
373
|
|
@@ -375,8 +409,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
375
409
|
}
|
376
410
|
/**
|
377
411
|
* Get details of a subscription
|
378
|
-
* Returns details of an installment or a recurring
|
379
|
-
* @param {Number} id ID of the
|
412
|
+
* Returns details of an installment or a recurring subscription.
|
413
|
+
* @param {Number} id The ID of the subscription
|
380
414
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
381
415
|
*/
|
382
416
|
|
@@ -388,9 +422,9 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
388
422
|
});
|
389
423
|
}
|
390
424
|
/**
|
391
|
-
* Get all payments of a
|
392
|
-
* Returns all payments of an installment or recurring
|
393
|
-
* @param {Number} id ID of the
|
425
|
+
* Get all payments of a subscription
|
426
|
+
* Returns all payments of an installment or recurring subscription.
|
427
|
+
* @param {Number} id The ID of the subscription
|
394
428
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentsResponse} and HTTP response
|
395
429
|
*/
|
396
430
|
|
@@ -431,9 +465,9 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
431
465
|
return this.apiClient.callApi('/subscriptions/{id}/payments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
432
466
|
}
|
433
467
|
/**
|
434
|
-
* Get all payments of a
|
435
|
-
* Returns all payments of an installment or recurring
|
436
|
-
* @param {Number} id ID of the
|
468
|
+
* Get all payments of a subscription
|
469
|
+
* Returns all payments of an installment or recurring subscription.
|
470
|
+
* @param {Number} id The ID of the subscription
|
437
471
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentsResponse}
|
438
472
|
*/
|
439
473
|
|
@@ -446,8 +480,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
446
480
|
}
|
447
481
|
/**
|
448
482
|
* Update a recurring subscription
|
449
|
-
* Updates a recurring
|
450
|
-
* @param {Number} id ID of the
|
483
|
+
* Updates a recurring subscription.
|
484
|
+
* @param {Number} id The ID of the subscription
|
451
485
|
* @param {Object} opts Optional parameters
|
452
486
|
* @param {module:model/SubscriptionRecurringUpdateRequest} opts.subscriptionRecurringUpdateRequest
|
453
487
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
@@ -463,6 +497,10 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
463
497
|
throw new Error("Missing the required parameter 'id' when calling updateRecurringSubscription");
|
464
498
|
}
|
465
499
|
|
500
|
+
if (opts['effective_date'] === undefined || opts['effective_date'] === null) {
|
501
|
+
throw new Error("Missing the required parameter 'effective_date' when calling updateRecurringSubscription");
|
502
|
+
}
|
503
|
+
|
466
504
|
var pathParams = {
|
467
505
|
'id': id
|
468
506
|
};
|
@@ -491,8 +529,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
491
529
|
}
|
492
530
|
/**
|
493
531
|
* Update a recurring subscription
|
494
|
-
* Updates a recurring
|
495
|
-
* @param {Number} id ID of the
|
532
|
+
* Updates a recurring subscription.
|
533
|
+
* @param {Number} id The ID of the subscription
|
496
534
|
* @param {Object} opts Optional parameters
|
497
535
|
* @param {module:model/SubscriptionRecurringUpdateRequest} opts.subscriptionRecurringUpdateRequest
|
498
536
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
@@ -507,8 +545,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
507
545
|
}
|
508
546
|
/**
|
509
547
|
* Update an installment subscription
|
510
|
-
* Updates an installment
|
511
|
-
* @param {Number} id ID of the
|
548
|
+
* Updates an installment subscription.
|
549
|
+
* @param {Number} id The ID of the subscription
|
512
550
|
* @param {Object} opts Optional parameters
|
513
551
|
* @param {module:model/SubscriptionInstallmentUpdateRequest} opts.subscriptionInstallmentUpdateRequest
|
514
552
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionsIdResponse} and HTTP response
|
@@ -524,6 +562,10 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
524
562
|
throw new Error("Missing the required parameter 'id' when calling updateSubscriptionInstallment");
|
525
563
|
}
|
526
564
|
|
565
|
+
if (opts['payments'] === undefined || opts['payments'] === null) {
|
566
|
+
throw new Error("Missing the required parameter 'payments' when calling updateSubscriptionInstallment");
|
567
|
+
}
|
568
|
+
|
527
569
|
var pathParams = {
|
528
570
|
'id': id
|
529
571
|
};
|
@@ -552,8 +594,8 @@ var SubscriptionsApi = /*#__PURE__*/function () {
|
|
552
594
|
}
|
553
595
|
/**
|
554
596
|
* Update an installment subscription
|
555
|
-
* Updates an installment
|
556
|
-
* @param {Number} id ID of the
|
597
|
+
* Updates an installment subscription.
|
598
|
+
* @param {Number} id The ID of the subscription
|
557
599
|
* @param {Object} opts Optional parameters
|
558
600
|
* @param {module:model/SubscriptionInstallmentUpdateRequest} opts.subscriptionInstallmentUpdateRequest
|
559
601
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionsIdResponse}
|
package/dist/api/TeamsApi.js
CHANGED
@@ -56,7 +56,7 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
56
56
|
}
|
57
57
|
/**
|
58
58
|
* Add a new team
|
59
|
-
* Adds a new team to the company and returns the created object
|
59
|
+
* Adds a new team to the company and returns the created object.
|
60
60
|
* @param {Object} opts Optional parameters
|
61
61
|
* @param {module:model/CreateTeam} opts.createTeam
|
62
62
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
@@ -68,6 +68,15 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
68
68
|
value: function addTeamWithHttpInfo(opts) {
|
69
69
|
opts = opts || {};
|
70
70
|
var postBody = opts['createTeam'];
|
71
|
+
|
72
|
+
if (opts['name'] === undefined || opts['name'] === null) {
|
73
|
+
throw new Error("Missing the required parameter 'name' when calling addTeam");
|
74
|
+
}
|
75
|
+
|
76
|
+
if (opts['manager_id'] === undefined || opts['manager_id'] === null) {
|
77
|
+
throw new Error("Missing the required parameter 'manager_id' when calling addTeam");
|
78
|
+
}
|
79
|
+
|
71
80
|
var pathParams = {};
|
72
81
|
var queryParams = {};
|
73
82
|
var headerParams = {};
|
@@ -94,7 +103,7 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
94
103
|
}
|
95
104
|
/**
|
96
105
|
* Add a new team
|
97
|
-
* Adds a new team to the company and returns the created object
|
106
|
+
* Adds a new team to the company and returns the created object.
|
98
107
|
* @param {Object} opts Optional parameters
|
99
108
|
* @param {module:model/CreateTeam} opts.createTeam
|
100
109
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
@@ -109,8 +118,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
109
118
|
}
|
110
119
|
/**
|
111
120
|
* Add users to a team
|
112
|
-
* Adds users to an existing team
|
113
|
-
* @param {Number} id ID of the team
|
121
|
+
* Adds users to an existing team.
|
122
|
+
* @param {Number} id The ID of the team
|
114
123
|
* @param {Object} opts Optional parameters
|
115
124
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
116
125
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
@@ -126,6 +135,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
126
135
|
throw new Error("Missing the required parameter 'id' when calling addTeamUser");
|
127
136
|
}
|
128
137
|
|
138
|
+
if (opts['users'] === undefined || opts['users'] === null) {
|
139
|
+
throw new Error("Missing the required parameter 'users' when calling addTeamUser");
|
140
|
+
}
|
141
|
+
|
129
142
|
var pathParams = {
|
130
143
|
'id': id
|
131
144
|
};
|
@@ -154,8 +167,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
154
167
|
}
|
155
168
|
/**
|
156
169
|
* Add users to a team
|
157
|
-
* Adds users to an existing team
|
158
|
-
* @param {Number} id ID of the team
|
170
|
+
* Adds users to an existing team.
|
171
|
+
* @param {Number} id The ID of the team
|
159
172
|
* @param {Object} opts Optional parameters
|
160
173
|
* @param {module:model/AddTeamUserRequest} opts.addTeamUserRequest
|
161
174
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
@@ -170,8 +183,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
170
183
|
}
|
171
184
|
/**
|
172
185
|
* Delete users from a team
|
173
|
-
* Deletes users from an existing team
|
174
|
-
* @param {Number} id ID of the team
|
186
|
+
* Deletes users from an existing team.
|
187
|
+
* @param {Number} id The ID of the team
|
175
188
|
* @param {Object} opts Optional parameters
|
176
189
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
177
190
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
@@ -187,6 +200,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
187
200
|
throw new Error("Missing the required parameter 'id' when calling deleteTeamUser");
|
188
201
|
}
|
189
202
|
|
203
|
+
if (opts['users'] === undefined || opts['users'] === null) {
|
204
|
+
throw new Error("Missing the required parameter 'users' when calling deleteTeamUser");
|
205
|
+
}
|
206
|
+
|
190
207
|
var pathParams = {
|
191
208
|
'id': id
|
192
209
|
};
|
@@ -215,8 +232,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
215
232
|
}
|
216
233
|
/**
|
217
234
|
* Delete users from a team
|
218
|
-
* Deletes users from an existing team
|
219
|
-
* @param {Number} id ID of the team
|
235
|
+
* Deletes users from an existing team.
|
236
|
+
* @param {Number} id The ID of the team
|
220
237
|
* @param {Object} opts Optional parameters
|
221
238
|
* @param {module:model/DeleteTeamUserRequest} opts.deleteTeamUserRequest
|
222
239
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
@@ -231,8 +248,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
231
248
|
}
|
232
249
|
/**
|
233
250
|
* Get a single team
|
234
|
-
* Returns data about a specific team
|
235
|
-
* @param {Number} id ID of the team
|
251
|
+
* Returns data about a specific team.
|
252
|
+
* @param {Number} id The ID of the team
|
236
253
|
* @param {Object} opts Optional parameters
|
237
254
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
238
255
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
@@ -278,8 +295,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
278
295
|
}
|
279
296
|
/**
|
280
297
|
* Get a single team
|
281
|
-
* Returns data about a specific team
|
282
|
-
* @param {Number} id ID of the team
|
298
|
+
* Returns data about a specific team.
|
299
|
+
* @param {Number} id The ID of the team
|
283
300
|
* @param {Object} opts Optional parameters
|
284
301
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
285
302
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
@@ -294,8 +311,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
294
311
|
}
|
295
312
|
/**
|
296
313
|
* Get all users in a team
|
297
|
-
* Returns list of all user IDs within a team
|
298
|
-
* @param {Number} id ID of the team
|
314
|
+
* Returns a list of all user IDs within a team.
|
315
|
+
* @param {Number} id The ID of the team
|
299
316
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
300
317
|
*/
|
301
318
|
|
@@ -337,8 +354,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
337
354
|
}
|
338
355
|
/**
|
339
356
|
* Get all users in a team
|
340
|
-
* Returns list of all user IDs within a team
|
341
|
-
* @param {Number} id ID of the team
|
357
|
+
* Returns a list of all user IDs within a team.
|
358
|
+
* @param {Number} id The ID of the team
|
342
359
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
343
360
|
*/
|
344
361
|
|
@@ -351,9 +368,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
351
368
|
}
|
352
369
|
/**
|
353
370
|
* Get all teams
|
354
|
-
* Returns data about teams within the company
|
371
|
+
* Returns data about teams within the company.
|
355
372
|
* @param {Object} opts Optional parameters
|
356
|
-
* @param {module:model/String} opts.orderBy
|
373
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
357
374
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
358
375
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
359
376
|
*/
|
@@ -392,9 +409,9 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
392
409
|
}
|
393
410
|
/**
|
394
411
|
* Get all teams
|
395
|
-
* Returns data about teams within the company
|
412
|
+
* Returns data about teams within the company.
|
396
413
|
* @param {Object} opts Optional parameters
|
397
|
-
* @param {module:model/String} opts.orderBy
|
414
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
398
415
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
399
416
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
400
417
|
*/
|
@@ -408,10 +425,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
408
425
|
}
|
409
426
|
/**
|
410
427
|
* Get all teams of a user
|
411
|
-
* Returns data about all teams which have specified user as a member
|
412
|
-
* @param {Number} id ID of the user
|
428
|
+
* Returns data about all teams which have the specified user as a member.
|
429
|
+
* @param {Number} id The ID of the user
|
413
430
|
* @param {Object} opts Optional parameters
|
414
|
-
* @param {module:model/String} opts.orderBy
|
431
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
415
432
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
416
433
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Teams} and HTTP response
|
417
434
|
*/
|
@@ -457,10 +474,10 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
457
474
|
}
|
458
475
|
/**
|
459
476
|
* Get all teams of a user
|
460
|
-
* Returns data about all teams which have specified user as a member
|
461
|
-
* @param {Number} id ID of the user
|
477
|
+
* Returns data about all teams which have the specified user as a member.
|
478
|
+
* @param {Number} id The ID of the user
|
462
479
|
* @param {Object} opts Optional parameters
|
463
|
-
* @param {module:model/String} opts.orderBy
|
480
|
+
* @param {module:model/String} opts.orderBy The field name to sort returned teams by (default to 'id')
|
464
481
|
* @param {module:model/NumberBooleanDefault0} opts.skipUsers When enabled, the teams will not include IDs of member users
|
465
482
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Teams}
|
466
483
|
*/
|
@@ -474,8 +491,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
474
491
|
}
|
475
492
|
/**
|
476
493
|
* Update a team
|
477
|
-
* Updates an existing team and returns the updated object
|
478
|
-
* @param {Number} id ID of the team
|
494
|
+
* Updates an existing team and returns the updated object.
|
495
|
+
* @param {Number} id The ID of the team
|
479
496
|
* @param {Object} opts Optional parameters
|
480
497
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
481
498
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Team} and HTTP response
|
@@ -519,8 +536,8 @@ var TeamsApi = /*#__PURE__*/function () {
|
|
519
536
|
}
|
520
537
|
/**
|
521
538
|
* Update a team
|
522
|
-
* Updates an existing team and returns the updated object
|
523
|
-
* @param {Number} id ID of the team
|
539
|
+
* Updates an existing team and returns the updated object.
|
540
|
+
* @param {Number} id The ID of the team
|
524
541
|
* @param {Object} opts Optional parameters
|
525
542
|
* @param {module:model/UpdateTeam} opts.updateTeam
|
526
543
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Team}
|
@@ -42,7 +42,7 @@ var UserConnectionsApi = /*#__PURE__*/function () {
|
|
42
42
|
}
|
43
43
|
/**
|
44
44
|
* Get all user connections
|
45
|
-
* Returns data about all connections for authorized user.
|
45
|
+
* Returns data about all connections for the authorized user.
|
46
46
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserConnections} and HTTP response
|
47
47
|
*/
|
48
48
|
|
@@ -78,7 +78,7 @@ var UserConnectionsApi = /*#__PURE__*/function () {
|
|
78
78
|
}
|
79
79
|
/**
|
80
80
|
* Get all user connections
|
81
|
-
* Returns data about all connections for authorized user.
|
81
|
+
* Returns data about all connections for the authorized user.
|
82
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserConnections}
|
83
83
|
*/
|
84
84
|
|
@@ -42,7 +42,7 @@ var UserSettingsApi = /*#__PURE__*/function () {
|
|
42
42
|
}
|
43
43
|
/**
|
44
44
|
* List settings of an authorized user
|
45
|
-
*
|
45
|
+
* Lists the settings of an authorized user. Example response contains a shortened list of settings.
|
46
46
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserSettings} and HTTP response
|
47
47
|
*/
|
48
48
|
|
@@ -78,7 +78,7 @@ var UserSettingsApi = /*#__PURE__*/function () {
|
|
78
78
|
}
|
79
79
|
/**
|
80
80
|
* List settings of an authorized user
|
81
|
-
*
|
81
|
+
* Lists the settings of an authorized user. Example response contains a shortened list of settings.
|
82
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserSettings}
|
83
83
|
*/
|
84
84
|
|