pipedrive 17.5.4 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/README.md +5 -4
- 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/ProductsApi.js
CHANGED
|
@@ -1,52 +1,30 @@
|
|
|
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 _AddProductFollowerRequest = _interopRequireDefault(require("../model/AddProductFollowerRequest"));
|
|
19
|
-
|
|
20
13
|
var _AddProductRequestBody = _interopRequireDefault(require("../model/AddProductRequestBody"));
|
|
21
|
-
|
|
22
14
|
var _DeleteProductFollowerResponse = _interopRequireDefault(require("../model/DeleteProductFollowerResponse"));
|
|
23
|
-
|
|
24
15
|
var _DeleteProductResponse = _interopRequireDefault(require("../model/DeleteProductResponse"));
|
|
25
|
-
|
|
26
16
|
var _ListDealsResponse = _interopRequireDefault(require("../model/ListDealsResponse"));
|
|
27
|
-
|
|
28
17
|
var _ListFilesResponse = _interopRequireDefault(require("../model/ListFilesResponse"));
|
|
29
|
-
|
|
30
18
|
var _ListProductFollowersResponse = _interopRequireDefault(require("../model/ListProductFollowersResponse"));
|
|
31
|
-
|
|
32
19
|
var _NewFollowerResponse = _interopRequireDefault(require("../model/NewFollowerResponse"));
|
|
33
|
-
|
|
34
20
|
var _ProductResponse = _interopRequireDefault(require("../model/ProductResponse"));
|
|
35
|
-
|
|
36
21
|
var _ProductSearchResponse = _interopRequireDefault(require("../model/ProductSearchResponse"));
|
|
37
|
-
|
|
38
22
|
var _ProductsResponse = _interopRequireDefault(require("../model/ProductsResponse"));
|
|
39
|
-
|
|
40
23
|
var _UpdateProductRequestBody = _interopRequireDefault(require("../model/UpdateProductRequestBody"));
|
|
41
|
-
|
|
42
24
|
var _UpdateProductResponse = _interopRequireDefault(require("../model/UpdateProductResponse"));
|
|
43
|
-
|
|
44
25
|
var _UserIDs = _interopRequireDefault(require("../model/UserIDs"));
|
|
45
|
-
|
|
46
26
|
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; }
|
|
47
|
-
|
|
48
27
|
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; }
|
|
49
|
-
|
|
50
28
|
/**
|
|
51
29
|
* Products service.
|
|
52
30
|
* @module api/ProductsApi
|
|
@@ -62,8 +40,9 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
62
40
|
*/
|
|
63
41
|
function ProductsApi(apiClient) {
|
|
64
42
|
(0, _classCallCheck2["default"])(this, ProductsApi);
|
|
65
|
-
this.apiClient = apiClient
|
|
43
|
+
this.apiClient = apiClient;
|
|
66
44
|
}
|
|
45
|
+
|
|
67
46
|
/**
|
|
68
47
|
* Add a product
|
|
69
48
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
|
@@ -71,8 +50,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
71
50
|
* @param {module:model/AddProductRequestBody} opts.addProductRequestBody
|
|
72
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
73
52
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
53
|
(0, _createClass2["default"])(ProductsApi, [{
|
|
77
54
|
key: "addProductWithHttpInfo",
|
|
78
55
|
value: function addProductWithHttpInfo(opts) {
|
|
@@ -86,7 +63,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
86
63
|
var contentTypes = ['application/json'];
|
|
87
64
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
88
65
|
var isJSON = contentTypes.includes('application/json');
|
|
89
|
-
|
|
90
66
|
if (isJSON) {
|
|
91
67
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
92
68
|
} else if (isURLEncoded) {
|
|
@@ -96,12 +72,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
96
72
|
}
|
|
97
73
|
}
|
|
98
74
|
}
|
|
99
|
-
|
|
100
75
|
var authNames = ['api_key', 'oauth2'];
|
|
101
76
|
var accepts = ['application/json'];
|
|
102
77
|
var returnType = _ProductResponse["default"];
|
|
103
78
|
return this.apiClient.callApi('/products', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
104
79
|
}
|
|
80
|
+
|
|
105
81
|
/**
|
|
106
82
|
* Add a product
|
|
107
83
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
|
@@ -109,7 +85,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
109
85
|
* @param {module:model/AddProductRequestBody} opts.addProductRequestBody
|
|
110
86
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
|
|
111
87
|
*/
|
|
112
|
-
|
|
113
88
|
}, {
|
|
114
89
|
key: "addProduct",
|
|
115
90
|
value: function addProduct(opts) {
|
|
@@ -117,6 +92,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
117
92
|
return response_and_data;
|
|
118
93
|
});
|
|
119
94
|
}
|
|
95
|
+
|
|
120
96
|
/**
|
|
121
97
|
* Add a follower to a product
|
|
122
98
|
* Adds a follower to a product.
|
|
@@ -125,21 +101,19 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
125
101
|
* @param {module:model/AddProductFollowerRequest} opts.addProductFollowerRequest
|
|
126
102
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NewFollowerResponse} and HTTP response
|
|
127
103
|
*/
|
|
128
|
-
|
|
129
104
|
}, {
|
|
130
105
|
key: "addProductFollowerWithHttpInfo",
|
|
131
106
|
value: function addProductFollowerWithHttpInfo(id, opts) {
|
|
132
107
|
opts = opts || {};
|
|
133
|
-
var postBody = opts['addProductFollowerRequest'];
|
|
108
|
+
var postBody = opts['addProductFollowerRequest'];
|
|
134
109
|
|
|
110
|
+
// verify the required parameter 'id' is set
|
|
135
111
|
if (id === undefined || id === null) {
|
|
136
112
|
throw new Error("Missing the required parameter 'id' when calling addProductFollower");
|
|
137
113
|
}
|
|
138
|
-
|
|
139
114
|
if (opts['user_id'] === undefined || opts['user_id'] === null) {
|
|
140
115
|
throw new Error("Missing the required parameter 'user_id' when calling addProductFollower");
|
|
141
116
|
}
|
|
142
|
-
|
|
143
117
|
var pathParams = {
|
|
144
118
|
'id': id
|
|
145
119
|
};
|
|
@@ -150,7 +124,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
150
124
|
var contentTypes = ['application/json'];
|
|
151
125
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
152
126
|
var isJSON = contentTypes.includes('application/json');
|
|
153
|
-
|
|
154
127
|
if (isJSON) {
|
|
155
128
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
156
129
|
} else if (isURLEncoded) {
|
|
@@ -160,12 +133,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
160
133
|
}
|
|
161
134
|
}
|
|
162
135
|
}
|
|
163
|
-
|
|
164
136
|
var authNames = ['api_key', 'oauth2'];
|
|
165
137
|
var accepts = ['application/json'];
|
|
166
138
|
var returnType = _NewFollowerResponse["default"];
|
|
167
139
|
return this.apiClient.callApi('/products/{id}/followers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
168
140
|
}
|
|
141
|
+
|
|
169
142
|
/**
|
|
170
143
|
* Add a follower to a product
|
|
171
144
|
* Adds a follower to a product.
|
|
@@ -174,7 +147,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
174
147
|
* @param {module:model/AddProductFollowerRequest} opts.addProductFollowerRequest
|
|
175
148
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NewFollowerResponse}
|
|
176
149
|
*/
|
|
177
|
-
|
|
178
150
|
}, {
|
|
179
151
|
key: "addProductFollower",
|
|
180
152
|
value: function addProductFollower(id, opts) {
|
|
@@ -182,23 +154,23 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
182
154
|
return response_and_data;
|
|
183
155
|
});
|
|
184
156
|
}
|
|
157
|
+
|
|
185
158
|
/**
|
|
186
159
|
* Delete a product
|
|
187
160
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
|
188
161
|
* @param {Number} id The ID of the product
|
|
189
162
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProductResponse} and HTTP response
|
|
190
163
|
*/
|
|
191
|
-
|
|
192
164
|
}, {
|
|
193
165
|
key: "deleteProductWithHttpInfo",
|
|
194
166
|
value: function deleteProductWithHttpInfo(id) {
|
|
195
167
|
var opts = {};
|
|
196
|
-
var postBody = null;
|
|
168
|
+
var postBody = null;
|
|
197
169
|
|
|
170
|
+
// verify the required parameter 'id' is set
|
|
198
171
|
if (id === undefined || id === null) {
|
|
199
172
|
throw new Error("Missing the required parameter 'id' when calling deleteProduct");
|
|
200
173
|
}
|
|
201
|
-
|
|
202
174
|
var pathParams = {
|
|
203
175
|
'id': id
|
|
204
176
|
};
|
|
@@ -209,7 +181,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
209
181
|
var contentTypes = [];
|
|
210
182
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
211
183
|
var isJSON = contentTypes.includes('application/json');
|
|
212
|
-
|
|
213
184
|
if (isJSON) {
|
|
214
185
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
215
186
|
} else if (isURLEncoded) {
|
|
@@ -219,19 +190,18 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
219
190
|
}
|
|
220
191
|
}
|
|
221
192
|
}
|
|
222
|
-
|
|
223
193
|
var authNames = ['api_key', 'oauth2'];
|
|
224
194
|
var accepts = ['application/json'];
|
|
225
195
|
var returnType = _DeleteProductResponse["default"];
|
|
226
196
|
return this.apiClient.callApi('/products/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
227
197
|
}
|
|
198
|
+
|
|
228
199
|
/**
|
|
229
200
|
* Delete a product
|
|
230
201
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
|
231
202
|
* @param {Number} id The ID of the product
|
|
232
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProductResponse}
|
|
233
204
|
*/
|
|
234
|
-
|
|
235
205
|
}, {
|
|
236
206
|
key: "deleteProduct",
|
|
237
207
|
value: function deleteProduct(id) {
|
|
@@ -239,6 +209,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
239
209
|
return response_and_data;
|
|
240
210
|
});
|
|
241
211
|
}
|
|
212
|
+
|
|
242
213
|
/**
|
|
243
214
|
* Delete a follower from a product
|
|
244
215
|
* Deletes a follower from a product.
|
|
@@ -246,22 +217,21 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
246
217
|
* @param {Number} followerId The ID of the relationship between the follower and the product
|
|
247
218
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProductFollowerResponse} and HTTP response
|
|
248
219
|
*/
|
|
249
|
-
|
|
250
220
|
}, {
|
|
251
221
|
key: "deleteProductFollowerWithHttpInfo",
|
|
252
222
|
value: function deleteProductFollowerWithHttpInfo(id, followerId) {
|
|
253
223
|
var opts = {};
|
|
254
|
-
var postBody = null;
|
|
224
|
+
var postBody = null;
|
|
255
225
|
|
|
226
|
+
// verify the required parameter 'id' is set
|
|
256
227
|
if (id === undefined || id === null) {
|
|
257
228
|
throw new Error("Missing the required parameter 'id' when calling deleteProductFollower");
|
|
258
|
-
}
|
|
259
|
-
|
|
229
|
+
}
|
|
260
230
|
|
|
231
|
+
// verify the required parameter 'followerId' is set
|
|
261
232
|
if (followerId === undefined || followerId === null) {
|
|
262
233
|
throw new Error("Missing the required parameter 'followerId' when calling deleteProductFollower");
|
|
263
234
|
}
|
|
264
|
-
|
|
265
235
|
var pathParams = {
|
|
266
236
|
'id': id,
|
|
267
237
|
'follower_id': followerId
|
|
@@ -273,7 +243,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
273
243
|
var contentTypes = [];
|
|
274
244
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
275
245
|
var isJSON = contentTypes.includes('application/json');
|
|
276
|
-
|
|
277
246
|
if (isJSON) {
|
|
278
247
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
279
248
|
} else if (isURLEncoded) {
|
|
@@ -283,12 +252,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
283
252
|
}
|
|
284
253
|
}
|
|
285
254
|
}
|
|
286
|
-
|
|
287
255
|
var authNames = ['api_key', 'oauth2'];
|
|
288
256
|
var accepts = ['application/json'];
|
|
289
257
|
var returnType = _DeleteProductFollowerResponse["default"];
|
|
290
258
|
return this.apiClient.callApi('/products/{id}/followers/{follower_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
291
259
|
}
|
|
260
|
+
|
|
292
261
|
/**
|
|
293
262
|
* Delete a follower from a product
|
|
294
263
|
* Deletes a follower from a product.
|
|
@@ -296,7 +265,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
296
265
|
* @param {Number} followerId The ID of the relationship between the follower and the product
|
|
297
266
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProductFollowerResponse}
|
|
298
267
|
*/
|
|
299
|
-
|
|
300
268
|
}, {
|
|
301
269
|
key: "deleteProductFollower",
|
|
302
270
|
value: function deleteProductFollower(id, followerId) {
|
|
@@ -304,23 +272,23 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
304
272
|
return response_and_data;
|
|
305
273
|
});
|
|
306
274
|
}
|
|
275
|
+
|
|
307
276
|
/**
|
|
308
277
|
* Get one product
|
|
309
278
|
* Returns data about a specific product.
|
|
310
279
|
* @param {Number} id The ID of the product
|
|
311
280
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
312
281
|
*/
|
|
313
|
-
|
|
314
282
|
}, {
|
|
315
283
|
key: "getProductWithHttpInfo",
|
|
316
284
|
value: function getProductWithHttpInfo(id) {
|
|
317
285
|
var opts = {};
|
|
318
|
-
var postBody = null;
|
|
286
|
+
var postBody = null;
|
|
319
287
|
|
|
288
|
+
// verify the required parameter 'id' is set
|
|
320
289
|
if (id === undefined || id === null) {
|
|
321
290
|
throw new Error("Missing the required parameter 'id' when calling getProduct");
|
|
322
291
|
}
|
|
323
|
-
|
|
324
292
|
var pathParams = {
|
|
325
293
|
'id': id
|
|
326
294
|
};
|
|
@@ -331,7 +299,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
331
299
|
var contentTypes = [];
|
|
332
300
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
333
301
|
var isJSON = contentTypes.includes('application/json');
|
|
334
|
-
|
|
335
302
|
if (isJSON) {
|
|
336
303
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
337
304
|
} else if (isURLEncoded) {
|
|
@@ -341,19 +308,18 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
341
308
|
}
|
|
342
309
|
}
|
|
343
310
|
}
|
|
344
|
-
|
|
345
311
|
var authNames = ['api_key', 'oauth2'];
|
|
346
312
|
var accepts = ['application/json'];
|
|
347
313
|
var returnType = _ProductResponse["default"];
|
|
348
314
|
return this.apiClient.callApi('/products/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
349
315
|
}
|
|
316
|
+
|
|
350
317
|
/**
|
|
351
318
|
* Get one product
|
|
352
319
|
* Returns data about a specific product.
|
|
353
320
|
* @param {Number} id The ID of the product
|
|
354
321
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
|
|
355
322
|
*/
|
|
356
|
-
|
|
357
323
|
}, {
|
|
358
324
|
key: "getProduct",
|
|
359
325
|
value: function getProduct(id) {
|
|
@@ -361,6 +327,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
361
327
|
return response_and_data;
|
|
362
328
|
});
|
|
363
329
|
}
|
|
330
|
+
|
|
364
331
|
/**
|
|
365
332
|
* Get deals where a product is attached to
|
|
366
333
|
* Returns data about deals that have a product attached to it.
|
|
@@ -368,20 +335,19 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
368
335
|
* @param {Object} opts Optional parameters
|
|
369
336
|
* @param {Number} opts.start Pagination start (default to 0)
|
|
370
337
|
* @param {Number} opts.limit Items shown per page
|
|
371
|
-
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are
|
|
338
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included. (default to 'all_not_deleted')
|
|
372
339
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListDealsResponse} and HTTP response
|
|
373
340
|
*/
|
|
374
|
-
|
|
375
341
|
}, {
|
|
376
342
|
key: "getProductDealsWithHttpInfo",
|
|
377
343
|
value: function getProductDealsWithHttpInfo(id, opts) {
|
|
378
344
|
opts = opts || {};
|
|
379
|
-
var postBody = null;
|
|
345
|
+
var postBody = null;
|
|
380
346
|
|
|
347
|
+
// verify the required parameter 'id' is set
|
|
381
348
|
if (id === undefined || id === null) {
|
|
382
349
|
throw new Error("Missing the required parameter 'id' when calling getProductDeals");
|
|
383
350
|
}
|
|
384
|
-
|
|
385
351
|
var pathParams = {
|
|
386
352
|
'id': id
|
|
387
353
|
};
|
|
@@ -396,7 +362,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
396
362
|
var contentTypes = [];
|
|
397
363
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
398
364
|
var isJSON = contentTypes.includes('application/json');
|
|
399
|
-
|
|
400
365
|
if (isJSON) {
|
|
401
366
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
402
367
|
} else if (isURLEncoded) {
|
|
@@ -406,12 +371,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
406
371
|
}
|
|
407
372
|
}
|
|
408
373
|
}
|
|
409
|
-
|
|
410
374
|
var authNames = ['api_key', 'oauth2'];
|
|
411
375
|
var accepts = ['application/json'];
|
|
412
376
|
var returnType = _ListDealsResponse["default"];
|
|
413
377
|
return this.apiClient.callApi('/products/{id}/deals', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
414
378
|
}
|
|
379
|
+
|
|
415
380
|
/**
|
|
416
381
|
* Get deals where a product is attached to
|
|
417
382
|
* Returns data about deals that have a product attached to it.
|
|
@@ -419,10 +384,9 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
419
384
|
* @param {Object} opts Optional parameters
|
|
420
385
|
* @param {Number} opts.start Pagination start (default to 0)
|
|
421
386
|
* @param {Number} opts.limit Items shown per page
|
|
422
|
-
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are
|
|
387
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. If omitted, all not deleted deals are returned. If set to deleted, deals that have been deleted up to 30 days ago will be included. (default to 'all_not_deleted')
|
|
423
388
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListDealsResponse}
|
|
424
389
|
*/
|
|
425
|
-
|
|
426
390
|
}, {
|
|
427
391
|
key: "getProductDeals",
|
|
428
392
|
value: function getProductDeals(id, opts) {
|
|
@@ -430,6 +394,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
430
394
|
return response_and_data;
|
|
431
395
|
});
|
|
432
396
|
}
|
|
397
|
+
|
|
433
398
|
/**
|
|
434
399
|
* List files attached to a product
|
|
435
400
|
* Lists files associated with a product.
|
|
@@ -440,17 +405,16 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
440
405
|
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
|
|
441
406
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
|
|
442
407
|
*/
|
|
443
|
-
|
|
444
408
|
}, {
|
|
445
409
|
key: "getProductFilesWithHttpInfo",
|
|
446
410
|
value: function getProductFilesWithHttpInfo(id, opts) {
|
|
447
411
|
opts = opts || {};
|
|
448
|
-
var postBody = null;
|
|
412
|
+
var postBody = null;
|
|
449
413
|
|
|
414
|
+
// verify the required parameter 'id' is set
|
|
450
415
|
if (id === undefined || id === null) {
|
|
451
416
|
throw new Error("Missing the required parameter 'id' when calling getProductFiles");
|
|
452
417
|
}
|
|
453
|
-
|
|
454
418
|
var pathParams = {
|
|
455
419
|
'id': id
|
|
456
420
|
};
|
|
@@ -465,7 +429,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
465
429
|
var contentTypes = [];
|
|
466
430
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
467
431
|
var isJSON = contentTypes.includes('application/json');
|
|
468
|
-
|
|
469
432
|
if (isJSON) {
|
|
470
433
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
471
434
|
} else if (isURLEncoded) {
|
|
@@ -475,12 +438,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
475
438
|
}
|
|
476
439
|
}
|
|
477
440
|
}
|
|
478
|
-
|
|
479
441
|
var authNames = ['api_key', 'oauth2'];
|
|
480
442
|
var accepts = ['application/json'];
|
|
481
443
|
var returnType = _ListFilesResponse["default"];
|
|
482
444
|
return this.apiClient.callApi('/products/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
483
445
|
}
|
|
446
|
+
|
|
484
447
|
/**
|
|
485
448
|
* List files attached to a product
|
|
486
449
|
* Lists files associated with a product.
|
|
@@ -491,7 +454,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
491
454
|
* @param {String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
|
|
492
455
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
|
|
493
456
|
*/
|
|
494
|
-
|
|
495
457
|
}, {
|
|
496
458
|
key: "getProductFiles",
|
|
497
459
|
value: function getProductFiles(id, opts) {
|
|
@@ -499,6 +461,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
499
461
|
return response_and_data;
|
|
500
462
|
});
|
|
501
463
|
}
|
|
464
|
+
|
|
502
465
|
/**
|
|
503
466
|
* List followers of a product
|
|
504
467
|
* Lists the followers of a product.
|
|
@@ -508,17 +471,16 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
508
471
|
* @param {Number} opts.limit Items shown per page
|
|
509
472
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListProductFollowersResponse} and HTTP response
|
|
510
473
|
*/
|
|
511
|
-
|
|
512
474
|
}, {
|
|
513
475
|
key: "getProductFollowersWithHttpInfo",
|
|
514
476
|
value: function getProductFollowersWithHttpInfo(id, opts) {
|
|
515
477
|
opts = opts || {};
|
|
516
|
-
var postBody = null;
|
|
478
|
+
var postBody = null;
|
|
517
479
|
|
|
480
|
+
// verify the required parameter 'id' is set
|
|
518
481
|
if (id === undefined || id === null) {
|
|
519
482
|
throw new Error("Missing the required parameter 'id' when calling getProductFollowers");
|
|
520
483
|
}
|
|
521
|
-
|
|
522
484
|
var pathParams = {
|
|
523
485
|
'id': id
|
|
524
486
|
};
|
|
@@ -532,7 +494,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
532
494
|
var contentTypes = [];
|
|
533
495
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
534
496
|
var isJSON = contentTypes.includes('application/json');
|
|
535
|
-
|
|
536
497
|
if (isJSON) {
|
|
537
498
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
538
499
|
} else if (isURLEncoded) {
|
|
@@ -542,12 +503,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
542
503
|
}
|
|
543
504
|
}
|
|
544
505
|
}
|
|
545
|
-
|
|
546
506
|
var authNames = ['api_key', 'oauth2'];
|
|
547
507
|
var accepts = ['application/json'];
|
|
548
508
|
var returnType = _ListProductFollowersResponse["default"];
|
|
549
509
|
return this.apiClient.callApi('/products/{id}/followers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
550
510
|
}
|
|
511
|
+
|
|
551
512
|
/**
|
|
552
513
|
* List followers of a product
|
|
553
514
|
* Lists the followers of a product.
|
|
@@ -557,7 +518,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
557
518
|
* @param {Number} opts.limit Items shown per page
|
|
558
519
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListProductFollowersResponse}
|
|
559
520
|
*/
|
|
560
|
-
|
|
561
521
|
}, {
|
|
562
522
|
key: "getProductFollowers",
|
|
563
523
|
value: function getProductFollowers(id, opts) {
|
|
@@ -565,23 +525,23 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
565
525
|
return response_and_data;
|
|
566
526
|
});
|
|
567
527
|
}
|
|
528
|
+
|
|
568
529
|
/**
|
|
569
530
|
* List permitted users
|
|
570
531
|
* Lists users permitted to access a product.
|
|
571
532
|
* @param {Number} id The ID of the product
|
|
572
533
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserIDs} and HTTP response
|
|
573
534
|
*/
|
|
574
|
-
|
|
575
535
|
}, {
|
|
576
536
|
key: "getProductUsersWithHttpInfo",
|
|
577
537
|
value: function getProductUsersWithHttpInfo(id) {
|
|
578
538
|
var opts = {};
|
|
579
|
-
var postBody = null;
|
|
539
|
+
var postBody = null;
|
|
580
540
|
|
|
541
|
+
// verify the required parameter 'id' is set
|
|
581
542
|
if (id === undefined || id === null) {
|
|
582
543
|
throw new Error("Missing the required parameter 'id' when calling getProductUsers");
|
|
583
544
|
}
|
|
584
|
-
|
|
585
545
|
var pathParams = {
|
|
586
546
|
'id': id
|
|
587
547
|
};
|
|
@@ -592,7 +552,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
592
552
|
var contentTypes = [];
|
|
593
553
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
594
554
|
var isJSON = contentTypes.includes('application/json');
|
|
595
|
-
|
|
596
555
|
if (isJSON) {
|
|
597
556
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
598
557
|
} else if (isURLEncoded) {
|
|
@@ -602,19 +561,18 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
602
561
|
}
|
|
603
562
|
}
|
|
604
563
|
}
|
|
605
|
-
|
|
606
564
|
var authNames = ['api_key', 'oauth2'];
|
|
607
565
|
var accepts = ['application/json'];
|
|
608
566
|
var returnType = _UserIDs["default"];
|
|
609
567
|
return this.apiClient.callApi('/products/{id}/permittedUsers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
610
568
|
}
|
|
569
|
+
|
|
611
570
|
/**
|
|
612
571
|
* List permitted users
|
|
613
572
|
* Lists users permitted to access a product.
|
|
614
573
|
* @param {Number} id The ID of the product
|
|
615
574
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserIDs}
|
|
616
575
|
*/
|
|
617
|
-
|
|
618
576
|
}, {
|
|
619
577
|
key: "getProductUsers",
|
|
620
578
|
value: function getProductUsers(id) {
|
|
@@ -622,6 +580,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
622
580
|
return response_and_data;
|
|
623
581
|
});
|
|
624
582
|
}
|
|
583
|
+
|
|
625
584
|
/**
|
|
626
585
|
* Get all products
|
|
627
586
|
* Returns data about all products.
|
|
@@ -635,7 +594,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
635
594
|
* @param {Number} opts.limit Items shown per page
|
|
636
595
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductsResponse} and HTTP response
|
|
637
596
|
*/
|
|
638
|
-
|
|
639
597
|
}, {
|
|
640
598
|
key: "getProductsWithHttpInfo",
|
|
641
599
|
value: function getProductsWithHttpInfo(opts) {
|
|
@@ -657,7 +615,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
657
615
|
var contentTypes = [];
|
|
658
616
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
659
617
|
var isJSON = contentTypes.includes('application/json');
|
|
660
|
-
|
|
661
618
|
if (isJSON) {
|
|
662
619
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
663
620
|
} else if (isURLEncoded) {
|
|
@@ -667,12 +624,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
667
624
|
}
|
|
668
625
|
}
|
|
669
626
|
}
|
|
670
|
-
|
|
671
627
|
var authNames = ['api_key', 'oauth2'];
|
|
672
628
|
var accepts = ['application/json'];
|
|
673
629
|
var returnType = _ProductsResponse["default"];
|
|
674
630
|
return this.apiClient.callApi('/products', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
675
631
|
}
|
|
632
|
+
|
|
676
633
|
/**
|
|
677
634
|
* Get all products
|
|
678
635
|
* Returns data about all products.
|
|
@@ -686,7 +643,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
686
643
|
* @param {Number} opts.limit Items shown per page
|
|
687
644
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductsResponse}
|
|
688
645
|
*/
|
|
689
|
-
|
|
690
646
|
}, {
|
|
691
647
|
key: "getProducts",
|
|
692
648
|
value: function getProducts(opts) {
|
|
@@ -694,10 +650,11 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
694
650
|
return response_and_data;
|
|
695
651
|
});
|
|
696
652
|
}
|
|
653
|
+
|
|
697
654
|
/**
|
|
698
655
|
* Search products
|
|
699
656
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
700
|
-
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`).
|
|
657
|
+
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
701
658
|
* @param {Object} opts Optional parameters
|
|
702
659
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
|
|
703
660
|
* @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
@@ -706,17 +663,16 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
706
663
|
* @param {Number} opts.limit Items shown per page
|
|
707
664
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductSearchResponse} and HTTP response
|
|
708
665
|
*/
|
|
709
|
-
|
|
710
666
|
}, {
|
|
711
667
|
key: "searchProductsWithHttpInfo",
|
|
712
668
|
value: function searchProductsWithHttpInfo(term, opts) {
|
|
713
669
|
opts = opts || {};
|
|
714
|
-
var postBody = null;
|
|
670
|
+
var postBody = null;
|
|
715
671
|
|
|
672
|
+
// verify the required parameter 'term' is set
|
|
716
673
|
if (term === undefined || term === null) {
|
|
717
674
|
throw new Error("Missing the required parameter 'term' when calling searchProducts");
|
|
718
675
|
}
|
|
719
|
-
|
|
720
676
|
var pathParams = {};
|
|
721
677
|
var queryParams = {
|
|
722
678
|
'term': term,
|
|
@@ -732,7 +688,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
732
688
|
var contentTypes = [];
|
|
733
689
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
734
690
|
var isJSON = contentTypes.includes('application/json');
|
|
735
|
-
|
|
736
691
|
if (isJSON) {
|
|
737
692
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
738
693
|
} else if (isURLEncoded) {
|
|
@@ -742,16 +697,16 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
742
697
|
}
|
|
743
698
|
}
|
|
744
699
|
}
|
|
745
|
-
|
|
746
700
|
var authNames = ['api_key', 'oauth2'];
|
|
747
701
|
var accepts = ['application/json'];
|
|
748
702
|
var returnType = _ProductSearchResponse["default"];
|
|
749
703
|
return this.apiClient.callApi('/products/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
750
704
|
}
|
|
705
|
+
|
|
751
706
|
/**
|
|
752
707
|
* Search products
|
|
753
708
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
754
|
-
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`).
|
|
709
|
+
* @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
755
710
|
* @param {Object} opts Optional parameters
|
|
756
711
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
|
|
757
712
|
* @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
@@ -760,7 +715,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
760
715
|
* @param {Number} opts.limit Items shown per page
|
|
761
716
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductSearchResponse}
|
|
762
717
|
*/
|
|
763
|
-
|
|
764
718
|
}, {
|
|
765
719
|
key: "searchProducts",
|
|
766
720
|
value: function searchProducts(term, opts) {
|
|
@@ -768,6 +722,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
768
722
|
return response_and_data;
|
|
769
723
|
});
|
|
770
724
|
}
|
|
725
|
+
|
|
771
726
|
/**
|
|
772
727
|
* Update a product
|
|
773
728
|
* Updates product data.
|
|
@@ -776,17 +731,16 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
776
731
|
* @param {module:model/UpdateProductRequestBody} opts.updateProductRequestBody
|
|
777
732
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProductResponse} and HTTP response
|
|
778
733
|
*/
|
|
779
|
-
|
|
780
734
|
}, {
|
|
781
735
|
key: "updateProductWithHttpInfo",
|
|
782
736
|
value: function updateProductWithHttpInfo(id, opts) {
|
|
783
737
|
opts = opts || {};
|
|
784
|
-
var postBody = opts['updateProductRequestBody'];
|
|
738
|
+
var postBody = opts['updateProductRequestBody'];
|
|
785
739
|
|
|
740
|
+
// verify the required parameter 'id' is set
|
|
786
741
|
if (id === undefined || id === null) {
|
|
787
742
|
throw new Error("Missing the required parameter 'id' when calling updateProduct");
|
|
788
743
|
}
|
|
789
|
-
|
|
790
744
|
var pathParams = {
|
|
791
745
|
'id': id
|
|
792
746
|
};
|
|
@@ -797,7 +751,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
797
751
|
var contentTypes = ['application/json'];
|
|
798
752
|
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
|
799
753
|
var isJSON = contentTypes.includes('application/json');
|
|
800
|
-
|
|
801
754
|
if (isJSON) {
|
|
802
755
|
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
|
803
756
|
} else if (isURLEncoded) {
|
|
@@ -807,12 +760,12 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
807
760
|
}
|
|
808
761
|
}
|
|
809
762
|
}
|
|
810
|
-
|
|
811
763
|
var authNames = ['api_key', 'oauth2'];
|
|
812
764
|
var accepts = ['application/json'];
|
|
813
765
|
var returnType = _UpdateProductResponse["default"];
|
|
814
766
|
return this.apiClient.callApi('/products/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
815
767
|
}
|
|
768
|
+
|
|
816
769
|
/**
|
|
817
770
|
* Update a product
|
|
818
771
|
* Updates product data.
|
|
@@ -821,7 +774,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
821
774
|
* @param {module:model/UpdateProductRequestBody} opts.updateProductRequestBody
|
|
822
775
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProductResponse}
|
|
823
776
|
*/
|
|
824
|
-
|
|
825
777
|
}, {
|
|
826
778
|
key: "updateProduct",
|
|
827
779
|
value: function updateProduct(id, opts) {
|
|
@@ -832,5 +784,4 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
|
832
784
|
}]);
|
|
833
785
|
return ProductsApi;
|
|
834
786
|
}();
|
|
835
|
-
|
|
836
787
|
exports["default"] = ProductsApi;
|