pipedrive 17.5.3 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -0
- package/README.md +15 -8
- package/dist/ApiClient.js +71 -218
- package/dist/api/ActivitiesApi.js +21 -52
- package/dist/api/ActivityFieldsApi.js +3 -16
- package/dist/api/ActivityTypesApi.js +17 -45
- package/dist/api/BillingApi.js +3 -16
- package/dist/api/CallLogsApi.js +19 -52
- package/dist/api/ChannelsApi.js +15 -55
- package/dist/api/CurrenciesApi.js +3 -16
- package/dist/api/DealFieldsApi.js +21 -49
- package/dist/api/DealsApi.js +134 -234
- package/dist/api/FilesApi.js +45 -78
- package/dist/api/FiltersApi.js +25 -62
- package/dist/api/GlobalMessagesApi.js +6 -22
- package/dist/api/GoalsApi.js +36 -47
- package/dist/api/ItemSearchApi.js +19 -35
- package/dist/api/LeadLabelsApi.js +13 -40
- package/dist/api/LeadSourcesApi.js +3 -16
- package/dist/api/LeadsApi.js +23 -54
- package/dist/api/LegacyTeamsApi.js +29 -69
- package/dist/api/MailboxApi.js +25 -55
- package/dist/api/NoteFieldsApi.js +3 -16
- package/dist/api/NotesApi.js +43 -85
- package/dist/api/OrganizationFieldsApi.js +21 -49
- package/dist/api/OrganizationRelationshipsApi.js +19 -50
- package/dist/api/OrganizationsApi.js +75 -146
- package/dist/api/PermissionSetsApi.js +11 -30
- package/dist/api/PersonFieldsApi.js +21 -49
- package/dist/api/PersonsApi.js +85 -160
- package/dist/api/PipelinesApi.js +37 -73
- package/dist/api/ProductFieldsApi.js +21 -53
- package/dist/api/ProductsApi.js +51 -100
- package/dist/api/RecentsApi.js +5 -18
- package/dist/api/RolesApi.js +41 -95
- package/dist/api/SearchResultsApi.js +12 -31
- package/dist/api/StagesApi.js +25 -58
- package/dist/api/SubscriptionsApi.js +33 -80
- package/dist/api/TeamsApi.js +28 -68
- package/dist/api/UserConnectionsApi.js +3 -17
- package/dist/api/UserSettingsApi.js +3 -17
- package/dist/api/UsersApi.js +35 -80
- package/dist/api/WebhooksApi.js +9 -36
- package/dist/exceptions/FailResponseException.js +3 -8
- package/dist/exceptions/NotFoundException.js +3 -8
- package/dist/exceptions/OAuthProviderException.js +3 -8
- package/dist/exceptions/UnauthorizedException.js +3 -8
- package/dist/index.js +7 -755
- package/dist/model/ActivityDistributionData.js +2 -15
- package/dist/model/ActivityDistributionDataActivityDistribution.js +2 -15
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERID.js +5 -21
- package/dist/model/ActivityDistributionDataActivityDistributionASSIGNEDTOUSERIDActivities.js +2 -14
- package/dist/model/ActivityDistributionDataWithAdditionalData.js +9 -35
- package/dist/model/ActivityInfo.js +6 -22
- package/dist/model/ActivityObjectFragment.js +11 -32
- package/dist/model/ActivityPostObject.js +23 -76
- package/dist/model/ActivityPostObjectAllOf.js +9 -29
- package/dist/model/ActivityPutObject.js +23 -76
- package/dist/model/ActivityPutObjectAllOf.js +9 -29
- package/dist/model/ActivityRecordAdditionalData.js +2 -14
- package/dist/model/ActivityResponseObject.js +68 -211
- package/dist/model/ActivityResponseObjectAllOf.js +55 -120
- package/dist/model/ActivityTypeBulkDeleteResponse.js +7 -29
- package/dist/model/ActivityTypeBulkDeleteResponseAllOf.js +2 -15
- package/dist/model/ActivityTypeBulkDeleteResponseAllOfData.js +2 -14
- package/dist/model/ActivityTypeCreateRequest.js +4 -19
- package/dist/model/ActivityTypeCreateUpdateDeleteResponse.js +7 -29
- package/dist/model/ActivityTypeCreateUpdateDeleteResponseAllOf.js +2 -15
- package/dist/model/ActivityTypeListResponse.js +7 -29
- package/dist/model/ActivityTypeListResponseAllOf.js +2 -15
- package/dist/model/ActivityTypeObjectResponse.js +11 -33
- package/dist/model/ActivityTypeUpdateRequest.js +5 -21
- package/dist/model/AddActivityResponse200.js +5 -23
- package/dist/model/AddActivityResponse200RelatedObjects.js +5 -24
- package/dist/model/AddCallLogAudioFileRequest.js +2 -14
- package/dist/model/AddDealFollowerRequest.js +2 -14
- package/dist/model/AddDealParticipantRequest.js +2 -14
- package/dist/model/AddFile.js +3 -17
- package/dist/model/AddFileAndLinkItRequest.js +9 -31
- package/dist/model/AddFileRequest.js +7 -24
- package/dist/model/AddFilterRequest.js +6 -21
- package/dist/model/AddFollowerToPersonResponse.js +7 -29
- package/dist/model/AddFollowerToPersonResponseAllOf.js +2 -15
- package/dist/model/AddFollowerToPersonResponseAllOfData.js +5 -20
- package/dist/model/AddLeadLabelRequest.js +3 -17
- package/dist/model/AddLeadRequest.js +11 -34
- package/dist/model/AddNewPipeline.js +7 -29
- package/dist/model/AddNewPipelineAllOf.js +2 -15
- package/dist/model/AddNoteRequest.js +16 -56
- package/dist/model/AddNoteRequestAllOf.js +6 -22
- package/dist/model/AddOrUpdateGoalResponse200.js +3 -17
- package/dist/model/AddOrUpdateLeadLabelResponse200.js +3 -17
- package/dist/model/AddOrUpdateRoleSettingRequest.js +5 -25
- package/dist/model/AddOrganizationFollowerRequest.js +2 -14
- package/dist/model/AddOrganizationRelationshipRequest.js +6 -22
- package/dist/model/AddPersonFollowerRequest.js +2 -14
- package/dist/model/AddPersonPictureRequest.js +6 -22
- package/dist/model/AddPersonPictureResponse.js +7 -29
- package/dist/model/AddPersonPictureResponseAllOf.js +2 -15
- package/dist/model/AddPersonResponse.js +8 -33
- package/dist/model/AddPersonResponseAllOf.js +3 -18
- package/dist/model/AddPersonResponseAllOfRelatedObjects.js +2 -15
- package/dist/model/AddProductAttachmentDetails.js +45 -105
- package/dist/model/AddProductAttachmentDetailsAllOf.js +2 -14
- package/dist/model/AddProductFollowerRequest.js +2 -14
- package/dist/model/AddProductRequestBody.js +14 -51
- package/dist/model/AddRole.js +3 -16
- package/dist/model/AddRoleAssignmentRequest.js +2 -14
- package/dist/model/AddTeamUserRequest.js +2 -14
- package/dist/model/AddUserBlacklistedEmailRequest.js +2 -14
- package/dist/model/AddUserRequest.js +5 -21
- package/dist/model/AddUserRoleAssignmentRequest.js +2 -14
- package/dist/model/AddWebhookRequest.js +9 -40
- package/dist/model/AddedDealFollower.js +3 -17
- package/dist/model/AddedDealFollowerData.js +5 -20
- package/dist/model/AdditionalBaseOrganizationItemInfo.js +37 -118
- package/dist/model/AdditionalData.js +4 -18
- package/dist/model/AdditionalDataWithPagination.js +2 -15
- package/dist/model/AdditionalDataWithPaginationDetails.js +2 -15
- package/dist/model/AdditionalMergePersonInfo.js +35 -112
- package/dist/model/AdditionalPersonInfo.js +32 -105
- package/dist/model/AllOrganizationRelationshipsGetResponse.js +9 -37
- package/dist/model/AllOrganizationRelationshipsGetResponseAllOf.js +4 -21
- package/dist/model/AllOrganizationRelationshipsGetResponseAllOfRelatedObjects.js +2 -15
- package/dist/model/AllOrganizationsGetResponse.js +9 -37
- package/dist/model/AllOrganizationsGetResponseAllOf.js +4 -21
- package/dist/model/AllOrganizationsGetResponseAllOfRelatedObjects.js +4 -21
- package/dist/model/AnyOfRecents.js +1 -7
- package/dist/model/AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser.js +1 -7
- package/dist/model/AnyType.js +1 -7
- package/dist/model/ArrayPrices.js +2 -14
- package/dist/model/Assignee.js +3 -16
- package/dist/model/BaseComment.js +11 -32
- package/dist/model/BaseCurrency.js +8 -26
- package/dist/model/BaseDeal.js +55 -118
- package/dist/model/BaseFollowerItem.js +4 -18
- package/dist/model/BaseMailThread.js +42 -135
- package/dist/model/BaseMailThreadAllOf.js +24 -60
- package/dist/model/BaseMailThreadAllOfParties.js +3 -17
- package/dist/model/BaseMailThreadMessages.js +32 -105
- package/dist/model/BaseMailThreadMessagesAllOf.js +14 -40
- package/dist/model/BaseNote.js +19 -52
- package/dist/model/BaseNoteDealTitle.js +2 -14
- package/dist/model/BaseNoteOrganization.js +2 -14
- package/dist/model/BaseNotePerson.js +2 -14
- package/dist/model/BaseOrganizationItem.js +51 -162
- package/dist/model/BaseOrganizationItemFields.js +15 -42
- package/dist/model/BaseOrganizationItemWithEditNameFlag.js +52 -165
- package/dist/model/BaseOrganizationItemWithEditNameFlagAllOf.js +2 -14
- package/dist/model/BaseOrganizationRelationshipItem.js +8 -27
- package/dist/model/BasePersonItem.js +16 -55
- package/dist/model/BasePersonItemEmail.js +4 -18
- package/dist/model/BasePersonItemPhone.js +4 -18
- package/dist/model/BasePipeline.js +9 -28
- package/dist/model/BasePipelineWithSelectedFlag.js +14 -49
- package/dist/model/BasePipelineWithSelectedFlagAllOf.js +2 -14
- package/dist/model/BaseProduct.js +10 -32
- package/dist/model/BaseResponse.js +2 -14
- package/dist/model/BaseResponseWithStatus.js +7 -28
- package/dist/model/BaseResponseWithStatusAllOf.js +2 -14
- package/dist/model/BaseRole.js +3 -16
- package/dist/model/BaseStage.js +12 -34
- package/dist/model/BaseTeam.js +14 -50
- package/dist/model/BaseTeamAdditionalProperties.js +3 -16
- package/dist/model/BaseUser.js +20 -51
- package/dist/model/BaseUserMe.js +30 -99
- package/dist/model/BaseUserMeAllOf.js +7 -25
- package/dist/model/BaseUserMeAllOfLanguage.js +3 -16
- package/dist/model/BaseWebhook.js +20 -51
- package/dist/model/BasicDeal.js +14 -41
- package/dist/model/BasicDealProduct.js +24 -32
- package/dist/model/BasicGoal.js +12 -32
- package/dist/model/BasicOrganization.js +3 -17
- package/dist/model/BasicPerson.js +9 -42
- package/dist/model/BasicPersonEmail.js +4 -18
- package/dist/model/BasicProductField.js +3 -16
- package/dist/model/BulkDeleteResponse.js +7 -29
- package/dist/model/BulkDeleteResponseAllOf.js +2 -15
- package/dist/model/BulkDeleteResponseAllOfData.js +2 -14
- package/dist/model/CalculatedFields.js +3 -16
- package/dist/model/CallLogObject.js +15 -44
- package/dist/model/CallLogResponse400.js +6 -22
- package/dist/model/CallLogResponse403.js +6 -22
- package/dist/model/CallLogResponse404.js +6 -22
- package/dist/model/CallLogResponse409.js +6 -22
- package/dist/model/CallLogResponse410.js +6 -22
- package/dist/model/CallLogResponse500.js +6 -22
- package/dist/model/ChannelObject.js +7 -25
- package/dist/model/ChannelObjectResponse.js +3 -17
- package/dist/model/ChannelObjectResponseData.js +12 -35
- package/dist/model/CommentPostPutObject.js +2 -14
- package/dist/model/CommonMailThread.js +15 -41
- package/dist/model/CreateRemoteFileAndLinkItToItem.js +3 -17
- package/dist/model/CreateTeam.js +5 -20
- package/dist/model/Currencies.js +3 -17
- package/dist/model/DealCountAndActivityInfo.js +18 -61
- package/dist/model/DealFlowResponse.js +9 -37
- package/dist/model/DealFlowResponseAllOf.js +4 -21
- package/dist/model/DealFlowResponseAllOfData.js +4 -18
- package/dist/model/DealFlowResponseAllOfRelatedObjects.js +5 -24
- package/dist/model/DealListActivitiesResponse.js +9 -37
- package/dist/model/DealListActivitiesResponseAllOf.js +4 -21
- package/dist/model/DealListActivitiesResponseAllOfRelatedObjects.js +5 -24
- package/dist/model/DealNonStrict.js +65 -200
- package/dist/model/DealNonStrictModeFields.js +6 -26
- package/dist/model/DealNonStrictModeFieldsCreatorUserId.js +8 -26
- package/dist/model/DealNonStrictWithDetails.js +71 -221
- package/dist/model/DealNonStrictWithDetailsAllOf.js +7 -27
- package/dist/model/DealNonStrictWithDetailsAllOfAge.js +8 -26
- package/dist/model/DealNonStrictWithDetailsAllOfAverageTimeToWon.js +8 -26
- package/dist/model/DealNonStrictWithDetailsAllOfStayInPipelineStages.js +3 -16
- package/dist/model/DealOrganizationData.js +7 -24
- package/dist/model/DealOrganizationDataWithId.js +12 -43
- package/dist/model/DealOrganizationDataWithIdAllOf.js +2 -14
- package/dist/model/DealParticipantCountInfo.js +3 -16
- package/dist/model/DealParticipants.js +5 -23
- package/dist/model/DealPersonData.js +6 -24
- package/dist/model/DealPersonDataEmail.js +4 -18
- package/dist/model/DealPersonDataPhone.js +4 -18
- package/dist/model/DealPersonDataWithId.js +11 -42
- package/dist/model/DealPersonDataWithIdAllOf.js +2 -14
- package/dist/model/DealSearchItem.js +3 -17
- package/dist/model/DealSearchItemItem.js +14 -42
- package/dist/model/DealSearchItemItemOrganization.js +3 -16
- package/dist/model/DealSearchItemItemOwner.js +2 -14
- package/dist/model/DealSearchItemItemPerson.js +3 -16
- package/dist/model/DealSearchItemItemStage.js +3 -16
- package/dist/model/DealSearchResponse.js +8 -33
- package/dist/model/DealSearchResponseAllOf.js +3 -18
- package/dist/model/DealSearchResponseAllOfData.js +2 -15
- package/dist/model/DealStrict.js +65 -196
- package/dist/model/DealStrictModeFields.js +6 -22
- package/dist/model/DealStrictWithMergeId.js +66 -199
- package/dist/model/DealStrictWithMergeIdAllOf.js +2 -14
- package/dist/model/DealSummary.js +5 -23
- package/dist/model/DealSummaryPerCurrency.js +2 -14
- package/dist/model/DealSummaryPerCurrencyFull.js +2 -15
- package/dist/model/DealSummaryPerCurrencyFullCURRENCYID.js +3 -16
- package/dist/model/DealSummaryPerStages.js +2 -15
- package/dist/model/DealSummaryPerStagesSTAGEID.js +2 -15
- package/dist/model/DealSummaryPerStagesSTAGEIDCURRENCYID.js +6 -22
- package/dist/model/DealTitleParameter.js +2 -14
- package/dist/model/DealUserData.js +7 -24
- package/dist/model/DealUserDataWithId.js +12 -43
- package/dist/model/DealUserDataWithIdAllOf.js +2 -14
- package/dist/model/DealsCountAndActivityInfo.js +18 -61
- package/dist/model/DealsCountInfo.js +9 -28
- package/dist/model/DealsMovementsInfo.js +5 -22
- package/dist/model/DealsMovementsInfoFormattedValues.js +2 -14
- package/dist/model/DealsMovementsInfoValues.js +2 -14
- package/dist/model/DeleteActivitiesResponse200.js +3 -17
- package/dist/model/DeleteActivitiesResponse200Data.js +2 -14
- package/dist/model/DeleteActivityResponse200.js +3 -17
- package/dist/model/DeleteActivityResponse200Data.js +2 -14
- package/dist/model/DeleteChannelSuccess.js +2 -14
- package/dist/model/DeleteComment.js +3 -16
- package/dist/model/DeleteConversationSuccess.js +2 -14
- package/dist/model/DeleteDeal.js +3 -17
- package/dist/model/DeleteDealData.js +2 -14
- package/dist/model/DeleteDealFollower.js +3 -17
- package/dist/model/DeleteDealFollowerData.js +2 -14
- package/dist/model/DeleteDealParticipant.js +3 -17
- package/dist/model/DeleteDealParticipantData.js +2 -14
- package/dist/model/DeleteDealProduct.js +3 -17
- package/dist/model/DeleteDealProductData.js +3 -16
- package/dist/model/DeleteFile.js +3 -17
- package/dist/model/DeleteFileData.js +2 -14
- package/dist/model/DeleteGoalResponse200.js +2 -14
- package/dist/model/DeleteMultipleDeals.js +3 -17
- package/dist/model/DeleteMultipleDealsData.js +2 -14
- package/dist/model/DeleteMultipleProductFieldsResponse.js +3 -17
- package/dist/model/DeleteMultipleProductFieldsResponseData.js +2 -14
- package/dist/model/DeleteNote.js +3 -16
- package/dist/model/DeletePersonResponse.js +7 -29
- package/dist/model/DeletePersonResponseAllOf.js +2 -15
- package/dist/model/DeletePersonResponseAllOfData.js +2 -14
- package/dist/model/DeletePersonsInBulkResponse.js +7 -29
- package/dist/model/DeletePersonsInBulkResponseAllOf.js +2 -15
- package/dist/model/DeletePersonsInBulkResponseAllOfData.js +2 -14
- package/dist/model/DeletePipelineResponse200.js +3 -17
- package/dist/model/DeletePipelineResponse200Data.js +2 -14
- package/dist/model/DeleteProductFieldResponse.js +3 -17
- package/dist/model/DeleteProductFieldResponseData.js +2 -14
- package/dist/model/DeleteProductFollowerResponse.js +3 -17
- package/dist/model/DeleteProductFollowerResponseData.js +2 -14
- package/dist/model/DeleteProductResponse.js +3 -17
- package/dist/model/DeleteProductResponseData.js +2 -14
- package/dist/model/DeleteResponse.js +7 -29
- package/dist/model/DeleteResponseAllOf.js +2 -15
- package/dist/model/DeleteResponseAllOfData.js +2 -14
- package/dist/model/DeleteRole.js +7 -29
- package/dist/model/DeleteRoleAllOf.js +2 -15
- package/dist/model/DeleteRoleAllOfData.js +2 -14
- package/dist/model/DeleteRoleAssignment.js +7 -29
- package/dist/model/DeleteRoleAssignmentAllOf.js +2 -15
- package/dist/model/DeleteRoleAssignmentAllOfData.js +2 -14
- package/dist/model/DeleteRoleAssignmentRequest.js +2 -14
- package/dist/model/DeleteStageResponse200.js +3 -17
- package/dist/model/DeleteStageResponse200Data.js +2 -14
- package/dist/model/DeleteStagesResponse200.js +3 -17
- package/dist/model/DeleteStagesResponse200Data.js +2 -14
- package/dist/model/DeleteTeamUserRequest.js +2 -14
- package/dist/model/Duration.js +3 -16
- package/dist/model/EditPipeline.js +7 -29
- package/dist/model/EditPipelineAllOf.js +2 -15
- package/dist/model/EmailInfo.js +3 -16
- package/dist/model/ExpectedOutcome.js +3 -16
- package/dist/model/FailResponse.js +3 -16
- package/dist/model/Field.js +24 -59
- package/dist/model/FieldCreateRequest.js +10 -37
- package/dist/model/FieldCreateRequestAllOf.js +5 -20
- package/dist/model/FieldResponse.js +7 -29
- package/dist/model/FieldResponseAllOf.js +2 -15
- package/dist/model/FieldType.js +2 -15
- package/dist/model/FieldTypeAsString.js +1 -10
- package/dist/model/FieldUpdateRequest.js +5 -20
- package/dist/model/FieldsResponse.js +8 -33
- package/dist/model/FieldsResponseAllOf.js +3 -18
- package/dist/model/FileData.js +27 -64
- package/dist/model/FileItem.js +27 -64
- package/dist/model/FilterGetItem.js +10 -30
- package/dist/model/FilterType.js +1 -10
- package/dist/model/FiltersBulkDeleteResponse.js +7 -29
- package/dist/model/FiltersBulkDeleteResponseAllOf.js +2 -15
- package/dist/model/FiltersBulkDeleteResponseAllOfData.js +2 -14
- package/dist/model/FiltersBulkGetResponse.js +7 -29
- package/dist/model/FiltersBulkGetResponseAllOf.js +2 -15
- package/dist/model/FiltersDeleteResponse.js +7 -29
- package/dist/model/FiltersDeleteResponseAllOf.js +2 -15
- package/dist/model/FiltersDeleteResponseAllOfData.js +2 -14
- package/dist/model/FiltersGetResponse.js +7 -29
- package/dist/model/FiltersGetResponseAllOf.js +2 -15
- package/dist/model/FiltersPostResponse.js +7 -29
- package/dist/model/FiltersPostResponseAllOf.js +2 -15
- package/dist/model/FiltersPostResponseAllOfData.js +12 -35
- package/dist/model/FindGoalResponse.js +2 -15
- package/dist/model/FindProductsByNameResponse.js +4 -19
- package/dist/model/FindProductsByNameResponseData.js +8 -26
- package/dist/model/FollowerData.js +5 -20
- package/dist/model/FollowerDataWithID.js +10 -37
- package/dist/model/FollowerDataWithIDAllOf.js +2 -14
- package/dist/model/FullRole.js +12 -43
- package/dist/model/FullRoleAllOf.js +2 -14
- package/dist/model/GetActivitiesResponse200.js +5 -23
- package/dist/model/GetActivitiesResponse200RelatedObjects.js +5 -24
- package/dist/model/GetActivityResponse200.js +4 -20
- package/dist/model/GetAddProductAttachementDetails.js +3 -17
- package/dist/model/GetAddUpdateStage.js +3 -17
- package/dist/model/GetAddedDeal.js +4 -20
- package/dist/model/GetAddedDealAdditionalData.js +2 -14
- package/dist/model/GetAllFiles.js +4 -20
- package/dist/model/GetAllPersonsResponse.js +9 -37
- package/dist/model/GetAllPersonsResponseAllOf.js +4 -21
- package/dist/model/GetAllPipelines.js +7 -29
- package/dist/model/GetAllPipelinesAllOf.js +2 -15
- package/dist/model/GetAllProductFieldsResponse.js +4 -19
- package/dist/model/GetComments.js +4 -20
- package/dist/model/GetDeal.js +5 -23
- package/dist/model/GetDealAdditionalData.js +2 -14
- package/dist/model/GetDeals.js +5 -23
- package/dist/model/GetDealsByName.js +4 -20
- package/dist/model/GetDealsByNameAdditionalData.js +2 -15
- package/dist/model/GetDealsByNameData.js +14 -38
- package/dist/model/GetDealsConversionRatesInPipeline.js +7 -29
- package/dist/model/GetDealsConversionRatesInPipelineAllOf.js +2 -15
- package/dist/model/GetDealsConversionRatesInPipelineAllOfData.js +4 -19
- package/dist/model/GetDealsMovementsInPipeline.js +7 -29
- package/dist/model/GetDealsMovementsInPipelineAllOf.js +2 -15
- package/dist/model/GetDealsMovementsInPipelineAllOfData.js +7 -27
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDays.js +3 -17
- package/dist/model/GetDealsMovementsInPipelineAllOfDataAverageAgeInDaysByStages.js +3 -16
- package/dist/model/GetDealsMovementsInPipelineAllOfDataMovementsBetweenStages.js +2 -14
- package/dist/model/GetDealsRelatedObjects.js +4 -21
- package/dist/model/GetDealsSummary.js +3 -17
- package/dist/model/GetDealsSummaryData.js +8 -28
- package/dist/model/GetDealsSummaryDataValuesTotal.js +6 -22
- package/dist/model/GetDealsSummaryDataWeightedValuesTotal.js +4 -18
- package/dist/model/GetDealsTimeline.js +3 -17
- package/dist/model/GetDealsTimelineData.js +5 -22
- package/dist/model/GetDealsTimelineDataTotals.js +9 -28
- package/dist/model/GetDuplicatedDeal.js +3 -17
- package/dist/model/GetGoalResultResponse200.js +3 -17
- package/dist/model/GetGoalsResponse200.js +3 -17
- package/dist/model/GetLeadLabelsResponse200.js +3 -17
- package/dist/model/GetLeadSourcesResponse200.js +3 -17
- package/dist/model/GetLeadSourcesResponse200Data.js +2 -14
- package/dist/model/GetLeadsResponse200.js +4 -20
- package/dist/model/GetMergedDeal.js +3 -17
- package/dist/model/GetNotes.js +4 -20
- package/dist/model/GetOneFile.js +3 -17
- package/dist/model/GetOnePipeline.js +7 -29
- package/dist/model/GetOnePipelineAllOf.js +2 -15
- package/dist/model/GetOneStage.js +3 -17
- package/dist/model/GetPersonDetailsResponse.js +9 -37
- package/dist/model/GetPersonDetailsResponseAllOf.js +4 -21
- package/dist/model/GetPersonDetailsResponseAllOfAdditionalData.js +2 -14
- package/dist/model/GetProductAttachementDetails.js +3 -17
- package/dist/model/GetProductFieldResponse.js +3 -17
- package/dist/model/GetRecents.js +4 -20
- package/dist/model/GetRecentsAdditionalData.js +4 -19
- package/dist/model/GetRole.js +8 -33
- package/dist/model/GetRoleAllOf.js +3 -18
- package/dist/model/GetRoleAllOfAdditionalData.js +2 -15
- package/dist/model/GetRoleAssignments.js +8 -33
- package/dist/model/GetRoleAssignmentsAllOf.js +3 -18
- package/dist/model/GetRoleSettings.js +7 -29
- package/dist/model/GetRoleSettingsAllOf.js +2 -15
- package/dist/model/GetRoleSubroles.js +8 -33
- package/dist/model/GetRoleSubrolesAllOf.js +3 -18
- package/dist/model/GetRoles.js +8 -33
- package/dist/model/GetRolesAllOf.js +3 -18
- package/dist/model/GetStageDeals.js +4 -20
- package/dist/model/GetStages.js +3 -17
- package/dist/model/GlobalMessageBaseResponse.js +2 -14
- package/dist/model/GlobalMessageData.js +7 -25
- package/dist/model/GlobalMessageDelete.js +9 -35
- package/dist/model/GlobalMessageDeleteAllOf.js +4 -19
- package/dist/model/GlobalMessageGet.js +9 -35
- package/dist/model/GlobalMessageGetAllOf.js +4 -19
- package/dist/model/GlobalMessageUserData.js +4 -18
- package/dist/model/GoalResults.js +3 -17
- package/dist/model/GoalType.js +3 -17
- package/dist/model/GoalsResponseComponent.js +11 -36
- package/dist/model/IconKey.js +1 -10
- package/dist/model/InlineResponse200.js +3 -17
- package/dist/model/InlineResponse400.js +5 -21
- package/dist/model/InlineResponse4001.js +5 -21
- package/dist/model/InlineResponse4001AdditionalData.js +2 -14
- package/dist/model/InlineResponse400AdditionalData.js +2 -14
- package/dist/model/InlineResponse403.js +5 -21
- package/dist/model/InlineResponse4031.js +5 -21
- package/dist/model/InlineResponse4031AdditionalData.js +2 -14
- package/dist/model/InlineResponse403AdditionalData.js +2 -14
- package/dist/model/InlineResponse404.js +5 -21
- package/dist/model/InlineResponse404AdditionalData.js +2 -14
- package/dist/model/ItemSearchAdditionalData.js +2 -15
- package/dist/model/ItemSearchAdditionalDataPagination.js +5 -20
- package/dist/model/ItemSearchFieldResponse.js +8 -33
- package/dist/model/ItemSearchFieldResponseAllOf.js +3 -18
- package/dist/model/ItemSearchFieldResponseAllOfData.js +3 -16
- package/dist/model/ItemSearchItem.js +3 -16
- package/dist/model/ItemSearchResponse.js +8 -33
- package/dist/model/ItemSearchResponseAllOf.js +3 -18
- package/dist/model/ItemSearchResponseAllOfData.js +3 -17
- package/dist/model/LeadIdResponse200.js +3 -17
- package/dist/model/LeadIdResponse200Data.js +2 -14
- package/dist/model/LeadLabelColor.js +1 -10
- package/dist/model/LeadLabelResponse.js +6 -23
- package/dist/model/LeadResponse.js +18 -48
- package/dist/model/LeadResponse404.js +6 -22
- package/dist/model/LeadSearchItem.js +3 -17
- package/dist/model/LeadSearchItemItem.js +15 -43
- package/dist/model/LeadSearchItemItemOrganization.js +3 -16
- package/dist/model/LeadSearchItemItemOwner.js +2 -14
- package/dist/model/LeadSearchItemItemPerson.js +3 -16
- package/dist/model/LeadSearchResponse.js +8 -33
- package/dist/model/LeadSearchResponseAllOf.js +3 -18
- package/dist/model/LeadSearchResponseAllOfData.js +2 -15
- package/dist/model/LeadValue.js +3 -16
- package/dist/model/LinkFileToItemRequest.js +7 -24
- package/dist/model/LinkRemoteFileToItem.js +3 -17
- package/dist/model/ListActivitiesResponse.js +8 -33
- package/dist/model/ListActivitiesResponseAllOf.js +3 -18
- package/dist/model/ListDealsResponse.js +9 -37
- package/dist/model/ListDealsResponseAllOf.js +4 -21
- package/dist/model/ListDealsResponseAllOfRelatedObjects.js +6 -27
- package/dist/model/ListFilesResponse.js +8 -33
- package/dist/model/ListFilesResponseAllOf.js +3 -18
- package/dist/model/ListFollowersResponse.js +8 -33
- package/dist/model/ListFollowersResponseAllOf.js +3 -18
- package/dist/model/ListFollowersResponseAllOfData.js +5 -20
- package/dist/model/ListMailMessagesResponse.js +8 -33
- package/dist/model/ListMailMessagesResponseAllOf.js +3 -18
- package/dist/model/ListMailMessagesResponseAllOfData.js +4 -19
- package/dist/model/ListPermittedUsersResponse.js +7 -29
- package/dist/model/ListPermittedUsersResponse1.js +7 -28
- package/dist/model/ListPermittedUsersResponse1AllOf.js +2 -14
- package/dist/model/ListPermittedUsersResponse2.js +7 -28
- package/dist/model/ListPermittedUsersResponse2AllOf.js +2 -14
- package/dist/model/ListPermittedUsersResponseAllOf.js +2 -15
- package/dist/model/ListPermittedUsersResponseAllOfData.js +2 -14
- package/dist/model/ListPersonProductsResponse.js +8 -33
- package/dist/model/ListPersonProductsResponseAllOf.js +3 -18
- package/dist/model/ListPersonProductsResponseAllOfDEALID.js +3 -18
- package/dist/model/ListPersonProductsResponseAllOfData.js +2 -15
- package/dist/model/ListPersonsResponse.js +9 -37
- package/dist/model/ListPersonsResponseAllOf.js +4 -21
- package/dist/model/ListPersonsResponseAllOfRelatedObjects.js +3 -18
- package/dist/model/ListProductAdditionalData.js +11 -41
- package/dist/model/ListProductAdditionalDataAllOf.js +6 -22
- package/dist/model/ListProductFollowersResponse.js +8 -33
- package/dist/model/ListProductFollowersResponseAllOf.js +3 -18
- package/dist/model/ListProductFollowersResponseAllOfData.js +5 -20
- package/dist/model/ListProductsResponse.js +9 -37
- package/dist/model/ListProductsResponseAllOf.js +4 -21
- package/dist/model/ListProductsResponseAllOfData.js +2 -15
- package/dist/model/ListProductsResponseAllOfRelatedObjects.js +2 -15
- package/dist/model/MailMessage.js +10 -38
- package/dist/model/MailMessageAllOf.js +2 -15
- package/dist/model/MailMessageData.js +30 -72
- package/dist/model/MailMessageItemForList.js +43 -137
- package/dist/model/MailMessageItemForListAllOf.js +10 -30
- package/dist/model/MailParticipant.js +7 -24
- package/dist/model/MailServiceBaseResponse.js +5 -20
- package/dist/model/MailThread.js +7 -29
- package/dist/model/MailThreadAllOf.js +2 -15
- package/dist/model/MailThreadDelete.js +11 -35
- package/dist/model/MailThreadDeleteAllOf.js +5 -19
- package/dist/model/MailThreadDeleteAllOfData.js +78 -0
- package/dist/model/MailThreadMessages.js +7 -29
- package/dist/model/MailThreadMessagesAllOf.js +2 -15
- package/dist/model/MailThreadOne.js +7 -29
- package/dist/model/MailThreadOneAllOf.js +2 -15
- package/dist/model/MailThreadParticipant.js +10 -30
- package/dist/model/MailThreadPut.js +7 -29
- package/dist/model/MailThreadPutAllOf.js +2 -15
- package/dist/model/MarketingStatus.js +1 -10
- package/dist/model/MergeDealsRequest.js +2 -14
- package/dist/model/MergeOrganizationsRequest.js +2 -14
- package/dist/model/MergePersonDealRelatedInfo.js +20 -67
- package/dist/model/MergePersonItem.js +52 -177
- package/dist/model/MergePersonsRequest.js +2 -14
- package/dist/model/MergePersonsResponse.js +7 -29
- package/dist/model/MergePersonsResponseAllOf.js +2 -15
- package/dist/model/MessageObject.js +12 -37
- package/dist/model/MessageObjectAttachments.js +8 -26
- package/dist/model/NewDeal.js +22 -74
- package/dist/model/NewDealAllOf.js +2 -14
- package/dist/model/NewDealProduct.js +32 -46
- package/dist/model/NewDealProductAllOf.js +2 -14
- package/dist/model/NewFollowerResponse.js +3 -17
- package/dist/model/NewFollowerResponseData.js +5 -20
- package/dist/model/NewGoal.js +26 -80
- package/dist/model/NewOrganization.js +9 -35
- package/dist/model/NewOrganizationAllOf.js +3 -16
- package/dist/model/NewPerson.js +16 -70
- package/dist/model/NewPersonAllOf.js +2 -14
- package/dist/model/NewProductField.js +5 -34
- package/dist/model/NewProductFieldAllOf.js +5 -34
- package/dist/model/Note.js +18 -61
- package/dist/model/NoteAllOf.js +2 -14
- package/dist/model/NoteConnectToParams.js +5 -20
- package/dist/model/NoteCreatorUser.js +5 -20
- package/dist/model/NoteField.js +10 -32
- package/dist/model/NoteFieldOptions.js +3 -16
- package/dist/model/NoteFieldsResponse.js +8 -33
- package/dist/model/NoteFieldsResponseAllOf.js +3 -18
- package/dist/model/NoteParams.js +7 -25
- package/dist/model/NumberBoolean.js +1 -10
- package/dist/model/NumberBooleanDefault0.js +1 -10
- package/dist/model/NumberBooleanDefault1.js +1 -10
- package/dist/model/ObjectPrices.js +2 -14
- package/dist/model/OneLeadResponse200.js +3 -17
- package/dist/model/OptionalNameObject.js +2 -14
- package/dist/model/OrgAndOwnerId.js +3 -18
- package/dist/model/OrganizationAddressInfo.js +12 -34
- package/dist/model/OrganizationCountAndAddressInfo.js +24 -79
- package/dist/model/OrganizationCountInfo.js +9 -28
- package/dist/model/OrganizationData.js +6 -22
- package/dist/model/OrganizationDataWithId.js +11 -40
- package/dist/model/OrganizationDataWithIdAllOf.js +2 -14
- package/dist/model/OrganizationDataWithIdAndActiveFlag.js +12 -43
- package/dist/model/OrganizationDataWithIdAndActiveFlagAllOf.js +2 -14
- package/dist/model/OrganizationDeleteResponse.js +3 -17
- package/dist/model/OrganizationDeleteResponseData.js +2 -14
- package/dist/model/OrganizationDetailsGetResponse.js +9 -37
- package/dist/model/OrganizationDetailsGetResponseAllOf.js +4 -21
- package/dist/model/OrganizationDetailsGetResponseAllOfAdditionalData.js +3 -17
- package/dist/model/OrganizationFlowResponse.js +9 -37
- package/dist/model/OrganizationFlowResponseAllOf.js +4 -21
- package/dist/model/OrganizationFlowResponseAllOfData.js +4 -18
- package/dist/model/OrganizationFlowResponseAllOfRelatedObjects.js +3 -18
- package/dist/model/OrganizationFollowerDeleteResponse.js +3 -17
- package/dist/model/OrganizationFollowerDeleteResponseData.js +2 -14
- package/dist/model/OrganizationFollowerItem.js +9 -34
- package/dist/model/OrganizationFollowerItemAllOf.js +2 -14
- package/dist/model/OrganizationFollowerPostResponse.js +3 -17
- package/dist/model/OrganizationFollowersListResponse.js +4 -20
- package/dist/model/OrganizationItem.js +54 -171
- package/dist/model/OrganizationItemAllOf.js +3 -16
- package/dist/model/OrganizationPostResponse.js +8 -33
- package/dist/model/OrganizationPostResponseAllOf.js +3 -18
- package/dist/model/OrganizationRelationship.js +6 -22
- package/dist/model/OrganizationRelationshipDeleteResponse.js +7 -29
- package/dist/model/OrganizationRelationshipDeleteResponseAllOf.js +2 -15
- package/dist/model/OrganizationRelationshipDeleteResponseAllOfData.js +2 -14
- package/dist/model/OrganizationRelationshipDetails.js +15 -53
- package/dist/model/OrganizationRelationshipGetResponse.js +8 -33
- package/dist/model/OrganizationRelationshipGetResponseAllOf.js +3 -18
- package/dist/model/OrganizationRelationshipPostResponse.js +8 -33
- package/dist/model/OrganizationRelationshipPostResponseAllOf.js +3 -18
- package/dist/model/OrganizationRelationshipUpdateResponse.js +8 -33
- package/dist/model/OrganizationRelationshipWithCalculatedFields.js +14 -50
- package/dist/model/OrganizationSearchItem.js +3 -17
- package/dist/model/OrganizationSearchItemItem.js +9 -29
- package/dist/model/OrganizationSearchResponse.js +8 -33
- package/dist/model/OrganizationSearchResponseAllOf.js +3 -18
- package/dist/model/OrganizationSearchResponseAllOfData.js +2 -15
- package/dist/model/OrganizationUpdateResponse.js +8 -33
- package/dist/model/OrganizationUpdateResponseAllOf.js +3 -18
- package/dist/model/OrganizationsDeleteResponse.js +3 -17
- package/dist/model/OrganizationsDeleteResponseData.js +2 -14
- package/dist/model/OrganizationsMergeResponse.js +3 -17
- package/dist/model/OrganizationsMergeResponseData.js +2 -14
- package/dist/model/Owner.js +12 -43
- package/dist/model/OwnerAllOf.js +2 -14
- package/dist/model/PaginationDetails.js +9 -34
- package/dist/model/PaginationDetailsAllOf.js +2 -14
- package/dist/model/Params.js +3 -16
- package/dist/model/PaymentItem.js +16 -47
- package/dist/model/PaymentsResponse.js +7 -29
- package/dist/model/PaymentsResponseAllOf.js +2 -15
- package/dist/model/PaymentsResponseAllOfData.js +2 -15
- package/dist/model/PermissionSets.js +7 -29
- package/dist/model/PermissionSetsAllOf.js +2 -15
- package/dist/model/PermissionSetsItem.js +9 -33
- package/dist/model/PersonCountAndEmailInfo.js +14 -49
- package/dist/model/PersonCountEmailDealAndActivityInfo.js +27 -88
- package/dist/model/PersonCountInfo.js +8 -26
- package/dist/model/PersonData.js +6 -24
- package/dist/model/PersonDataEmail.js +4 -18
- package/dist/model/PersonDataPhone.js +4 -18
- package/dist/model/PersonDataWithActiveFlag.js +11 -42
- package/dist/model/PersonDataWithActiveFlagAllOf.js +2 -14
- package/dist/model/PersonFlowResponse.js +9 -37
- package/dist/model/PersonFlowResponseAllOf.js +4 -21
- package/dist/model/PersonFlowResponseAllOfData.js +4 -18
- package/dist/model/PersonItem.js +49 -170
- package/dist/model/PersonListProduct.js +19 -50
- package/dist/model/PersonNameCountAndEmailInfo.js +17 -58
- package/dist/model/PersonNameCountAndEmailInfoWithIds.js +20 -67
- package/dist/model/PersonNameCountAndEmailInfoWithIdsAllOf.js +4 -18
- package/dist/model/PersonNameInfo.js +4 -18
- package/dist/model/PersonNameInfoWithOrgAndOwnerId.js +10 -39
- package/dist/model/PersonSearchItem.js +3 -17
- package/dist/model/PersonSearchItemItem.js +11 -34
- package/dist/model/PersonSearchItemItemOrganization.js +3 -16
- package/dist/model/PersonSearchItemItemOwner.js +2 -14
- package/dist/model/PersonSearchResponse.js +8 -33
- package/dist/model/PersonSearchResponseAllOf.js +3 -18
- package/dist/model/PersonSearchResponseAllOfData.js +2 -15
- package/dist/model/PictureData.js +8 -27
- package/dist/model/PictureDataPictures.js +3 -16
- package/dist/model/PictureDataWithID.js +13 -47
- package/dist/model/PictureDataWithIDAllOf.js +2 -14
- package/dist/model/PictureDataWithValue.js +13 -47
- package/dist/model/PictureDataWithValueAllOf.js +2 -14
- package/dist/model/Pipeline.js +5 -21
- package/dist/model/PipelineDetails.js +15 -53
- package/dist/model/PipelineDetailsAllOf.js +2 -15
- package/dist/model/PostComment.js +3 -17
- package/dist/model/PostDealParticipants.js +4 -20
- package/dist/model/PostGoalResponse.js +2 -15
- package/dist/model/PostNote.js +3 -17
- package/dist/model/PostRoleAssignment.js +7 -29
- package/dist/model/PostRoleAssignmentAllOf.js +2 -15
- package/dist/model/PostRoleAssignmentAllOfData.js +3 -16
- package/dist/model/PostRoleSettings.js +7 -29
- package/dist/model/PostRoleSettingsAllOf.js +2 -15
- package/dist/model/PostRoleSettingsAllOfData.js +4 -20
- package/dist/model/PostRoles.js +7 -29
- package/dist/model/PostRolesAllOf.js +2 -15
- package/dist/model/PostRolesAllOfData.js +2 -14
- package/dist/model/Product.js +11 -34
- package/dist/model/ProductAttachementFields.js +14 -38
- package/dist/model/ProductAttachmentDetails.js +44 -98
- package/dist/model/ProductBaseDeal.js +44 -98
- package/dist/model/ProductField.js +24 -92
- package/dist/model/ProductFieldAllOf.js +16 -42
- package/dist/model/ProductListItem.js +24 -59
- package/dist/model/ProductRequest.js +9 -30
- package/dist/model/ProductResponse.js +4 -20
- package/dist/model/ProductSearchItem.js +3 -17
- package/dist/model/ProductSearchItemItem.js +8 -27
- package/dist/model/ProductSearchItemItemOwner.js +2 -14
- package/dist/model/ProductSearchResponse.js +8 -33
- package/dist/model/ProductSearchResponseAllOf.js +3 -18
- package/dist/model/ProductSearchResponseAllOfData.js +2 -15
- package/dist/model/ProductWithArrayPrices.js +15 -54
- package/dist/model/ProductWithObjectPrices.js +15 -54
- package/dist/model/ProductsResponse.js +5 -23
- package/dist/model/PutRole.js +7 -29
- package/dist/model/PutRoleAllOf.js +2 -15
- package/dist/model/PutRoleAllOfData.js +2 -14
- package/dist/model/RecentDataProduct.js +18 -46
- package/dist/model/RecentsActivity.js +5 -20
- package/dist/model/RecentsActivityType.js +5 -20
- package/dist/model/RecentsDeal.js +5 -20
- package/dist/model/RecentsFile.js +5 -20
- package/dist/model/RecentsFilter.js +5 -20
- package/dist/model/RecentsNote.js +5 -20
- package/dist/model/RecentsOrganization.js +5 -20
- package/dist/model/RecentsPerson.js +5 -20
- package/dist/model/RecentsPipeline.js +5 -20
- package/dist/model/RecentsProduct.js +5 -20
- package/dist/model/RecentsStage.js +5 -20
- package/dist/model/RecentsUser.js +5 -20
- package/dist/model/RelatedDealData.js +2 -15
- package/dist/model/RelatedDealDataDEALID.js +8 -26
- package/dist/model/RelatedFollowerData.js +2 -15
- package/dist/model/RelatedOrganizationData.js +2 -15
- package/dist/model/RelatedOrganizationDataWithActiveFlag.js +2 -15
- package/dist/model/RelatedOrganizationName.js +2 -14
- package/dist/model/RelatedPersonData.js +2 -15
- package/dist/model/RelatedPersonDataWithActiveFlag.js +2 -15
- package/dist/model/RelatedPictureData.js +2 -15
- package/dist/model/RelatedUserData.js +2 -15
- package/dist/model/RelationshipOrganizationInfoItem.js +11 -40
- package/dist/model/RelationshipOrganizationInfoItemAllOf.js +2 -14
- package/dist/model/RelationshipOrganizationInfoItemWithActiveFlag.js +12 -43
- package/dist/model/RequiredNameObject.js +2 -14
- package/dist/model/RequredTitleParameter.js +2 -14
- package/dist/model/ResponseCallLogObject.js +22 -76
- package/dist/model/ResponseCallLogObjectAllOf.js +4 -18
- package/dist/model/RoleAssignment.js +11 -40
- package/dist/model/RoleAssignmentAllOf.js +5 -20
- package/dist/model/RoleSettings.js +10 -30
- package/dist/model/RolesAdditionalData.js +2 -15
- package/dist/model/RolesAdditionalDataPagination.js +4 -18
- package/dist/model/SinglePermissionSetsItem.js +14 -52
- package/dist/model/SinglePermissionSetsItemAllOf.js +2 -14
- package/dist/model/Stage.js +7 -24
- package/dist/model/StageConversions.js +4 -18
- package/dist/model/StageDetails.js +17 -58
- package/dist/model/StageWithPipelineInfo.js +18 -60
- package/dist/model/StageWithPipelineInfoAllOf.js +3 -16
- package/dist/model/SubRole.js +11 -40
- package/dist/model/SubRoleAllOf.js +5 -20
- package/dist/model/SubscriptionAddonsResponse.js +7 -28
- package/dist/model/SubscriptionAddonsResponseAllOf.js +2 -14
- package/dist/model/SubscriptionInstallmentCreateRequest.js +5 -20
- package/dist/model/SubscriptionInstallmentUpdateRequest.js +3 -16
- package/dist/model/SubscriptionItem.js +17 -44
- package/dist/model/SubscriptionRecurringCancelRequest.js +2 -14
- package/dist/model/SubscriptionRecurringCreateRequest.js +12 -36
- package/dist/model/SubscriptionRecurringUpdateRequest.js +6 -22
- package/dist/model/SubscriptionsIdResponse.js +7 -29
- package/dist/model/SubscriptionsIdResponseAllOf.js +2 -15
- package/dist/model/Team.js +7 -29
- package/dist/model/TeamAllOf.js +2 -15
- package/dist/model/TeamId.js +2 -14
- package/dist/model/Teams.js +7 -29
- package/dist/model/TeamsAllOf.js +2 -15
- package/dist/model/Unauthorized.js +4 -18
- package/dist/model/UpdateActivityResponse200.js +4 -20
- package/dist/model/UpdateDealRequest.js +19 -66
- package/dist/model/UpdateFile.js +3 -17
- package/dist/model/UpdateFileRequest.js +3 -16
- package/dist/model/UpdateFilterRequest.js +5 -18
- package/dist/model/UpdateLeadLabelRequest.js +3 -17
- package/dist/model/UpdateLeadRequest.js +12 -36
- package/dist/model/UpdateMailThreadDetailsRequest.js +6 -23
- package/dist/model/UpdateOrganization.js +8 -32
- package/dist/model/UpdateOrganizationAllOf.js +2 -14
- package/dist/model/UpdatePerson.js +16 -70
- package/dist/model/UpdatePersonAllOf.js +2 -14
- package/dist/model/UpdatePersonResponse.js +8 -33
- package/dist/model/UpdateProductField.js +3 -16
- package/dist/model/UpdateProductRequestBody.js +14 -51
- package/dist/model/UpdateProductResponse.js +4 -20
- package/dist/model/UpdateStageRequest.js +12 -42
- package/dist/model/UpdateStageRequestAllOf.js +2 -14
- package/dist/model/UpdateTeam.js +11 -41
- package/dist/model/UpdateTeamAllOf.js +3 -17
- package/dist/model/UpdateTeamWithAdditionalProperties.js +13 -47
- package/dist/model/UpdateUserRequest.js +2 -14
- package/dist/model/User.js +7 -29
- package/dist/model/UserAccess.js +5 -23
- package/dist/model/UserAllOf.js +2 -15
- package/dist/model/UserAssignmentToPermissionSet.js +4 -18
- package/dist/model/UserAssignmentsToPermissionSet.js +7 -29
- package/dist/model/UserAssignmentsToPermissionSetAllOf.js +2 -15
- package/dist/model/UserConnections.js +7 -29
- package/dist/model/UserConnectionsAllOf.js +2 -15
- package/dist/model/UserConnectionsAllOfData.js +2 -14
- package/dist/model/UserData.js +7 -24
- package/dist/model/UserDataWithId.js +9 -35
- package/dist/model/UserIDs.js +7 -28
- package/dist/model/UserIDsAllOf.js +2 -14
- package/dist/model/UserMe.js +7 -29
- package/dist/model/UserMeAllOf.js +2 -15
- package/dist/model/UserPermissions.js +7 -29
- package/dist/model/UserPermissionsAllOf.js +2 -15
- package/dist/model/UserPermissionsItem.js +32 -74
- package/dist/model/UserSettings.js +7 -29
- package/dist/model/UserSettingsAllOf.js +2 -15
- package/dist/model/UserSettingsItem.js +11 -32
- package/dist/model/Users.js +7 -29
- package/dist/model/UsersAllOf.js +2 -15
- package/dist/model/VisibleTo.js +1 -10
- package/dist/model/Webhook.js +8 -32
- package/dist/model/WebhookAllOf.js +2 -15
- package/dist/model/WebhookBadRequest.js +8 -31
- package/dist/model/WebhookBadRequestAllOf.js +2 -14
- package/dist/model/Webhooks.js +8 -32
- package/dist/model/WebhooksAllOf.js +2 -15
- package/dist/model/WebhooksDeleteForbiddenSchema.js +7 -28
- package/dist/model/WebhooksDeleteForbiddenSchemaAllOf.js +2 -14
- package/package.json +25 -11
package/dist/api/RolesApi.js
CHANGED
@@ -1,56 +1,32 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
-
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
6
5
|
value: true
|
7
6
|
});
|
8
7
|
exports["default"] = void 0;
|
9
|
-
|
10
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
|
-
|
12
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
13
|
-
|
14
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
15
|
-
|
16
11
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
17
|
-
|
18
12
|
var _AddOrUpdateRoleSettingRequest = _interopRequireDefault(require("../model/AddOrUpdateRoleSettingRequest"));
|
19
|
-
|
20
13
|
var _AddRole = _interopRequireDefault(require("../model/AddRole"));
|
21
|
-
|
22
14
|
var _AddRoleAssignmentRequest = _interopRequireDefault(require("../model/AddRoleAssignmentRequest"));
|
23
|
-
|
24
15
|
var _BaseRole = _interopRequireDefault(require("../model/BaseRole"));
|
25
|
-
|
26
16
|
var _DeleteRole = _interopRequireDefault(require("../model/DeleteRole"));
|
27
|
-
|
28
17
|
var _DeleteRoleAssignment = _interopRequireDefault(require("../model/DeleteRoleAssignment"));
|
29
|
-
|
30
18
|
var _DeleteRoleAssignmentRequest = _interopRequireDefault(require("../model/DeleteRoleAssignmentRequest"));
|
31
|
-
|
32
19
|
var _GetRole = _interopRequireDefault(require("../model/GetRole"));
|
33
|
-
|
34
20
|
var _GetRoleAssignments = _interopRequireDefault(require("../model/GetRoleAssignments"));
|
35
|
-
|
36
21
|
var _GetRoleSettings = _interopRequireDefault(require("../model/GetRoleSettings"));
|
37
|
-
|
38
22
|
var _GetRoleSubroles = _interopRequireDefault(require("../model/GetRoleSubroles"));
|
39
|
-
|
40
23
|
var _GetRoles = _interopRequireDefault(require("../model/GetRoles"));
|
41
|
-
|
42
24
|
var _PostRoleAssignment = _interopRequireDefault(require("../model/PostRoleAssignment"));
|
43
|
-
|
44
25
|
var _PostRoleSettings = _interopRequireDefault(require("../model/PostRoleSettings"));
|
45
|
-
|
46
26
|
var _PostRoles = _interopRequireDefault(require("../model/PostRoles"));
|
47
|
-
|
48
27
|
var _PutRole = _interopRequireDefault(require("../model/PutRole"));
|
49
|
-
|
50
28
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
51
|
-
|
52
29
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
53
|
-
|
54
30
|
/**
|
55
31
|
* Roles service.
|
56
32
|
* @module api/RolesApi
|
@@ -66,8 +42,9 @@ var RolesApi = /*#__PURE__*/function () {
|
|
66
42
|
*/
|
67
43
|
function RolesApi(apiClient) {
|
68
44
|
(0, _classCallCheck2["default"])(this, RolesApi);
|
69
|
-
this.apiClient = apiClient
|
45
|
+
this.apiClient = apiClient;
|
70
46
|
}
|
47
|
+
|
71
48
|
/**
|
72
49
|
* Add or update role setting
|
73
50
|
* Adds or updates the visibility setting for a role.
|
@@ -76,26 +53,22 @@ var RolesApi = /*#__PURE__*/function () {
|
|
76
53
|
* @param {module:model/AddOrUpdateRoleSettingRequest} opts.addOrUpdateRoleSettingRequest
|
77
54
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostRoleSettings} and HTTP response
|
78
55
|
*/
|
79
|
-
|
80
|
-
|
81
56
|
(0, _createClass2["default"])(RolesApi, [{
|
82
57
|
key: "addOrUpdateRoleSettingWithHttpInfo",
|
83
58
|
value: function addOrUpdateRoleSettingWithHttpInfo(id, opts) {
|
84
59
|
opts = opts || {};
|
85
|
-
var postBody = opts['addOrUpdateRoleSettingRequest'];
|
60
|
+
var postBody = opts['addOrUpdateRoleSettingRequest'];
|
86
61
|
|
62
|
+
// verify the required parameter 'id' is set
|
87
63
|
if (id === undefined || id === null) {
|
88
64
|
throw new Error("Missing the required parameter 'id' when calling addOrUpdateRoleSetting");
|
89
65
|
}
|
90
|
-
|
91
66
|
if (opts['setting_key'] === undefined || opts['setting_key'] === null) {
|
92
67
|
throw new Error("Missing the required parameter 'setting_key' when calling addOrUpdateRoleSetting");
|
93
68
|
}
|
94
|
-
|
95
69
|
if (opts['value'] === undefined || opts['value'] === null) {
|
96
70
|
throw new Error("Missing the required parameter 'value' when calling addOrUpdateRoleSetting");
|
97
71
|
}
|
98
|
-
|
99
72
|
var pathParams = {
|
100
73
|
'id': id
|
101
74
|
};
|
@@ -106,7 +79,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
106
79
|
var contentTypes = ['application/json'];
|
107
80
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
108
81
|
var isJSON = contentTypes.includes('application/json');
|
109
|
-
|
110
82
|
if (isJSON) {
|
111
83
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
112
84
|
} else if (isURLEncoded) {
|
@@ -116,12 +88,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
116
88
|
}
|
117
89
|
}
|
118
90
|
}
|
119
|
-
|
120
91
|
var authNames = ['api_key'];
|
121
92
|
var accepts = ['application/json'];
|
122
93
|
var returnType = _PostRoleSettings["default"];
|
123
94
|
return this.apiClient.callApi('/roles/{id}/settings', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
124
95
|
}
|
96
|
+
|
125
97
|
/**
|
126
98
|
* Add or update role setting
|
127
99
|
* Adds or updates the visibility setting for a role.
|
@@ -130,7 +102,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
130
102
|
* @param {module:model/AddOrUpdateRoleSettingRequest} opts.addOrUpdateRoleSettingRequest
|
131
103
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostRoleSettings}
|
132
104
|
*/
|
133
|
-
|
134
105
|
}, {
|
135
106
|
key: "addOrUpdateRoleSetting",
|
136
107
|
value: function addOrUpdateRoleSetting(id, opts) {
|
@@ -138,6 +109,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
138
109
|
return response_and_data;
|
139
110
|
});
|
140
111
|
}
|
112
|
+
|
141
113
|
/**
|
142
114
|
* Add a role
|
143
115
|
* Adds a new role.
|
@@ -145,17 +117,14 @@ var RolesApi = /*#__PURE__*/function () {
|
|
145
117
|
* @param {module:model/AddRole} opts.addRole
|
146
118
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostRoles} and HTTP response
|
147
119
|
*/
|
148
|
-
|
149
120
|
}, {
|
150
121
|
key: "addRoleWithHttpInfo",
|
151
122
|
value: function addRoleWithHttpInfo(opts) {
|
152
123
|
opts = opts || {};
|
153
124
|
var postBody = opts['addRole'];
|
154
|
-
|
155
125
|
if (opts['name'] === undefined || opts['name'] === null) {
|
156
126
|
throw new Error("Missing the required parameter 'name' when calling addRole");
|
157
127
|
}
|
158
|
-
|
159
128
|
var pathParams = {};
|
160
129
|
var queryParams = {};
|
161
130
|
var headerParams = {};
|
@@ -164,7 +133,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
164
133
|
var contentTypes = ['application/json'];
|
165
134
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
166
135
|
var isJSON = contentTypes.includes('application/json');
|
167
|
-
|
168
136
|
if (isJSON) {
|
169
137
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
170
138
|
} else if (isURLEncoded) {
|
@@ -174,12 +142,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
174
142
|
}
|
175
143
|
}
|
176
144
|
}
|
177
|
-
|
178
145
|
var authNames = ['api_key'];
|
179
146
|
var accepts = ['application/json'];
|
180
147
|
var returnType = _PostRoles["default"];
|
181
148
|
return this.apiClient.callApi('/roles', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
182
149
|
}
|
150
|
+
|
183
151
|
/**
|
184
152
|
* Add a role
|
185
153
|
* Adds a new role.
|
@@ -187,7 +155,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
187
155
|
* @param {module:model/AddRole} opts.addRole
|
188
156
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostRoles}
|
189
157
|
*/
|
190
|
-
|
191
158
|
}, {
|
192
159
|
key: "addRole",
|
193
160
|
value: function addRole(opts) {
|
@@ -195,6 +162,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
195
162
|
return response_and_data;
|
196
163
|
});
|
197
164
|
}
|
165
|
+
|
198
166
|
/**
|
199
167
|
* Add role assignment
|
200
168
|
* Assigns a user to a role.
|
@@ -203,21 +171,19 @@ var RolesApi = /*#__PURE__*/function () {
|
|
203
171
|
* @param {module:model/AddRoleAssignmentRequest} opts.addRoleAssignmentRequest
|
204
172
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostRoleAssignment} and HTTP response
|
205
173
|
*/
|
206
|
-
|
207
174
|
}, {
|
208
175
|
key: "addRoleAssignmentWithHttpInfo",
|
209
176
|
value: function addRoleAssignmentWithHttpInfo(id, opts) {
|
210
177
|
opts = opts || {};
|
211
|
-
var postBody = opts['addRoleAssignmentRequest'];
|
178
|
+
var postBody = opts['addRoleAssignmentRequest'];
|
212
179
|
|
180
|
+
// verify the required parameter 'id' is set
|
213
181
|
if (id === undefined || id === null) {
|
214
182
|
throw new Error("Missing the required parameter 'id' when calling addRoleAssignment");
|
215
183
|
}
|
216
|
-
|
217
184
|
if (opts['user_id'] === undefined || opts['user_id'] === null) {
|
218
185
|
throw new Error("Missing the required parameter 'user_id' when calling addRoleAssignment");
|
219
186
|
}
|
220
|
-
|
221
187
|
var pathParams = {
|
222
188
|
'id': id
|
223
189
|
};
|
@@ -228,7 +194,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
228
194
|
var contentTypes = ['application/json'];
|
229
195
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
230
196
|
var isJSON = contentTypes.includes('application/json');
|
231
|
-
|
232
197
|
if (isJSON) {
|
233
198
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
234
199
|
} else if (isURLEncoded) {
|
@@ -238,12 +203,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
238
203
|
}
|
239
204
|
}
|
240
205
|
}
|
241
|
-
|
242
206
|
var authNames = ['api_key'];
|
243
207
|
var accepts = ['application/json'];
|
244
208
|
var returnType = _PostRoleAssignment["default"];
|
245
209
|
return this.apiClient.callApi('/roles/{id}/assignments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
246
210
|
}
|
211
|
+
|
247
212
|
/**
|
248
213
|
* Add role assignment
|
249
214
|
* Assigns a user to a role.
|
@@ -252,7 +217,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
252
217
|
* @param {module:model/AddRoleAssignmentRequest} opts.addRoleAssignmentRequest
|
253
218
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostRoleAssignment}
|
254
219
|
*/
|
255
|
-
|
256
220
|
}, {
|
257
221
|
key: "addRoleAssignment",
|
258
222
|
value: function addRoleAssignment(id, opts) {
|
@@ -260,23 +224,23 @@ var RolesApi = /*#__PURE__*/function () {
|
|
260
224
|
return response_and_data;
|
261
225
|
});
|
262
226
|
}
|
227
|
+
|
263
228
|
/**
|
264
229
|
* Delete a role
|
265
230
|
* Marks a role as deleted.
|
266
231
|
* @param {Number} id The ID of the role
|
267
232
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteRole} and HTTP response
|
268
233
|
*/
|
269
|
-
|
270
234
|
}, {
|
271
235
|
key: "deleteRoleWithHttpInfo",
|
272
236
|
value: function deleteRoleWithHttpInfo(id) {
|
273
237
|
var opts = {};
|
274
|
-
var postBody = null;
|
238
|
+
var postBody = null;
|
275
239
|
|
240
|
+
// verify the required parameter 'id' is set
|
276
241
|
if (id === undefined || id === null) {
|
277
242
|
throw new Error("Missing the required parameter 'id' when calling deleteRole");
|
278
243
|
}
|
279
|
-
|
280
244
|
var pathParams = {
|
281
245
|
'id': id
|
282
246
|
};
|
@@ -287,7 +251,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
287
251
|
var contentTypes = [];
|
288
252
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
289
253
|
var isJSON = contentTypes.includes('application/json');
|
290
|
-
|
291
254
|
if (isJSON) {
|
292
255
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
293
256
|
} else if (isURLEncoded) {
|
@@ -297,19 +260,18 @@ var RolesApi = /*#__PURE__*/function () {
|
|
297
260
|
}
|
298
261
|
}
|
299
262
|
}
|
300
|
-
|
301
263
|
var authNames = ['api_key'];
|
302
264
|
var accepts = ['application/json'];
|
303
265
|
var returnType = _DeleteRole["default"];
|
304
266
|
return this.apiClient.callApi('/roles/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
305
267
|
}
|
268
|
+
|
306
269
|
/**
|
307
270
|
* Delete a role
|
308
271
|
* Marks a role as deleted.
|
309
272
|
* @param {Number} id The ID of the role
|
310
273
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteRole}
|
311
274
|
*/
|
312
|
-
|
313
275
|
}, {
|
314
276
|
key: "deleteRole",
|
315
277
|
value: function deleteRole(id) {
|
@@ -317,6 +279,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
317
279
|
return response_and_data;
|
318
280
|
});
|
319
281
|
}
|
282
|
+
|
320
283
|
/**
|
321
284
|
* Delete a role assignment
|
322
285
|
* Removes the assigned user from a role and adds to the default role.
|
@@ -325,21 +288,19 @@ var RolesApi = /*#__PURE__*/function () {
|
|
325
288
|
* @param {module:model/DeleteRoleAssignmentRequest} opts.deleteRoleAssignmentRequest
|
326
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteRoleAssignment} and HTTP response
|
327
290
|
*/
|
328
|
-
|
329
291
|
}, {
|
330
292
|
key: "deleteRoleAssignmentWithHttpInfo",
|
331
293
|
value: function deleteRoleAssignmentWithHttpInfo(id, opts) {
|
332
294
|
opts = opts || {};
|
333
|
-
var postBody = opts['deleteRoleAssignmentRequest'];
|
295
|
+
var postBody = opts['deleteRoleAssignmentRequest'];
|
334
296
|
|
297
|
+
// verify the required parameter 'id' is set
|
335
298
|
if (id === undefined || id === null) {
|
336
299
|
throw new Error("Missing the required parameter 'id' when calling deleteRoleAssignment");
|
337
300
|
}
|
338
|
-
|
339
301
|
if (opts['user_id'] === undefined || opts['user_id'] === null) {
|
340
302
|
throw new Error("Missing the required parameter 'user_id' when calling deleteRoleAssignment");
|
341
303
|
}
|
342
|
-
|
343
304
|
var pathParams = {
|
344
305
|
'id': id
|
345
306
|
};
|
@@ -350,7 +311,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
350
311
|
var contentTypes = ['application/json'];
|
351
312
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
352
313
|
var isJSON = contentTypes.includes('application/json');
|
353
|
-
|
354
314
|
if (isJSON) {
|
355
315
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
356
316
|
} else if (isURLEncoded) {
|
@@ -360,12 +320,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
360
320
|
}
|
361
321
|
}
|
362
322
|
}
|
363
|
-
|
364
323
|
var authNames = ['api_key'];
|
365
324
|
var accepts = ['application/json'];
|
366
325
|
var returnType = _DeleteRoleAssignment["default"];
|
367
326
|
return this.apiClient.callApi('/roles/{id}/assignments', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
368
327
|
}
|
328
|
+
|
369
329
|
/**
|
370
330
|
* Delete a role assignment
|
371
331
|
* Removes the assigned user from a role and adds to the default role.
|
@@ -374,7 +334,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
374
334
|
* @param {module:model/DeleteRoleAssignmentRequest} opts.deleteRoleAssignmentRequest
|
375
335
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteRoleAssignment}
|
376
336
|
*/
|
377
|
-
|
378
337
|
}, {
|
379
338
|
key: "deleteRoleAssignment",
|
380
339
|
value: function deleteRoleAssignment(id, opts) {
|
@@ -382,23 +341,23 @@ var RolesApi = /*#__PURE__*/function () {
|
|
382
341
|
return response_and_data;
|
383
342
|
});
|
384
343
|
}
|
344
|
+
|
385
345
|
/**
|
386
346
|
* Get one role
|
387
347
|
* Returns the details of a specific role.
|
388
348
|
* @param {Number} id The ID of the role
|
389
349
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRole} and HTTP response
|
390
350
|
*/
|
391
|
-
|
392
351
|
}, {
|
393
352
|
key: "getRoleWithHttpInfo",
|
394
353
|
value: function getRoleWithHttpInfo(id) {
|
395
354
|
var opts = {};
|
396
|
-
var postBody = null;
|
355
|
+
var postBody = null;
|
397
356
|
|
357
|
+
// verify the required parameter 'id' is set
|
398
358
|
if (id === undefined || id === null) {
|
399
359
|
throw new Error("Missing the required parameter 'id' when calling getRole");
|
400
360
|
}
|
401
|
-
|
402
361
|
var pathParams = {
|
403
362
|
'id': id
|
404
363
|
};
|
@@ -409,7 +368,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
409
368
|
var contentTypes = [];
|
410
369
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
411
370
|
var isJSON = contentTypes.includes('application/json');
|
412
|
-
|
413
371
|
if (isJSON) {
|
414
372
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
415
373
|
} else if (isURLEncoded) {
|
@@ -419,19 +377,18 @@ var RolesApi = /*#__PURE__*/function () {
|
|
419
377
|
}
|
420
378
|
}
|
421
379
|
}
|
422
|
-
|
423
380
|
var authNames = ['api_key'];
|
424
381
|
var accepts = ['application/json'];
|
425
382
|
var returnType = _GetRole["default"];
|
426
383
|
return this.apiClient.callApi('/roles/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
427
384
|
}
|
385
|
+
|
428
386
|
/**
|
429
387
|
* Get one role
|
430
388
|
* Returns the details of a specific role.
|
431
389
|
* @param {Number} id The ID of the role
|
432
390
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRole}
|
433
391
|
*/
|
434
|
-
|
435
392
|
}, {
|
436
393
|
key: "getRole",
|
437
394
|
value: function getRole(id) {
|
@@ -439,6 +396,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
439
396
|
return response_and_data;
|
440
397
|
});
|
441
398
|
}
|
399
|
+
|
442
400
|
/**
|
443
401
|
* List role assignments
|
444
402
|
* Returns all users assigned to a role.
|
@@ -448,17 +406,16 @@ var RolesApi = /*#__PURE__*/function () {
|
|
448
406
|
* @param {Number} opts.limit Items shown per page
|
449
407
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRoleAssignments} and HTTP response
|
450
408
|
*/
|
451
|
-
|
452
409
|
}, {
|
453
410
|
key: "getRoleAssignmentsWithHttpInfo",
|
454
411
|
value: function getRoleAssignmentsWithHttpInfo(id, opts) {
|
455
412
|
opts = opts || {};
|
456
|
-
var postBody = null;
|
413
|
+
var postBody = null;
|
457
414
|
|
415
|
+
// verify the required parameter 'id' is set
|
458
416
|
if (id === undefined || id === null) {
|
459
417
|
throw new Error("Missing the required parameter 'id' when calling getRoleAssignments");
|
460
418
|
}
|
461
|
-
|
462
419
|
var pathParams = {
|
463
420
|
'id': id
|
464
421
|
};
|
@@ -472,7 +429,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
472
429
|
var contentTypes = [];
|
473
430
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
474
431
|
var isJSON = contentTypes.includes('application/json');
|
475
|
-
|
476
432
|
if (isJSON) {
|
477
433
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
478
434
|
} else if (isURLEncoded) {
|
@@ -482,12 +438,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
482
438
|
}
|
483
439
|
}
|
484
440
|
}
|
485
|
-
|
486
441
|
var authNames = ['api_key'];
|
487
442
|
var accepts = ['application/json'];
|
488
443
|
var returnType = _GetRoleAssignments["default"];
|
489
444
|
return this.apiClient.callApi('/roles/{id}/assignments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
490
445
|
}
|
446
|
+
|
491
447
|
/**
|
492
448
|
* List role assignments
|
493
449
|
* Returns all users assigned to a role.
|
@@ -497,7 +453,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
497
453
|
* @param {Number} opts.limit Items shown per page
|
498
454
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRoleAssignments}
|
499
455
|
*/
|
500
|
-
|
501
456
|
}, {
|
502
457
|
key: "getRoleAssignments",
|
503
458
|
value: function getRoleAssignments(id, opts) {
|
@@ -505,23 +460,23 @@ var RolesApi = /*#__PURE__*/function () {
|
|
505
460
|
return response_and_data;
|
506
461
|
});
|
507
462
|
}
|
463
|
+
|
508
464
|
/**
|
509
465
|
* List role settings
|
510
466
|
* Returns the visibility settings of a specific role.
|
511
467
|
* @param {Number} id The ID of the role
|
512
468
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRoleSettings} and HTTP response
|
513
469
|
*/
|
514
|
-
|
515
470
|
}, {
|
516
471
|
key: "getRoleSettingsWithHttpInfo",
|
517
472
|
value: function getRoleSettingsWithHttpInfo(id) {
|
518
473
|
var opts = {};
|
519
|
-
var postBody = null;
|
474
|
+
var postBody = null;
|
520
475
|
|
476
|
+
// verify the required parameter 'id' is set
|
521
477
|
if (id === undefined || id === null) {
|
522
478
|
throw new Error("Missing the required parameter 'id' when calling getRoleSettings");
|
523
479
|
}
|
524
|
-
|
525
480
|
var pathParams = {
|
526
481
|
'id': id
|
527
482
|
};
|
@@ -532,7 +487,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
532
487
|
var contentTypes = [];
|
533
488
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
534
489
|
var isJSON = contentTypes.includes('application/json');
|
535
|
-
|
536
490
|
if (isJSON) {
|
537
491
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
538
492
|
} else if (isURLEncoded) {
|
@@ -542,19 +496,18 @@ var RolesApi = /*#__PURE__*/function () {
|
|
542
496
|
}
|
543
497
|
}
|
544
498
|
}
|
545
|
-
|
546
499
|
var authNames = ['api_key'];
|
547
500
|
var accepts = ['application/json'];
|
548
501
|
var returnType = _GetRoleSettings["default"];
|
549
502
|
return this.apiClient.callApi('/roles/{id}/settings', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
550
503
|
}
|
504
|
+
|
551
505
|
/**
|
552
506
|
* List role settings
|
553
507
|
* Returns the visibility settings of a specific role.
|
554
508
|
* @param {Number} id The ID of the role
|
555
509
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRoleSettings}
|
556
510
|
*/
|
557
|
-
|
558
511
|
}, {
|
559
512
|
key: "getRoleSettings",
|
560
513
|
value: function getRoleSettings(id) {
|
@@ -562,6 +515,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
562
515
|
return response_and_data;
|
563
516
|
});
|
564
517
|
}
|
518
|
+
|
565
519
|
/**
|
566
520
|
* List role sub-roles
|
567
521
|
* Returns the direct children of a specific role.
|
@@ -571,17 +525,16 @@ var RolesApi = /*#__PURE__*/function () {
|
|
571
525
|
* @param {Number} opts.limit Items shown per page
|
572
526
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRoleSubroles} and HTTP response
|
573
527
|
*/
|
574
|
-
|
575
528
|
}, {
|
576
529
|
key: "getRoleSubRolesWithHttpInfo",
|
577
530
|
value: function getRoleSubRolesWithHttpInfo(id, opts) {
|
578
531
|
opts = opts || {};
|
579
|
-
var postBody = null;
|
532
|
+
var postBody = null;
|
580
533
|
|
534
|
+
// verify the required parameter 'id' is set
|
581
535
|
if (id === undefined || id === null) {
|
582
536
|
throw new Error("Missing the required parameter 'id' when calling getRoleSubRoles");
|
583
537
|
}
|
584
|
-
|
585
538
|
var pathParams = {
|
586
539
|
'id': id
|
587
540
|
};
|
@@ -595,7 +548,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
595
548
|
var contentTypes = [];
|
596
549
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
597
550
|
var isJSON = contentTypes.includes('application/json');
|
598
|
-
|
599
551
|
if (isJSON) {
|
600
552
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
601
553
|
} else if (isURLEncoded) {
|
@@ -605,12 +557,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
605
557
|
}
|
606
558
|
}
|
607
559
|
}
|
608
|
-
|
609
560
|
var authNames = ['api_key'];
|
610
561
|
var accepts = ['application/json'];
|
611
562
|
var returnType = _GetRoleSubroles["default"];
|
612
563
|
return this.apiClient.callApi('/roles/{id}/roles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
613
564
|
}
|
565
|
+
|
614
566
|
/**
|
615
567
|
* List role sub-roles
|
616
568
|
* Returns the direct children of a specific role.
|
@@ -620,7 +572,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
620
572
|
* @param {Number} opts.limit Items shown per page
|
621
573
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRoleSubroles}
|
622
574
|
*/
|
623
|
-
|
624
575
|
}, {
|
625
576
|
key: "getRoleSubRoles",
|
626
577
|
value: function getRoleSubRoles(id, opts) {
|
@@ -628,6 +579,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
628
579
|
return response_and_data;
|
629
580
|
});
|
630
581
|
}
|
582
|
+
|
631
583
|
/**
|
632
584
|
* Get all roles
|
633
585
|
* Returns all the roles within the company.
|
@@ -636,7 +588,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
636
588
|
* @param {Number} opts.limit Items shown per page
|
637
589
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRoles} and HTTP response
|
638
590
|
*/
|
639
|
-
|
640
591
|
}, {
|
641
592
|
key: "getRolesWithHttpInfo",
|
642
593
|
value: function getRolesWithHttpInfo(opts) {
|
@@ -653,7 +604,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
653
604
|
var contentTypes = [];
|
654
605
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
655
606
|
var isJSON = contentTypes.includes('application/json');
|
656
|
-
|
657
607
|
if (isJSON) {
|
658
608
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
659
609
|
} else if (isURLEncoded) {
|
@@ -663,12 +613,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
663
613
|
}
|
664
614
|
}
|
665
615
|
}
|
666
|
-
|
667
616
|
var authNames = ['api_key'];
|
668
617
|
var accepts = ['application/json'];
|
669
618
|
var returnType = _GetRoles["default"];
|
670
619
|
return this.apiClient.callApi('/roles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
671
620
|
}
|
621
|
+
|
672
622
|
/**
|
673
623
|
* Get all roles
|
674
624
|
* Returns all the roles within the company.
|
@@ -677,7 +627,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
677
627
|
* @param {Number} opts.limit Items shown per page
|
678
628
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRoles}
|
679
629
|
*/
|
680
|
-
|
681
630
|
}, {
|
682
631
|
key: "getRoles",
|
683
632
|
value: function getRoles(opts) {
|
@@ -685,6 +634,7 @@ var RolesApi = /*#__PURE__*/function () {
|
|
685
634
|
return response_and_data;
|
686
635
|
});
|
687
636
|
}
|
637
|
+
|
688
638
|
/**
|
689
639
|
* Update role details
|
690
640
|
* Updates the parent role and/or the name of a specific role.
|
@@ -693,17 +643,16 @@ var RolesApi = /*#__PURE__*/function () {
|
|
693
643
|
* @param {module:model/BaseRole} opts.baseRole
|
694
644
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PutRole} and HTTP response
|
695
645
|
*/
|
696
|
-
|
697
646
|
}, {
|
698
647
|
key: "updateRoleWithHttpInfo",
|
699
648
|
value: function updateRoleWithHttpInfo(id, opts) {
|
700
649
|
opts = opts || {};
|
701
|
-
var postBody = opts['baseRole'];
|
650
|
+
var postBody = opts['baseRole'];
|
702
651
|
|
652
|
+
// verify the required parameter 'id' is set
|
703
653
|
if (id === undefined || id === null) {
|
704
654
|
throw new Error("Missing the required parameter 'id' when calling updateRole");
|
705
655
|
}
|
706
|
-
|
707
656
|
var pathParams = {
|
708
657
|
'id': id
|
709
658
|
};
|
@@ -714,7 +663,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
714
663
|
var contentTypes = ['application/json'];
|
715
664
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
716
665
|
var isJSON = contentTypes.includes('application/json');
|
717
|
-
|
718
666
|
if (isJSON) {
|
719
667
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
720
668
|
} else if (isURLEncoded) {
|
@@ -724,12 +672,12 @@ var RolesApi = /*#__PURE__*/function () {
|
|
724
672
|
}
|
725
673
|
}
|
726
674
|
}
|
727
|
-
|
728
675
|
var authNames = ['api_key'];
|
729
676
|
var accepts = ['application/json'];
|
730
677
|
var returnType = _PutRole["default"];
|
731
678
|
return this.apiClient.callApi('/roles/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
732
679
|
}
|
680
|
+
|
733
681
|
/**
|
734
682
|
* Update role details
|
735
683
|
* Updates the parent role and/or the name of a specific role.
|
@@ -738,7 +686,6 @@ var RolesApi = /*#__PURE__*/function () {
|
|
738
686
|
* @param {module:model/BaseRole} opts.baseRole
|
739
687
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PutRole}
|
740
688
|
*/
|
741
|
-
|
742
689
|
}, {
|
743
690
|
key: "updateRole",
|
744
691
|
value: function updateRole(id, opts) {
|
@@ -749,5 +696,4 @@ var RolesApi = /*#__PURE__*/function () {
|
|
749
696
|
}]);
|
750
697
|
return RolesApi;
|
751
698
|
}();
|
752
|
-
|
753
699
|
exports["default"] = RolesApi;
|