From a967aaba91ef693f59ad4f5ab6ab0e40648dd5d3 Mon Sep 17 00:00:00 2001 From: pipedrive-bot Date: Tue, 27 Aug 2024 07:52:39 +0000 Subject: [PATCH 1/2] Build 73 - version-patch --- CHANGELOG.md | 2 + README.md | 117 ++-- docs/ActivitiesApi.md | 28 +- docs/AddActivityResponse.md | 12 + docs/AddActivityResponseRelatedObjects.md | 12 + docs/AddProjectResponse.md | 11 + docs/AddTaskResponse.md | 11 + docs/CallLogBadRequestResponse.md | 13 + docs/CallLogConflictResponse.md | 13 + docs/CallLogForbiddenResponse.md | 13 + docs/CallLogGoneResponse.md | 13 + docs/CallLogInternalErrorResponse.md | 13 + docs/CallLogNotFoundResponse.md | 13 + docs/DealsApi.md | 8 +- docs/DeleteActivitiesResponse.md | 10 + docs/DeleteActivitiesResponseData.md | 9 + docs/DeleteActivityResponse.md | 10 + docs/DeleteActivityResponseData.md | 9 + docs/DeleteGoalResponse.md | 9 + docs/DeleteLeadIdResponse.md | 10 + docs/DeletePipelineResponse.md | 10 + docs/DeletePipelineResponseData.md | 9 + docs/DeleteProjectResponse.md | 11 + docs/DeleteStageResponse.md | 10 + docs/DeleteStageResponseData.md | 9 + docs/DeleteStagesResponse.md | 10 + docs/DeleteStagesResponseData.md | 9 + docs/DeleteTaskResponse.md | 11 + docs/GetActivitiesCollectionResponse.md | 11 + docs/GetActivitiesResponse.md | 12 + docs/GetActivitiesResponseRelatedObjects.md | 12 + docs/GetActivityResponse.md | 11 + docs/GetAddProductAttachmentDetails.md | 10 + docs/GetGoalResultResponse.md | 10 + docs/GetGoalsResponse.md | 10 + docs/GetLeadIdResponse.md | 10 + docs/GetLeadIdResponseData.md | 9 + docs/GetLeadLabelsResponse.md | 10 + docs/GetLeadResponse.md | 10 + docs/GetLeadsResponse.md | 11 + docs/GetLeadsSourceResponse.md | 10 + docs/GetLeadsSourceResponseData.md | 9 + docs/GetProductAttachmentDetails.md | 10 + docs/GetProjectBoardResponse.md | 11 + docs/GetProjectBoardsResponse.md | 11 + docs/GetProjectGroupsResponse.md | 11 + docs/GetProjectPhaseResponse.md | 11 + docs/GetProjectPhasesResponse.md | 11 + docs/GetProjectPlanResponse.md | 11 + docs/GetProjectResponse.md | 11 + docs/GetProjectTemplateResponse.md | 11 + docs/GetProjectTemplatesResponse.md | 11 + docs/GetProjectsResponse.md | 11 + docs/GetTaskResponse.md | 11 + docs/GetTasksResponse.md | 11 + docs/GoalsApi.md | 20 +- docs/LeadLabelsApi.md | 16 +- docs/LeadNotFoundResponse.md | 13 + docs/LeadSourcesApi.md | 4 +- docs/LeadsApi.md | 20 +- docs/PipelinesApi.md | 4 +- docs/ProductResponse.md | 2 +- docs/ProductsResponse.md | 2 +- docs/ProjectTemplatesApi.md | 16 +- docs/ProjectsApi.md | 56 +- docs/StagesApi.md | 8 +- docs/TasksApi.md | 20 +- docs/UpdateActivityPlanItem.md | 11 + docs/UpdateActivityResponse.md | 11 + docs/UpdateProductResponse.md | 2 +- docs/UpdateProjectResponse.md | 11 + docs/UpdateTaskPlanItem.md | 11 + docs/UpdateTaskResponse.md | 11 + docs/UpsertGoalResponse.md | 10 + docs/UpsertLeadLabelResponse.md | 10 + src/api/ActivitiesApi.js | 56 +- src/api/CallLogsApi.js | 12 +- src/api/DealsApi.js | 16 +- src/api/GoalsApi.js | 38 +- src/api/LeadLabelsApi.js | 32 +- src/api/LeadSourcesApi.js | 8 +- src/api/LeadsApi.js | 38 +- src/api/PipelinesApi.js | 8 +- src/api/ProjectTemplatesApi.js | 32 +- src/api/ProjectsApi.js | 110 ++-- src/api/StagesApi.js | 16 +- src/api/TasksApi.js | 40 +- src/index.js | 519 +++++++++--------- src/model/AddActivityResponse.js | 111 ++++ .../AddActivityResponseRelatedObjects.js | 112 ++++ src/model/AddProjectResponse.js | 99 ++++ src/model/AddTaskResponse.js | 99 ++++ src/model/CallLogBadRequestResponse.js | 120 ++++ src/model/CallLogConflictResponse.js | 120 ++++ src/model/CallLogForbiddenResponse.js | 120 ++++ src/model/CallLogGoneResponse.js | 120 ++++ src/model/CallLogInternalErrorResponse.js | 120 ++++ src/model/CallLogNotFoundResponse.js | 120 ++++ src/model/DeleteActivitiesResponse.js | 89 +++ src/model/DeleteActivitiesResponseData.js | 79 +++ src/model/DeleteActivityResponse.js | 89 +++ src/model/DeleteActivityResponseData.js | 79 +++ src/model/DeleteGoalResponse.js | 79 +++ src/model/DeleteLeadIdResponse.js | 89 +++ src/model/DeletePipelineResponse.js | 90 +++ src/model/DeletePipelineResponseData.js | 79 +++ src/model/DeleteProjectResponse.js | 99 ++++ src/model/DeleteStageResponse.js | 90 +++ src/model/DeleteStageResponseData.js | 79 +++ src/model/DeleteStagesResponse.js | 90 +++ src/model/DeleteStagesResponseData.js | 79 +++ src/model/DeleteTaskResponse.js | 99 ++++ src/model/GetActivitiesCollectionResponse.js | 100 ++++ src/model/GetActivitiesResponse.js | 111 ++++ .../GetActivitiesResponseRelatedObjects.js | 112 ++++ src/model/GetActivityResponse.js | 100 ++++ src/model/GetAddProductAttachmentDetails.js | 91 +++ src/model/GetGoalResultResponse.js | 90 +++ src/model/GetGoalsResponse.js | 90 +++ src/model/GetLeadIdResponse.js | 89 +++ src/model/GetLeadIdResponseData.js | 78 +++ src/model/GetLeadLabelsResponse.js | 89 +++ src/model/GetLeadResponse.js | 89 +++ src/model/GetLeadsResponse.js | 100 ++++ src/model/GetLeadsSourceResponse.js | 89 +++ src/model/GetLeadsSourceResponseData.js | 79 +++ src/model/GetProductAttachmentDetails.js | 91 +++ src/model/GetProjectBoardResponse.js | 99 ++++ src/model/GetProjectBoardsResponse.js | 99 ++++ src/model/GetProjectGroupsResponse.js | 99 ++++ src/model/GetProjectPhaseResponse.js | 99 ++++ src/model/GetProjectPhasesResponse.js | 99 ++++ src/model/GetProjectPlanResponse.js | 99 ++++ src/model/GetProjectResponse.js | 99 ++++ src/model/GetProjectTemplateResponse.js | 99 ++++ src/model/GetProjectTemplatesResponse.js | 100 ++++ src/model/GetProjectsResponse.js | 100 ++++ src/model/GetTaskResponse.js | 99 ++++ src/model/GetTasksResponse.js | 100 ++++ src/model/LeadNotFoundResponse.js | 120 ++++ src/model/ProductResponse.js | 6 +- src/model/ProductsResponse.js | 6 +- src/model/UpdateActivityPlanItem.js | 99 ++++ src/model/UpdateActivityResponse.js | 100 ++++ src/model/UpdateProductResponse.js | 6 +- src/model/UpdateProjectResponse.js | 99 ++++ src/model/UpdateTaskPlanItem.js | 99 ++++ src/model/UpdateTaskResponse.js | 99 ++++ src/model/UpsertGoalResponse.js | 90 +++ src/model/UpsertLeadLabelResponse.js | 89 +++ 150 files changed, 7008 insertions(+), 629 deletions(-) create mode 100644 docs/AddActivityResponse.md create mode 100644 docs/AddActivityResponseRelatedObjects.md create mode 100644 docs/AddProjectResponse.md create mode 100644 docs/AddTaskResponse.md create mode 100644 docs/CallLogBadRequestResponse.md create mode 100644 docs/CallLogConflictResponse.md create mode 100644 docs/CallLogForbiddenResponse.md create mode 100644 docs/CallLogGoneResponse.md create mode 100644 docs/CallLogInternalErrorResponse.md create mode 100644 docs/CallLogNotFoundResponse.md create mode 100644 docs/DeleteActivitiesResponse.md create mode 100644 docs/DeleteActivitiesResponseData.md create mode 100644 docs/DeleteActivityResponse.md create mode 100644 docs/DeleteActivityResponseData.md create mode 100644 docs/DeleteGoalResponse.md create mode 100644 docs/DeleteLeadIdResponse.md create mode 100644 docs/DeletePipelineResponse.md create mode 100644 docs/DeletePipelineResponseData.md create mode 100644 docs/DeleteProjectResponse.md create mode 100644 docs/DeleteStageResponse.md create mode 100644 docs/DeleteStageResponseData.md create mode 100644 docs/DeleteStagesResponse.md create mode 100644 docs/DeleteStagesResponseData.md create mode 100644 docs/DeleteTaskResponse.md create mode 100644 docs/GetActivitiesCollectionResponse.md create mode 100644 docs/GetActivitiesResponse.md create mode 100644 docs/GetActivitiesResponseRelatedObjects.md create mode 100644 docs/GetActivityResponse.md create mode 100644 docs/GetAddProductAttachmentDetails.md create mode 100644 docs/GetGoalResultResponse.md create mode 100644 docs/GetGoalsResponse.md create mode 100644 docs/GetLeadIdResponse.md create mode 100644 docs/GetLeadIdResponseData.md create mode 100644 docs/GetLeadLabelsResponse.md create mode 100644 docs/GetLeadResponse.md create mode 100644 docs/GetLeadsResponse.md create mode 100644 docs/GetLeadsSourceResponse.md create mode 100644 docs/GetLeadsSourceResponseData.md create mode 100644 docs/GetProductAttachmentDetails.md create mode 100644 docs/GetProjectBoardResponse.md create mode 100644 docs/GetProjectBoardsResponse.md create mode 100644 docs/GetProjectGroupsResponse.md create mode 100644 docs/GetProjectPhaseResponse.md create mode 100644 docs/GetProjectPhasesResponse.md create mode 100644 docs/GetProjectPlanResponse.md create mode 100644 docs/GetProjectResponse.md create mode 100644 docs/GetProjectTemplateResponse.md create mode 100644 docs/GetProjectTemplatesResponse.md create mode 100644 docs/GetProjectsResponse.md create mode 100644 docs/GetTaskResponse.md create mode 100644 docs/GetTasksResponse.md create mode 100644 docs/LeadNotFoundResponse.md create mode 100644 docs/UpdateActivityPlanItem.md create mode 100644 docs/UpdateActivityResponse.md create mode 100644 docs/UpdateProjectResponse.md create mode 100644 docs/UpdateTaskPlanItem.md create mode 100644 docs/UpdateTaskResponse.md create mode 100644 docs/UpsertGoalResponse.md create mode 100644 docs/UpsertLeadLabelResponse.md create mode 100644 src/model/AddActivityResponse.js create mode 100644 src/model/AddActivityResponseRelatedObjects.js create mode 100644 src/model/AddProjectResponse.js create mode 100644 src/model/AddTaskResponse.js create mode 100644 src/model/CallLogBadRequestResponse.js create mode 100644 src/model/CallLogConflictResponse.js create mode 100644 src/model/CallLogForbiddenResponse.js create mode 100644 src/model/CallLogGoneResponse.js create mode 100644 src/model/CallLogInternalErrorResponse.js create mode 100644 src/model/CallLogNotFoundResponse.js create mode 100644 src/model/DeleteActivitiesResponse.js create mode 100644 src/model/DeleteActivitiesResponseData.js create mode 100644 src/model/DeleteActivityResponse.js create mode 100644 src/model/DeleteActivityResponseData.js create mode 100644 src/model/DeleteGoalResponse.js create mode 100644 src/model/DeleteLeadIdResponse.js create mode 100644 src/model/DeletePipelineResponse.js create mode 100644 src/model/DeletePipelineResponseData.js create mode 100644 src/model/DeleteProjectResponse.js create mode 100644 src/model/DeleteStageResponse.js create mode 100644 src/model/DeleteStageResponseData.js create mode 100644 src/model/DeleteStagesResponse.js create mode 100644 src/model/DeleteStagesResponseData.js create mode 100644 src/model/DeleteTaskResponse.js create mode 100644 src/model/GetActivitiesCollectionResponse.js create mode 100644 src/model/GetActivitiesResponse.js create mode 100644 src/model/GetActivitiesResponseRelatedObjects.js create mode 100644 src/model/GetActivityResponse.js create mode 100644 src/model/GetAddProductAttachmentDetails.js create mode 100644 src/model/GetGoalResultResponse.js create mode 100644 src/model/GetGoalsResponse.js create mode 100644 src/model/GetLeadIdResponse.js create mode 100644 src/model/GetLeadIdResponseData.js create mode 100644 src/model/GetLeadLabelsResponse.js create mode 100644 src/model/GetLeadResponse.js create mode 100644 src/model/GetLeadsResponse.js create mode 100644 src/model/GetLeadsSourceResponse.js create mode 100644 src/model/GetLeadsSourceResponseData.js create mode 100644 src/model/GetProductAttachmentDetails.js create mode 100644 src/model/GetProjectBoardResponse.js create mode 100644 src/model/GetProjectBoardsResponse.js create mode 100644 src/model/GetProjectGroupsResponse.js create mode 100644 src/model/GetProjectPhaseResponse.js create mode 100644 src/model/GetProjectPhasesResponse.js create mode 100644 src/model/GetProjectPlanResponse.js create mode 100644 src/model/GetProjectResponse.js create mode 100644 src/model/GetProjectTemplateResponse.js create mode 100644 src/model/GetProjectTemplatesResponse.js create mode 100644 src/model/GetProjectsResponse.js create mode 100644 src/model/GetTaskResponse.js create mode 100644 src/model/GetTasksResponse.js create mode 100644 src/model/LeadNotFoundResponse.js create mode 100644 src/model/UpdateActivityPlanItem.js create mode 100644 src/model/UpdateActivityResponse.js create mode 100644 src/model/UpdateProjectResponse.js create mode 100644 src/model/UpdateTaskPlanItem.js create mode 100644 src/model/UpdateTaskResponse.js create mode 100644 src/model/UpsertGoalResponse.js create mode 100644 src/model/UpsertLeadLabelResponse.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e6e1a32..be6e4135 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19). ## [Unreleased] +### Fixed +- Updated default values for "billing_frequency_cycles", "billing_start_date" fields ## [23.2.4] - 2024-08-13 ### Fixed diff --git a/README.md b/README.md index 4ee7c681..9779eb34 100644 --- a/README.md +++ b/README.md @@ -655,8 +655,8 @@ Class | Method | HTTP request | Description - [Pipedrive.ActivityTypeListResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/ActivityTypeListResponseAllOf.md) - [Pipedrive.ActivityTypeObjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ActivityTypeObjectResponse.md) - [Pipedrive.ActivityTypeUpdateRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/ActivityTypeUpdateRequest.md) - - [Pipedrive.AddActivityResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddActivityResponse200.md) - - [Pipedrive.AddActivityResponse200RelatedObjects](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddActivityResponse200RelatedObjects.md) + - [Pipedrive.AddActivityResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddActivityResponse.md) + - [Pipedrive.AddActivityResponseRelatedObjects](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddActivityResponseRelatedObjects.md) - [Pipedrive.AddDealFollowerRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddDealFollowerRequest.md) - [Pipedrive.AddDealParticipantRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddDealParticipantRequest.md) - [Pipedrive.AddFile](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddFile.md) @@ -670,8 +670,6 @@ Class | Method | HTTP request | Description - [Pipedrive.AddNewPipelineAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddNewPipelineAllOf.md) - [Pipedrive.AddNoteRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddNoteRequest.md) - [Pipedrive.AddNoteRequestAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddNoteRequestAllOf.md) - - [Pipedrive.AddOrUpdateGoalResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddOrUpdateGoalResponse200.md) - - [Pipedrive.AddOrUpdateLeadLabelResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddOrUpdateLeadLabelResponse200.md) - [Pipedrive.AddOrUpdateRoleSettingRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddOrUpdateRoleSettingRequest.md) - [Pipedrive.AddOrganizationFollowerRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddOrganizationFollowerRequest.md) - [Pipedrive.AddOrganizationRelationshipRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddOrganizationRelationshipRequest.md) @@ -685,10 +683,10 @@ Class | Method | HTTP request | Description - [Pipedrive.AddProductFollowerRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddProductFollowerRequest.md) - [Pipedrive.AddProductRequestBody](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddProductRequestBody.md) - [Pipedrive.AddProductRequestBodyAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddProductRequestBodyAllOf.md) - - [Pipedrive.AddProjectResponse201](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddProjectResponse201.md) + - [Pipedrive.AddProjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddProjectResponse.md) - [Pipedrive.AddRole](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddRole.md) - [Pipedrive.AddRoleAssignmentRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddRoleAssignmentRequest.md) - - [Pipedrive.AddTaskResponse201](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddTaskResponse201.md) + - [Pipedrive.AddTaskResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddTaskResponse.md) - [Pipedrive.AddTeamUserRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddTeamUserRequest.md) - [Pipedrive.AddUserRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddUserRequest.md) - [Pipedrive.AddWebhookRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/AddWebhookRequest.md) @@ -759,14 +757,14 @@ Class | Method | HTTP request | Description - [Pipedrive.BulkDeleteResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/BulkDeleteResponseAllOf.md) - [Pipedrive.BulkDeleteResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/BulkDeleteResponseAllOfData.md) - [Pipedrive.CalculatedFields](https://github.com/pipedrive/client-nodejs/blob/master/docs/CalculatedFields.md) + - [Pipedrive.CallLogBadRequestResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogBadRequestResponse.md) + - [Pipedrive.CallLogConflictResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogConflictResponse.md) + - [Pipedrive.CallLogForbiddenResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogForbiddenResponse.md) + - [Pipedrive.CallLogGoneResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogGoneResponse.md) + - [Pipedrive.CallLogInternalErrorResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogInternalErrorResponse.md) + - [Pipedrive.CallLogNotFoundResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogNotFoundResponse.md) - [Pipedrive.CallLogObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogObject.md) - [Pipedrive.CallLogResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse200.md) - - [Pipedrive.CallLogResponse400](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse400.md) - - [Pipedrive.CallLogResponse403](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse403.md) - - [Pipedrive.CallLogResponse404](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse404.md) - - [Pipedrive.CallLogResponse409](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse409.md) - - [Pipedrive.CallLogResponse410](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse410.md) - - [Pipedrive.CallLogResponse500](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse500.md) - [Pipedrive.CallLogsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogsResponse.md) - [Pipedrive.CallLogsResponseAdditionalData](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogsResponseAdditionalData.md) - [Pipedrive.ChangelogResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ChangelogResponse.md) @@ -838,10 +836,10 @@ Class | Method | HTTP request | Description - [Pipedrive.DealsMovementsInfo](https://github.com/pipedrive/client-nodejs/blob/master/docs/DealsMovementsInfo.md) - [Pipedrive.DealsMovementsInfoFormattedValues](https://github.com/pipedrive/client-nodejs/blob/master/docs/DealsMovementsInfoFormattedValues.md) - [Pipedrive.DealsMovementsInfoValues](https://github.com/pipedrive/client-nodejs/blob/master/docs/DealsMovementsInfoValues.md) - - [Pipedrive.DeleteActivitiesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivitiesResponse200.md) - - [Pipedrive.DeleteActivitiesResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivitiesResponse200Data.md) - - [Pipedrive.DeleteActivityResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivityResponse200.md) - - [Pipedrive.DeleteActivityResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivityResponse200Data.md) + - [Pipedrive.DeleteActivitiesResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivitiesResponse.md) + - [Pipedrive.DeleteActivitiesResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivitiesResponseData.md) + - [Pipedrive.DeleteActivityResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivityResponse.md) + - [Pipedrive.DeleteActivityResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteActivityResponseData.md) - [Pipedrive.DeleteChannelSuccess](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteChannelSuccess.md) - [Pipedrive.DeleteComment](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteComment.md) - [Pipedrive.DeleteConversationSuccess](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteConversationSuccess.md) @@ -855,7 +853,8 @@ Class | Method | HTTP request | Description - [Pipedrive.DeleteDealProductData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteDealProductData.md) - [Pipedrive.DeleteFile](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteFile.md) - [Pipedrive.DeleteFileData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteFileData.md) - - [Pipedrive.DeleteGoalResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteGoalResponse200.md) + - [Pipedrive.DeleteGoalResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteGoalResponse.md) + - [Pipedrive.DeleteLeadIdResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteLeadIdResponse.md) - [Pipedrive.DeleteMultipleDeals](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteMultipleDeals.md) - [Pipedrive.DeleteMultipleDealsData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteMultipleDealsData.md) - [Pipedrive.DeleteMultipleProductFieldsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteMultipleProductFieldsResponse.md) @@ -867,8 +866,8 @@ Class | Method | HTTP request | Description - [Pipedrive.DeletePersonsInBulkResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePersonsInBulkResponse.md) - [Pipedrive.DeletePersonsInBulkResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePersonsInBulkResponseAllOf.md) - [Pipedrive.DeletePersonsInBulkResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePersonsInBulkResponseAllOfData.md) - - [Pipedrive.DeletePipelineResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePipelineResponse200.md) - - [Pipedrive.DeletePipelineResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePipelineResponse200Data.md) + - [Pipedrive.DeletePipelineResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePipelineResponse.md) + - [Pipedrive.DeletePipelineResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeletePipelineResponseData.md) - [Pipedrive.DeleteProductFieldResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProductFieldResponse.md) - [Pipedrive.DeleteProductFieldResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProductFieldResponseData.md) - [Pipedrive.DeleteProductFollowerResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProductFollowerResponse.md) @@ -877,7 +876,7 @@ Class | Method | HTTP request | Description - [Pipedrive.DeleteProductResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProductResponseData.md) - [Pipedrive.DeleteProject](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProject.md) - [Pipedrive.DeleteProjectData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProjectData.md) - - [Pipedrive.DeleteProjectResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProjectResponse200.md) + - [Pipedrive.DeleteProjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteProjectResponse.md) - [Pipedrive.DeleteResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteResponse.md) - [Pipedrive.DeleteResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteResponseAllOf.md) - [Pipedrive.DeleteResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteResponseAllOfData.md) @@ -888,13 +887,13 @@ Class | Method | HTTP request | Description - [Pipedrive.DeleteRoleAssignmentAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteRoleAssignmentAllOf.md) - [Pipedrive.DeleteRoleAssignmentAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteRoleAssignmentAllOfData.md) - [Pipedrive.DeleteRoleAssignmentRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteRoleAssignmentRequest.md) - - [Pipedrive.DeleteStageResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStageResponse200.md) - - [Pipedrive.DeleteStageResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStageResponse200Data.md) - - [Pipedrive.DeleteStagesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStagesResponse200.md) - - [Pipedrive.DeleteStagesResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStagesResponse200Data.md) + - [Pipedrive.DeleteStageResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStageResponse.md) + - [Pipedrive.DeleteStageResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStageResponseData.md) + - [Pipedrive.DeleteStagesResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStagesResponse.md) + - [Pipedrive.DeleteStagesResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteStagesResponseData.md) - [Pipedrive.DeleteTask](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteTask.md) - [Pipedrive.DeleteTaskData](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteTaskData.md) - - [Pipedrive.DeleteTaskResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteTaskResponse200.md) + - [Pipedrive.DeleteTaskResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteTaskResponse.md) - [Pipedrive.DeleteTeamUserRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/DeleteTeamUserRequest.md) - [Pipedrive.Duration](https://github.com/pipedrive/client-nodejs/blob/master/docs/Duration.md) - [Pipedrive.EditPipeline](https://github.com/pipedrive/client-nodejs/blob/master/docs/EditPipeline.md) @@ -937,11 +936,11 @@ Class | Method | HTTP request | Description - [Pipedrive.FullRole](https://github.com/pipedrive/client-nodejs/blob/master/docs/FullRole.md) - [Pipedrive.FullRoleAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/FullRoleAllOf.md) - [Pipedrive.FullTaskObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/FullTaskObject.md) - - [Pipedrive.GetActivitiesCollectionResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesCollectionResponse200.md) - - [Pipedrive.GetActivitiesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesResponse200.md) - - [Pipedrive.GetActivitiesResponse200RelatedObjects](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesResponse200RelatedObjects.md) - - [Pipedrive.GetActivityResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivityResponse200.md) - - [Pipedrive.GetAddProductAttachementDetails](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetAddProductAttachementDetails.md) + - [Pipedrive.GetActivitiesCollectionResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesCollectionResponse.md) + - [Pipedrive.GetActivitiesResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesResponse.md) + - [Pipedrive.GetActivitiesResponseRelatedObjects](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivitiesResponseRelatedObjects.md) + - [Pipedrive.GetActivityResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetActivityResponse.md) + - [Pipedrive.GetAddProductAttachmentDetails](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetAddProductAttachmentDetails.md) - [Pipedrive.GetAddUpdateStage](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetAddUpdateStage.md) - [Pipedrive.GetAddedDeal](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetAddedDeal.md) - [Pipedrive.GetAllFiles](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetAllFiles.md) @@ -974,12 +973,15 @@ Class | Method | HTTP request | Description - [Pipedrive.GetDealsTimelineData](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetDealsTimelineData.md) - [Pipedrive.GetDealsTimelineDataTotals](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetDealsTimelineDataTotals.md) - [Pipedrive.GetDuplicatedDeal](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetDuplicatedDeal.md) - - [Pipedrive.GetGoalResultResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetGoalResultResponse200.md) - - [Pipedrive.GetGoalsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetGoalsResponse200.md) - - [Pipedrive.GetLeadLabelsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadLabelsResponse200.md) - - [Pipedrive.GetLeadSourcesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadSourcesResponse200.md) - - [Pipedrive.GetLeadSourcesResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadSourcesResponse200Data.md) - - [Pipedrive.GetLeadsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadsResponse200.md) + - [Pipedrive.GetGoalResultResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetGoalResultResponse.md) + - [Pipedrive.GetGoalsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetGoalsResponse.md) + - [Pipedrive.GetLeadIdResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadIdResponse.md) + - [Pipedrive.GetLeadIdResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadIdResponseData.md) + - [Pipedrive.GetLeadLabelsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadLabelsResponse.md) + - [Pipedrive.GetLeadResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadResponse.md) + - [Pipedrive.GetLeadsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadsResponse.md) + - [Pipedrive.GetLeadsSourceResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadsSourceResponse.md) + - [Pipedrive.GetLeadsSourceResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetLeadsSourceResponseData.md) - [Pipedrive.GetMergedDeal](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetMergedDeal.md) - [Pipedrive.GetNotes](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetNotes.md) - [Pipedrive.GetOneFile](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetOneFile.md) @@ -989,18 +991,18 @@ Class | Method | HTTP request | Description - [Pipedrive.GetPersonDetailsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetPersonDetailsResponse.md) - [Pipedrive.GetPersonDetailsResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetPersonDetailsResponseAllOf.md) - [Pipedrive.GetPersonDetailsResponseAllOfAdditionalData](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetPersonDetailsResponseAllOfAdditionalData.md) - - [Pipedrive.GetProductAttachementDetails](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProductAttachementDetails.md) + - [Pipedrive.GetProductAttachmentDetails](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProductAttachmentDetails.md) - [Pipedrive.GetProductFieldResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProductFieldResponse.md) - - [Pipedrive.GetProjectBoardResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectBoardResponse200.md) - - [Pipedrive.GetProjectBoardsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectBoardsResponse200.md) - - [Pipedrive.GetProjectGroupsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectGroupsResponse200.md) - - [Pipedrive.GetProjectPhaseResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPhaseResponse200.md) - - [Pipedrive.GetProjectPhasesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPhasesResponse200.md) - - [Pipedrive.GetProjectPlanResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPlanResponse200.md) - - [Pipedrive.GetProjectResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectResponse200.md) - - [Pipedrive.GetProjectTemplateResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectTemplateResponse200.md) - - [Pipedrive.GetProjectTemplatesResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectTemplatesResponse200.md) - - [Pipedrive.GetProjectsResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectsResponse200.md) + - [Pipedrive.GetProjectBoardResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectBoardResponse.md) + - [Pipedrive.GetProjectBoardsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectBoardsResponse.md) + - [Pipedrive.GetProjectGroupsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectGroupsResponse.md) + - [Pipedrive.GetProjectPhaseResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPhaseResponse.md) + - [Pipedrive.GetProjectPhasesResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPhasesResponse.md) + - [Pipedrive.GetProjectPlanResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectPlanResponse.md) + - [Pipedrive.GetProjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectResponse.md) + - [Pipedrive.GetProjectTemplateResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectTemplateResponse.md) + - [Pipedrive.GetProjectTemplatesResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectTemplatesResponse.md) + - [Pipedrive.GetProjectsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetProjectsResponse.md) - [Pipedrive.GetRecents](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetRecents.md) - [Pipedrive.GetRecentsAdditionalData](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetRecentsAdditionalData.md) - [Pipedrive.GetRole](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetRole.md) @@ -1017,8 +1019,8 @@ Class | Method | HTTP request | Description - [Pipedrive.GetRolesAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetRolesAllOf.md) - [Pipedrive.GetStageDeals](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetStageDeals.md) - [Pipedrive.GetStages](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetStages.md) - - [Pipedrive.GetTaskResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetTaskResponse200.md) - - [Pipedrive.GetTasksResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetTasksResponse200.md) + - [Pipedrive.GetTaskResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetTaskResponse.md) + - [Pipedrive.GetTasksResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/GetTasksResponse.md) - [Pipedrive.GoalResults](https://github.com/pipedrive/client-nodejs/blob/master/docs/GoalResults.md) - [Pipedrive.GoalType](https://github.com/pipedrive/client-nodejs/blob/master/docs/GoalType.md) - [Pipedrive.GoalsResponseComponent](https://github.com/pipedrive/client-nodejs/blob/master/docs/GoalsResponseComponent.md) @@ -1045,12 +1047,10 @@ Class | Method | HTTP request | Description - [Pipedrive.ItemSearchResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ItemSearchResponse.md) - [Pipedrive.ItemSearchResponseAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/ItemSearchResponseAllOf.md) - [Pipedrive.ItemSearchResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/ItemSearchResponseAllOfData.md) - - [Pipedrive.LeadIdResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadIdResponse200.md) - - [Pipedrive.LeadIdResponse200Data](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadIdResponse200Data.md) - [Pipedrive.LeadLabelColor](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadLabelColor.md) - [Pipedrive.LeadLabelResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadLabelResponse.md) + - [Pipedrive.LeadNotFoundResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadNotFoundResponse.md) - [Pipedrive.LeadResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadResponse.md) - - [Pipedrive.LeadResponse404](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadResponse404.md) - [Pipedrive.LeadSearchItem](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadSearchItem.md) - [Pipedrive.LeadSearchItemItem](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadSearchItemItem.md) - [Pipedrive.LeadSearchItemItemOrganization](https://github.com/pipedrive/client-nodejs/blob/master/docs/LeadSearchItemItemOrganization.md) @@ -1150,7 +1150,6 @@ Class | Method | HTTP request | Description - [Pipedrive.NumberBoolean](https://github.com/pipedrive/client-nodejs/blob/master/docs/NumberBoolean.md) - [Pipedrive.NumberBooleanDefault0](https://github.com/pipedrive/client-nodejs/blob/master/docs/NumberBooleanDefault0.md) - [Pipedrive.NumberBooleanDefault1](https://github.com/pipedrive/client-nodejs/blob/master/docs/NumberBooleanDefault1.md) - - [Pipedrive.OneLeadResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/OneLeadResponse200.md) - [Pipedrive.OrgAndOwnerId](https://github.com/pipedrive/client-nodejs/blob/master/docs/OrgAndOwnerId.md) - [Pipedrive.OrganizationAddressInfo](https://github.com/pipedrive/client-nodejs/blob/master/docs/OrganizationAddressInfo.md) - [Pipedrive.OrganizationCountAndAddressInfo](https://github.com/pipedrive/client-nodejs/blob/master/docs/OrganizationCountAndAddressInfo.md) @@ -1369,7 +1368,8 @@ Class | Method | HTTP request | Description - [Pipedrive.TemplateObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/TemplateObject.md) - [Pipedrive.TemplateResponseObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/TemplateResponseObject.md) - [Pipedrive.Unauthorized](https://github.com/pipedrive/client-nodejs/blob/master/docs/Unauthorized.md) - - [Pipedrive.UpdateActivityResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateActivityResponse200.md) + - [Pipedrive.UpdateActivityPlanItem](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateActivityPlanItem.md) + - [Pipedrive.UpdateActivityResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateActivityResponse.md) - [Pipedrive.UpdateDealParameters](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateDealParameters.md) - [Pipedrive.UpdateDealProduct](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateDealProduct.md) - [Pipedrive.UpdateDealRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateDealRequest.md) @@ -1385,16 +1385,17 @@ Class | Method | HTTP request | Description - [Pipedrive.UpdateProductField](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateProductField.md) - [Pipedrive.UpdateProductRequestBody](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateProductRequestBody.md) - [Pipedrive.UpdateProductResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateProductResponse.md) - - [Pipedrive.UpdateProjectResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateProjectResponse200.md) + - [Pipedrive.UpdateProjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateProjectResponse.md) - [Pipedrive.UpdateStageRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateStageRequest.md) - [Pipedrive.UpdateStageRequestAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateStageRequestAllOf.md) - - [Pipedrive.UpdateTaskResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTaskResponse200.md) + - [Pipedrive.UpdateTaskPlanItem](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTaskPlanItem.md) + - [Pipedrive.UpdateTaskResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTaskResponse.md) - [Pipedrive.UpdateTeam](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTeam.md) - [Pipedrive.UpdateTeamAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTeamAllOf.md) - [Pipedrive.UpdateTeamWithAdditionalProperties](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateTeamWithAdditionalProperties.md) - [Pipedrive.UpdateUserRequest](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdateUserRequest.md) - - [Pipedrive.UpdatedActivityPlanItem200](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdatedActivityPlanItem200.md) - - [Pipedrive.UpdatedTaskPlanItem200](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpdatedTaskPlanItem200.md) + - [Pipedrive.UpsertGoalResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpsertGoalResponse.md) + - [Pipedrive.UpsertLeadLabelResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/UpsertLeadLabelResponse.md) - [Pipedrive.User](https://github.com/pipedrive/client-nodejs/blob/master/docs/User.md) - [Pipedrive.UserAccess](https://github.com/pipedrive/client-nodejs/blob/master/docs/UserAccess.md) - [Pipedrive.UserAllOf](https://github.com/pipedrive/client-nodejs/blob/master/docs/UserAllOf.md) diff --git a/docs/ActivitiesApi.md b/docs/ActivitiesApi.md index 87db84e0..48f88efc 100644 --- a/docs/ActivitiesApi.md +++ b/docs/ActivitiesApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description ## addActivity -> AddActivityResponse200 addActivity(opts) +> AddActivityResponse addActivity(opts) Add an activity @@ -57,7 +57,7 @@ Name | Type | Description | Notes ### Return type -[**AddActivityResponse200**](AddActivityResponse200.md) +[**AddActivityResponse**](AddActivityResponse.md) ### Authorization @@ -71,7 +71,7 @@ Name | Type | Description | Notes ## deleteActivities -> DeleteActivitiesResponse200 deleteActivities(ids) +> DeleteActivitiesResponse deleteActivities(ids) Delete multiple activities in bulk @@ -110,7 +110,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteActivitiesResponse200**](DeleteActivitiesResponse200.md) +[**DeleteActivitiesResponse**](DeleteActivitiesResponse.md) ### Authorization @@ -124,7 +124,7 @@ Name | Type | Description | Notes ## deleteActivity -> DeleteActivityResponse200 deleteActivity(id) +> DeleteActivityResponse deleteActivity(id) Delete an activity @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteActivityResponse200**](DeleteActivityResponse200.md) +[**DeleteActivityResponse**](DeleteActivityResponse.md) ### Authorization @@ -177,7 +177,7 @@ Name | Type | Description | Notes ## getActivities -> GetActivitiesResponse200 getActivities(opts) +> GetActivitiesResponse getActivities(opts) Get all activities assigned to a particular user @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**GetActivitiesResponse200**](GetActivitiesResponse200.md) +[**GetActivitiesResponse**](GetActivitiesResponse.md) ### Authorization @@ -247,7 +247,7 @@ Name | Type | Description | Notes ## getActivitiesCollection -> GetActivitiesCollectionResponse200 getActivitiesCollection(opts) +> GetActivitiesCollectionResponse getActivitiesCollection(opts) Get all activities (BETA) @@ -301,7 +301,7 @@ Name | Type | Description | Notes ### Return type -[**GetActivitiesCollectionResponse200**](GetActivitiesCollectionResponse200.md) +[**GetActivitiesCollectionResponse**](GetActivitiesCollectionResponse.md) ### Authorization @@ -315,7 +315,7 @@ Name | Type | Description | Notes ## getActivity -> GetActivityResponse200 getActivity(id) +> GetActivityResponse getActivity(id) Get details of an activity @@ -354,7 +354,7 @@ Name | Type | Description | Notes ### Return type -[**GetActivityResponse200**](GetActivityResponse200.md) +[**GetActivityResponse**](GetActivityResponse.md) ### Authorization @@ -368,7 +368,7 @@ Name | Type | Description | Notes ## updateActivity -> UpdateActivityResponse200 updateActivity(id, opts) +> UpdateActivityResponse updateActivity(id, opts) Update an activity @@ -411,7 +411,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateActivityResponse200**](UpdateActivityResponse200.md) +[**UpdateActivityResponse**](UpdateActivityResponse.md) ### Authorization diff --git a/docs/AddActivityResponse.md b/docs/AddActivityResponse.md new file mode 100644 index 00000000..c867169c --- /dev/null +++ b/docs/AddActivityResponse.md @@ -0,0 +1,12 @@ +# Pipedrive.AddActivityResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ActivityResponseObject**](ActivityResponseObject.md) | | [optional] +**additional_data** | [**ActivityRecordAdditionalData**](ActivityRecordAdditionalData.md) | | [optional] +**related_objects** | [**AddActivityResponseRelatedObjects**](AddActivityResponseRelatedObjects.md) | | [optional] + + diff --git a/docs/AddActivityResponseRelatedObjects.md b/docs/AddActivityResponseRelatedObjects.md new file mode 100644 index 00000000..634f1b25 --- /dev/null +++ b/docs/AddActivityResponseRelatedObjects.md @@ -0,0 +1,12 @@ +# Pipedrive.AddActivityResponseRelatedObjects + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user** | [**RelatedUserData**](RelatedUserData.md) | | [optional] +**deal** | [**RelatedDealData**](RelatedDealData.md) | | [optional] +**person** | [**RelatedPersonDataWithActiveFlag**](RelatedPersonDataWithActiveFlag.md) | | [optional] +**organization** | [**RelatedOrganizationDataWithActiveFlag**](RelatedOrganizationDataWithActiveFlag.md) | | [optional] + + diff --git a/docs/AddProjectResponse.md b/docs/AddProjectResponse.md new file mode 100644 index 00000000..80280d1c --- /dev/null +++ b/docs/AddProjectResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.AddProjectResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectResponseObject**](ProjectResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/AddTaskResponse.md b/docs/AddTaskResponse.md new file mode 100644 index 00000000..bdc87b4a --- /dev/null +++ b/docs/AddTaskResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.AddTaskResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**TaskResponseObject**](TaskResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogBadRequestResponse.md b/docs/CallLogBadRequestResponse.md new file mode 100644 index 00000000..ac3be590 --- /dev/null +++ b/docs/CallLogBadRequestResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogBadRequestResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogConflictResponse.md b/docs/CallLogConflictResponse.md new file mode 100644 index 00000000..70dd70f7 --- /dev/null +++ b/docs/CallLogConflictResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogConflictResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogForbiddenResponse.md b/docs/CallLogForbiddenResponse.md new file mode 100644 index 00000000..f63d30dd --- /dev/null +++ b/docs/CallLogForbiddenResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogForbiddenResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogGoneResponse.md b/docs/CallLogGoneResponse.md new file mode 100644 index 00000000..c42b7fd4 --- /dev/null +++ b/docs/CallLogGoneResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogGoneResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogInternalErrorResponse.md b/docs/CallLogInternalErrorResponse.md new file mode 100644 index 00000000..789329d2 --- /dev/null +++ b/docs/CallLogInternalErrorResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogInternalErrorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/CallLogNotFoundResponse.md b/docs/CallLogNotFoundResponse.md new file mode 100644 index 00000000..fcb2bebd --- /dev/null +++ b/docs/CallLogNotFoundResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.CallLogNotFoundResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/DealsApi.md b/docs/DealsApi.md index c22cc289..75e27997 100644 --- a/docs/DealsApi.md +++ b/docs/DealsApi.md @@ -208,7 +208,7 @@ Name | Type | Description | Notes ## addDealProduct -> GetAddProductAttachementDetails addDealProduct(id, opts) +> GetAddProductAttachmentDetails addDealProduct(id, opts) Add a product to a deal @@ -251,7 +251,7 @@ Name | Type | Description | Notes ### Return type -[**GetAddProductAttachementDetails**](GetAddProductAttachementDetails.md) +[**GetAddProductAttachmentDetails**](GetAddProductAttachmentDetails.md) ### Authorization @@ -1758,7 +1758,7 @@ Name | Type | Description | Notes ## updateDealProduct -> GetProductAttachementDetails updateDealProduct(id, productAttachmentId, opts) +> GetProductAttachmentDetails updateDealProduct(id, productAttachmentId, opts) Update the product attached to a deal @@ -1803,7 +1803,7 @@ Name | Type | Description | Notes ### Return type -[**GetProductAttachementDetails**](GetProductAttachementDetails.md) +[**GetProductAttachmentDetails**](GetProductAttachmentDetails.md) ### Authorization diff --git a/docs/DeleteActivitiesResponse.md b/docs/DeleteActivitiesResponse.md new file mode 100644 index 00000000..006213a2 --- /dev/null +++ b/docs/DeleteActivitiesResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeleteActivitiesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**DeleteActivitiesResponseData**](DeleteActivitiesResponseData.md) | | [optional] + + diff --git a/docs/DeleteActivitiesResponseData.md b/docs/DeleteActivitiesResponseData.md new file mode 100644 index 00000000..6a74eea9 --- /dev/null +++ b/docs/DeleteActivitiesResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.DeleteActivitiesResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **[Number]** | An array of the IDs of activities that were deleted | [optional] + + diff --git a/docs/DeleteActivityResponse.md b/docs/DeleteActivityResponse.md new file mode 100644 index 00000000..6d98200e --- /dev/null +++ b/docs/DeleteActivityResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeleteActivityResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**DeleteActivityResponseData**](DeleteActivityResponseData.md) | | [optional] + + diff --git a/docs/DeleteActivityResponseData.md b/docs/DeleteActivityResponseData.md new file mode 100644 index 00000000..85d1990e --- /dev/null +++ b/docs/DeleteActivityResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.DeleteActivityResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **Number** | The ID of the activity that was deleted | [optional] + + diff --git a/docs/DeleteGoalResponse.md b/docs/DeleteGoalResponse.md new file mode 100644 index 00000000..279c7208 --- /dev/null +++ b/docs/DeleteGoalResponse.md @@ -0,0 +1,9 @@ +# Pipedrive.DeleteGoalResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] + + diff --git a/docs/DeleteLeadIdResponse.md b/docs/DeleteLeadIdResponse.md new file mode 100644 index 00000000..78f90ff0 --- /dev/null +++ b/docs/DeleteLeadIdResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeleteLeadIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**GetLeadIdResponseData**](GetLeadIdResponseData.md) | | [optional] + + diff --git a/docs/DeletePipelineResponse.md b/docs/DeletePipelineResponse.md new file mode 100644 index 00000000..0f63b142 --- /dev/null +++ b/docs/DeletePipelineResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeletePipelineResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**DeletePipelineResponseData**](DeletePipelineResponseData.md) | | [optional] + + diff --git a/docs/DeletePipelineResponseData.md b/docs/DeletePipelineResponseData.md new file mode 100644 index 00000000..05a2fad7 --- /dev/null +++ b/docs/DeletePipelineResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.DeletePipelineResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **Number** | Deleted Pipeline ID | [optional] + + diff --git a/docs/DeleteProjectResponse.md b/docs/DeleteProjectResponse.md new file mode 100644 index 00000000..dc1ef33b --- /dev/null +++ b/docs/DeleteProjectResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.DeleteProjectResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**DeleteProject**](DeleteProject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/DeleteStageResponse.md b/docs/DeleteStageResponse.md new file mode 100644 index 00000000..c5cb2cd8 --- /dev/null +++ b/docs/DeleteStageResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeleteStageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**DeleteStageResponseData**](DeleteStageResponseData.md) | | [optional] + + diff --git a/docs/DeleteStageResponseData.md b/docs/DeleteStageResponseData.md new file mode 100644 index 00000000..30fb540f --- /dev/null +++ b/docs/DeleteStageResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.DeleteStageResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **Number** | Deleted stage ID | [optional] + + diff --git a/docs/DeleteStagesResponse.md b/docs/DeleteStagesResponse.md new file mode 100644 index 00000000..5df4a9d4 --- /dev/null +++ b/docs/DeleteStagesResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.DeleteStagesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**DeleteStagesResponseData**](DeleteStagesResponseData.md) | | [optional] + + diff --git a/docs/DeleteStagesResponseData.md b/docs/DeleteStagesResponseData.md new file mode 100644 index 00000000..c480f5fb --- /dev/null +++ b/docs/DeleteStagesResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.DeleteStagesResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **[Number]** | The list of deleted stage IDs | [optional] + + diff --git a/docs/DeleteTaskResponse.md b/docs/DeleteTaskResponse.md new file mode 100644 index 00000000..121274d8 --- /dev/null +++ b/docs/DeleteTaskResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.DeleteTaskResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**DeleteTask**](DeleteTask.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetActivitiesCollectionResponse.md b/docs/GetActivitiesCollectionResponse.md new file mode 100644 index 00000000..380a9328 --- /dev/null +++ b/docs/GetActivitiesCollectionResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetActivitiesCollectionResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ActivityCollectionResponseObject]**](ActivityCollectionResponseObject.md) | | [optional] +**additional_data** | [**AdditionalDataWithCursorPagination**](AdditionalDataWithCursorPagination.md) | | [optional] + + diff --git a/docs/GetActivitiesResponse.md b/docs/GetActivitiesResponse.md new file mode 100644 index 00000000..9ffaafb2 --- /dev/null +++ b/docs/GetActivitiesResponse.md @@ -0,0 +1,12 @@ +# Pipedrive.GetActivitiesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ActivityResponseObject]**](ActivityResponseObject.md) | | [optional] +**additional_data** | [**ItemSearchAdditionalData**](ItemSearchAdditionalData.md) | | [optional] +**related_objects** | [**GetActivitiesResponseRelatedObjects**](GetActivitiesResponseRelatedObjects.md) | | [optional] + + diff --git a/docs/GetActivitiesResponseRelatedObjects.md b/docs/GetActivitiesResponseRelatedObjects.md new file mode 100644 index 00000000..736dea2f --- /dev/null +++ b/docs/GetActivitiesResponseRelatedObjects.md @@ -0,0 +1,12 @@ +# Pipedrive.GetActivitiesResponseRelatedObjects + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user** | [**RelatedUserData**](RelatedUserData.md) | | [optional] +**deal** | [**RelatedDealData**](RelatedDealData.md) | | [optional] +**person** | [**RelatedPersonData**](RelatedPersonData.md) | | [optional] +**organization** | [**RelatedOrganizationData**](RelatedOrganizationData.md) | | [optional] + + diff --git a/docs/GetActivityResponse.md b/docs/GetActivityResponse.md new file mode 100644 index 00000000..071d0bdb --- /dev/null +++ b/docs/GetActivityResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetActivityResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ActivityResponseObject**](ActivityResponseObject.md) | | [optional] +**related_objects** | [**GetActivitiesResponseRelatedObjects**](GetActivitiesResponseRelatedObjects.md) | | [optional] + + diff --git a/docs/GetAddProductAttachmentDetails.md b/docs/GetAddProductAttachmentDetails.md new file mode 100644 index 00000000..962308a3 --- /dev/null +++ b/docs/GetAddProductAttachmentDetails.md @@ -0,0 +1,10 @@ +# Pipedrive.GetAddProductAttachmentDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the response is successful or not | [optional] +**data** | [**AddProductAttachmentDetails**](AddProductAttachmentDetails.md) | The added product object attached to the deal | [optional] + + diff --git a/docs/GetGoalResultResponse.md b/docs/GetGoalResultResponse.md new file mode 100644 index 00000000..b9779083 --- /dev/null +++ b/docs/GetGoalResultResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetGoalResultResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**GoalResults**](GoalResults.md) | | [optional] + + diff --git a/docs/GetGoalsResponse.md b/docs/GetGoalsResponse.md new file mode 100644 index 00000000..093f4ce9 --- /dev/null +++ b/docs/GetGoalsResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetGoalsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**FindGoalResponse**](FindGoalResponse.md) | | [optional] + + diff --git a/docs/GetLeadIdResponse.md b/docs/GetLeadIdResponse.md new file mode 100644 index 00000000..30e649fe --- /dev/null +++ b/docs/GetLeadIdResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetLeadIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**GetLeadIdResponseData**](GetLeadIdResponseData.md) | | [optional] + + diff --git a/docs/GetLeadIdResponseData.md b/docs/GetLeadIdResponseData.md new file mode 100644 index 00000000..91e5fbd1 --- /dev/null +++ b/docs/GetLeadIdResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.GetLeadIdResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | | [optional] + + diff --git a/docs/GetLeadLabelsResponse.md b/docs/GetLeadLabelsResponse.md new file mode 100644 index 00000000..bb7569d7 --- /dev/null +++ b/docs/GetLeadLabelsResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetLeadLabelsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[LeadLabelResponse]**](LeadLabelResponse.md) | | [optional] + + diff --git a/docs/GetLeadResponse.md b/docs/GetLeadResponse.md new file mode 100644 index 00000000..e4e28001 --- /dev/null +++ b/docs/GetLeadResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetLeadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**LeadResponse**](LeadResponse.md) | | [optional] + + diff --git a/docs/GetLeadsResponse.md b/docs/GetLeadsResponse.md new file mode 100644 index 00000000..a96cff39 --- /dev/null +++ b/docs/GetLeadsResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetLeadsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[LeadResponse]**](LeadResponse.md) | | [optional] +**additional_data** | [**AdditionalData**](AdditionalData.md) | | [optional] + + diff --git a/docs/GetLeadsSourceResponse.md b/docs/GetLeadsSourceResponse.md new file mode 100644 index 00000000..4b9c3f28 --- /dev/null +++ b/docs/GetLeadsSourceResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.GetLeadsSourceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[GetLeadsSourceResponseData]**](GetLeadsSourceResponseData.md) | | [optional] + + diff --git a/docs/GetLeadsSourceResponseData.md b/docs/GetLeadsSourceResponseData.md new file mode 100644 index 00000000..441c17c4 --- /dev/null +++ b/docs/GetLeadsSourceResponseData.md @@ -0,0 +1,9 @@ +# Pipedrive.GetLeadsSourceResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The unique name of a lead source | [optional] + + diff --git a/docs/GetProductAttachmentDetails.md b/docs/GetProductAttachmentDetails.md new file mode 100644 index 00000000..2a76eb2c --- /dev/null +++ b/docs/GetProductAttachmentDetails.md @@ -0,0 +1,10 @@ +# Pipedrive.GetProductAttachmentDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the response is successful or not | [optional] +**data** | [**ProductAttachmentDetails**](ProductAttachmentDetails.md) | The updated product object attached to the deal | [optional] + + diff --git a/docs/GetProjectBoardResponse.md b/docs/GetProjectBoardResponse.md new file mode 100644 index 00000000..7f5ae2f1 --- /dev/null +++ b/docs/GetProjectBoardResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectBoardResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectBoardObject**](ProjectBoardObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectBoardsResponse.md b/docs/GetProjectBoardsResponse.md new file mode 100644 index 00000000..de0a2cbf --- /dev/null +++ b/docs/GetProjectBoardsResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectBoardsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ProjectBoardObject]**](ProjectBoardObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectGroupsResponse.md b/docs/GetProjectGroupsResponse.md new file mode 100644 index 00000000..28331239 --- /dev/null +++ b/docs/GetProjectGroupsResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectGroupsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ProjectGroupsObject]**](ProjectGroupsObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectPhaseResponse.md b/docs/GetProjectPhaseResponse.md new file mode 100644 index 00000000..7b5ad20a --- /dev/null +++ b/docs/GetProjectPhaseResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectPhaseResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectPhaseObject**](ProjectPhaseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectPhasesResponse.md b/docs/GetProjectPhasesResponse.md new file mode 100644 index 00000000..34151d6f --- /dev/null +++ b/docs/GetProjectPhasesResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectPhasesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ProjectPhaseObject]**](ProjectPhaseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectPlanResponse.md b/docs/GetProjectPlanResponse.md new file mode 100644 index 00000000..69a00e02 --- /dev/null +++ b/docs/GetProjectPlanResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectPlanResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ProjectPlanItemObject]**](ProjectPlanItemObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectResponse.md b/docs/GetProjectResponse.md new file mode 100644 index 00000000..186c326a --- /dev/null +++ b/docs/GetProjectResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectResponseObject**](ProjectResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectTemplateResponse.md b/docs/GetProjectTemplateResponse.md new file mode 100644 index 00000000..40c1d389 --- /dev/null +++ b/docs/GetProjectTemplateResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectTemplateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**TemplateResponseObject**](TemplateResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetProjectTemplatesResponse.md b/docs/GetProjectTemplatesResponse.md new file mode 100644 index 00000000..e5fd7aa8 --- /dev/null +++ b/docs/GetProjectTemplatesResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectTemplatesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[TemplateResponseObject]**](TemplateResponseObject.md) | | [optional] +**additional_data** | [**AdditionalDataWithCursorPagination**](AdditionalDataWithCursorPagination.md) | | [optional] + + diff --git a/docs/GetProjectsResponse.md b/docs/GetProjectsResponse.md new file mode 100644 index 00000000..5b111b0c --- /dev/null +++ b/docs/GetProjectsResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetProjectsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[ProjectResponseObject]**](ProjectResponseObject.md) | | [optional] +**additional_data** | [**AdditionalDataWithCursorPagination**](AdditionalDataWithCursorPagination.md) | | [optional] + + diff --git a/docs/GetTaskResponse.md b/docs/GetTaskResponse.md new file mode 100644 index 00000000..d0f14ca7 --- /dev/null +++ b/docs/GetTaskResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetTaskResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**TaskResponseObject**](TaskResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/GetTasksResponse.md b/docs/GetTasksResponse.md new file mode 100644 index 00000000..2d984396 --- /dev/null +++ b/docs/GetTasksResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.GetTasksResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**[TaskResponseObject]**](TaskResponseObject.md) | | [optional] +**additional_data** | [**AdditionalDataWithCursorPagination**](AdditionalDataWithCursorPagination.md) | | [optional] + + diff --git a/docs/GoalsApi.md b/docs/GoalsApi.md index 290fe149..badb59af 100644 --- a/docs/GoalsApi.md +++ b/docs/GoalsApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description ## addGoal -> AddOrUpdateGoalResponse200 addGoal(opts) +> UpsertGoalResponse addGoal(opts) Add a new goal @@ -55,7 +55,7 @@ Name | Type | Description | Notes ### Return type -[**AddOrUpdateGoalResponse200**](AddOrUpdateGoalResponse200.md) +[**UpsertGoalResponse**](UpsertGoalResponse.md) ### Authorization @@ -69,7 +69,7 @@ Name | Type | Description | Notes ## deleteGoal -> DeleteGoalResponse200 deleteGoal(id) +> DeleteGoalResponse deleteGoal(id) Delete existing goal @@ -108,7 +108,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteGoalResponse200**](DeleteGoalResponse200.md) +[**DeleteGoalResponse**](DeleteGoalResponse.md) ### Authorization @@ -122,7 +122,7 @@ Name | Type | Description | Notes ## getGoalResult -> GetGoalResultResponse200 getGoalResult(id, periodStart, periodEnd) +> GetGoalResultResponse getGoalResult(id, periodStart, periodEnd) Get result of a goal @@ -165,7 +165,7 @@ Name | Type | Description | Notes ### Return type -[**GetGoalResultResponse200**](GetGoalResultResponse200.md) +[**GetGoalResultResponse**](GetGoalResultResponse.md) ### Authorization @@ -179,7 +179,7 @@ Name | Type | Description | Notes ## getGoals -> GetGoalsResponse200 getGoals(opts) +> GetGoalsResponse getGoals(opts) Find goals @@ -245,7 +245,7 @@ Name | Type | Description | Notes ### Return type -[**GetGoalsResponse200**](GetGoalsResponse200.md) +[**GetGoalsResponse**](GetGoalsResponse.md) ### Authorization @@ -259,7 +259,7 @@ Name | Type | Description | Notes ## updateGoal -> AddOrUpdateGoalResponse200 updateGoal(id, opts) +> UpsertGoalResponse updateGoal(id, opts) Update existing goal @@ -302,7 +302,7 @@ Name | Type | Description | Notes ### Return type -[**AddOrUpdateGoalResponse200**](AddOrUpdateGoalResponse200.md) +[**UpsertGoalResponse**](UpsertGoalResponse.md) ### Authorization diff --git a/docs/LeadLabelsApi.md b/docs/LeadLabelsApi.md index 406becfb..66505f6d 100644 --- a/docs/LeadLabelsApi.md +++ b/docs/LeadLabelsApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description ## addLeadLabel -> AddOrUpdateLeadLabelResponse200 addLeadLabel(opts) +> UpsertLeadLabelResponse addLeadLabel(opts) Add a lead label @@ -54,7 +54,7 @@ Name | Type | Description | Notes ### Return type -[**AddOrUpdateLeadLabelResponse200**](AddOrUpdateLeadLabelResponse200.md) +[**UpsertLeadLabelResponse**](UpsertLeadLabelResponse.md) ### Authorization @@ -68,7 +68,7 @@ Name | Type | Description | Notes ## deleteLeadLabel -> LeadIdResponse200 deleteLeadLabel(id) +> DeleteLeadIdResponse deleteLeadLabel(id) Delete a lead label @@ -107,7 +107,7 @@ Name | Type | Description | Notes ### Return type -[**LeadIdResponse200**](LeadIdResponse200.md) +[**DeleteLeadIdResponse**](DeleteLeadIdResponse.md) ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes ## getLeadLabels -> GetLeadLabelsResponse200 getLeadLabels() +> GetLeadLabelsResponse getLeadLabels() Get all lead labels @@ -156,7 +156,7 @@ This endpoint does not need any parameter. ### Return type -[**GetLeadLabelsResponse200**](GetLeadLabelsResponse200.md) +[**GetLeadLabelsResponse**](GetLeadLabelsResponse.md) ### Authorization @@ -170,7 +170,7 @@ This endpoint does not need any parameter. ## updateLeadLabel -> AddOrUpdateLeadLabelResponse200 updateLeadLabel(id, opts) +> UpsertLeadLabelResponse updateLeadLabel(id, opts) Update a lead label @@ -213,7 +213,7 @@ Name | Type | Description | Notes ### Return type -[**AddOrUpdateLeadLabelResponse200**](AddOrUpdateLeadLabelResponse200.md) +[**UpsertLeadLabelResponse**](UpsertLeadLabelResponse.md) ### Authorization diff --git a/docs/LeadNotFoundResponse.md b/docs/LeadNotFoundResponse.md new file mode 100644 index 00000000..363882a8 --- /dev/null +++ b/docs/LeadNotFoundResponse.md @@ -0,0 +1,13 @@ +# Pipedrive.LeadNotFoundResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**error** | **String** | The description of the error | [optional] +**error_info** | **String** | A message describing how to solve the problem | [optional] +**data** | **Object** | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/LeadSourcesApi.md b/docs/LeadSourcesApi.md index cbd7e3dc..85b9dda7 100644 --- a/docs/LeadSourcesApi.md +++ b/docs/LeadSourcesApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## getLeadSources -> GetLeadSourcesResponse200 getLeadSources() +> GetLeadsSourceResponse getLeadSources() Get all lead sources @@ -45,7 +45,7 @@ This endpoint does not need any parameter. ### Return type -[**GetLeadSourcesResponse200**](GetLeadSourcesResponse200.md) +[**GetLeadsSourceResponse**](GetLeadsSourceResponse.md) ### Authorization diff --git a/docs/LeadsApi.md b/docs/LeadsApi.md index 2e8e2896..021d2f16 100644 --- a/docs/LeadsApi.md +++ b/docs/LeadsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description ## addLead -> OneLeadResponse200 addLead(opts) +> GetLeadResponse addLead(opts) Add a lead @@ -57,7 +57,7 @@ Name | Type | Description | Notes ### Return type -[**OneLeadResponse200**](OneLeadResponse200.md) +[**GetLeadResponse**](GetLeadResponse.md) ### Authorization @@ -71,7 +71,7 @@ Name | Type | Description | Notes ## deleteLead -> LeadIdResponse200 deleteLead(id) +> GetLeadIdResponse deleteLead(id) Delete a lead @@ -110,7 +110,7 @@ Name | Type | Description | Notes ### Return type -[**LeadIdResponse200**](LeadIdResponse200.md) +[**GetLeadIdResponse**](GetLeadIdResponse.md) ### Authorization @@ -124,7 +124,7 @@ Name | Type | Description | Notes ## getLead -> OneLeadResponse200 getLead(id) +> GetLeadResponse getLead(id) Get one lead @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### Return type -[**OneLeadResponse200**](OneLeadResponse200.md) +[**GetLeadResponse**](GetLeadResponse.md) ### Authorization @@ -230,7 +230,7 @@ Name | Type | Description | Notes ## getLeads -> GetLeadsResponse200 getLeads(opts) +> GetLeadsResponse getLeads(opts) Get all leads @@ -286,7 +286,7 @@ Name | Type | Description | Notes ### Return type -[**GetLeadsResponse200**](GetLeadsResponse200.md) +[**GetLeadsResponse**](GetLeadsResponse.md) ### Authorization @@ -370,7 +370,7 @@ Name | Type | Description | Notes ## updateLead -> OneLeadResponse200 updateLead(id, opts) +> GetLeadResponse updateLead(id, opts) Update a lead @@ -413,7 +413,7 @@ Name | Type | Description | Notes ### Return type -[**OneLeadResponse200**](OneLeadResponse200.md) +[**GetLeadResponse**](GetLeadResponse.md) ### Authorization diff --git a/docs/PipelinesApi.md b/docs/PipelinesApi.md index 8bd057b7..5cf41d3d 100644 --- a/docs/PipelinesApi.md +++ b/docs/PipelinesApi.md @@ -72,7 +72,7 @@ Name | Type | Description | Notes ## deletePipeline -> DeletePipelineResponse200 deletePipeline(id) +> DeletePipelineResponse deletePipeline(id) Delete a pipeline @@ -111,7 +111,7 @@ Name | Type | Description | Notes ### Return type -[**DeletePipelineResponse200**](DeletePipelineResponse200.md) +[**DeletePipelineResponse**](DeletePipelineResponse.md) ### Authorization diff --git a/docs/ProductResponse.md b/docs/ProductResponse.md index 13611e27..7c16e3b4 100644 --- a/docs/ProductResponse.md +++ b/docs/ProductResponse.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **success** | **Boolean** | If the response is successful or not | [optional] **data** | [**ProductWithArrayPrices**](ProductWithArrayPrices.md) | | [optional] -**related_objects** | [**GetActivitiesResponse200RelatedObjects**](GetActivitiesResponse200RelatedObjects.md) | | [optional] +**related_objects** | [**GetActivitiesResponseRelatedObjects**](GetActivitiesResponseRelatedObjects.md) | | [optional] diff --git a/docs/ProductsResponse.md b/docs/ProductsResponse.md index 794f02f1..560a51d5 100644 --- a/docs/ProductsResponse.md +++ b/docs/ProductsResponse.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **success** | **Boolean** | If the response is successful or not | [optional] **data** | [**[ProductResponse]**](ProductResponse.md) | Array containing data for all products | [optional] **additional_data** | [**AdditionalData**](.md) | | [optional] -**related_objects** | [**GetActivitiesResponse200RelatedObjects**](GetActivitiesResponse200RelatedObjects.md) | | [optional] +**related_objects** | [**GetActivitiesResponseRelatedObjects**](GetActivitiesResponseRelatedObjects.md) | | [optional] diff --git a/docs/ProjectTemplatesApi.md b/docs/ProjectTemplatesApi.md index 8942fbcf..2fccfe7e 100644 --- a/docs/ProjectTemplatesApi.md +++ b/docs/ProjectTemplatesApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description ## getProjectTemplate -> GetProjectTemplateResponse200 getProjectTemplate(id) +> GetProjectTemplateResponse getProjectTemplate(id) Get details of a template @@ -52,7 +52,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectTemplateResponse200**](GetProjectTemplateResponse200.md) +[**GetProjectTemplateResponse**](GetProjectTemplateResponse.md) ### Authorization @@ -66,7 +66,7 @@ Name | Type | Description | Notes ## getProjectTemplates -> GetProjectTemplatesResponse200 getProjectTemplates(opts) +> GetProjectTemplatesResponse getProjectTemplates(opts) Get all project templates @@ -110,7 +110,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectTemplatesResponse200**](GetProjectTemplatesResponse200.md) +[**GetProjectTemplatesResponse**](GetProjectTemplatesResponse.md) ### Authorization @@ -124,7 +124,7 @@ Name | Type | Description | Notes ## getProjectsBoard -> GetProjectBoardResponse200 getProjectsBoard(id) +> GetProjectBoardResponse getProjectsBoard(id) Get details of a board @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectBoardResponse200**](GetProjectBoardResponse200.md) +[**GetProjectBoardResponse**](GetProjectBoardResponse.md) ### Authorization @@ -177,7 +177,7 @@ Name | Type | Description | Notes ## getProjectsPhase -> GetProjectPhaseResponse200 getProjectsPhase(id) +> GetProjectPhaseResponse getProjectsPhase(id) Get details of a phase @@ -216,7 +216,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectPhaseResponse200**](GetProjectPhaseResponse200.md) +[**GetProjectPhaseResponse**](GetProjectPhaseResponse.md) ### Authorization diff --git a/docs/ProjectsApi.md b/docs/ProjectsApi.md index 9ab864c0..788b5a18 100644 --- a/docs/ProjectsApi.md +++ b/docs/ProjectsApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description ## addProject -> AddProjectResponse201 addProject(opts) +> AddProjectResponse addProject(opts) Add a project @@ -64,7 +64,7 @@ Name | Type | Description | Notes ### Return type -[**AddProjectResponse201**](AddProjectResponse201.md) +[**AddProjectResponse**](AddProjectResponse.md) ### Authorization @@ -78,7 +78,7 @@ Name | Type | Description | Notes ## archiveProject -> UpdateProjectResponse200 archiveProject(id) +> UpdateProjectResponse archiveProject(id) Archive a project @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateProjectResponse200**](UpdateProjectResponse200.md) +[**UpdateProjectResponse**](UpdateProjectResponse.md) ### Authorization @@ -131,7 +131,7 @@ Name | Type | Description | Notes ## deleteProject -> DeleteProjectResponse200 deleteProject(id) +> DeleteProjectResponse deleteProject(id) Delete a project @@ -170,7 +170,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteProjectResponse200**](DeleteProjectResponse200.md) +[**DeleteProjectResponse**](DeleteProjectResponse.md) ### Authorization @@ -184,7 +184,7 @@ Name | Type | Description | Notes ## getProject -> GetProjectResponse200 getProject(id) +> GetProjectResponse getProject(id) Get details of a project @@ -223,7 +223,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectResponse200**](GetProjectResponse200.md) +[**GetProjectResponse**](GetProjectResponse.md) ### Authorization @@ -237,7 +237,7 @@ Name | Type | Description | Notes ## getProjectActivities -> GetActivitiesCollectionResponse200 getProjectActivities(id) +> GetActivitiesCollectionResponse getProjectActivities(id) Returns project activities @@ -276,7 +276,7 @@ Name | Type | Description | Notes ### Return type -[**GetActivitiesCollectionResponse200**](GetActivitiesCollectionResponse200.md) +[**GetActivitiesCollectionResponse**](GetActivitiesCollectionResponse.md) ### Authorization @@ -290,7 +290,7 @@ Name | Type | Description | Notes ## getProjectGroups -> GetProjectGroupsResponse200 getProjectGroups(id) +> GetProjectGroupsResponse getProjectGroups(id) Returns project groups @@ -329,7 +329,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectGroupsResponse200**](GetProjectGroupsResponse200.md) +[**GetProjectGroupsResponse**](GetProjectGroupsResponse.md) ### Authorization @@ -343,7 +343,7 @@ Name | Type | Description | Notes ## getProjectPlan -> GetProjectPlanResponse200 getProjectPlan(id) +> GetProjectPlanResponse getProjectPlan(id) Returns project plan @@ -382,7 +382,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectPlanResponse200**](GetProjectPlanResponse200.md) +[**GetProjectPlanResponse**](GetProjectPlanResponse.md) ### Authorization @@ -396,7 +396,7 @@ Name | Type | Description | Notes ## getProjectTasks -> GetTasksResponse200 getProjectTasks(id) +> GetTasksResponse getProjectTasks(id) Returns project tasks @@ -435,7 +435,7 @@ Name | Type | Description | Notes ### Return type -[**GetTasksResponse200**](GetTasksResponse200.md) +[**GetTasksResponse**](GetTasksResponse.md) ### Authorization @@ -449,7 +449,7 @@ Name | Type | Description | Notes ## getProjects -> GetProjectsResponse200 getProjects(opts) +> GetProjectsResponse getProjects(opts) Get all projects @@ -501,7 +501,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectsResponse200**](GetProjectsResponse200.md) +[**GetProjectsResponse**](GetProjectsResponse.md) ### Authorization @@ -515,7 +515,7 @@ Name | Type | Description | Notes ## getProjectsBoards -> GetProjectBoardsResponse200 getProjectsBoards() +> GetProjectBoardsResponse getProjectsBoards() Get all project boards @@ -550,7 +550,7 @@ This endpoint does not need any parameter. ### Return type -[**GetProjectBoardsResponse200**](GetProjectBoardsResponse200.md) +[**GetProjectBoardsResponse**](GetProjectBoardsResponse.md) ### Authorization @@ -564,7 +564,7 @@ This endpoint does not need any parameter. ## getProjectsPhases -> GetProjectPhasesResponse200 getProjectsPhases(boardId) +> GetProjectPhasesResponse getProjectsPhases(boardId) Get project phases @@ -603,7 +603,7 @@ Name | Type | Description | Notes ### Return type -[**GetProjectPhasesResponse200**](GetProjectPhasesResponse200.md) +[**GetProjectPhasesResponse**](GetProjectPhasesResponse.md) ### Authorization @@ -617,7 +617,7 @@ Name | Type | Description | Notes ## putProjectPlanActivity -> UpdatedActivityPlanItem200 putProjectPlanActivity(id, activityId, opts) +> UpdateActivityPlanItem putProjectPlanActivity(id, activityId, opts) Update activity in project plan @@ -662,7 +662,7 @@ Name | Type | Description | Notes ### Return type -[**UpdatedActivityPlanItem200**](UpdatedActivityPlanItem200.md) +[**UpdateActivityPlanItem**](UpdateActivityPlanItem.md) ### Authorization @@ -676,7 +676,7 @@ Name | Type | Description | Notes ## putProjectPlanTask -> UpdatedTaskPlanItem200 putProjectPlanTask(id, taskId, opts) +> UpdateTaskPlanItem putProjectPlanTask(id, taskId, opts) Update task in project plan @@ -721,7 +721,7 @@ Name | Type | Description | Notes ### Return type -[**UpdatedTaskPlanItem200**](UpdatedTaskPlanItem200.md) +[**UpdateTaskPlanItem**](UpdateTaskPlanItem.md) ### Authorization @@ -735,7 +735,7 @@ Name | Type | Description | Notes ## updateProject -> UpdateProjectResponse200 updateProject(id, opts) +> UpdateProjectResponse updateProject(id, opts) Update a project @@ -778,7 +778,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateProjectResponse200**](UpdateProjectResponse200.md) +[**UpdateProjectResponse**](UpdateProjectResponse.md) ### Authorization diff --git a/docs/StagesApi.md b/docs/StagesApi.md index 0f63cd92..a715590d 100644 --- a/docs/StagesApi.md +++ b/docs/StagesApi.md @@ -71,7 +71,7 @@ Name | Type | Description | Notes ## deleteStage -> DeleteStageResponse200 deleteStage(id) +> DeleteStageResponse deleteStage(id) Delete a stage @@ -110,7 +110,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteStageResponse200**](DeleteStageResponse200.md) +[**DeleteStageResponse**](DeleteStageResponse.md) ### Authorization @@ -124,7 +124,7 @@ Name | Type | Description | Notes ## deleteStages -> DeleteStagesResponse200 deleteStages(ids) +> DeleteStagesResponse deleteStages(ids) Delete multiple stages in bulk @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteStagesResponse200**](DeleteStagesResponse200.md) +[**DeleteStagesResponse**](DeleteStagesResponse.md) ### Authorization diff --git a/docs/TasksApi.md b/docs/TasksApi.md index de75e689..19b68758 100644 --- a/docs/TasksApi.md +++ b/docs/TasksApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description ## addTask -> AddTaskResponse201 addTask(opts) +> AddTaskResponse addTask(opts) Add a task @@ -55,7 +55,7 @@ Name | Type | Description | Notes ### Return type -[**AddTaskResponse201**](AddTaskResponse201.md) +[**AddTaskResponse**](AddTaskResponse.md) ### Authorization @@ -69,7 +69,7 @@ Name | Type | Description | Notes ## deleteTask -> DeleteTaskResponse200 deleteTask(id) +> DeleteTaskResponse deleteTask(id) Delete a task @@ -108,7 +108,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTaskResponse200**](DeleteTaskResponse200.md) +[**DeleteTaskResponse**](DeleteTaskResponse.md) ### Authorization @@ -122,7 +122,7 @@ Name | Type | Description | Notes ## getTask -> GetTaskResponse200 getTask(id) +> GetTaskResponse getTask(id) Get details of a task @@ -161,7 +161,7 @@ Name | Type | Description | Notes ### Return type -[**GetTaskResponse200**](GetTaskResponse200.md) +[**GetTaskResponse**](GetTaskResponse.md) ### Authorization @@ -175,7 +175,7 @@ Name | Type | Description | Notes ## getTasks -> GetTasksResponse200 getTasks(opts) +> GetTasksResponse getTasks(opts) Get all tasks @@ -227,7 +227,7 @@ Name | Type | Description | Notes ### Return type -[**GetTasksResponse200**](GetTasksResponse200.md) +[**GetTasksResponse**](GetTasksResponse.md) ### Authorization @@ -241,7 +241,7 @@ Name | Type | Description | Notes ## updateTask -> UpdateTaskResponse200 updateTask(id, opts) +> UpdateTaskResponse updateTask(id, opts) Update a task @@ -284,7 +284,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTaskResponse200**](UpdateTaskResponse200.md) +[**UpdateTaskResponse**](UpdateTaskResponse.md) ### Authorization diff --git a/docs/UpdateActivityPlanItem.md b/docs/UpdateActivityPlanItem.md new file mode 100644 index 00000000..171ed9f3 --- /dev/null +++ b/docs/UpdateActivityPlanItem.md @@ -0,0 +1,11 @@ +# Pipedrive.UpdateActivityPlanItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectPlanItemObject**](ProjectPlanItemObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/UpdateActivityResponse.md b/docs/UpdateActivityResponse.md new file mode 100644 index 00000000..10db0dce --- /dev/null +++ b/docs/UpdateActivityResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.UpdateActivityResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ActivityResponseObject**](ActivityResponseObject.md) | | [optional] +**related_objects** | [**AddActivityResponseRelatedObjects**](AddActivityResponseRelatedObjects.md) | | [optional] + + diff --git a/docs/UpdateProductResponse.md b/docs/UpdateProductResponse.md index 39720531..8ff6da3c 100644 --- a/docs/UpdateProductResponse.md +++ b/docs/UpdateProductResponse.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **success** | **Boolean** | If the response is successful or not | [optional] **data** | [**ProductWithArrayPrices**](ProductWithArrayPrices.md) | | [optional] -**related_objects** | [**GetActivitiesResponse200RelatedObjects**](GetActivitiesResponse200RelatedObjects.md) | | [optional] +**related_objects** | [**GetActivitiesResponseRelatedObjects**](GetActivitiesResponseRelatedObjects.md) | | [optional] diff --git a/docs/UpdateProjectResponse.md b/docs/UpdateProjectResponse.md new file mode 100644 index 00000000..7f943b96 --- /dev/null +++ b/docs/UpdateProjectResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.UpdateProjectResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectResponseObject**](ProjectResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/UpdateTaskPlanItem.md b/docs/UpdateTaskPlanItem.md new file mode 100644 index 00000000..cbaf1b80 --- /dev/null +++ b/docs/UpdateTaskPlanItem.md @@ -0,0 +1,11 @@ +# Pipedrive.UpdateTaskPlanItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**ProjectPlanItemObject**](ProjectPlanItemObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/UpdateTaskResponse.md b/docs/UpdateTaskResponse.md new file mode 100644 index 00000000..99aa5e8e --- /dev/null +++ b/docs/UpdateTaskResponse.md @@ -0,0 +1,11 @@ +# Pipedrive.UpdateTaskResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**TaskResponseObject**](TaskResponseObject.md) | | [optional] +**additional_data** | **Object** | | [optional] + + diff --git a/docs/UpsertGoalResponse.md b/docs/UpsertGoalResponse.md new file mode 100644 index 00000000..1416f153 --- /dev/null +++ b/docs/UpsertGoalResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.UpsertGoalResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | If the request was successful or not | [optional] +**data** | [**PostGoalResponse**](PostGoalResponse.md) | | [optional] + + diff --git a/docs/UpsertLeadLabelResponse.md b/docs/UpsertLeadLabelResponse.md new file mode 100644 index 00000000..809acf36 --- /dev/null +++ b/docs/UpsertLeadLabelResponse.md @@ -0,0 +1,10 @@ +# Pipedrive.UpsertLeadLabelResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **Boolean** | | [optional] +**data** | [**LeadLabelResponse**](LeadLabelResponse.md) | | [optional] + + diff --git a/src/api/ActivitiesApi.js b/src/api/ActivitiesApi.js index e2338709..64a1ab7b 100644 --- a/src/api/ActivitiesApi.js +++ b/src/api/ActivitiesApi.js @@ -15,15 +15,15 @@ import ApiClient from "../ApiClient"; import ActivityPostObject from '../model/ActivityPostObject'; import ActivityPutObject from '../model/ActivityPutObject'; -import AddActivityResponse200 from '../model/AddActivityResponse200'; -import DeleteActivitiesResponse200 from '../model/DeleteActivitiesResponse200'; -import DeleteActivityResponse200 from '../model/DeleteActivityResponse200'; +import AddActivityResponse from '../model/AddActivityResponse'; +import DeleteActivitiesResponse from '../model/DeleteActivitiesResponse'; +import DeleteActivityResponse from '../model/DeleteActivityResponse'; import FailResponse from '../model/FailResponse'; -import GetActivitiesCollectionResponse200 from '../model/GetActivitiesCollectionResponse200'; -import GetActivitiesResponse200 from '../model/GetActivitiesResponse200'; -import GetActivityResponse200 from '../model/GetActivityResponse200'; +import GetActivitiesCollectionResponse from '../model/GetActivitiesCollectionResponse'; +import GetActivitiesResponse from '../model/GetActivitiesResponse'; +import GetActivityResponse from '../model/GetActivityResponse'; import NumberBoolean from '../model/NumberBoolean'; -import UpdateActivityResponse200 from '../model/UpdateActivityResponse200'; +import UpdateActivityResponse from '../model/UpdateActivityResponse'; /** * Activities service. @@ -50,7 +50,7 @@ export default class ActivitiesApi { * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for adding an activity.

***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync*** * @param {Object} opts Optional parameters * @param {module:model/ActivityPostObject} opts.activityPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddActivityResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddActivityResponse} and HTTP response */ addActivityWithHttpInfo(opts) { opts = opts || {}; @@ -85,7 +85,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddActivityResponse200; + let returnType = AddActivityResponse; return this.apiClient.callApi( '/activities', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -98,7 +98,7 @@ export default class ActivitiesApi { * Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for adding an activity.

***Starting from 30.09.2024, activity attendees will receive updates only if the activity owner has an active calendar sync*** * @param {Object} opts Optional parameters * @param {module:model/ActivityPostObject} opts.activityPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddActivityResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddActivityResponse} */ addActivity(opts) { return this.addActivityWithHttpInfo(opts) @@ -112,7 +112,7 @@ export default class ActivitiesApi { * Delete multiple activities in bulk * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. * @param {String} ids The comma-separated IDs of activities that will be deleted - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteActivitiesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteActivitiesResponse} and HTTP response */ deleteActivitiesWithHttpInfo(ids) { const opts = {} @@ -152,7 +152,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteActivitiesResponse200; + let returnType = DeleteActivitiesResponse; return this.apiClient.callApi( '/activities', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -164,7 +164,7 @@ export default class ActivitiesApi { * Delete multiple activities in bulk * Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. * @param {String} ids The comma-separated IDs of activities that will be deleted - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteActivitiesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteActivitiesResponse} */ deleteActivities(ids) { return this.deleteActivitiesWithHttpInfo(ids) @@ -178,7 +178,7 @@ export default class ActivitiesApi { * Delete an activity * Marks an activity as deleted. After 30 days, the activity will be permanently deleted. * @param {Number} id The ID of the activity - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteActivityResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteActivityResponse} and HTTP response */ deleteActivityWithHttpInfo(id) { const opts = {} @@ -218,7 +218,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteActivityResponse200; + let returnType = DeleteActivityResponse; return this.apiClient.callApi( '/activities/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -230,7 +230,7 @@ export default class ActivitiesApi { * Delete an activity * Marks an activity as deleted. After 30 days, the activity will be permanently deleted. * @param {Number} id The ID of the activity - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteActivityResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteActivityResponse} */ deleteActivity(id) { return this.deleteActivityWithHttpInfo(id) @@ -252,7 +252,7 @@ export default class ActivitiesApi { * @param {Date} opts.startDate Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format. * @param {Date} opts.endDate Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format. * @param {module:model/NumberBoolean} opts.done Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesResponse} and HTTP response */ getActivitiesWithHttpInfo(opts) { opts = opts || {}; @@ -302,7 +302,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetActivitiesResponse200; + let returnType = GetActivitiesResponse; return this.apiClient.callApi( '/activities', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -322,7 +322,7 @@ export default class ActivitiesApi { * @param {Date} opts.startDate Use the activity due date where you wish to begin fetching activities from. Insert due date in YYYY-MM-DD format. * @param {Date} opts.endDate Use the activity due date where you wish to stop fetching activities from. Insert due date in YYYY-MM-DD format. * @param {module:model/NumberBoolean} opts.done Whether the activity is done or not. 0 = Not done, 1 = Done. If omitted returns both done and not done activities. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesResponse} */ getActivities(opts) { return this.getActivitiesWithHttpInfo(opts) @@ -343,7 +343,7 @@ export default class ActivitiesApi { * @param {Number} opts.userId The ID of the user whose activities will be fetched. If omitted, all activities are returned. * @param {Boolean} opts.done Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities. * @param {String} opts.type The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse} and HTTP response */ getActivitiesCollectionWithHttpInfo(opts) { opts = opts || {}; @@ -391,7 +391,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetActivitiesCollectionResponse200; + let returnType = GetActivitiesCollectionResponse; return this.apiClient.callApi( '/activities/collection', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -410,7 +410,7 @@ export default class ActivitiesApi { * @param {Number} opts.userId The ID of the user whose activities will be fetched. If omitted, all activities are returned. * @param {Boolean} opts.done Whether the activity is done or not. `false` = Not done, `true` = Done. If omitted, returns both done and not done activities. * @param {String} opts.type The type of the activity, can be one type or multiple types separated by a comma. This is in correlation with the `key_string` parameter of ActivityTypes. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse} */ getActivitiesCollection(opts) { return this.getActivitiesCollectionWithHttpInfo(opts) @@ -424,7 +424,7 @@ export default class ActivitiesApi { * Get details of an activity * Returns the details of a specific activity. * @param {Number} id The ID of the activity - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivityResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivityResponse} and HTTP response */ getActivityWithHttpInfo(id) { const opts = {} @@ -464,7 +464,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetActivityResponse200; + let returnType = GetActivityResponse; return this.apiClient.callApi( '/activities/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -476,7 +476,7 @@ export default class ActivitiesApi { * Get details of an activity * Returns the details of a specific activity. * @param {Number} id The ID of the activity - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivityResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivityResponse} */ getActivity(id) { return this.getActivityWithHttpInfo(id) @@ -492,7 +492,7 @@ export default class ActivitiesApi { * @param {Number} id The ID of the activity * @param {Object} opts Optional parameters * @param {module:model/ActivityPutObject} opts.activityPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateActivityResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateActivityResponse} and HTTP response */ updateActivityWithHttpInfo(id, opts) { opts = opts || {}; @@ -533,7 +533,7 @@ export default class ActivitiesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdateActivityResponse200; + let returnType = UpdateActivityResponse; return this.apiClient.callApi( '/activities/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -547,7 +547,7 @@ export default class ActivitiesApi { * @param {Number} id The ID of the activity * @param {Object} opts Optional parameters * @param {module:model/ActivityPutObject} opts.activityPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateActivityResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateActivityResponse} */ updateActivity(id, opts) { return this.updateActivityWithHttpInfo(id, opts) diff --git a/src/api/CallLogsApi.js b/src/api/CallLogsApi.js index fe3ab92c..8d34c63b 100644 --- a/src/api/CallLogsApi.js +++ b/src/api/CallLogsApi.js @@ -14,14 +14,14 @@ import ApiClient from "../ApiClient"; import BaseResponse from '../model/BaseResponse'; +import CallLogBadRequestResponse from '../model/CallLogBadRequestResponse'; +import CallLogConflictResponse from '../model/CallLogConflictResponse'; +import CallLogForbiddenResponse from '../model/CallLogForbiddenResponse'; +import CallLogGoneResponse from '../model/CallLogGoneResponse'; +import CallLogInternalErrorResponse from '../model/CallLogInternalErrorResponse'; +import CallLogNotFoundResponse from '../model/CallLogNotFoundResponse'; import CallLogObject from '../model/CallLogObject'; import CallLogResponse200 from '../model/CallLogResponse200'; -import CallLogResponse400 from '../model/CallLogResponse400'; -import CallLogResponse403 from '../model/CallLogResponse403'; -import CallLogResponse404 from '../model/CallLogResponse404'; -import CallLogResponse409 from '../model/CallLogResponse409'; -import CallLogResponse410 from '../model/CallLogResponse410'; -import CallLogResponse500 from '../model/CallLogResponse500'; import CallLogsResponse from '../model/CallLogsResponse'; /** diff --git a/src/api/DealsApi.js b/src/api/DealsApi.js index 2bcafc1f..28ea1364 100644 --- a/src/api/DealsApi.js +++ b/src/api/DealsApi.js @@ -27,7 +27,7 @@ import DeleteDealParticipant from '../model/DeleteDealParticipant'; import DeleteDealProduct from '../model/DeleteDealProduct'; import DeleteMultipleDeals from '../model/DeleteMultipleDeals'; import FailResponse from '../model/FailResponse'; -import GetAddProductAttachementDetails from '../model/GetAddProductAttachementDetails'; +import GetAddProductAttachmentDetails from '../model/GetAddProductAttachmentDetails'; import GetAddedDeal from '../model/GetAddedDeal'; import GetDeal from '../model/GetDeal'; import GetDeals from '../model/GetDeals'; @@ -36,7 +36,7 @@ import GetDealsSummary from '../model/GetDealsSummary'; import GetDealsTimeline from '../model/GetDealsTimeline'; import GetDuplicatedDeal from '../model/GetDuplicatedDeal'; import GetMergedDeal from '../model/GetMergedDeal'; -import GetProductAttachementDetails from '../model/GetProductAttachementDetails'; +import GetProductAttachmentDetails from '../model/GetProductAttachmentDetails'; import ListFilesResponse from '../model/ListFilesResponse'; import ListFollowersResponse from '../model/ListFollowersResponse'; import ListMailMessagesResponse from '../model/ListMailMessagesResponse'; @@ -289,7 +289,7 @@ export default class DealsApi { * @param {Number} id The ID of the deal * @param {Object} opts Optional parameters * @param {module:model/NewDealProduct} opts.newDealProduct - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAddProductAttachementDetails} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAddProductAttachmentDetails} and HTTP response */ addDealProductWithHttpInfo(id, opts) { opts = opts || {}; @@ -330,7 +330,7 @@ export default class DealsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetAddProductAttachementDetails; + let returnType = GetAddProductAttachmentDetails; return this.apiClient.callApi( '/deals/{id}/products', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -344,7 +344,7 @@ export default class DealsApi { * @param {Number} id The ID of the deal * @param {Object} opts Optional parameters * @param {module:model/NewDealProduct} opts.newDealProduct - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAddProductAttachementDetails} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAddProductAttachmentDetails} */ addDealProduct(id, opts) { return this.addDealProductWithHttpInfo(id, opts) @@ -2300,7 +2300,7 @@ export default class DealsApi { * @param {Number} productAttachmentId The ID of the deal-product (the ID of the product attached to the deal) * @param {Object} opts Optional parameters * @param {module:model/UpdateDealProduct} opts.updateDealProduct - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProductAttachementDetails} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProductAttachmentDetails} and HTTP response */ updateDealProductWithHttpInfo(id, productAttachmentId, opts) { opts = opts || {}; @@ -2347,7 +2347,7 @@ export default class DealsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProductAttachementDetails; + let returnType = GetProductAttachmentDetails; return this.apiClient.callApi( '/deals/{id}/products/{product_attachment_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -2362,7 +2362,7 @@ export default class DealsApi { * @param {Number} productAttachmentId The ID of the deal-product (the ID of the product attached to the deal) * @param {Object} opts Optional parameters * @param {module:model/UpdateDealProduct} opts.updateDealProduct - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProductAttachementDetails} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProductAttachmentDetails} */ updateDealProduct(id, productAttachmentId, opts) { return this.updateDealProductWithHttpInfo(id, productAttachmentId, opts) diff --git a/src/api/GoalsApi.js b/src/api/GoalsApi.js index 55453cb9..edc74a3e 100644 --- a/src/api/GoalsApi.js +++ b/src/api/GoalsApi.js @@ -13,12 +13,12 @@ import ApiClient from "../ApiClient"; -import AddOrUpdateGoalResponse200 from '../model/AddOrUpdateGoalResponse200'; import BasicGoal from '../model/BasicGoal'; -import DeleteGoalResponse200 from '../model/DeleteGoalResponse200'; -import GetGoalResultResponse200 from '../model/GetGoalResultResponse200'; -import GetGoalsResponse200 from '../model/GetGoalsResponse200'; +import DeleteGoalResponse from '../model/DeleteGoalResponse'; +import GetGoalResultResponse from '../model/GetGoalResultResponse'; +import GetGoalsResponse from '../model/GetGoalsResponse'; import NewGoal from '../model/NewGoal'; +import UpsertGoalResponse from '../model/UpsertGoalResponse'; /** * Goals service. @@ -45,7 +45,7 @@ export default class GoalsApi { * Adds a new goal. Along with adding a new goal, a report is created to track the progress of your goal. * @param {Object} opts Optional parameters * @param {module:model/NewGoal} opts.newGoal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateGoalResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertGoalResponse} and HTTP response */ addGoalWithHttpInfo(opts) { opts = opts || {}; @@ -95,7 +95,7 @@ export default class GoalsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddOrUpdateGoalResponse200; + let returnType = UpsertGoalResponse; return this.apiClient.callApi( '/goals', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -108,7 +108,7 @@ export default class GoalsApi { * Adds a new goal. Along with adding a new goal, a report is created to track the progress of your goal. * @param {Object} opts Optional parameters * @param {module:model/NewGoal} opts.newGoal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateGoalResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertGoalResponse} */ addGoal(opts) { return this.addGoalWithHttpInfo(opts) @@ -122,7 +122,7 @@ export default class GoalsApi { * Delete existing goal * Marks a goal as deleted. * @param {String} id The ID of the goal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteGoalResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteGoalResponse} and HTTP response */ deleteGoalWithHttpInfo(id) { const opts = {} @@ -162,7 +162,7 @@ export default class GoalsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteGoalResponse200; + let returnType = DeleteGoalResponse; return this.apiClient.callApi( '/goals/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -174,7 +174,7 @@ export default class GoalsApi { * Delete existing goal * Marks a goal as deleted. * @param {String} id The ID of the goal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteGoalResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteGoalResponse} */ deleteGoal(id) { return this.deleteGoalWithHttpInfo(id) @@ -190,7 +190,7 @@ export default class GoalsApi { * @param {String} id The ID of the goal that the results are looked for * @param {Date} periodStart The start date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date. * @param {Date} periodEnd The end date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalResultResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalResultResponse} and HTTP response */ getGoalResultWithHttpInfo(id, periodStart, periodEnd) { const opts = {} @@ -242,7 +242,7 @@ export default class GoalsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetGoalResultResponse200; + let returnType = GetGoalResultResponse; return this.apiClient.callApi( '/goals/{id}/results', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -256,7 +256,7 @@ export default class GoalsApi { * @param {String} id The ID of the goal that the results are looked for * @param {Date} periodStart The start date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date. * @param {Date} periodEnd The end date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalResultResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalResultResponse} */ getGoalResult(id, periodStart, periodEnd) { return this.getGoalResultWithHttpInfo(id, periodStart, periodEnd) @@ -283,7 +283,7 @@ export default class GoalsApi { * @param {Array.} opts.typeParamsActivityTypeId An array of IDs or `null` for all activity types. Only applicable for `activities_completed` and/or `activities_added` types of goals. If provided, everyone's goals will be returned. * @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too. * @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalsResponse} and HTTP response */ getGoalsWithHttpInfo(opts) { opts = opts || {}; @@ -343,7 +343,7 @@ export default class GoalsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetGoalsResponse200; + let returnType = GetGoalsResponse; return this.apiClient.callApi( '/goals/find', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -368,7 +368,7 @@ export default class GoalsApi { * @param {Array.} opts.typeParamsActivityTypeId An array of IDs or `null` for all activity types. Only applicable for `activities_completed` and/or `activities_added` types of goals. If provided, everyone's goals will be returned. * @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too. * @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalsResponse} */ getGoals(opts) { return this.getGoalsWithHttpInfo(opts) @@ -384,7 +384,7 @@ export default class GoalsApi { * @param {String} id The ID of the goal * @param {Object} opts Optional parameters * @param {module:model/BasicGoal} opts.basicGoal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateGoalResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertGoalResponse} and HTTP response */ updateGoalWithHttpInfo(id, opts) { opts = opts || {}; @@ -425,7 +425,7 @@ export default class GoalsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddOrUpdateGoalResponse200; + let returnType = UpsertGoalResponse; return this.apiClient.callApi( '/goals/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -439,7 +439,7 @@ export default class GoalsApi { * @param {String} id The ID of the goal * @param {Object} opts Optional parameters * @param {module:model/BasicGoal} opts.basicGoal - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateGoalResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertGoalResponse} */ updateGoal(id, opts) { return this.updateGoalWithHttpInfo(id, opts) diff --git a/src/api/LeadLabelsApi.js b/src/api/LeadLabelsApi.js index cc8503d5..372c7738 100644 --- a/src/api/LeadLabelsApi.js +++ b/src/api/LeadLabelsApi.js @@ -14,11 +14,11 @@ import ApiClient from "../ApiClient"; import AddLeadLabelRequest from '../model/AddLeadLabelRequest'; -import AddOrUpdateLeadLabelResponse200 from '../model/AddOrUpdateLeadLabelResponse200'; -import GetLeadLabelsResponse200 from '../model/GetLeadLabelsResponse200'; -import LeadIdResponse200 from '../model/LeadIdResponse200'; -import LeadResponse404 from '../model/LeadResponse404'; +import DeleteLeadIdResponse from '../model/DeleteLeadIdResponse'; +import GetLeadLabelsResponse from '../model/GetLeadLabelsResponse'; +import LeadNotFoundResponse from '../model/LeadNotFoundResponse'; import UpdateLeadLabelRequest from '../model/UpdateLeadLabelRequest'; +import UpsertLeadLabelResponse from '../model/UpsertLeadLabelResponse'; /** * LeadLabels service. @@ -45,7 +45,7 @@ export default class LeadLabelsApi { * Creates a lead label. * @param {Object} opts Optional parameters * @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateLeadLabelResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertLeadLabelResponse} and HTTP response */ addLeadLabelWithHttpInfo(opts) { opts = opts || {}; @@ -86,7 +86,7 @@ export default class LeadLabelsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddOrUpdateLeadLabelResponse200; + let returnType = UpsertLeadLabelResponse; return this.apiClient.callApi( '/leadLabels', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -99,7 +99,7 @@ export default class LeadLabelsApi { * Creates a lead label. * @param {Object} opts Optional parameters * @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateLeadLabelResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertLeadLabelResponse} */ addLeadLabel(opts) { return this.addLeadLabelWithHttpInfo(opts) @@ -113,7 +113,7 @@ export default class LeadLabelsApi { * Delete a lead label * Deletes a specific lead label. * @param {String} id The ID of the lead label - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LeadIdResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteLeadIdResponse} and HTTP response */ deleteLeadLabelWithHttpInfo(id) { const opts = {} @@ -153,7 +153,7 @@ export default class LeadLabelsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = LeadIdResponse200; + let returnType = DeleteLeadIdResponse; return this.apiClient.callApi( '/leadLabels/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -165,7 +165,7 @@ export default class LeadLabelsApi { * Delete a lead label * Deletes a specific lead label. * @param {String} id The ID of the lead label - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LeadIdResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteLeadIdResponse} */ deleteLeadLabel(id) { return this.deleteLeadLabelWithHttpInfo(id) @@ -178,7 +178,7 @@ export default class LeadLabelsApi { /** * Get all lead labels * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadLabelsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadLabelsResponse} and HTTP response */ getLeadLabelsWithHttpInfo() { const opts = {} @@ -212,7 +212,7 @@ export default class LeadLabelsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetLeadLabelsResponse200; + let returnType = GetLeadLabelsResponse; return this.apiClient.callApi( '/leadLabels', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -223,7 +223,7 @@ export default class LeadLabelsApi { /** * Get all lead labels * Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadLabelsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadLabelsResponse} */ getLeadLabels() { return this.getLeadLabelsWithHttpInfo() @@ -239,7 +239,7 @@ export default class LeadLabelsApi { * @param {String} id The ID of the lead label * @param {Object} opts Optional parameters * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddOrUpdateLeadLabelResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertLeadLabelResponse} and HTTP response */ updateLeadLabelWithHttpInfo(id, opts) { opts = opts || {}; @@ -280,7 +280,7 @@ export default class LeadLabelsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddOrUpdateLeadLabelResponse200; + let returnType = UpsertLeadLabelResponse; return this.apiClient.callApi( '/leadLabels/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, @@ -294,7 +294,7 @@ export default class LeadLabelsApi { * @param {String} id The ID of the lead label * @param {Object} opts Optional parameters * @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddOrUpdateLeadLabelResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertLeadLabelResponse} */ updateLeadLabel(id, opts) { return this.updateLeadLabelWithHttpInfo(id, opts) diff --git a/src/api/LeadSourcesApi.js b/src/api/LeadSourcesApi.js index 13573ecc..c54da6b9 100644 --- a/src/api/LeadSourcesApi.js +++ b/src/api/LeadSourcesApi.js @@ -13,7 +13,7 @@ import ApiClient from "../ApiClient"; -import GetLeadSourcesResponse200 from '../model/GetLeadSourcesResponse200'; +import GetLeadsSourceResponse from '../model/GetLeadsSourceResponse'; /** * LeadSources service. @@ -38,7 +38,7 @@ export default class LeadSourcesApi { /** * Get all lead sources * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadSourcesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsSourceResponse} and HTTP response */ getLeadSourcesWithHttpInfo() { const opts = {} @@ -72,7 +72,7 @@ export default class LeadSourcesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetLeadSourcesResponse200; + let returnType = GetLeadsSourceResponse; return this.apiClient.callApi( '/leadSources', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -83,7 +83,7 @@ export default class LeadSourcesApi { /** * Get all lead sources * Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadSourcesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsSourceResponse} */ getLeadSources() { return this.getLeadSourcesWithHttpInfo() diff --git a/src/api/LeadsApi.js b/src/api/LeadsApi.js index 57ee71ca..be2fa1fb 100644 --- a/src/api/LeadsApi.js +++ b/src/api/LeadsApi.js @@ -14,11 +14,11 @@ import ApiClient from "../ApiClient"; import AddLeadRequest from '../model/AddLeadRequest'; -import GetLeadsResponse200 from '../model/GetLeadsResponse200'; -import LeadIdResponse200 from '../model/LeadIdResponse200'; -import LeadResponse404 from '../model/LeadResponse404'; +import GetLeadIdResponse from '../model/GetLeadIdResponse'; +import GetLeadResponse from '../model/GetLeadResponse'; +import GetLeadsResponse from '../model/GetLeadsResponse'; +import LeadNotFoundResponse from '../model/LeadNotFoundResponse'; import LeadSearchResponse from '../model/LeadSearchResponse'; -import OneLeadResponse200 from '../model/OneLeadResponse200'; import UpdateLeadRequest from '../model/UpdateLeadRequest'; import UserIDs from '../model/UserIDs'; @@ -47,7 +47,7 @@ export default class LeadsApi { * Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source and origin set to `API`. Here's the tutorial for adding a lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the updating custom fields' values tutorial. * @param {Object} opts Optional parameters * @param {module:model/AddLeadRequest} opts.addLeadRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response */ addLeadWithHttpInfo(opts) { opts = opts || {}; @@ -85,7 +85,7 @@ export default class LeadsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = OneLeadResponse200; + let returnType = GetLeadResponse; return this.apiClient.callApi( '/leads', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -98,7 +98,7 @@ export default class LeadsApi { * Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source and origin set to `API`. Here's the tutorial for adding a lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the updating custom fields' values tutorial. * @param {Object} opts Optional parameters * @param {module:model/AddLeadRequest} opts.addLeadRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse} */ addLead(opts) { return this.addLeadWithHttpInfo(opts) @@ -112,7 +112,7 @@ export default class LeadsApi { * Delete a lead * Deletes a specific lead. * @param {String} id The ID of the lead - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/LeadIdResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadIdResponse} and HTTP response */ deleteLeadWithHttpInfo(id) { const opts = {} @@ -152,7 +152,7 @@ export default class LeadsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = LeadIdResponse200; + let returnType = GetLeadIdResponse; return this.apiClient.callApi( '/leads/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -164,7 +164,7 @@ export default class LeadsApi { * Delete a lead * Deletes a specific lead. * @param {String} id The ID of the lead - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/LeadIdResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadIdResponse} */ deleteLead(id) { return this.deleteLeadWithHttpInfo(id) @@ -178,7 +178,7 @@ export default class LeadsApi { * Get one lead * Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals. * @param {String} id The ID of the lead - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response */ getLeadWithHttpInfo(id) { const opts = {} @@ -218,7 +218,7 @@ export default class LeadsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = OneLeadResponse200; + let returnType = GetLeadResponse; return this.apiClient.callApi( '/leads/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -230,7 +230,7 @@ export default class LeadsApi { * Get one lead * Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals. * @param {String} id The ID of the lead - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse} */ getLead(id) { return this.getLeadWithHttpInfo(id) @@ -318,7 +318,7 @@ export default class LeadsApi { * @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied. * @param {Number} opts.filterId The ID of the filter to use * @param {module:model/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). - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsResponse} and HTTP response */ getLeadsWithHttpInfo(opts) { opts = opts || {}; @@ -368,7 +368,7 @@ export default class LeadsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetLeadsResponse200; + let returnType = GetLeadsResponse; return this.apiClient.callApi( '/leads', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -388,7 +388,7 @@ export default class LeadsApi { * @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied. * @param {Number} opts.filterId The ID of the filter to use * @param {module:model/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). - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsResponse} */ getLeads(opts) { return this.getLeadsWithHttpInfo(opts) @@ -500,7 +500,7 @@ export default class LeadsApi { * @param {String} id The ID of the lead * @param {Object} opts Optional parameters * @param {module:model/UpdateLeadRequest} opts.updateLeadRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OneLeadResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response */ updateLeadWithHttpInfo(id, opts) { opts = opts || {}; @@ -541,7 +541,7 @@ export default class LeadsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = OneLeadResponse200; + let returnType = GetLeadResponse; return this.apiClient.callApi( '/leads/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, @@ -555,7 +555,7 @@ export default class LeadsApi { * @param {String} id The ID of the lead * @param {Object} opts Optional parameters * @param {module:model/UpdateLeadRequest} opts.updateLeadRequest - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OneLeadResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse} */ updateLead(id, opts) { return this.updateLeadWithHttpInfo(id, opts) diff --git a/src/api/PipelinesApi.js b/src/api/PipelinesApi.js index 3e3ab938..98f6e91c 100644 --- a/src/api/PipelinesApi.js +++ b/src/api/PipelinesApi.js @@ -14,7 +14,7 @@ import ApiClient from "../ApiClient"; import AddNewPipeline from '../model/AddNewPipeline'; -import DeletePipelineResponse200 from '../model/DeletePipelineResponse200'; +import DeletePipelineResponse from '../model/DeletePipelineResponse'; import EditPipeline from '../model/EditPipeline'; import GetAllPipelines from '../model/GetAllPipelines'; import GetDealsConversionRatesInPipeline from '../model/GetDealsConversionRatesInPipeline'; @@ -111,7 +111,7 @@ export default class PipelinesApi { * Delete a pipeline * Marks a pipeline as deleted. * @param {Number} id The ID of the pipeline - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeletePipelineResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeletePipelineResponse} and HTTP response */ deletePipelineWithHttpInfo(id) { const opts = {} @@ -151,7 +151,7 @@ export default class PipelinesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeletePipelineResponse200; + let returnType = DeletePipelineResponse; return this.apiClient.callApi( '/pipelines/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -163,7 +163,7 @@ export default class PipelinesApi { * Delete a pipeline * Marks a pipeline as deleted. * @param {Number} id The ID of the pipeline - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeletePipelineResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeletePipelineResponse} */ deletePipeline(id) { return this.deletePipelineWithHttpInfo(id) diff --git a/src/api/ProjectTemplatesApi.js b/src/api/ProjectTemplatesApi.js index fb92f183..a71dd413 100644 --- a/src/api/ProjectTemplatesApi.js +++ b/src/api/ProjectTemplatesApi.js @@ -13,10 +13,10 @@ import ApiClient from "../ApiClient"; -import GetProjectBoardResponse200 from '../model/GetProjectBoardResponse200'; -import GetProjectPhaseResponse200 from '../model/GetProjectPhaseResponse200'; -import GetProjectTemplateResponse200 from '../model/GetProjectTemplateResponse200'; -import GetProjectTemplatesResponse200 from '../model/GetProjectTemplatesResponse200'; +import GetProjectBoardResponse from '../model/GetProjectBoardResponse'; +import GetProjectPhaseResponse from '../model/GetProjectPhaseResponse'; +import GetProjectTemplateResponse from '../model/GetProjectTemplateResponse'; +import GetProjectTemplatesResponse from '../model/GetProjectTemplatesResponse'; /** * ProjectTemplates service. @@ -42,7 +42,7 @@ export default class ProjectTemplatesApi { * Get details of a template * Returns the details of a specific project template. * @param {Number} id The ID of the project template - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplateResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplateResponse} and HTTP response */ getProjectTemplateWithHttpInfo(id) { const opts = {} @@ -82,7 +82,7 @@ export default class ProjectTemplatesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectTemplateResponse200; + let returnType = GetProjectTemplateResponse; return this.apiClient.callApi( '/projectTemplates/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -94,7 +94,7 @@ export default class ProjectTemplatesApi { * Get details of a template * Returns the details of a specific project template. * @param {Number} id The ID of the project template - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplateResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplateResponse} */ getProjectTemplate(id) { return this.getProjectTemplateWithHttpInfo(id) @@ -110,7 +110,7 @@ export default class ProjectTemplatesApi { * @param {Object} opts Optional parameters * @param {String} opts.cursor For pagination, the marker (an opaque string value) representing the first item on the next page * @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplatesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplatesResponse} and HTTP response */ getProjectTemplatesWithHttpInfo(opts) { opts = opts || {}; @@ -148,7 +148,7 @@ export default class ProjectTemplatesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectTemplatesResponse200; + let returnType = GetProjectTemplatesResponse; return this.apiClient.callApi( '/projectTemplates', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -162,7 +162,7 @@ export default class ProjectTemplatesApi { * @param {Object} opts Optional parameters * @param {String} opts.cursor For pagination, the marker (an opaque string value) representing the first item on the next page * @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplatesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplatesResponse} */ getProjectTemplates(opts) { return this.getProjectTemplatesWithHttpInfo(opts) @@ -176,7 +176,7 @@ export default class ProjectTemplatesApi { * Get details of a board * Returns the details of a specific project board. * @param {Number} id The ID of the project board - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardResponse} and HTTP response */ getProjectsBoardWithHttpInfo(id) { const opts = {} @@ -216,7 +216,7 @@ export default class ProjectTemplatesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectBoardResponse200; + let returnType = GetProjectBoardResponse; return this.apiClient.callApi( '/projects/boards/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -228,7 +228,7 @@ export default class ProjectTemplatesApi { * Get details of a board * Returns the details of a specific project board. * @param {Number} id The ID of the project board - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardResponse} */ getProjectsBoard(id) { return this.getProjectsBoardWithHttpInfo(id) @@ -242,7 +242,7 @@ export default class ProjectTemplatesApi { * Get details of a phase * Returns the details of a specific project phase. * @param {Number} id The ID of the project phase - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhaseResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhaseResponse} and HTTP response */ getProjectsPhaseWithHttpInfo(id) { const opts = {} @@ -282,7 +282,7 @@ export default class ProjectTemplatesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectPhaseResponse200; + let returnType = GetProjectPhaseResponse; return this.apiClient.callApi( '/projects/phases/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -294,7 +294,7 @@ export default class ProjectTemplatesApi { * Get details of a phase * Returns the details of a specific project phase. * @param {Number} id The ID of the project phase - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhaseResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhaseResponse} */ getProjectsPhase(id) { return this.getProjectsPhaseWithHttpInfo(id) diff --git a/src/api/ProjectsApi.js b/src/api/ProjectsApi.js index 9ae02fa6..6bb0e002 100644 --- a/src/api/ProjectsApi.js +++ b/src/api/ProjectsApi.js @@ -13,22 +13,22 @@ import ApiClient from "../ApiClient"; -import AddProjectResponse201 from '../model/AddProjectResponse201'; -import DeleteProjectResponse200 from '../model/DeleteProjectResponse200'; -import GetActivitiesCollectionResponse200 from '../model/GetActivitiesCollectionResponse200'; -import GetProjectBoardsResponse200 from '../model/GetProjectBoardsResponse200'; -import GetProjectGroupsResponse200 from '../model/GetProjectGroupsResponse200'; -import GetProjectPhasesResponse200 from '../model/GetProjectPhasesResponse200'; -import GetProjectPlanResponse200 from '../model/GetProjectPlanResponse200'; -import GetProjectResponse200 from '../model/GetProjectResponse200'; -import GetProjectsResponse200 from '../model/GetProjectsResponse200'; -import GetTasksResponse200 from '../model/GetTasksResponse200'; +import AddProjectResponse from '../model/AddProjectResponse'; +import DeleteProjectResponse from '../model/DeleteProjectResponse'; +import GetActivitiesCollectionResponse from '../model/GetActivitiesCollectionResponse'; +import GetProjectBoardsResponse from '../model/GetProjectBoardsResponse'; +import GetProjectGroupsResponse from '../model/GetProjectGroupsResponse'; +import GetProjectPhasesResponse from '../model/GetProjectPhasesResponse'; +import GetProjectPlanResponse from '../model/GetProjectPlanResponse'; +import GetProjectResponse from '../model/GetProjectResponse'; +import GetProjectsResponse from '../model/GetProjectsResponse'; +import GetTasksResponse from '../model/GetTasksResponse'; import ProjectPostObject from '../model/ProjectPostObject'; import ProjectPutObject from '../model/ProjectPutObject'; import ProjectPutPlanItemBodyObject from '../model/ProjectPutPlanItemBodyObject'; -import UpdateProjectResponse200 from '../model/UpdateProjectResponse200'; -import UpdatedActivityPlanItem200 from '../model/UpdatedActivityPlanItem200'; -import UpdatedTaskPlanItem200 from '../model/UpdatedTaskPlanItem200'; +import UpdateActivityPlanItem from '../model/UpdateActivityPlanItem'; +import UpdateProjectResponse from '../model/UpdateProjectResponse'; +import UpdateTaskPlanItem from '../model/UpdateTaskPlanItem'; /** * Projects service. @@ -55,7 +55,7 @@ export default class ProjectsApi { * Adds a new project. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. * @param {Object} opts Optional parameters * @param {module:model/ProjectPostObject} opts.projectPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddProjectResponse201} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddProjectResponse} and HTTP response */ addProjectWithHttpInfo(opts) { opts = opts || {}; @@ -90,7 +90,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddProjectResponse201; + let returnType = AddProjectResponse; return this.apiClient.callApi( '/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -103,7 +103,7 @@ export default class ProjectsApi { * Adds a new project. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. * @param {Object} opts Optional parameters * @param {module:model/ProjectPostObject} opts.projectPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddProjectResponse201} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddProjectResponse} */ addProject(opts) { return this.addProjectWithHttpInfo(opts) @@ -117,7 +117,7 @@ export default class ProjectsApi { * Archive a project * Archives a project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse} and HTTP response */ archiveProjectWithHttpInfo(id) { const opts = {} @@ -157,7 +157,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdateProjectResponse200; + let returnType = UpdateProjectResponse; return this.apiClient.callApi( '/projects/{id}/archive', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -169,7 +169,7 @@ export default class ProjectsApi { * Archive a project * Archives a project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse} */ archiveProject(id) { return this.archiveProjectWithHttpInfo(id) @@ -183,7 +183,7 @@ export default class ProjectsApi { * Delete a project * Marks a project as deleted. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProjectResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProjectResponse} and HTTP response */ deleteProjectWithHttpInfo(id) { const opts = {} @@ -223,7 +223,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteProjectResponse200; + let returnType = DeleteProjectResponse; return this.apiClient.callApi( '/projects/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -235,7 +235,7 @@ export default class ProjectsApi { * Delete a project * Marks a project as deleted. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProjectResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProjectResponse} */ deleteProject(id) { return this.deleteProjectWithHttpInfo(id) @@ -249,7 +249,7 @@ export default class ProjectsApi { * Get details of a project * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectResponse} and HTTP response */ getProjectWithHttpInfo(id) { const opts = {} @@ -289,7 +289,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectResponse200; + let returnType = GetProjectResponse; return this.apiClient.callApi( '/projects/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -301,7 +301,7 @@ export default class ProjectsApi { * Get details of a project * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectResponse} */ getProject(id) { return this.getProjectWithHttpInfo(id) @@ -315,7 +315,7 @@ export default class ProjectsApi { * Returns project activities * Returns activities linked to a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse} and HTTP response */ getProjectActivitiesWithHttpInfo(id) { const opts = {} @@ -355,7 +355,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetActivitiesCollectionResponse200; + let returnType = GetActivitiesCollectionResponse; return this.apiClient.callApi( '/projects/{id}/activities', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -367,7 +367,7 @@ export default class ProjectsApi { * Returns project activities * Returns activities linked to a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse} */ getProjectActivities(id) { return this.getProjectActivitiesWithHttpInfo(id) @@ -381,7 +381,7 @@ export default class ProjectsApi { * Returns project groups * Returns all active groups under a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectGroupsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectGroupsResponse} and HTTP response */ getProjectGroupsWithHttpInfo(id) { const opts = {} @@ -421,7 +421,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectGroupsResponse200; + let returnType = GetProjectGroupsResponse; return this.apiClient.callApi( '/projects/{id}/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -433,7 +433,7 @@ export default class ProjectsApi { * Returns project groups * Returns all active groups under a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectGroupsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectGroupsResponse} */ getProjectGroups(id) { return this.getProjectGroupsWithHttpInfo(id) @@ -447,7 +447,7 @@ export default class ProjectsApi { * Returns project plan * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPlanResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPlanResponse} and HTTP response */ getProjectPlanWithHttpInfo(id) { const opts = {} @@ -487,7 +487,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectPlanResponse200; + let returnType = GetProjectPlanResponse; return this.apiClient.callApi( '/projects/{id}/plan', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -499,7 +499,7 @@ export default class ProjectsApi { * Returns project plan * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPlanResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPlanResponse} */ getProjectPlan(id) { return this.getProjectPlanWithHttpInfo(id) @@ -513,7 +513,7 @@ export default class ProjectsApi { * Returns project tasks * Returns tasks linked to a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse} and HTTP response */ getProjectTasksWithHttpInfo(id) { const opts = {} @@ -553,7 +553,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetTasksResponse200; + let returnType = GetTasksResponse; return this.apiClient.callApi( '/projects/{id}/tasks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -565,7 +565,7 @@ export default class ProjectsApi { * Returns project tasks * Returns tasks linked to a specific project. * @param {Number} id The ID of the project - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse} */ getProjectTasks(id) { return this.getProjectTasksWithHttpInfo(id) @@ -585,7 +585,7 @@ export default class ProjectsApi { * @param {String} opts.status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. * @param {Number} opts.phaseId If supplied, only projects in specified phase are returned * @param {Boolean} opts.includeArchived If supplied with `true` then archived projects are also included in the response. By default only not archived projects are returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectsResponse} and HTTP response */ getProjectsWithHttpInfo(opts) { opts = opts || {}; @@ -631,7 +631,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectsResponse200; + let returnType = GetProjectsResponse; return this.apiClient.callApi( '/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -649,7 +649,7 @@ export default class ProjectsApi { * @param {String} opts.status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned. * @param {Number} opts.phaseId If supplied, only projects in specified phase are returned * @param {Boolean} opts.includeArchived If supplied with `true` then archived projects are also included in the response. By default only not archived projects are returned. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectsResponse} */ getProjects(opts) { return this.getProjectsWithHttpInfo(opts) @@ -662,7 +662,7 @@ export default class ProjectsApi { /** * Get all project boards * Returns all projects boards that are not deleted. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardsResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardsResponse} and HTTP response */ getProjectsBoardsWithHttpInfo() { const opts = {} @@ -696,7 +696,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectBoardsResponse200; + let returnType = GetProjectBoardsResponse; return this.apiClient.callApi( '/projects/boards', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -707,7 +707,7 @@ export default class ProjectsApi { /** * Get all project boards * Returns all projects boards that are not deleted. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardsResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardsResponse} */ getProjectsBoards() { return this.getProjectsBoardsWithHttpInfo() @@ -721,7 +721,7 @@ export default class ProjectsApi { * Get project phases * Returns all active project phases under a specific board. * @param {Number} boardId ID of the board for which phases are requested - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhasesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhasesResponse} and HTTP response */ getProjectsPhasesWithHttpInfo(boardId) { const opts = {} @@ -761,7 +761,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetProjectPhasesResponse200; + let returnType = GetProjectPhasesResponse; return this.apiClient.callApi( '/projects/phases', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -773,7 +773,7 @@ export default class ProjectsApi { * Get project phases * Returns all active project phases under a specific board. * @param {Number} boardId ID of the board for which phases are requested - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhasesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhasesResponse} */ getProjectsPhases(boardId) { return this.getProjectsPhasesWithHttpInfo(boardId) @@ -790,7 +790,7 @@ export default class ProjectsApi { * @param {Number} activityId The ID of the activity * @param {Object} opts Optional parameters * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdatedActivityPlanItem200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateActivityPlanItem} and HTTP response */ putProjectPlanActivityWithHttpInfo(id, activityId, opts) { opts = opts || {}; @@ -837,7 +837,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdatedActivityPlanItem200; + let returnType = UpdateActivityPlanItem; return this.apiClient.callApi( '/projects/{id}/plan/activities/{activityId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -852,7 +852,7 @@ export default class ProjectsApi { * @param {Number} activityId The ID of the activity * @param {Object} opts Optional parameters * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdatedActivityPlanItem200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateActivityPlanItem} */ putProjectPlanActivity(id, activityId, opts) { return this.putProjectPlanActivityWithHttpInfo(id, activityId, opts) @@ -869,7 +869,7 @@ export default class ProjectsApi { * @param {Number} taskId The ID of the task * @param {Object} opts Optional parameters * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdatedTaskPlanItem200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskPlanItem} and HTTP response */ putProjectPlanTaskWithHttpInfo(id, taskId, opts) { opts = opts || {}; @@ -916,7 +916,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdatedTaskPlanItem200; + let returnType = UpdateTaskPlanItem; return this.apiClient.callApi( '/projects/{id}/plan/tasks/{taskId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -931,7 +931,7 @@ export default class ProjectsApi { * @param {Number} taskId The ID of the task * @param {Object} opts Optional parameters * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdatedTaskPlanItem200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskPlanItem} */ putProjectPlanTask(id, taskId, opts) { return this.putProjectPlanTaskWithHttpInfo(id, taskId, opts) @@ -947,7 +947,7 @@ export default class ProjectsApi { * @param {Number} id The ID of the project * @param {Object} opts Optional parameters * @param {module:model/ProjectPutObject} opts.projectPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse} and HTTP response */ updateProjectWithHttpInfo(id, opts) { opts = opts || {}; @@ -988,7 +988,7 @@ export default class ProjectsApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdateProjectResponse200; + let returnType = UpdateProjectResponse; return this.apiClient.callApi( '/projects/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -1002,7 +1002,7 @@ export default class ProjectsApi { * @param {Number} id The ID of the project * @param {Object} opts Optional parameters * @param {module:model/ProjectPutObject} opts.projectPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse} */ updateProject(id, opts) { return this.updateProjectWithHttpInfo(id, opts) diff --git a/src/api/StagesApi.js b/src/api/StagesApi.js index 10fed0e0..1053883d 100644 --- a/src/api/StagesApi.js +++ b/src/api/StagesApi.js @@ -13,8 +13,8 @@ import ApiClient from "../ApiClient"; -import DeleteStageResponse200 from '../model/DeleteStageResponse200'; -import DeleteStagesResponse200 from '../model/DeleteStagesResponse200'; +import DeleteStageResponse from '../model/DeleteStageResponse'; +import DeleteStagesResponse from '../model/DeleteStagesResponse'; import GetAddUpdateStage from '../model/GetAddUpdateStage'; import GetOneStage from '../model/GetOneStage'; import GetStageDeals from '../model/GetStageDeals'; @@ -110,7 +110,7 @@ export default class StagesApi { * Delete a stage * Marks a stage as deleted. * @param {Number} id The ID of the stage - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStageResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStageResponse} and HTTP response */ deleteStageWithHttpInfo(id) { const opts = {} @@ -150,7 +150,7 @@ export default class StagesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteStageResponse200; + let returnType = DeleteStageResponse; return this.apiClient.callApi( '/stages/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -162,7 +162,7 @@ export default class StagesApi { * Delete a stage * Marks a stage as deleted. * @param {Number} id The ID of the stage - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStageResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStageResponse} */ deleteStage(id) { return this.deleteStageWithHttpInfo(id) @@ -176,7 +176,7 @@ export default class StagesApi { * Delete multiple stages in bulk * Marks multiple stages as deleted. * @param {String} ids The comma-separated stage IDs to delete - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStagesResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStagesResponse} and HTTP response */ deleteStagesWithHttpInfo(ids) { const opts = {} @@ -216,7 +216,7 @@ export default class StagesApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteStagesResponse200; + let returnType = DeleteStagesResponse; return this.apiClient.callApi( '/stages', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -228,7 +228,7 @@ export default class StagesApi { * Delete multiple stages in bulk * Marks multiple stages as deleted. * @param {String} ids The comma-separated stage IDs to delete - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStagesResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStagesResponse} */ deleteStages(ids) { return this.deleteStagesWithHttpInfo(ids) diff --git a/src/api/TasksApi.js b/src/api/TasksApi.js index 70c12896..59929be8 100644 --- a/src/api/TasksApi.js +++ b/src/api/TasksApi.js @@ -13,14 +13,14 @@ import ApiClient from "../ApiClient"; -import AddTaskResponse201 from '../model/AddTaskResponse201'; -import DeleteTaskResponse200 from '../model/DeleteTaskResponse200'; -import GetTaskResponse200 from '../model/GetTaskResponse200'; -import GetTasksResponse200 from '../model/GetTasksResponse200'; +import AddTaskResponse from '../model/AddTaskResponse'; +import DeleteTaskResponse from '../model/DeleteTaskResponse'; +import GetTaskResponse from '../model/GetTaskResponse'; +import GetTasksResponse from '../model/GetTasksResponse'; import NumberBoolean from '../model/NumberBoolean'; import TaskPostObject from '../model/TaskPostObject'; import TaskPutObject from '../model/TaskPutObject'; -import UpdateTaskResponse200 from '../model/UpdateTaskResponse200'; +import UpdateTaskResponse from '../model/UpdateTaskResponse'; /** * Tasks service. @@ -47,7 +47,7 @@ export default class TasksApi { * Adds a new task. * @param {Object} opts Optional parameters * @param {module:model/TaskPostObject} opts.taskPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddTaskResponse201} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddTaskResponse} and HTTP response */ addTaskWithHttpInfo(opts) { opts = opts || {}; @@ -82,7 +82,7 @@ export default class TasksApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = AddTaskResponse201; + let returnType = AddTaskResponse; return this.apiClient.callApi( '/tasks', 'POST', pathParams, queryParams, headerParams, formParams, postBody, @@ -95,7 +95,7 @@ export default class TasksApi { * Adds a new task. * @param {Object} opts Optional parameters * @param {module:model/TaskPostObject} opts.taskPostObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddTaskResponse201} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddTaskResponse} */ addTask(opts) { return this.addTaskWithHttpInfo(opts) @@ -109,7 +109,7 @@ export default class TasksApi { * Delete a task * Marks a task as deleted. If the task has subtasks then those will also be deleted. * @param {Number} id The ID of the task - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteTaskResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteTaskResponse} and HTTP response */ deleteTaskWithHttpInfo(id) { const opts = {} @@ -149,7 +149,7 @@ export default class TasksApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = DeleteTaskResponse200; + let returnType = DeleteTaskResponse; return this.apiClient.callApi( '/tasks/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, @@ -161,7 +161,7 @@ export default class TasksApi { * Delete a task * Marks a task as deleted. If the task has subtasks then those will also be deleted. * @param {Number} id The ID of the task - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteTaskResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteTaskResponse} */ deleteTask(id) { return this.deleteTaskWithHttpInfo(id) @@ -175,7 +175,7 @@ export default class TasksApi { * Get details of a task * Returns the details of a specific task. * @param {Number} id The ID of the task - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTaskResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTaskResponse} and HTTP response */ getTaskWithHttpInfo(id) { const opts = {} @@ -215,7 +215,7 @@ export default class TasksApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetTaskResponse200; + let returnType = GetTaskResponse; return this.apiClient.callApi( '/tasks/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -227,7 +227,7 @@ export default class TasksApi { * Get details of a task * Returns the details of a specific task. * @param {Number} id The ID of the task - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTaskResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTaskResponse} */ getTask(id) { return this.getTaskWithHttpInfo(id) @@ -247,7 +247,7 @@ export default class TasksApi { * @param {Number} opts.projectId If supplied, only tasks that are assigned to this project are returned * @param {Number} opts.parentTaskId If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned. * @param {module:model/NumberBoolean} opts.done Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse} and HTTP response */ getTasksWithHttpInfo(opts) { opts = opts || {}; @@ -293,7 +293,7 @@ export default class TasksApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = GetTasksResponse200; + let returnType = GetTasksResponse; return this.apiClient.callApi( '/tasks', 'GET', pathParams, queryParams, headerParams, formParams, postBody, @@ -311,7 +311,7 @@ export default class TasksApi { * @param {Number} opts.projectId If supplied, only tasks that are assigned to this project are returned * @param {Number} opts.parentTaskId If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned. * @param {module:model/NumberBoolean} opts.done Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks. - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse} */ getTasks(opts) { return this.getTasksWithHttpInfo(opts) @@ -327,7 +327,7 @@ export default class TasksApi { * @param {Number} id The ID of the task * @param {Object} opts Optional parameters * @param {module:model/TaskPutObject} opts.taskPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskResponse200} and HTTP response + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskResponse} and HTTP response */ updateTaskWithHttpInfo(id, opts) { opts = opts || {}; @@ -368,7 +368,7 @@ export default class TasksApi { let authNames = ['api_key', 'oauth2', ]; let accepts = ['application/json', ]; - let returnType = UpdateTaskResponse200; + let returnType = UpdateTaskResponse; return this.apiClient.callApi( '/tasks/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, @@ -382,7 +382,7 @@ export default class TasksApi { * @param {Number} id The ID of the task * @param {Object} opts Optional parameters * @param {module:model/TaskPutObject} opts.taskPutObject - * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskResponse200} + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskResponse} */ updateTask(id, opts) { return this.updateTaskWithHttpInfo(id, opts) diff --git a/src/index.js b/src/index.js index 7a089b0e..a1b5cda3 100644 --- a/src/index.js +++ b/src/index.js @@ -39,8 +39,8 @@ import ActivityTypeListResponse from './model/ActivityTypeListResponse'; import ActivityTypeListResponseAllOf from './model/ActivityTypeListResponseAllOf'; import ActivityTypeObjectResponse from './model/ActivityTypeObjectResponse'; import ActivityTypeUpdateRequest from './model/ActivityTypeUpdateRequest'; -import AddActivityResponse200 from './model/AddActivityResponse200'; -import AddActivityResponse200RelatedObjects from './model/AddActivityResponse200RelatedObjects'; +import AddActivityResponse from './model/AddActivityResponse'; +import AddActivityResponseRelatedObjects from './model/AddActivityResponseRelatedObjects'; import AddDealFollowerRequest from './model/AddDealFollowerRequest'; import AddDealParticipantRequest from './model/AddDealParticipantRequest'; import AddFile from './model/AddFile'; @@ -54,8 +54,6 @@ import AddNewPipeline from './model/AddNewPipeline'; import AddNewPipelineAllOf from './model/AddNewPipelineAllOf'; import AddNoteRequest from './model/AddNoteRequest'; import AddNoteRequestAllOf from './model/AddNoteRequestAllOf'; -import AddOrUpdateGoalResponse200 from './model/AddOrUpdateGoalResponse200'; -import AddOrUpdateLeadLabelResponse200 from './model/AddOrUpdateLeadLabelResponse200'; import AddOrUpdateRoleSettingRequest from './model/AddOrUpdateRoleSettingRequest'; import AddOrganizationFollowerRequest from './model/AddOrganizationFollowerRequest'; import AddOrganizationRelationshipRequest from './model/AddOrganizationRelationshipRequest'; @@ -69,10 +67,10 @@ import AddProductAttachmentDetailsAllOf from './model/AddProductAttachmentDetail import AddProductFollowerRequest from './model/AddProductFollowerRequest'; import AddProductRequestBody from './model/AddProductRequestBody'; import AddProductRequestBodyAllOf from './model/AddProductRequestBodyAllOf'; -import AddProjectResponse201 from './model/AddProjectResponse201'; +import AddProjectResponse from './model/AddProjectResponse'; import AddRole from './model/AddRole'; import AddRoleAssignmentRequest from './model/AddRoleAssignmentRequest'; -import AddTaskResponse201 from './model/AddTaskResponse201'; +import AddTaskResponse from './model/AddTaskResponse'; import AddTeamUserRequest from './model/AddTeamUserRequest'; import AddUserRequest from './model/AddUserRequest'; import AddWebhookRequest from './model/AddWebhookRequest'; @@ -143,14 +141,14 @@ import BulkDeleteResponse from './model/BulkDeleteResponse'; import BulkDeleteResponseAllOf from './model/BulkDeleteResponseAllOf'; import BulkDeleteResponseAllOfData from './model/BulkDeleteResponseAllOfData'; import CalculatedFields from './model/CalculatedFields'; +import CallLogBadRequestResponse from './model/CallLogBadRequestResponse'; +import CallLogConflictResponse from './model/CallLogConflictResponse'; +import CallLogForbiddenResponse from './model/CallLogForbiddenResponse'; +import CallLogGoneResponse from './model/CallLogGoneResponse'; +import CallLogInternalErrorResponse from './model/CallLogInternalErrorResponse'; +import CallLogNotFoundResponse from './model/CallLogNotFoundResponse'; import CallLogObject from './model/CallLogObject'; import CallLogResponse200 from './model/CallLogResponse200'; -import CallLogResponse400 from './model/CallLogResponse400'; -import CallLogResponse403 from './model/CallLogResponse403'; -import CallLogResponse404 from './model/CallLogResponse404'; -import CallLogResponse409 from './model/CallLogResponse409'; -import CallLogResponse410 from './model/CallLogResponse410'; -import CallLogResponse500 from './model/CallLogResponse500'; import CallLogsResponse from './model/CallLogsResponse'; import CallLogsResponseAdditionalData from './model/CallLogsResponseAdditionalData'; import ChangelogResponse from './model/ChangelogResponse'; @@ -222,10 +220,10 @@ import DealsCountInfo from './model/DealsCountInfo'; import DealsMovementsInfo from './model/DealsMovementsInfo'; import DealsMovementsInfoFormattedValues from './model/DealsMovementsInfoFormattedValues'; import DealsMovementsInfoValues from './model/DealsMovementsInfoValues'; -import DeleteActivitiesResponse200 from './model/DeleteActivitiesResponse200'; -import DeleteActivitiesResponse200Data from './model/DeleteActivitiesResponse200Data'; -import DeleteActivityResponse200 from './model/DeleteActivityResponse200'; -import DeleteActivityResponse200Data from './model/DeleteActivityResponse200Data'; +import DeleteActivitiesResponse from './model/DeleteActivitiesResponse'; +import DeleteActivitiesResponseData from './model/DeleteActivitiesResponseData'; +import DeleteActivityResponse from './model/DeleteActivityResponse'; +import DeleteActivityResponseData from './model/DeleteActivityResponseData'; import DeleteChannelSuccess from './model/DeleteChannelSuccess'; import DeleteComment from './model/DeleteComment'; import DeleteConversationSuccess from './model/DeleteConversationSuccess'; @@ -239,7 +237,8 @@ import DeleteDealProduct from './model/DeleteDealProduct'; import DeleteDealProductData from './model/DeleteDealProductData'; import DeleteFile from './model/DeleteFile'; import DeleteFileData from './model/DeleteFileData'; -import DeleteGoalResponse200 from './model/DeleteGoalResponse200'; +import DeleteGoalResponse from './model/DeleteGoalResponse'; +import DeleteLeadIdResponse from './model/DeleteLeadIdResponse'; import DeleteMultipleDeals from './model/DeleteMultipleDeals'; import DeleteMultipleDealsData from './model/DeleteMultipleDealsData'; import DeleteMultipleProductFieldsResponse from './model/DeleteMultipleProductFieldsResponse'; @@ -251,8 +250,8 @@ import DeletePersonResponseAllOfData from './model/DeletePersonResponseAllOfData import DeletePersonsInBulkResponse from './model/DeletePersonsInBulkResponse'; import DeletePersonsInBulkResponseAllOf from './model/DeletePersonsInBulkResponseAllOf'; import DeletePersonsInBulkResponseAllOfData from './model/DeletePersonsInBulkResponseAllOfData'; -import DeletePipelineResponse200 from './model/DeletePipelineResponse200'; -import DeletePipelineResponse200Data from './model/DeletePipelineResponse200Data'; +import DeletePipelineResponse from './model/DeletePipelineResponse'; +import DeletePipelineResponseData from './model/DeletePipelineResponseData'; import DeleteProductFieldResponse from './model/DeleteProductFieldResponse'; import DeleteProductFieldResponseData from './model/DeleteProductFieldResponseData'; import DeleteProductFollowerResponse from './model/DeleteProductFollowerResponse'; @@ -261,7 +260,7 @@ import DeleteProductResponse from './model/DeleteProductResponse'; import DeleteProductResponseData from './model/DeleteProductResponseData'; import DeleteProject from './model/DeleteProject'; import DeleteProjectData from './model/DeleteProjectData'; -import DeleteProjectResponse200 from './model/DeleteProjectResponse200'; +import DeleteProjectResponse from './model/DeleteProjectResponse'; import DeleteResponse from './model/DeleteResponse'; import DeleteResponseAllOf from './model/DeleteResponseAllOf'; import DeleteResponseAllOfData from './model/DeleteResponseAllOfData'; @@ -272,13 +271,13 @@ import DeleteRoleAssignment from './model/DeleteRoleAssignment'; import DeleteRoleAssignmentAllOf from './model/DeleteRoleAssignmentAllOf'; import DeleteRoleAssignmentAllOfData from './model/DeleteRoleAssignmentAllOfData'; import DeleteRoleAssignmentRequest from './model/DeleteRoleAssignmentRequest'; -import DeleteStageResponse200 from './model/DeleteStageResponse200'; -import DeleteStageResponse200Data from './model/DeleteStageResponse200Data'; -import DeleteStagesResponse200 from './model/DeleteStagesResponse200'; -import DeleteStagesResponse200Data from './model/DeleteStagesResponse200Data'; +import DeleteStageResponse from './model/DeleteStageResponse'; +import DeleteStageResponseData from './model/DeleteStageResponseData'; +import DeleteStagesResponse from './model/DeleteStagesResponse'; +import DeleteStagesResponseData from './model/DeleteStagesResponseData'; import DeleteTask from './model/DeleteTask'; import DeleteTaskData from './model/DeleteTaskData'; -import DeleteTaskResponse200 from './model/DeleteTaskResponse200'; +import DeleteTaskResponse from './model/DeleteTaskResponse'; import DeleteTeamUserRequest from './model/DeleteTeamUserRequest'; import Duration from './model/Duration'; import EditPipeline from './model/EditPipeline'; @@ -321,11 +320,11 @@ import FullProjectObject from './model/FullProjectObject'; import FullRole from './model/FullRole'; import FullRoleAllOf from './model/FullRoleAllOf'; import FullTaskObject from './model/FullTaskObject'; -import GetActivitiesCollectionResponse200 from './model/GetActivitiesCollectionResponse200'; -import GetActivitiesResponse200 from './model/GetActivitiesResponse200'; -import GetActivitiesResponse200RelatedObjects from './model/GetActivitiesResponse200RelatedObjects'; -import GetActivityResponse200 from './model/GetActivityResponse200'; -import GetAddProductAttachementDetails from './model/GetAddProductAttachementDetails'; +import GetActivitiesCollectionResponse from './model/GetActivitiesCollectionResponse'; +import GetActivitiesResponse from './model/GetActivitiesResponse'; +import GetActivitiesResponseRelatedObjects from './model/GetActivitiesResponseRelatedObjects'; +import GetActivityResponse from './model/GetActivityResponse'; +import GetAddProductAttachmentDetails from './model/GetAddProductAttachmentDetails'; import GetAddUpdateStage from './model/GetAddUpdateStage'; import GetAddedDeal from './model/GetAddedDeal'; import GetAllFiles from './model/GetAllFiles'; @@ -358,12 +357,15 @@ import GetDealsTimeline from './model/GetDealsTimeline'; import GetDealsTimelineData from './model/GetDealsTimelineData'; import GetDealsTimelineDataTotals from './model/GetDealsTimelineDataTotals'; import GetDuplicatedDeal from './model/GetDuplicatedDeal'; -import GetGoalResultResponse200 from './model/GetGoalResultResponse200'; -import GetGoalsResponse200 from './model/GetGoalsResponse200'; -import GetLeadLabelsResponse200 from './model/GetLeadLabelsResponse200'; -import GetLeadSourcesResponse200 from './model/GetLeadSourcesResponse200'; -import GetLeadSourcesResponse200Data from './model/GetLeadSourcesResponse200Data'; -import GetLeadsResponse200 from './model/GetLeadsResponse200'; +import GetGoalResultResponse from './model/GetGoalResultResponse'; +import GetGoalsResponse from './model/GetGoalsResponse'; +import GetLeadIdResponse from './model/GetLeadIdResponse'; +import GetLeadIdResponseData from './model/GetLeadIdResponseData'; +import GetLeadLabelsResponse from './model/GetLeadLabelsResponse'; +import GetLeadResponse from './model/GetLeadResponse'; +import GetLeadsResponse from './model/GetLeadsResponse'; +import GetLeadsSourceResponse from './model/GetLeadsSourceResponse'; +import GetLeadsSourceResponseData from './model/GetLeadsSourceResponseData'; import GetMergedDeal from './model/GetMergedDeal'; import GetNotes from './model/GetNotes'; import GetOneFile from './model/GetOneFile'; @@ -373,18 +375,18 @@ import GetOneStage from './model/GetOneStage'; import GetPersonDetailsResponse from './model/GetPersonDetailsResponse'; import GetPersonDetailsResponseAllOf from './model/GetPersonDetailsResponseAllOf'; import GetPersonDetailsResponseAllOfAdditionalData from './model/GetPersonDetailsResponseAllOfAdditionalData'; -import GetProductAttachementDetails from './model/GetProductAttachementDetails'; +import GetProductAttachmentDetails from './model/GetProductAttachmentDetails'; import GetProductFieldResponse from './model/GetProductFieldResponse'; -import GetProjectBoardResponse200 from './model/GetProjectBoardResponse200'; -import GetProjectBoardsResponse200 from './model/GetProjectBoardsResponse200'; -import GetProjectGroupsResponse200 from './model/GetProjectGroupsResponse200'; -import GetProjectPhaseResponse200 from './model/GetProjectPhaseResponse200'; -import GetProjectPhasesResponse200 from './model/GetProjectPhasesResponse200'; -import GetProjectPlanResponse200 from './model/GetProjectPlanResponse200'; -import GetProjectResponse200 from './model/GetProjectResponse200'; -import GetProjectTemplateResponse200 from './model/GetProjectTemplateResponse200'; -import GetProjectTemplatesResponse200 from './model/GetProjectTemplatesResponse200'; -import GetProjectsResponse200 from './model/GetProjectsResponse200'; +import GetProjectBoardResponse from './model/GetProjectBoardResponse'; +import GetProjectBoardsResponse from './model/GetProjectBoardsResponse'; +import GetProjectGroupsResponse from './model/GetProjectGroupsResponse'; +import GetProjectPhaseResponse from './model/GetProjectPhaseResponse'; +import GetProjectPhasesResponse from './model/GetProjectPhasesResponse'; +import GetProjectPlanResponse from './model/GetProjectPlanResponse'; +import GetProjectResponse from './model/GetProjectResponse'; +import GetProjectTemplateResponse from './model/GetProjectTemplateResponse'; +import GetProjectTemplatesResponse from './model/GetProjectTemplatesResponse'; +import GetProjectsResponse from './model/GetProjectsResponse'; import GetRecents from './model/GetRecents'; import GetRecentsAdditionalData from './model/GetRecentsAdditionalData'; import GetRole from './model/GetRole'; @@ -401,8 +403,8 @@ import GetRoles from './model/GetRoles'; import GetRolesAllOf from './model/GetRolesAllOf'; import GetStageDeals from './model/GetStageDeals'; import GetStages from './model/GetStages'; -import GetTaskResponse200 from './model/GetTaskResponse200'; -import GetTasksResponse200 from './model/GetTasksResponse200'; +import GetTaskResponse from './model/GetTaskResponse'; +import GetTasksResponse from './model/GetTasksResponse'; import GoalResults from './model/GoalResults'; import GoalType from './model/GoalType'; import GoalsResponseComponent from './model/GoalsResponseComponent'; @@ -429,12 +431,10 @@ import ItemSearchItem from './model/ItemSearchItem'; import ItemSearchResponse from './model/ItemSearchResponse'; import ItemSearchResponseAllOf from './model/ItemSearchResponseAllOf'; import ItemSearchResponseAllOfData from './model/ItemSearchResponseAllOfData'; -import LeadIdResponse200 from './model/LeadIdResponse200'; -import LeadIdResponse200Data from './model/LeadIdResponse200Data'; import LeadLabelColor from './model/LeadLabelColor'; import LeadLabelResponse from './model/LeadLabelResponse'; +import LeadNotFoundResponse from './model/LeadNotFoundResponse'; import LeadResponse from './model/LeadResponse'; -import LeadResponse404 from './model/LeadResponse404'; import LeadSearchItem from './model/LeadSearchItem'; import LeadSearchItemItem from './model/LeadSearchItemItem'; import LeadSearchItemItemOrganization from './model/LeadSearchItemItemOrganization'; @@ -534,7 +534,6 @@ import NoteParams from './model/NoteParams'; import NumberBoolean from './model/NumberBoolean'; import NumberBooleanDefault0 from './model/NumberBooleanDefault0'; import NumberBooleanDefault1 from './model/NumberBooleanDefault1'; -import OneLeadResponse200 from './model/OneLeadResponse200'; import OrgAndOwnerId from './model/OrgAndOwnerId'; import OrganizationAddressInfo from './model/OrganizationAddressInfo'; import OrganizationCountAndAddressInfo from './model/OrganizationCountAndAddressInfo'; @@ -753,7 +752,8 @@ import TeamsAllOf from './model/TeamsAllOf'; import TemplateObject from './model/TemplateObject'; import TemplateResponseObject from './model/TemplateResponseObject'; import Unauthorized from './model/Unauthorized'; -import UpdateActivityResponse200 from './model/UpdateActivityResponse200'; +import UpdateActivityPlanItem from './model/UpdateActivityPlanItem'; +import UpdateActivityResponse from './model/UpdateActivityResponse'; import UpdateDealParameters from './model/UpdateDealParameters'; import UpdateDealProduct from './model/UpdateDealProduct'; import UpdateDealRequest from './model/UpdateDealRequest'; @@ -769,16 +769,17 @@ import UpdatePersonResponse from './model/UpdatePersonResponse'; import UpdateProductField from './model/UpdateProductField'; import UpdateProductRequestBody from './model/UpdateProductRequestBody'; import UpdateProductResponse from './model/UpdateProductResponse'; -import UpdateProjectResponse200 from './model/UpdateProjectResponse200'; +import UpdateProjectResponse from './model/UpdateProjectResponse'; import UpdateStageRequest from './model/UpdateStageRequest'; import UpdateStageRequestAllOf from './model/UpdateStageRequestAllOf'; -import UpdateTaskResponse200 from './model/UpdateTaskResponse200'; +import UpdateTaskPlanItem from './model/UpdateTaskPlanItem'; +import UpdateTaskResponse from './model/UpdateTaskResponse'; import UpdateTeam from './model/UpdateTeam'; import UpdateTeamAllOf from './model/UpdateTeamAllOf'; import UpdateTeamWithAdditionalProperties from './model/UpdateTeamWithAdditionalProperties'; import UpdateUserRequest from './model/UpdateUserRequest'; -import UpdatedActivityPlanItem200 from './model/UpdatedActivityPlanItem200'; -import UpdatedTaskPlanItem200 from './model/UpdatedTaskPlanItem200'; +import UpsertGoalResponse from './model/UpsertGoalResponse'; +import UpsertLeadLabelResponse from './model/UpsertLeadLabelResponse'; import User from './model/User'; import UserAccess from './model/UserAccess'; import UserAllOf from './model/UserAllOf'; @@ -1053,16 +1054,16 @@ export { ActivityTypeUpdateRequest, /** - * The AddActivityResponse200 model constructor. - * @property {module:model/AddActivityResponse200} + * The AddActivityResponse model constructor. + * @property {module:model/AddActivityResponse} */ - AddActivityResponse200, + AddActivityResponse, /** - * The AddActivityResponse200RelatedObjects model constructor. - * @property {module:model/AddActivityResponse200RelatedObjects} + * The AddActivityResponseRelatedObjects model constructor. + * @property {module:model/AddActivityResponseRelatedObjects} */ - AddActivityResponse200RelatedObjects, + AddActivityResponseRelatedObjects, /** * The AddDealFollowerRequest model constructor. @@ -1142,18 +1143,6 @@ export { */ AddNoteRequestAllOf, - /** - * The AddOrUpdateGoalResponse200 model constructor. - * @property {module:model/AddOrUpdateGoalResponse200} - */ - AddOrUpdateGoalResponse200, - - /** - * The AddOrUpdateLeadLabelResponse200 model constructor. - * @property {module:model/AddOrUpdateLeadLabelResponse200} - */ - AddOrUpdateLeadLabelResponse200, - /** * The AddOrUpdateRoleSettingRequest model constructor. * @property {module:model/AddOrUpdateRoleSettingRequest} @@ -1233,10 +1222,10 @@ export { AddProductRequestBodyAllOf, /** - * The AddProjectResponse201 model constructor. - * @property {module:model/AddProjectResponse201} + * The AddProjectResponse model constructor. + * @property {module:model/AddProjectResponse} */ - AddProjectResponse201, + AddProjectResponse, /** * The AddRole model constructor. @@ -1251,10 +1240,10 @@ export { AddRoleAssignmentRequest, /** - * The AddTaskResponse201 model constructor. - * @property {module:model/AddTaskResponse201} + * The AddTaskResponse model constructor. + * @property {module:model/AddTaskResponse} */ - AddTaskResponse201, + AddTaskResponse, /** * The AddTeamUserRequest model constructor. @@ -1677,52 +1666,52 @@ export { CalculatedFields, /** - * The CallLogObject model constructor. - * @property {module:model/CallLogObject} + * The CallLogBadRequestResponse model constructor. + * @property {module:model/CallLogBadRequestResponse} */ - CallLogObject, + CallLogBadRequestResponse, /** - * The CallLogResponse200 model constructor. - * @property {module:model/CallLogResponse200} + * The CallLogConflictResponse model constructor. + * @property {module:model/CallLogConflictResponse} */ - CallLogResponse200, + CallLogConflictResponse, /** - * The CallLogResponse400 model constructor. - * @property {module:model/CallLogResponse400} + * The CallLogForbiddenResponse model constructor. + * @property {module:model/CallLogForbiddenResponse} */ - CallLogResponse400, + CallLogForbiddenResponse, /** - * The CallLogResponse403 model constructor. - * @property {module:model/CallLogResponse403} + * The CallLogGoneResponse model constructor. + * @property {module:model/CallLogGoneResponse} */ - CallLogResponse403, + CallLogGoneResponse, /** - * The CallLogResponse404 model constructor. - * @property {module:model/CallLogResponse404} + * The CallLogInternalErrorResponse model constructor. + * @property {module:model/CallLogInternalErrorResponse} */ - CallLogResponse404, + CallLogInternalErrorResponse, /** - * The CallLogResponse409 model constructor. - * @property {module:model/CallLogResponse409} + * The CallLogNotFoundResponse model constructor. + * @property {module:model/CallLogNotFoundResponse} */ - CallLogResponse409, + CallLogNotFoundResponse, /** - * The CallLogResponse410 model constructor. - * @property {module:model/CallLogResponse410} + * The CallLogObject model constructor. + * @property {module:model/CallLogObject} */ - CallLogResponse410, + CallLogObject, /** - * The CallLogResponse500 model constructor. - * @property {module:model/CallLogResponse500} + * The CallLogResponse200 model constructor. + * @property {module:model/CallLogResponse200} */ - CallLogResponse500, + CallLogResponse200, /** * The CallLogsResponse model constructor. @@ -2151,28 +2140,28 @@ export { DealsMovementsInfoValues, /** - * The DeleteActivitiesResponse200 model constructor. - * @property {module:model/DeleteActivitiesResponse200} + * The DeleteActivitiesResponse model constructor. + * @property {module:model/DeleteActivitiesResponse} */ - DeleteActivitiesResponse200, + DeleteActivitiesResponse, /** - * The DeleteActivitiesResponse200Data model constructor. - * @property {module:model/DeleteActivitiesResponse200Data} + * The DeleteActivitiesResponseData model constructor. + * @property {module:model/DeleteActivitiesResponseData} */ - DeleteActivitiesResponse200Data, + DeleteActivitiesResponseData, /** - * The DeleteActivityResponse200 model constructor. - * @property {module:model/DeleteActivityResponse200} + * The DeleteActivityResponse model constructor. + * @property {module:model/DeleteActivityResponse} */ - DeleteActivityResponse200, + DeleteActivityResponse, /** - * The DeleteActivityResponse200Data model constructor. - * @property {module:model/DeleteActivityResponse200Data} + * The DeleteActivityResponseData model constructor. + * @property {module:model/DeleteActivityResponseData} */ - DeleteActivityResponse200Data, + DeleteActivityResponseData, /** * The DeleteChannelSuccess model constructor. @@ -2253,10 +2242,16 @@ export { DeleteFileData, /** - * The DeleteGoalResponse200 model constructor. - * @property {module:model/DeleteGoalResponse200} + * The DeleteGoalResponse model constructor. + * @property {module:model/DeleteGoalResponse} */ - DeleteGoalResponse200, + DeleteGoalResponse, + + /** + * The DeleteLeadIdResponse model constructor. + * @property {module:model/DeleteLeadIdResponse} + */ + DeleteLeadIdResponse, /** * The DeleteMultipleDeals model constructor. @@ -2325,16 +2320,16 @@ export { DeletePersonsInBulkResponseAllOfData, /** - * The DeletePipelineResponse200 model constructor. - * @property {module:model/DeletePipelineResponse200} + * The DeletePipelineResponse model constructor. + * @property {module:model/DeletePipelineResponse} */ - DeletePipelineResponse200, + DeletePipelineResponse, /** - * The DeletePipelineResponse200Data model constructor. - * @property {module:model/DeletePipelineResponse200Data} + * The DeletePipelineResponseData model constructor. + * @property {module:model/DeletePipelineResponseData} */ - DeletePipelineResponse200Data, + DeletePipelineResponseData, /** * The DeleteProductFieldResponse model constructor. @@ -2385,10 +2380,10 @@ export { DeleteProjectData, /** - * The DeleteProjectResponse200 model constructor. - * @property {module:model/DeleteProjectResponse200} + * The DeleteProjectResponse model constructor. + * @property {module:model/DeleteProjectResponse} */ - DeleteProjectResponse200, + DeleteProjectResponse, /** * The DeleteResponse model constructor. @@ -2451,28 +2446,28 @@ export { DeleteRoleAssignmentRequest, /** - * The DeleteStageResponse200 model constructor. - * @property {module:model/DeleteStageResponse200} + * The DeleteStageResponse model constructor. + * @property {module:model/DeleteStageResponse} */ - DeleteStageResponse200, + DeleteStageResponse, /** - * The DeleteStageResponse200Data model constructor. - * @property {module:model/DeleteStageResponse200Data} + * The DeleteStageResponseData model constructor. + * @property {module:model/DeleteStageResponseData} */ - DeleteStageResponse200Data, + DeleteStageResponseData, /** - * The DeleteStagesResponse200 model constructor. - * @property {module:model/DeleteStagesResponse200} + * The DeleteStagesResponse model constructor. + * @property {module:model/DeleteStagesResponse} */ - DeleteStagesResponse200, + DeleteStagesResponse, /** - * The DeleteStagesResponse200Data model constructor. - * @property {module:model/DeleteStagesResponse200Data} + * The DeleteStagesResponseData model constructor. + * @property {module:model/DeleteStagesResponseData} */ - DeleteStagesResponse200Data, + DeleteStagesResponseData, /** * The DeleteTask model constructor. @@ -2487,10 +2482,10 @@ export { DeleteTaskData, /** - * The DeleteTaskResponse200 model constructor. - * @property {module:model/DeleteTaskResponse200} + * The DeleteTaskResponse model constructor. + * @property {module:model/DeleteTaskResponse} */ - DeleteTaskResponse200, + DeleteTaskResponse, /** * The DeleteTeamUserRequest model constructor. @@ -2745,34 +2740,34 @@ export { FullTaskObject, /** - * The GetActivitiesCollectionResponse200 model constructor. - * @property {module:model/GetActivitiesCollectionResponse200} + * The GetActivitiesCollectionResponse model constructor. + * @property {module:model/GetActivitiesCollectionResponse} */ - GetActivitiesCollectionResponse200, + GetActivitiesCollectionResponse, /** - * The GetActivitiesResponse200 model constructor. - * @property {module:model/GetActivitiesResponse200} + * The GetActivitiesResponse model constructor. + * @property {module:model/GetActivitiesResponse} */ - GetActivitiesResponse200, + GetActivitiesResponse, /** - * The GetActivitiesResponse200RelatedObjects model constructor. - * @property {module:model/GetActivitiesResponse200RelatedObjects} + * The GetActivitiesResponseRelatedObjects model constructor. + * @property {module:model/GetActivitiesResponseRelatedObjects} */ - GetActivitiesResponse200RelatedObjects, + GetActivitiesResponseRelatedObjects, /** - * The GetActivityResponse200 model constructor. - * @property {module:model/GetActivityResponse200} + * The GetActivityResponse model constructor. + * @property {module:model/GetActivityResponse} */ - GetActivityResponse200, + GetActivityResponse, /** - * The GetAddProductAttachementDetails model constructor. - * @property {module:model/GetAddProductAttachementDetails} + * The GetAddProductAttachmentDetails model constructor. + * @property {module:model/GetAddProductAttachmentDetails} */ - GetAddProductAttachementDetails, + GetAddProductAttachmentDetails, /** * The GetAddUpdateStage model constructor. @@ -2967,40 +2962,58 @@ export { GetDuplicatedDeal, /** - * The GetGoalResultResponse200 model constructor. - * @property {module:model/GetGoalResultResponse200} + * The GetGoalResultResponse model constructor. + * @property {module:model/GetGoalResultResponse} + */ + GetGoalResultResponse, + + /** + * The GetGoalsResponse model constructor. + * @property {module:model/GetGoalsResponse} */ - GetGoalResultResponse200, + GetGoalsResponse, /** - * The GetGoalsResponse200 model constructor. - * @property {module:model/GetGoalsResponse200} + * The GetLeadIdResponse model constructor. + * @property {module:model/GetLeadIdResponse} */ - GetGoalsResponse200, + GetLeadIdResponse, /** - * The GetLeadLabelsResponse200 model constructor. - * @property {module:model/GetLeadLabelsResponse200} + * The GetLeadIdResponseData model constructor. + * @property {module:model/GetLeadIdResponseData} */ - GetLeadLabelsResponse200, + GetLeadIdResponseData, /** - * The GetLeadSourcesResponse200 model constructor. - * @property {module:model/GetLeadSourcesResponse200} + * The GetLeadLabelsResponse model constructor. + * @property {module:model/GetLeadLabelsResponse} */ - GetLeadSourcesResponse200, + GetLeadLabelsResponse, /** - * The GetLeadSourcesResponse200Data model constructor. - * @property {module:model/GetLeadSourcesResponse200Data} + * The GetLeadResponse model constructor. + * @property {module:model/GetLeadResponse} */ - GetLeadSourcesResponse200Data, + GetLeadResponse, /** - * The GetLeadsResponse200 model constructor. - * @property {module:model/GetLeadsResponse200} + * The GetLeadsResponse model constructor. + * @property {module:model/GetLeadsResponse} */ - GetLeadsResponse200, + GetLeadsResponse, + + /** + * The GetLeadsSourceResponse model constructor. + * @property {module:model/GetLeadsSourceResponse} + */ + GetLeadsSourceResponse, + + /** + * The GetLeadsSourceResponseData model constructor. + * @property {module:model/GetLeadsSourceResponseData} + */ + GetLeadsSourceResponseData, /** * The GetMergedDeal model constructor. @@ -3057,10 +3070,10 @@ export { GetPersonDetailsResponseAllOfAdditionalData, /** - * The GetProductAttachementDetails model constructor. - * @property {module:model/GetProductAttachementDetails} + * The GetProductAttachmentDetails model constructor. + * @property {module:model/GetProductAttachmentDetails} */ - GetProductAttachementDetails, + GetProductAttachmentDetails, /** * The GetProductFieldResponse model constructor. @@ -3069,64 +3082,64 @@ export { GetProductFieldResponse, /** - * The GetProjectBoardResponse200 model constructor. - * @property {module:model/GetProjectBoardResponse200} + * The GetProjectBoardResponse model constructor. + * @property {module:model/GetProjectBoardResponse} */ - GetProjectBoardResponse200, + GetProjectBoardResponse, /** - * The GetProjectBoardsResponse200 model constructor. - * @property {module:model/GetProjectBoardsResponse200} + * The GetProjectBoardsResponse model constructor. + * @property {module:model/GetProjectBoardsResponse} */ - GetProjectBoardsResponse200, + GetProjectBoardsResponse, /** - * The GetProjectGroupsResponse200 model constructor. - * @property {module:model/GetProjectGroupsResponse200} + * The GetProjectGroupsResponse model constructor. + * @property {module:model/GetProjectGroupsResponse} */ - GetProjectGroupsResponse200, + GetProjectGroupsResponse, /** - * The GetProjectPhaseResponse200 model constructor. - * @property {module:model/GetProjectPhaseResponse200} + * The GetProjectPhaseResponse model constructor. + * @property {module:model/GetProjectPhaseResponse} */ - GetProjectPhaseResponse200, + GetProjectPhaseResponse, /** - * The GetProjectPhasesResponse200 model constructor. - * @property {module:model/GetProjectPhasesResponse200} + * The GetProjectPhasesResponse model constructor. + * @property {module:model/GetProjectPhasesResponse} */ - GetProjectPhasesResponse200, + GetProjectPhasesResponse, /** - * The GetProjectPlanResponse200 model constructor. - * @property {module:model/GetProjectPlanResponse200} + * The GetProjectPlanResponse model constructor. + * @property {module:model/GetProjectPlanResponse} */ - GetProjectPlanResponse200, + GetProjectPlanResponse, /** - * The GetProjectResponse200 model constructor. - * @property {module:model/GetProjectResponse200} + * The GetProjectResponse model constructor. + * @property {module:model/GetProjectResponse} */ - GetProjectResponse200, + GetProjectResponse, /** - * The GetProjectTemplateResponse200 model constructor. - * @property {module:model/GetProjectTemplateResponse200} + * The GetProjectTemplateResponse model constructor. + * @property {module:model/GetProjectTemplateResponse} */ - GetProjectTemplateResponse200, + GetProjectTemplateResponse, /** - * The GetProjectTemplatesResponse200 model constructor. - * @property {module:model/GetProjectTemplatesResponse200} + * The GetProjectTemplatesResponse model constructor. + * @property {module:model/GetProjectTemplatesResponse} */ - GetProjectTemplatesResponse200, + GetProjectTemplatesResponse, /** - * The GetProjectsResponse200 model constructor. - * @property {module:model/GetProjectsResponse200} + * The GetProjectsResponse model constructor. + * @property {module:model/GetProjectsResponse} */ - GetProjectsResponse200, + GetProjectsResponse, /** * The GetRecents model constructor. @@ -3225,16 +3238,16 @@ export { GetStages, /** - * The GetTaskResponse200 model constructor. - * @property {module:model/GetTaskResponse200} + * The GetTaskResponse model constructor. + * @property {module:model/GetTaskResponse} */ - GetTaskResponse200, + GetTaskResponse, /** - * The GetTasksResponse200 model constructor. - * @property {module:model/GetTasksResponse200} + * The GetTasksResponse model constructor. + * @property {module:model/GetTasksResponse} */ - GetTasksResponse200, + GetTasksResponse, /** * The GoalResults model constructor. @@ -3392,18 +3405,6 @@ export { */ ItemSearchResponseAllOfData, - /** - * The LeadIdResponse200 model constructor. - * @property {module:model/LeadIdResponse200} - */ - LeadIdResponse200, - - /** - * The LeadIdResponse200Data model constructor. - * @property {module:model/LeadIdResponse200Data} - */ - LeadIdResponse200Data, - /** * The LeadLabelColor model constructor. * @property {module:model/LeadLabelColor} @@ -3417,16 +3418,16 @@ export { LeadLabelResponse, /** - * The LeadResponse model constructor. - * @property {module:model/LeadResponse} + * The LeadNotFoundResponse model constructor. + * @property {module:model/LeadNotFoundResponse} */ - LeadResponse, + LeadNotFoundResponse, /** - * The LeadResponse404 model constructor. - * @property {module:model/LeadResponse404} + * The LeadResponse model constructor. + * @property {module:model/LeadResponse} */ - LeadResponse404, + LeadResponse, /** * The LeadSearchItem model constructor. @@ -4022,12 +4023,6 @@ export { */ NumberBooleanDefault1, - /** - * The OneLeadResponse200 model constructor. - * @property {module:model/OneLeadResponse200} - */ - OneLeadResponse200, - /** * The OrgAndOwnerId model constructor. * @property {module:model/OrgAndOwnerId} @@ -5337,10 +5332,16 @@ export { Unauthorized, /** - * The UpdateActivityResponse200 model constructor. - * @property {module:model/UpdateActivityResponse200} + * The UpdateActivityPlanItem model constructor. + * @property {module:model/UpdateActivityPlanItem} */ - UpdateActivityResponse200, + UpdateActivityPlanItem, + + /** + * The UpdateActivityResponse model constructor. + * @property {module:model/UpdateActivityResponse} + */ + UpdateActivityResponse, /** * The UpdateDealParameters model constructor. @@ -5433,10 +5434,10 @@ export { UpdateProductResponse, /** - * The UpdateProjectResponse200 model constructor. - * @property {module:model/UpdateProjectResponse200} + * The UpdateProjectResponse model constructor. + * @property {module:model/UpdateProjectResponse} */ - UpdateProjectResponse200, + UpdateProjectResponse, /** * The UpdateStageRequest model constructor. @@ -5451,10 +5452,16 @@ export { UpdateStageRequestAllOf, /** - * The UpdateTaskResponse200 model constructor. - * @property {module:model/UpdateTaskResponse200} + * The UpdateTaskPlanItem model constructor. + * @property {module:model/UpdateTaskPlanItem} + */ + UpdateTaskPlanItem, + + /** + * The UpdateTaskResponse model constructor. + * @property {module:model/UpdateTaskResponse} */ - UpdateTaskResponse200, + UpdateTaskResponse, /** * The UpdateTeam model constructor. @@ -5481,16 +5488,16 @@ export { UpdateUserRequest, /** - * The UpdatedActivityPlanItem200 model constructor. - * @property {module:model/UpdatedActivityPlanItem200} + * The UpsertGoalResponse model constructor. + * @property {module:model/UpsertGoalResponse} */ - UpdatedActivityPlanItem200, + UpsertGoalResponse, /** - * The UpdatedTaskPlanItem200 model constructor. - * @property {module:model/UpdatedTaskPlanItem200} + * The UpsertLeadLabelResponse model constructor. + * @property {module:model/UpsertLeadLabelResponse} */ - UpdatedTaskPlanItem200, + UpsertLeadLabelResponse, /** * The User model constructor. diff --git a/src/model/AddActivityResponse.js b/src/model/AddActivityResponse.js new file mode 100644 index 00000000..0b6e4a13 --- /dev/null +++ b/src/model/AddActivityResponse.js @@ -0,0 +1,111 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ActivityRecordAdditionalData from './ActivityRecordAdditionalData'; +import ActivityResponseObject from './ActivityResponseObject'; +import AddActivityResponseRelatedObjects from './AddActivityResponseRelatedObjects'; + +/** + * The AddActivityResponse model module. + * @module model/AddActivityResponse + * @version 1.0.0 + */ +class AddActivityResponse { + /** + * Constructs a new AddActivityResponse. + * @alias module:model/AddActivityResponse + */ + constructor() { + + AddActivityResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a AddActivityResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/AddActivityResponse} obj Optional instance to populate. + * @return {module:model/AddActivityResponse} The populated AddActivityResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new AddActivityResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ActivityResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ActivityRecordAdditionalData.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + if (data.hasOwnProperty('related_objects')) { + obj['related_objects'] = AddActivityResponseRelatedObjects.constructFromObject(data['related_objects']); + + delete data['related_objects']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +AddActivityResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ActivityResponseObject} data + */ +AddActivityResponse.prototype['data'] = undefined; + +/** + * @member {module:model/ActivityRecordAdditionalData} additional_data + */ +AddActivityResponse.prototype['additional_data'] = undefined; + +/** + * @member {module:model/AddActivityResponseRelatedObjects} related_objects + */ +AddActivityResponse.prototype['related_objects'] = undefined; + + + + + + +export default AddActivityResponse; + diff --git a/src/model/AddActivityResponseRelatedObjects.js b/src/model/AddActivityResponseRelatedObjects.js new file mode 100644 index 00000000..ceb3966f --- /dev/null +++ b/src/model/AddActivityResponseRelatedObjects.js @@ -0,0 +1,112 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import RelatedDealData from './RelatedDealData'; +import RelatedOrganizationDataWithActiveFlag from './RelatedOrganizationDataWithActiveFlag'; +import RelatedPersonDataWithActiveFlag from './RelatedPersonDataWithActiveFlag'; +import RelatedUserData from './RelatedUserData'; + +/** + * The AddActivityResponseRelatedObjects model module. + * @module model/AddActivityResponseRelatedObjects + * @version 1.0.0 + */ +class AddActivityResponseRelatedObjects { + /** + * Constructs a new AddActivityResponseRelatedObjects. + * @alias module:model/AddActivityResponseRelatedObjects + */ + constructor() { + + AddActivityResponseRelatedObjects.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a AddActivityResponseRelatedObjects from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/AddActivityResponseRelatedObjects} obj Optional instance to populate. + * @return {module:model/AddActivityResponseRelatedObjects} The populated AddActivityResponseRelatedObjects instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new AddActivityResponseRelatedObjects(); + + if (data.hasOwnProperty('user')) { + obj['user'] = RelatedUserData.constructFromObject(data['user']); + + delete data['user']; + } + if (data.hasOwnProperty('deal')) { + obj['deal'] = RelatedDealData.constructFromObject(data['deal']); + + delete data['deal']; + } + if (data.hasOwnProperty('person')) { + obj['person'] = RelatedPersonDataWithActiveFlag.constructFromObject(data['person']); + + delete data['person']; + } + if (data.hasOwnProperty('organization')) { + obj['organization'] = RelatedOrganizationDataWithActiveFlag.constructFromObject(data['organization']); + + delete data['organization']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {module:model/RelatedUserData} user + */ +AddActivityResponseRelatedObjects.prototype['user'] = undefined; + +/** + * @member {module:model/RelatedDealData} deal + */ +AddActivityResponseRelatedObjects.prototype['deal'] = undefined; + +/** + * @member {module:model/RelatedPersonDataWithActiveFlag} person + */ +AddActivityResponseRelatedObjects.prototype['person'] = undefined; + +/** + * @member {module:model/RelatedOrganizationDataWithActiveFlag} organization + */ +AddActivityResponseRelatedObjects.prototype['organization'] = undefined; + + + + + + +export default AddActivityResponseRelatedObjects; + diff --git a/src/model/AddProjectResponse.js b/src/model/AddProjectResponse.js new file mode 100644 index 00000000..28c1063c --- /dev/null +++ b/src/model/AddProjectResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectResponseObject from './ProjectResponseObject'; + +/** + * The AddProjectResponse model module. + * @module model/AddProjectResponse + * @version 1.0.0 + */ +class AddProjectResponse { + /** + * Constructs a new AddProjectResponse. + * @alias module:model/AddProjectResponse + */ + constructor() { + + AddProjectResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a AddProjectResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/AddProjectResponse} obj Optional instance to populate. + * @return {module:model/AddProjectResponse} The populated AddProjectResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new AddProjectResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +AddProjectResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectResponseObject} data + */ +AddProjectResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +AddProjectResponse.prototype['additional_data'] = undefined; + + + + + + +export default AddProjectResponse; + diff --git a/src/model/AddTaskResponse.js b/src/model/AddTaskResponse.js new file mode 100644 index 00000000..46aa3787 --- /dev/null +++ b/src/model/AddTaskResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import TaskResponseObject from './TaskResponseObject'; + +/** + * The AddTaskResponse model module. + * @module model/AddTaskResponse + * @version 1.0.0 + */ +class AddTaskResponse { + /** + * Constructs a new AddTaskResponse. + * @alias module:model/AddTaskResponse + */ + constructor() { + + AddTaskResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a AddTaskResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/AddTaskResponse} obj Optional instance to populate. + * @return {module:model/AddTaskResponse} The populated AddTaskResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new AddTaskResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = TaskResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +AddTaskResponse.prototype['success'] = undefined; + +/** + * @member {module:model/TaskResponseObject} data + */ +AddTaskResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +AddTaskResponse.prototype['additional_data'] = undefined; + + + + + + +export default AddTaskResponse; + diff --git a/src/model/CallLogBadRequestResponse.js b/src/model/CallLogBadRequestResponse.js new file mode 100644 index 00000000..f0f8bf27 --- /dev/null +++ b/src/model/CallLogBadRequestResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogBadRequestResponse model module. + * @module model/CallLogBadRequestResponse + * @version 1.0.0 + */ +class CallLogBadRequestResponse { + /** + * Constructs a new CallLogBadRequestResponse. + * @alias module:model/CallLogBadRequestResponse + */ + constructor() { + + CallLogBadRequestResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogBadRequestResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogBadRequestResponse} obj Optional instance to populate. + * @return {module:model/CallLogBadRequestResponse} The populated CallLogBadRequestResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogBadRequestResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogBadRequestResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogBadRequestResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogBadRequestResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogBadRequestResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogBadRequestResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogBadRequestResponse; + diff --git a/src/model/CallLogConflictResponse.js b/src/model/CallLogConflictResponse.js new file mode 100644 index 00000000..fc4107d9 --- /dev/null +++ b/src/model/CallLogConflictResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogConflictResponse model module. + * @module model/CallLogConflictResponse + * @version 1.0.0 + */ +class CallLogConflictResponse { + /** + * Constructs a new CallLogConflictResponse. + * @alias module:model/CallLogConflictResponse + */ + constructor() { + + CallLogConflictResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogConflictResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogConflictResponse} obj Optional instance to populate. + * @return {module:model/CallLogConflictResponse} The populated CallLogConflictResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogConflictResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogConflictResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogConflictResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogConflictResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogConflictResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogConflictResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogConflictResponse; + diff --git a/src/model/CallLogForbiddenResponse.js b/src/model/CallLogForbiddenResponse.js new file mode 100644 index 00000000..a88c5f9f --- /dev/null +++ b/src/model/CallLogForbiddenResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogForbiddenResponse model module. + * @module model/CallLogForbiddenResponse + * @version 1.0.0 + */ +class CallLogForbiddenResponse { + /** + * Constructs a new CallLogForbiddenResponse. + * @alias module:model/CallLogForbiddenResponse + */ + constructor() { + + CallLogForbiddenResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogForbiddenResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogForbiddenResponse} obj Optional instance to populate. + * @return {module:model/CallLogForbiddenResponse} The populated CallLogForbiddenResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogForbiddenResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogForbiddenResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogForbiddenResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogForbiddenResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogForbiddenResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogForbiddenResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogForbiddenResponse; + diff --git a/src/model/CallLogGoneResponse.js b/src/model/CallLogGoneResponse.js new file mode 100644 index 00000000..43051cef --- /dev/null +++ b/src/model/CallLogGoneResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogGoneResponse model module. + * @module model/CallLogGoneResponse + * @version 1.0.0 + */ +class CallLogGoneResponse { + /** + * Constructs a new CallLogGoneResponse. + * @alias module:model/CallLogGoneResponse + */ + constructor() { + + CallLogGoneResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogGoneResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogGoneResponse} obj Optional instance to populate. + * @return {module:model/CallLogGoneResponse} The populated CallLogGoneResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogGoneResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogGoneResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogGoneResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogGoneResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogGoneResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogGoneResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogGoneResponse; + diff --git a/src/model/CallLogInternalErrorResponse.js b/src/model/CallLogInternalErrorResponse.js new file mode 100644 index 00000000..f3936866 --- /dev/null +++ b/src/model/CallLogInternalErrorResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogInternalErrorResponse model module. + * @module model/CallLogInternalErrorResponse + * @version 1.0.0 + */ +class CallLogInternalErrorResponse { + /** + * Constructs a new CallLogInternalErrorResponse. + * @alias module:model/CallLogInternalErrorResponse + */ + constructor() { + + CallLogInternalErrorResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogInternalErrorResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogInternalErrorResponse} obj Optional instance to populate. + * @return {module:model/CallLogInternalErrorResponse} The populated CallLogInternalErrorResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogInternalErrorResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogInternalErrorResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogInternalErrorResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogInternalErrorResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogInternalErrorResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogInternalErrorResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogInternalErrorResponse; + diff --git a/src/model/CallLogNotFoundResponse.js b/src/model/CallLogNotFoundResponse.js new file mode 100644 index 00000000..449f5576 --- /dev/null +++ b/src/model/CallLogNotFoundResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The CallLogNotFoundResponse model module. + * @module model/CallLogNotFoundResponse + * @version 1.0.0 + */ +class CallLogNotFoundResponse { + /** + * Constructs a new CallLogNotFoundResponse. + * @alias module:model/CallLogNotFoundResponse + */ + constructor() { + + CallLogNotFoundResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a CallLogNotFoundResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/CallLogNotFoundResponse} obj Optional instance to populate. + * @return {module:model/CallLogNotFoundResponse} The populated CallLogNotFoundResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new CallLogNotFoundResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +CallLogNotFoundResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +CallLogNotFoundResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +CallLogNotFoundResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +CallLogNotFoundResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +CallLogNotFoundResponse.prototype['additional_data'] = undefined; + + + + + + +export default CallLogNotFoundResponse; + diff --git a/src/model/DeleteActivitiesResponse.js b/src/model/DeleteActivitiesResponse.js new file mode 100644 index 00000000..cec108e1 --- /dev/null +++ b/src/model/DeleteActivitiesResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteActivitiesResponseData from './DeleteActivitiesResponseData'; + +/** + * The DeleteActivitiesResponse model module. + * @module model/DeleteActivitiesResponse + * @version 1.0.0 + */ +class DeleteActivitiesResponse { + /** + * Constructs a new DeleteActivitiesResponse. + * @alias module:model/DeleteActivitiesResponse + */ + constructor() { + + DeleteActivitiesResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteActivitiesResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteActivitiesResponse} obj Optional instance to populate. + * @return {module:model/DeleteActivitiesResponse} The populated DeleteActivitiesResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteActivitiesResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteActivitiesResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +DeleteActivitiesResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteActivitiesResponseData} data + */ +DeleteActivitiesResponse.prototype['data'] = undefined; + + + + + + +export default DeleteActivitiesResponse; + diff --git a/src/model/DeleteActivitiesResponseData.js b/src/model/DeleteActivitiesResponseData.js new file mode 100644 index 00000000..00f92709 --- /dev/null +++ b/src/model/DeleteActivitiesResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeleteActivitiesResponseData model module. + * @module model/DeleteActivitiesResponseData + * @version 1.0.0 + */ +class DeleteActivitiesResponseData { + /** + * Constructs a new DeleteActivitiesResponseData. + * @alias module:model/DeleteActivitiesResponseData + */ + constructor() { + + DeleteActivitiesResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteActivitiesResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteActivitiesResponseData} obj Optional instance to populate. + * @return {module:model/DeleteActivitiesResponseData} The populated DeleteActivitiesResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteActivitiesResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], ['Number']); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * An array of the IDs of activities that were deleted + * @member {Array.} id + */ +DeleteActivitiesResponseData.prototype['id'] = undefined; + + + + + + +export default DeleteActivitiesResponseData; + diff --git a/src/model/DeleteActivityResponse.js b/src/model/DeleteActivityResponse.js new file mode 100644 index 00000000..dcaba59d --- /dev/null +++ b/src/model/DeleteActivityResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteActivityResponseData from './DeleteActivityResponseData'; + +/** + * The DeleteActivityResponse model module. + * @module model/DeleteActivityResponse + * @version 1.0.0 + */ +class DeleteActivityResponse { + /** + * Constructs a new DeleteActivityResponse. + * @alias module:model/DeleteActivityResponse + */ + constructor() { + + DeleteActivityResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteActivityResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteActivityResponse} obj Optional instance to populate. + * @return {module:model/DeleteActivityResponse} The populated DeleteActivityResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteActivityResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteActivityResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +DeleteActivityResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteActivityResponseData} data + */ +DeleteActivityResponse.prototype['data'] = undefined; + + + + + + +export default DeleteActivityResponse; + diff --git a/src/model/DeleteActivityResponseData.js b/src/model/DeleteActivityResponseData.js new file mode 100644 index 00000000..2f60836c --- /dev/null +++ b/src/model/DeleteActivityResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeleteActivityResponseData model module. + * @module model/DeleteActivityResponseData + * @version 1.0.0 + */ +class DeleteActivityResponseData { + /** + * Constructs a new DeleteActivityResponseData. + * @alias module:model/DeleteActivityResponseData + */ + constructor() { + + DeleteActivityResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteActivityResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteActivityResponseData} obj Optional instance to populate. + * @return {module:model/DeleteActivityResponseData} The populated DeleteActivityResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteActivityResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], 'Number'); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * The ID of the activity that was deleted + * @member {Number} id + */ +DeleteActivityResponseData.prototype['id'] = undefined; + + + + + + +export default DeleteActivityResponseData; + diff --git a/src/model/DeleteGoalResponse.js b/src/model/DeleteGoalResponse.js new file mode 100644 index 00000000..4914e6ef --- /dev/null +++ b/src/model/DeleteGoalResponse.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeleteGoalResponse model module. + * @module model/DeleteGoalResponse + * @version 1.0.0 + */ +class DeleteGoalResponse { + /** + * Constructs a new DeleteGoalResponse. + * @alias module:model/DeleteGoalResponse + */ + constructor() { + + DeleteGoalResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteGoalResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteGoalResponse} obj Optional instance to populate. + * @return {module:model/DeleteGoalResponse} The populated DeleteGoalResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteGoalResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +DeleteGoalResponse.prototype['success'] = undefined; + + + + + + +export default DeleteGoalResponse; + diff --git a/src/model/DeleteLeadIdResponse.js b/src/model/DeleteLeadIdResponse.js new file mode 100644 index 00000000..a9ab81ee --- /dev/null +++ b/src/model/DeleteLeadIdResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import GetLeadIdResponseData from './GetLeadIdResponseData'; + +/** + * The DeleteLeadIdResponse model module. + * @module model/DeleteLeadIdResponse + * @version 1.0.0 + */ +class DeleteLeadIdResponse { + /** + * Constructs a new DeleteLeadIdResponse. + * @alias module:model/DeleteLeadIdResponse + */ + constructor() { + + DeleteLeadIdResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteLeadIdResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteLeadIdResponse} obj Optional instance to populate. + * @return {module:model/DeleteLeadIdResponse} The populated DeleteLeadIdResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteLeadIdResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = GetLeadIdResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +DeleteLeadIdResponse.prototype['success'] = undefined; + +/** + * @member {module:model/GetLeadIdResponseData} data + */ +DeleteLeadIdResponse.prototype['data'] = undefined; + + + + + + +export default DeleteLeadIdResponse; + diff --git a/src/model/DeletePipelineResponse.js b/src/model/DeletePipelineResponse.js new file mode 100644 index 00000000..ce34ab97 --- /dev/null +++ b/src/model/DeletePipelineResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeletePipelineResponseData from './DeletePipelineResponseData'; + +/** + * The DeletePipelineResponse model module. + * @module model/DeletePipelineResponse + * @version 1.0.0 + */ +class DeletePipelineResponse { + /** + * Constructs a new DeletePipelineResponse. + * @alias module:model/DeletePipelineResponse + */ + constructor() { + + DeletePipelineResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeletePipelineResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeletePipelineResponse} obj Optional instance to populate. + * @return {module:model/DeletePipelineResponse} The populated DeletePipelineResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeletePipelineResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeletePipelineResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +DeletePipelineResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeletePipelineResponseData} data + */ +DeletePipelineResponse.prototype['data'] = undefined; + + + + + + +export default DeletePipelineResponse; + diff --git a/src/model/DeletePipelineResponseData.js b/src/model/DeletePipelineResponseData.js new file mode 100644 index 00000000..d18bdf7b --- /dev/null +++ b/src/model/DeletePipelineResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeletePipelineResponseData model module. + * @module model/DeletePipelineResponseData + * @version 1.0.0 + */ +class DeletePipelineResponseData { + /** + * Constructs a new DeletePipelineResponseData. + * @alias module:model/DeletePipelineResponseData + */ + constructor() { + + DeletePipelineResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeletePipelineResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeletePipelineResponseData} obj Optional instance to populate. + * @return {module:model/DeletePipelineResponseData} The populated DeletePipelineResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeletePipelineResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], 'Number'); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * Deleted Pipeline ID + * @member {Number} id + */ +DeletePipelineResponseData.prototype['id'] = undefined; + + + + + + +export default DeletePipelineResponseData; + diff --git a/src/model/DeleteProjectResponse.js b/src/model/DeleteProjectResponse.js new file mode 100644 index 00000000..6a045da3 --- /dev/null +++ b/src/model/DeleteProjectResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteProject from './DeleteProject'; + +/** + * The DeleteProjectResponse model module. + * @module model/DeleteProjectResponse + * @version 1.0.0 + */ +class DeleteProjectResponse { + /** + * Constructs a new DeleteProjectResponse. + * @alias module:model/DeleteProjectResponse + */ + constructor() { + + DeleteProjectResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteProjectResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteProjectResponse} obj Optional instance to populate. + * @return {module:model/DeleteProjectResponse} The populated DeleteProjectResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteProjectResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteProject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +DeleteProjectResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteProject} data + */ +DeleteProjectResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +DeleteProjectResponse.prototype['additional_data'] = undefined; + + + + + + +export default DeleteProjectResponse; + diff --git a/src/model/DeleteStageResponse.js b/src/model/DeleteStageResponse.js new file mode 100644 index 00000000..2eb296e1 --- /dev/null +++ b/src/model/DeleteStageResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteStageResponseData from './DeleteStageResponseData'; + +/** + * The DeleteStageResponse model module. + * @module model/DeleteStageResponse + * @version 1.0.0 + */ +class DeleteStageResponse { + /** + * Constructs a new DeleteStageResponse. + * @alias module:model/DeleteStageResponse + */ + constructor() { + + DeleteStageResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteStageResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteStageResponse} obj Optional instance to populate. + * @return {module:model/DeleteStageResponse} The populated DeleteStageResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteStageResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteStageResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +DeleteStageResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteStageResponseData} data + */ +DeleteStageResponse.prototype['data'] = undefined; + + + + + + +export default DeleteStageResponse; + diff --git a/src/model/DeleteStageResponseData.js b/src/model/DeleteStageResponseData.js new file mode 100644 index 00000000..181aa18e --- /dev/null +++ b/src/model/DeleteStageResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeleteStageResponseData model module. + * @module model/DeleteStageResponseData + * @version 1.0.0 + */ +class DeleteStageResponseData { + /** + * Constructs a new DeleteStageResponseData. + * @alias module:model/DeleteStageResponseData + */ + constructor() { + + DeleteStageResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteStageResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteStageResponseData} obj Optional instance to populate. + * @return {module:model/DeleteStageResponseData} The populated DeleteStageResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteStageResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], 'Number'); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * Deleted stage ID + * @member {Number} id + */ +DeleteStageResponseData.prototype['id'] = undefined; + + + + + + +export default DeleteStageResponseData; + diff --git a/src/model/DeleteStagesResponse.js b/src/model/DeleteStagesResponse.js new file mode 100644 index 00000000..568caff5 --- /dev/null +++ b/src/model/DeleteStagesResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteStagesResponseData from './DeleteStagesResponseData'; + +/** + * The DeleteStagesResponse model module. + * @module model/DeleteStagesResponse + * @version 1.0.0 + */ +class DeleteStagesResponse { + /** + * Constructs a new DeleteStagesResponse. + * @alias module:model/DeleteStagesResponse + */ + constructor() { + + DeleteStagesResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteStagesResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteStagesResponse} obj Optional instance to populate. + * @return {module:model/DeleteStagesResponse} The populated DeleteStagesResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteStagesResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteStagesResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +DeleteStagesResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteStagesResponseData} data + */ +DeleteStagesResponse.prototype['data'] = undefined; + + + + + + +export default DeleteStagesResponse; + diff --git a/src/model/DeleteStagesResponseData.js b/src/model/DeleteStagesResponseData.js new file mode 100644 index 00000000..ab9c3a93 --- /dev/null +++ b/src/model/DeleteStagesResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The DeleteStagesResponseData model module. + * @module model/DeleteStagesResponseData + * @version 1.0.0 + */ +class DeleteStagesResponseData { + /** + * Constructs a new DeleteStagesResponseData. + * @alias module:model/DeleteStagesResponseData + */ + constructor() { + + DeleteStagesResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteStagesResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteStagesResponseData} obj Optional instance to populate. + * @return {module:model/DeleteStagesResponseData} The populated DeleteStagesResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteStagesResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], ['Number']); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * The list of deleted stage IDs + * @member {Array.} id + */ +DeleteStagesResponseData.prototype['id'] = undefined; + + + + + + +export default DeleteStagesResponseData; + diff --git a/src/model/DeleteTaskResponse.js b/src/model/DeleteTaskResponse.js new file mode 100644 index 00000000..dba5adab --- /dev/null +++ b/src/model/DeleteTaskResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import DeleteTask from './DeleteTask'; + +/** + * The DeleteTaskResponse model module. + * @module model/DeleteTaskResponse + * @version 1.0.0 + */ +class DeleteTaskResponse { + /** + * Constructs a new DeleteTaskResponse. + * @alias module:model/DeleteTaskResponse + */ + constructor() { + + DeleteTaskResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a DeleteTaskResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/DeleteTaskResponse} obj Optional instance to populate. + * @return {module:model/DeleteTaskResponse} The populated DeleteTaskResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new DeleteTaskResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = DeleteTask.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +DeleteTaskResponse.prototype['success'] = undefined; + +/** + * @member {module:model/DeleteTask} data + */ +DeleteTaskResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +DeleteTaskResponse.prototype['additional_data'] = undefined; + + + + + + +export default DeleteTaskResponse; + diff --git a/src/model/GetActivitiesCollectionResponse.js b/src/model/GetActivitiesCollectionResponse.js new file mode 100644 index 00000000..034295a2 --- /dev/null +++ b/src/model/GetActivitiesCollectionResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ActivityCollectionResponseObject from './ActivityCollectionResponseObject'; +import AdditionalDataWithCursorPagination from './AdditionalDataWithCursorPagination'; + +/** + * The GetActivitiesCollectionResponse model module. + * @module model/GetActivitiesCollectionResponse + * @version 1.0.0 + */ +class GetActivitiesCollectionResponse { + /** + * Constructs a new GetActivitiesCollectionResponse. + * @alias module:model/GetActivitiesCollectionResponse + */ + constructor() { + + GetActivitiesCollectionResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetActivitiesCollectionResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetActivitiesCollectionResponse} obj Optional instance to populate. + * @return {module:model/GetActivitiesCollectionResponse} The populated GetActivitiesCollectionResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetActivitiesCollectionResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ActivityCollectionResponseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = AdditionalDataWithCursorPagination.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetActivitiesCollectionResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetActivitiesCollectionResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AdditionalDataWithCursorPagination} additional_data + */ +GetActivitiesCollectionResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetActivitiesCollectionResponse; + diff --git a/src/model/GetActivitiesResponse.js b/src/model/GetActivitiesResponse.js new file mode 100644 index 00000000..3841fc51 --- /dev/null +++ b/src/model/GetActivitiesResponse.js @@ -0,0 +1,111 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ActivityResponseObject from './ActivityResponseObject'; +import GetActivitiesResponseRelatedObjects from './GetActivitiesResponseRelatedObjects'; +import ItemSearchAdditionalData from './ItemSearchAdditionalData'; + +/** + * The GetActivitiesResponse model module. + * @module model/GetActivitiesResponse + * @version 1.0.0 + */ +class GetActivitiesResponse { + /** + * Constructs a new GetActivitiesResponse. + * @alias module:model/GetActivitiesResponse + */ + constructor() { + + GetActivitiesResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetActivitiesResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetActivitiesResponse} obj Optional instance to populate. + * @return {module:model/GetActivitiesResponse} The populated GetActivitiesResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetActivitiesResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ActivityResponseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ItemSearchAdditionalData.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + if (data.hasOwnProperty('related_objects')) { + obj['related_objects'] = GetActivitiesResponseRelatedObjects.constructFromObject(data['related_objects']); + + delete data['related_objects']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetActivitiesResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetActivitiesResponse.prototype['data'] = undefined; + +/** + * @member {module:model/ItemSearchAdditionalData} additional_data + */ +GetActivitiesResponse.prototype['additional_data'] = undefined; + +/** + * @member {module:model/GetActivitiesResponseRelatedObjects} related_objects + */ +GetActivitiesResponse.prototype['related_objects'] = undefined; + + + + + + +export default GetActivitiesResponse; + diff --git a/src/model/GetActivitiesResponseRelatedObjects.js b/src/model/GetActivitiesResponseRelatedObjects.js new file mode 100644 index 00000000..1aee4882 --- /dev/null +++ b/src/model/GetActivitiesResponseRelatedObjects.js @@ -0,0 +1,112 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import RelatedDealData from './RelatedDealData'; +import RelatedOrganizationData from './RelatedOrganizationData'; +import RelatedPersonData from './RelatedPersonData'; +import RelatedUserData from './RelatedUserData'; + +/** + * The GetActivitiesResponseRelatedObjects model module. + * @module model/GetActivitiesResponseRelatedObjects + * @version 1.0.0 + */ +class GetActivitiesResponseRelatedObjects { + /** + * Constructs a new GetActivitiesResponseRelatedObjects. + * @alias module:model/GetActivitiesResponseRelatedObjects + */ + constructor() { + + GetActivitiesResponseRelatedObjects.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetActivitiesResponseRelatedObjects from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetActivitiesResponseRelatedObjects} obj Optional instance to populate. + * @return {module:model/GetActivitiesResponseRelatedObjects} The populated GetActivitiesResponseRelatedObjects instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetActivitiesResponseRelatedObjects(); + + if (data.hasOwnProperty('user')) { + obj['user'] = RelatedUserData.constructFromObject(data['user']); + + delete data['user']; + } + if (data.hasOwnProperty('deal')) { + obj['deal'] = RelatedDealData.constructFromObject(data['deal']); + + delete data['deal']; + } + if (data.hasOwnProperty('person')) { + obj['person'] = RelatedPersonData.constructFromObject(data['person']); + + delete data['person']; + } + if (data.hasOwnProperty('organization')) { + obj['organization'] = RelatedOrganizationData.constructFromObject(data['organization']); + + delete data['organization']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {module:model/RelatedUserData} user + */ +GetActivitiesResponseRelatedObjects.prototype['user'] = undefined; + +/** + * @member {module:model/RelatedDealData} deal + */ +GetActivitiesResponseRelatedObjects.prototype['deal'] = undefined; + +/** + * @member {module:model/RelatedPersonData} person + */ +GetActivitiesResponseRelatedObjects.prototype['person'] = undefined; + +/** + * @member {module:model/RelatedOrganizationData} organization + */ +GetActivitiesResponseRelatedObjects.prototype['organization'] = undefined; + + + + + + +export default GetActivitiesResponseRelatedObjects; + diff --git a/src/model/GetActivityResponse.js b/src/model/GetActivityResponse.js new file mode 100644 index 00000000..d1eab3f9 --- /dev/null +++ b/src/model/GetActivityResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ActivityResponseObject from './ActivityResponseObject'; +import GetActivitiesResponseRelatedObjects from './GetActivitiesResponseRelatedObjects'; + +/** + * The GetActivityResponse model module. + * @module model/GetActivityResponse + * @version 1.0.0 + */ +class GetActivityResponse { + /** + * Constructs a new GetActivityResponse. + * @alias module:model/GetActivityResponse + */ + constructor() { + + GetActivityResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetActivityResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetActivityResponse} obj Optional instance to populate. + * @return {module:model/GetActivityResponse} The populated GetActivityResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetActivityResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ActivityResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('related_objects')) { + obj['related_objects'] = GetActivitiesResponseRelatedObjects.constructFromObject(data['related_objects']); + + delete data['related_objects']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetActivityResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ActivityResponseObject} data + */ +GetActivityResponse.prototype['data'] = undefined; + +/** + * @member {module:model/GetActivitiesResponseRelatedObjects} related_objects + */ +GetActivityResponse.prototype['related_objects'] = undefined; + + + + + + +export default GetActivityResponse; + diff --git a/src/model/GetAddProductAttachmentDetails.js b/src/model/GetAddProductAttachmentDetails.js new file mode 100644 index 00000000..663d1bcf --- /dev/null +++ b/src/model/GetAddProductAttachmentDetails.js @@ -0,0 +1,91 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import AddProductAttachmentDetails from './AddProductAttachmentDetails'; + +/** + * The GetAddProductAttachmentDetails model module. + * @module model/GetAddProductAttachmentDetails + * @version 1.0.0 + */ +class GetAddProductAttachmentDetails { + /** + * Constructs a new GetAddProductAttachmentDetails. + * @alias module:model/GetAddProductAttachmentDetails + */ + constructor() { + + GetAddProductAttachmentDetails.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetAddProductAttachmentDetails from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetAddProductAttachmentDetails} obj Optional instance to populate. + * @return {module:model/GetAddProductAttachmentDetails} The populated GetAddProductAttachmentDetails instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetAddProductAttachmentDetails(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], AddProductAttachmentDetails); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the response is successful or not + * @member {Boolean} success + */ +GetAddProductAttachmentDetails.prototype['success'] = undefined; + +/** + * The added product object attached to the deal + * @member {module:model/AddProductAttachmentDetails} data + */ +GetAddProductAttachmentDetails.prototype['data'] = undefined; + + + + + + +export default GetAddProductAttachmentDetails; + diff --git a/src/model/GetGoalResultResponse.js b/src/model/GetGoalResultResponse.js new file mode 100644 index 00000000..8d29bc0b --- /dev/null +++ b/src/model/GetGoalResultResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import GoalResults from './GoalResults'; + +/** + * The GetGoalResultResponse model module. + * @module model/GetGoalResultResponse + * @version 1.0.0 + */ +class GetGoalResultResponse { + /** + * Constructs a new GetGoalResultResponse. + * @alias module:model/GetGoalResultResponse + */ + constructor() { + + GetGoalResultResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetGoalResultResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetGoalResultResponse} obj Optional instance to populate. + * @return {module:model/GetGoalResultResponse} The populated GetGoalResultResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetGoalResultResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = GoalResults.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +GetGoalResultResponse.prototype['success'] = undefined; + +/** + * @member {module:model/GoalResults} data + */ +GetGoalResultResponse.prototype['data'] = undefined; + + + + + + +export default GetGoalResultResponse; + diff --git a/src/model/GetGoalsResponse.js b/src/model/GetGoalsResponse.js new file mode 100644 index 00000000..5df5bac0 --- /dev/null +++ b/src/model/GetGoalsResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import FindGoalResponse from './FindGoalResponse'; + +/** + * The GetGoalsResponse model module. + * @module model/GetGoalsResponse + * @version 1.0.0 + */ +class GetGoalsResponse { + /** + * Constructs a new GetGoalsResponse. + * @alias module:model/GetGoalsResponse + */ + constructor() { + + GetGoalsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetGoalsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetGoalsResponse} obj Optional instance to populate. + * @return {module:model/GetGoalsResponse} The populated GetGoalsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetGoalsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = FindGoalResponse.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +GetGoalsResponse.prototype['success'] = undefined; + +/** + * @member {module:model/FindGoalResponse} data + */ +GetGoalsResponse.prototype['data'] = undefined; + + + + + + +export default GetGoalsResponse; + diff --git a/src/model/GetLeadIdResponse.js b/src/model/GetLeadIdResponse.js new file mode 100644 index 00000000..0ec72c3a --- /dev/null +++ b/src/model/GetLeadIdResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import GetLeadIdResponseData from './GetLeadIdResponseData'; + +/** + * The GetLeadIdResponse model module. + * @module model/GetLeadIdResponse + * @version 1.0.0 + */ +class GetLeadIdResponse { + /** + * Constructs a new GetLeadIdResponse. + * @alias module:model/GetLeadIdResponse + */ + constructor() { + + GetLeadIdResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadIdResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadIdResponse} obj Optional instance to populate. + * @return {module:model/GetLeadIdResponse} The populated GetLeadIdResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadIdResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = GetLeadIdResponseData.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetLeadIdResponse.prototype['success'] = undefined; + +/** + * @member {module:model/GetLeadIdResponseData} data + */ +GetLeadIdResponse.prototype['data'] = undefined; + + + + + + +export default GetLeadIdResponse; + diff --git a/src/model/GetLeadIdResponseData.js b/src/model/GetLeadIdResponseData.js new file mode 100644 index 00000000..116e5906 --- /dev/null +++ b/src/model/GetLeadIdResponseData.js @@ -0,0 +1,78 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The GetLeadIdResponseData model module. + * @module model/GetLeadIdResponseData + * @version 1.0.0 + */ +class GetLeadIdResponseData { + /** + * Constructs a new GetLeadIdResponseData. + * @alias module:model/GetLeadIdResponseData + */ + constructor() { + + GetLeadIdResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadIdResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadIdResponseData} obj Optional instance to populate. + * @return {module:model/GetLeadIdResponseData} The populated GetLeadIdResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadIdResponseData(); + + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], 'String'); + + delete data['id']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {String} id + */ +GetLeadIdResponseData.prototype['id'] = undefined; + + + + + + +export default GetLeadIdResponseData; + diff --git a/src/model/GetLeadLabelsResponse.js b/src/model/GetLeadLabelsResponse.js new file mode 100644 index 00000000..3129a3ca --- /dev/null +++ b/src/model/GetLeadLabelsResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import LeadLabelResponse from './LeadLabelResponse'; + +/** + * The GetLeadLabelsResponse model module. + * @module model/GetLeadLabelsResponse + * @version 1.0.0 + */ +class GetLeadLabelsResponse { + /** + * Constructs a new GetLeadLabelsResponse. + * @alias module:model/GetLeadLabelsResponse + */ + constructor() { + + GetLeadLabelsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadLabelsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadLabelsResponse} obj Optional instance to populate. + * @return {module:model/GetLeadLabelsResponse} The populated GetLeadLabelsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadLabelsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [LeadLabelResponse]); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetLeadLabelsResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetLeadLabelsResponse.prototype['data'] = undefined; + + + + + + +export default GetLeadLabelsResponse; + diff --git a/src/model/GetLeadResponse.js b/src/model/GetLeadResponse.js new file mode 100644 index 00000000..3dcef68f --- /dev/null +++ b/src/model/GetLeadResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import LeadResponse from './LeadResponse'; + +/** + * The GetLeadResponse model module. + * @module model/GetLeadResponse + * @version 1.0.0 + */ +class GetLeadResponse { + /** + * Constructs a new GetLeadResponse. + * @alias module:model/GetLeadResponse + */ + constructor() { + + GetLeadResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadResponse} obj Optional instance to populate. + * @return {module:model/GetLeadResponse} The populated GetLeadResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = LeadResponse.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetLeadResponse.prototype['success'] = undefined; + +/** + * @member {module:model/LeadResponse} data + */ +GetLeadResponse.prototype['data'] = undefined; + + + + + + +export default GetLeadResponse; + diff --git a/src/model/GetLeadsResponse.js b/src/model/GetLeadsResponse.js new file mode 100644 index 00000000..4e74b17e --- /dev/null +++ b/src/model/GetLeadsResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import AdditionalData from './AdditionalData'; +import LeadResponse from './LeadResponse'; + +/** + * The GetLeadsResponse model module. + * @module model/GetLeadsResponse + * @version 1.0.0 + */ +class GetLeadsResponse { + /** + * Constructs a new GetLeadsResponse. + * @alias module:model/GetLeadsResponse + */ + constructor() { + + GetLeadsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadsResponse} obj Optional instance to populate. + * @return {module:model/GetLeadsResponse} The populated GetLeadsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [LeadResponse]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = AdditionalData.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetLeadsResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetLeadsResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AdditionalData} additional_data + */ +GetLeadsResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetLeadsResponse; + diff --git a/src/model/GetLeadsSourceResponse.js b/src/model/GetLeadsSourceResponse.js new file mode 100644 index 00000000..23da8367 --- /dev/null +++ b/src/model/GetLeadsSourceResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import GetLeadsSourceResponseData from './GetLeadsSourceResponseData'; + +/** + * The GetLeadsSourceResponse model module. + * @module model/GetLeadsSourceResponse + * @version 1.0.0 + */ +class GetLeadsSourceResponse { + /** + * Constructs a new GetLeadsSourceResponse. + * @alias module:model/GetLeadsSourceResponse + */ + constructor() { + + GetLeadsSourceResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadsSourceResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadsSourceResponse} obj Optional instance to populate. + * @return {module:model/GetLeadsSourceResponse} The populated GetLeadsSourceResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadsSourceResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [GetLeadsSourceResponseData]); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetLeadsSourceResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetLeadsSourceResponse.prototype['data'] = undefined; + + + + + + +export default GetLeadsSourceResponse; + diff --git a/src/model/GetLeadsSourceResponseData.js b/src/model/GetLeadsSourceResponseData.js new file mode 100644 index 00000000..fbe95762 --- /dev/null +++ b/src/model/GetLeadsSourceResponseData.js @@ -0,0 +1,79 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The GetLeadsSourceResponseData model module. + * @module model/GetLeadsSourceResponseData + * @version 1.0.0 + */ +class GetLeadsSourceResponseData { + /** + * Constructs a new GetLeadsSourceResponseData. + * @alias module:model/GetLeadsSourceResponseData + */ + constructor() { + + GetLeadsSourceResponseData.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetLeadsSourceResponseData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetLeadsSourceResponseData} obj Optional instance to populate. + * @return {module:model/GetLeadsSourceResponseData} The populated GetLeadsSourceResponseData instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetLeadsSourceResponseData(); + + if (data.hasOwnProperty('name')) { + obj['name'] = ApiClient.convertToType(data['name'], 'String'); + + delete data['name']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * The unique name of a lead source + * @member {String} name + */ +GetLeadsSourceResponseData.prototype['name'] = undefined; + + + + + + +export default GetLeadsSourceResponseData; + diff --git a/src/model/GetProductAttachmentDetails.js b/src/model/GetProductAttachmentDetails.js new file mode 100644 index 00000000..fcc3da50 --- /dev/null +++ b/src/model/GetProductAttachmentDetails.js @@ -0,0 +1,91 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProductAttachmentDetails from './ProductAttachmentDetails'; + +/** + * The GetProductAttachmentDetails model module. + * @module model/GetProductAttachmentDetails + * @version 1.0.0 + */ +class GetProductAttachmentDetails { + /** + * Constructs a new GetProductAttachmentDetails. + * @alias module:model/GetProductAttachmentDetails + */ + constructor() { + + GetProductAttachmentDetails.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProductAttachmentDetails from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProductAttachmentDetails} obj Optional instance to populate. + * @return {module:model/GetProductAttachmentDetails} The populated GetProductAttachmentDetails instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProductAttachmentDetails(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], ProductAttachmentDetails); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the response is successful or not + * @member {Boolean} success + */ +GetProductAttachmentDetails.prototype['success'] = undefined; + +/** + * The updated product object attached to the deal + * @member {module:model/ProductAttachmentDetails} data + */ +GetProductAttachmentDetails.prototype['data'] = undefined; + + + + + + +export default GetProductAttachmentDetails; + diff --git a/src/model/GetProjectBoardResponse.js b/src/model/GetProjectBoardResponse.js new file mode 100644 index 00000000..6542f594 --- /dev/null +++ b/src/model/GetProjectBoardResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectBoardObject from './ProjectBoardObject'; + +/** + * The GetProjectBoardResponse model module. + * @module model/GetProjectBoardResponse + * @version 1.0.0 + */ +class GetProjectBoardResponse { + /** + * Constructs a new GetProjectBoardResponse. + * @alias module:model/GetProjectBoardResponse + */ + constructor() { + + GetProjectBoardResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectBoardResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectBoardResponse} obj Optional instance to populate. + * @return {module:model/GetProjectBoardResponse} The populated GetProjectBoardResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectBoardResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectBoardObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectBoardResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectBoardObject} data + */ +GetProjectBoardResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectBoardResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectBoardResponse; + diff --git a/src/model/GetProjectBoardsResponse.js b/src/model/GetProjectBoardsResponse.js new file mode 100644 index 00000000..142d33fc --- /dev/null +++ b/src/model/GetProjectBoardsResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectBoardObject from './ProjectBoardObject'; + +/** + * The GetProjectBoardsResponse model module. + * @module model/GetProjectBoardsResponse + * @version 1.0.0 + */ +class GetProjectBoardsResponse { + /** + * Constructs a new GetProjectBoardsResponse. + * @alias module:model/GetProjectBoardsResponse + */ + constructor() { + + GetProjectBoardsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectBoardsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectBoardsResponse} obj Optional instance to populate. + * @return {module:model/GetProjectBoardsResponse} The populated GetProjectBoardsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectBoardsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ProjectBoardObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectBoardsResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectBoardsResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectBoardsResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectBoardsResponse; + diff --git a/src/model/GetProjectGroupsResponse.js b/src/model/GetProjectGroupsResponse.js new file mode 100644 index 00000000..c7a50b1e --- /dev/null +++ b/src/model/GetProjectGroupsResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectGroupsObject from './ProjectGroupsObject'; + +/** + * The GetProjectGroupsResponse model module. + * @module model/GetProjectGroupsResponse + * @version 1.0.0 + */ +class GetProjectGroupsResponse { + /** + * Constructs a new GetProjectGroupsResponse. + * @alias module:model/GetProjectGroupsResponse + */ + constructor() { + + GetProjectGroupsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectGroupsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectGroupsResponse} obj Optional instance to populate. + * @return {module:model/GetProjectGroupsResponse} The populated GetProjectGroupsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectGroupsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ProjectGroupsObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectGroupsResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectGroupsResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectGroupsResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectGroupsResponse; + diff --git a/src/model/GetProjectPhaseResponse.js b/src/model/GetProjectPhaseResponse.js new file mode 100644 index 00000000..336712a1 --- /dev/null +++ b/src/model/GetProjectPhaseResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectPhaseObject from './ProjectPhaseObject'; + +/** + * The GetProjectPhaseResponse model module. + * @module model/GetProjectPhaseResponse + * @version 1.0.0 + */ +class GetProjectPhaseResponse { + /** + * Constructs a new GetProjectPhaseResponse. + * @alias module:model/GetProjectPhaseResponse + */ + constructor() { + + GetProjectPhaseResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectPhaseResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectPhaseResponse} obj Optional instance to populate. + * @return {module:model/GetProjectPhaseResponse} The populated GetProjectPhaseResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectPhaseResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectPhaseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectPhaseResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectPhaseObject} data + */ +GetProjectPhaseResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectPhaseResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectPhaseResponse; + diff --git a/src/model/GetProjectPhasesResponse.js b/src/model/GetProjectPhasesResponse.js new file mode 100644 index 00000000..26b285b1 --- /dev/null +++ b/src/model/GetProjectPhasesResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectPhaseObject from './ProjectPhaseObject'; + +/** + * The GetProjectPhasesResponse model module. + * @module model/GetProjectPhasesResponse + * @version 1.0.0 + */ +class GetProjectPhasesResponse { + /** + * Constructs a new GetProjectPhasesResponse. + * @alias module:model/GetProjectPhasesResponse + */ + constructor() { + + GetProjectPhasesResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectPhasesResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectPhasesResponse} obj Optional instance to populate. + * @return {module:model/GetProjectPhasesResponse} The populated GetProjectPhasesResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectPhasesResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ProjectPhaseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectPhasesResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectPhasesResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectPhasesResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectPhasesResponse; + diff --git a/src/model/GetProjectPlanResponse.js b/src/model/GetProjectPlanResponse.js new file mode 100644 index 00000000..ce86ee4c --- /dev/null +++ b/src/model/GetProjectPlanResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectPlanItemObject from './ProjectPlanItemObject'; + +/** + * The GetProjectPlanResponse model module. + * @module model/GetProjectPlanResponse + * @version 1.0.0 + */ +class GetProjectPlanResponse { + /** + * Constructs a new GetProjectPlanResponse. + * @alias module:model/GetProjectPlanResponse + */ + constructor() { + + GetProjectPlanResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectPlanResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectPlanResponse} obj Optional instance to populate. + * @return {module:model/GetProjectPlanResponse} The populated GetProjectPlanResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectPlanResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ProjectPlanItemObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectPlanResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectPlanResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectPlanResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectPlanResponse; + diff --git a/src/model/GetProjectResponse.js b/src/model/GetProjectResponse.js new file mode 100644 index 00000000..d0e61835 --- /dev/null +++ b/src/model/GetProjectResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectResponseObject from './ProjectResponseObject'; + +/** + * The GetProjectResponse model module. + * @module model/GetProjectResponse + * @version 1.0.0 + */ +class GetProjectResponse { + /** + * Constructs a new GetProjectResponse. + * @alias module:model/GetProjectResponse + */ + constructor() { + + GetProjectResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectResponse} obj Optional instance to populate. + * @return {module:model/GetProjectResponse} The populated GetProjectResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectResponseObject} data + */ +GetProjectResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectResponse; + diff --git a/src/model/GetProjectTemplateResponse.js b/src/model/GetProjectTemplateResponse.js new file mode 100644 index 00000000..6d943b85 --- /dev/null +++ b/src/model/GetProjectTemplateResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import TemplateResponseObject from './TemplateResponseObject'; + +/** + * The GetProjectTemplateResponse model module. + * @module model/GetProjectTemplateResponse + * @version 1.0.0 + */ +class GetProjectTemplateResponse { + /** + * Constructs a new GetProjectTemplateResponse. + * @alias module:model/GetProjectTemplateResponse + */ + constructor() { + + GetProjectTemplateResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectTemplateResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectTemplateResponse} obj Optional instance to populate. + * @return {module:model/GetProjectTemplateResponse} The populated GetProjectTemplateResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectTemplateResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = TemplateResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectTemplateResponse.prototype['success'] = undefined; + +/** + * @member {module:model/TemplateResponseObject} data + */ +GetProjectTemplateResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetProjectTemplateResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectTemplateResponse; + diff --git a/src/model/GetProjectTemplatesResponse.js b/src/model/GetProjectTemplatesResponse.js new file mode 100644 index 00000000..89eb6a06 --- /dev/null +++ b/src/model/GetProjectTemplatesResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import AdditionalDataWithCursorPagination from './AdditionalDataWithCursorPagination'; +import TemplateResponseObject from './TemplateResponseObject'; + +/** + * The GetProjectTemplatesResponse model module. + * @module model/GetProjectTemplatesResponse + * @version 1.0.0 + */ +class GetProjectTemplatesResponse { + /** + * Constructs a new GetProjectTemplatesResponse. + * @alias module:model/GetProjectTemplatesResponse + */ + constructor() { + + GetProjectTemplatesResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectTemplatesResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectTemplatesResponse} obj Optional instance to populate. + * @return {module:model/GetProjectTemplatesResponse} The populated GetProjectTemplatesResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectTemplatesResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [TemplateResponseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = AdditionalDataWithCursorPagination.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectTemplatesResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectTemplatesResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AdditionalDataWithCursorPagination} additional_data + */ +GetProjectTemplatesResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectTemplatesResponse; + diff --git a/src/model/GetProjectsResponse.js b/src/model/GetProjectsResponse.js new file mode 100644 index 00000000..0a624a6a --- /dev/null +++ b/src/model/GetProjectsResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import AdditionalDataWithCursorPagination from './AdditionalDataWithCursorPagination'; +import ProjectResponseObject from './ProjectResponseObject'; + +/** + * The GetProjectsResponse model module. + * @module model/GetProjectsResponse + * @version 1.0.0 + */ +class GetProjectsResponse { + /** + * Constructs a new GetProjectsResponse. + * @alias module:model/GetProjectsResponse + */ + constructor() { + + GetProjectsResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetProjectsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetProjectsResponse} obj Optional instance to populate. + * @return {module:model/GetProjectsResponse} The populated GetProjectsResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetProjectsResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [ProjectResponseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = AdditionalDataWithCursorPagination.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetProjectsResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetProjectsResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AdditionalDataWithCursorPagination} additional_data + */ +GetProjectsResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetProjectsResponse; + diff --git a/src/model/GetTaskResponse.js b/src/model/GetTaskResponse.js new file mode 100644 index 00000000..b5200c49 --- /dev/null +++ b/src/model/GetTaskResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import TaskResponseObject from './TaskResponseObject'; + +/** + * The GetTaskResponse model module. + * @module model/GetTaskResponse + * @version 1.0.0 + */ +class GetTaskResponse { + /** + * Constructs a new GetTaskResponse. + * @alias module:model/GetTaskResponse + */ + constructor() { + + GetTaskResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetTaskResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetTaskResponse} obj Optional instance to populate. + * @return {module:model/GetTaskResponse} The populated GetTaskResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetTaskResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = TaskResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetTaskResponse.prototype['success'] = undefined; + +/** + * @member {module:model/TaskResponseObject} data + */ +GetTaskResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +GetTaskResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetTaskResponse; + diff --git a/src/model/GetTasksResponse.js b/src/model/GetTasksResponse.js new file mode 100644 index 00000000..bf3f3dcb --- /dev/null +++ b/src/model/GetTasksResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import AdditionalDataWithCursorPagination from './AdditionalDataWithCursorPagination'; +import TaskResponseObject from './TaskResponseObject'; + +/** + * The GetTasksResponse model module. + * @module model/GetTasksResponse + * @version 1.0.0 + */ +class GetTasksResponse { + /** + * Constructs a new GetTasksResponse. + * @alias module:model/GetTasksResponse + */ + constructor() { + + GetTasksResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a GetTasksResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/GetTasksResponse} obj Optional instance to populate. + * @return {module:model/GetTasksResponse} The populated GetTasksResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new GetTasksResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], [TaskResponseObject]); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = AdditionalDataWithCursorPagination.constructFromObject(data['additional_data']); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +GetTasksResponse.prototype['success'] = undefined; + +/** + * @member {Array.} data + */ +GetTasksResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AdditionalDataWithCursorPagination} additional_data + */ +GetTasksResponse.prototype['additional_data'] = undefined; + + + + + + +export default GetTasksResponse; + diff --git a/src/model/LeadNotFoundResponse.js b/src/model/LeadNotFoundResponse.js new file mode 100644 index 00000000..2370d33a --- /dev/null +++ b/src/model/LeadNotFoundResponse.js @@ -0,0 +1,120 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The LeadNotFoundResponse model module. + * @module model/LeadNotFoundResponse + * @version 1.0.0 + */ +class LeadNotFoundResponse { + /** + * Constructs a new LeadNotFoundResponse. + * @alias module:model/LeadNotFoundResponse + */ + constructor() { + + LeadNotFoundResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a LeadNotFoundResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/LeadNotFoundResponse} obj Optional instance to populate. + * @return {module:model/LeadNotFoundResponse} The populated LeadNotFoundResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new LeadNotFoundResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('error')) { + obj['error'] = ApiClient.convertToType(data['error'], 'String'); + + delete data['error']; + } + if (data.hasOwnProperty('error_info')) { + obj['error_info'] = ApiClient.convertToType(data['error_info'], 'String'); + + delete data['error_info']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ApiClient.convertToType(data['data'], Object); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +LeadNotFoundResponse.prototype['success'] = undefined; + +/** + * The description of the error + * @member {String} error + */ +LeadNotFoundResponse.prototype['error'] = undefined; + +/** + * A message describing how to solve the problem + * @member {String} error_info + */ +LeadNotFoundResponse.prototype['error_info'] = undefined; + +/** + * @member {Object} data + */ +LeadNotFoundResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +LeadNotFoundResponse.prototype['additional_data'] = undefined; + + + + + + +export default LeadNotFoundResponse; + diff --git a/src/model/ProductResponse.js b/src/model/ProductResponse.js index 12905bb4..9e8a4e45 100644 --- a/src/model/ProductResponse.js +++ b/src/model/ProductResponse.js @@ -12,7 +12,7 @@ */ import ApiClient from '../ApiClient'; -import GetActivitiesResponse200RelatedObjects from './GetActivitiesResponse200RelatedObjects'; +import GetActivitiesResponseRelatedObjects from './GetActivitiesResponseRelatedObjects'; import ProductWithArrayPrices from './ProductWithArrayPrices'; /** @@ -60,7 +60,7 @@ class ProductResponse { delete data['data']; } if (data.hasOwnProperty('related_objects')) { - obj['related_objects'] = GetActivitiesResponse200RelatedObjects.constructFromObject(data['related_objects']); + obj['related_objects'] = GetActivitiesResponseRelatedObjects.constructFromObject(data['related_objects']); delete data['related_objects']; } @@ -88,7 +88,7 @@ ProductResponse.prototype['success'] = undefined; ProductResponse.prototype['data'] = undefined; /** - * @member {module:model/GetActivitiesResponse200RelatedObjects} related_objects + * @member {module:model/GetActivitiesResponseRelatedObjects} related_objects */ ProductResponse.prototype['related_objects'] = undefined; diff --git a/src/model/ProductsResponse.js b/src/model/ProductsResponse.js index c8b5f1a5..fc05b0d5 100644 --- a/src/model/ProductsResponse.js +++ b/src/model/ProductsResponse.js @@ -13,7 +13,7 @@ import ApiClient from '../ApiClient'; import AdditionalData from './AdditionalData'; -import GetActivitiesResponse200RelatedObjects from './GetActivitiesResponse200RelatedObjects'; +import GetActivitiesResponseRelatedObjects from './GetActivitiesResponseRelatedObjects'; import ProductResponse from './ProductResponse'; /** @@ -66,7 +66,7 @@ class ProductsResponse { delete data['additional_data']; } if (data.hasOwnProperty('related_objects')) { - obj['related_objects'] = GetActivitiesResponse200RelatedObjects.constructFromObject(data['related_objects']); + obj['related_objects'] = GetActivitiesResponseRelatedObjects.constructFromObject(data['related_objects']); delete data['related_objects']; } @@ -100,7 +100,7 @@ ProductsResponse.prototype['data'] = undefined; ProductsResponse.prototype['additional_data'] = undefined; /** - * @member {module:model/GetActivitiesResponse200RelatedObjects} related_objects + * @member {module:model/GetActivitiesResponseRelatedObjects} related_objects */ ProductsResponse.prototype['related_objects'] = undefined; diff --git a/src/model/UpdateActivityPlanItem.js b/src/model/UpdateActivityPlanItem.js new file mode 100644 index 00000000..6abfe8eb --- /dev/null +++ b/src/model/UpdateActivityPlanItem.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectPlanItemObject from './ProjectPlanItemObject'; + +/** + * The UpdateActivityPlanItem model module. + * @module model/UpdateActivityPlanItem + * @version 1.0.0 + */ +class UpdateActivityPlanItem { + /** + * Constructs a new UpdateActivityPlanItem. + * @alias module:model/UpdateActivityPlanItem + */ + constructor() { + + UpdateActivityPlanItem.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpdateActivityPlanItem from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpdateActivityPlanItem} obj Optional instance to populate. + * @return {module:model/UpdateActivityPlanItem} The populated UpdateActivityPlanItem instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpdateActivityPlanItem(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectPlanItemObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpdateActivityPlanItem.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectPlanItemObject} data + */ +UpdateActivityPlanItem.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +UpdateActivityPlanItem.prototype['additional_data'] = undefined; + + + + + + +export default UpdateActivityPlanItem; + diff --git a/src/model/UpdateActivityResponse.js b/src/model/UpdateActivityResponse.js new file mode 100644 index 00000000..006327c9 --- /dev/null +++ b/src/model/UpdateActivityResponse.js @@ -0,0 +1,100 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ActivityResponseObject from './ActivityResponseObject'; +import AddActivityResponseRelatedObjects from './AddActivityResponseRelatedObjects'; + +/** + * The UpdateActivityResponse model module. + * @module model/UpdateActivityResponse + * @version 1.0.0 + */ +class UpdateActivityResponse { + /** + * Constructs a new UpdateActivityResponse. + * @alias module:model/UpdateActivityResponse + */ + constructor() { + + UpdateActivityResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpdateActivityResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpdateActivityResponse} obj Optional instance to populate. + * @return {module:model/UpdateActivityResponse} The populated UpdateActivityResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpdateActivityResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ActivityResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('related_objects')) { + obj['related_objects'] = AddActivityResponseRelatedObjects.constructFromObject(data['related_objects']); + + delete data['related_objects']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpdateActivityResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ActivityResponseObject} data + */ +UpdateActivityResponse.prototype['data'] = undefined; + +/** + * @member {module:model/AddActivityResponseRelatedObjects} related_objects + */ +UpdateActivityResponse.prototype['related_objects'] = undefined; + + + + + + +export default UpdateActivityResponse; + diff --git a/src/model/UpdateProductResponse.js b/src/model/UpdateProductResponse.js index 787d6a72..07edc038 100644 --- a/src/model/UpdateProductResponse.js +++ b/src/model/UpdateProductResponse.js @@ -12,7 +12,7 @@ */ import ApiClient from '../ApiClient'; -import GetActivitiesResponse200RelatedObjects from './GetActivitiesResponse200RelatedObjects'; +import GetActivitiesResponseRelatedObjects from './GetActivitiesResponseRelatedObjects'; import ProductWithArrayPrices from './ProductWithArrayPrices'; /** @@ -60,7 +60,7 @@ class UpdateProductResponse { delete data['data']; } if (data.hasOwnProperty('related_objects')) { - obj['related_objects'] = GetActivitiesResponse200RelatedObjects.constructFromObject(data['related_objects']); + obj['related_objects'] = GetActivitiesResponseRelatedObjects.constructFromObject(data['related_objects']); delete data['related_objects']; } @@ -88,7 +88,7 @@ UpdateProductResponse.prototype['success'] = undefined; UpdateProductResponse.prototype['data'] = undefined; /** - * @member {module:model/GetActivitiesResponse200RelatedObjects} related_objects + * @member {module:model/GetActivitiesResponseRelatedObjects} related_objects */ UpdateProductResponse.prototype['related_objects'] = undefined; diff --git a/src/model/UpdateProjectResponse.js b/src/model/UpdateProjectResponse.js new file mode 100644 index 00000000..ac418cae --- /dev/null +++ b/src/model/UpdateProjectResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectResponseObject from './ProjectResponseObject'; + +/** + * The UpdateProjectResponse model module. + * @module model/UpdateProjectResponse + * @version 1.0.0 + */ +class UpdateProjectResponse { + /** + * Constructs a new UpdateProjectResponse. + * @alias module:model/UpdateProjectResponse + */ + constructor() { + + UpdateProjectResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpdateProjectResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpdateProjectResponse} obj Optional instance to populate. + * @return {module:model/UpdateProjectResponse} The populated UpdateProjectResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpdateProjectResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpdateProjectResponse.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectResponseObject} data + */ +UpdateProjectResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +UpdateProjectResponse.prototype['additional_data'] = undefined; + + + + + + +export default UpdateProjectResponse; + diff --git a/src/model/UpdateTaskPlanItem.js b/src/model/UpdateTaskPlanItem.js new file mode 100644 index 00000000..1ecfb296 --- /dev/null +++ b/src/model/UpdateTaskPlanItem.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import ProjectPlanItemObject from './ProjectPlanItemObject'; + +/** + * The UpdateTaskPlanItem model module. + * @module model/UpdateTaskPlanItem + * @version 1.0.0 + */ +class UpdateTaskPlanItem { + /** + * Constructs a new UpdateTaskPlanItem. + * @alias module:model/UpdateTaskPlanItem + */ + constructor() { + + UpdateTaskPlanItem.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpdateTaskPlanItem from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpdateTaskPlanItem} obj Optional instance to populate. + * @return {module:model/UpdateTaskPlanItem} The populated UpdateTaskPlanItem instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpdateTaskPlanItem(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = ProjectPlanItemObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpdateTaskPlanItem.prototype['success'] = undefined; + +/** + * @member {module:model/ProjectPlanItemObject} data + */ +UpdateTaskPlanItem.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +UpdateTaskPlanItem.prototype['additional_data'] = undefined; + + + + + + +export default UpdateTaskPlanItem; + diff --git a/src/model/UpdateTaskResponse.js b/src/model/UpdateTaskResponse.js new file mode 100644 index 00000000..2bdc4f9c --- /dev/null +++ b/src/model/UpdateTaskResponse.js @@ -0,0 +1,99 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import TaskResponseObject from './TaskResponseObject'; + +/** + * The UpdateTaskResponse model module. + * @module model/UpdateTaskResponse + * @version 1.0.0 + */ +class UpdateTaskResponse { + /** + * Constructs a new UpdateTaskResponse. + * @alias module:model/UpdateTaskResponse + */ + constructor() { + + UpdateTaskResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpdateTaskResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpdateTaskResponse} obj Optional instance to populate. + * @return {module:model/UpdateTaskResponse} The populated UpdateTaskResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpdateTaskResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = TaskResponseObject.constructFromObject(data['data']); + + delete data['data']; + } + if (data.hasOwnProperty('additional_data')) { + obj['additional_data'] = ApiClient.convertToType(data['additional_data'], Object); + + delete data['additional_data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpdateTaskResponse.prototype['success'] = undefined; + +/** + * @member {module:model/TaskResponseObject} data + */ +UpdateTaskResponse.prototype['data'] = undefined; + +/** + * @member {Object} additional_data + */ +UpdateTaskResponse.prototype['additional_data'] = undefined; + + + + + + +export default UpdateTaskResponse; + diff --git a/src/model/UpsertGoalResponse.js b/src/model/UpsertGoalResponse.js new file mode 100644 index 00000000..5fef294f --- /dev/null +++ b/src/model/UpsertGoalResponse.js @@ -0,0 +1,90 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import PostGoalResponse from './PostGoalResponse'; + +/** + * The UpsertGoalResponse model module. + * @module model/UpsertGoalResponse + * @version 1.0.0 + */ +class UpsertGoalResponse { + /** + * Constructs a new UpsertGoalResponse. + * @alias module:model/UpsertGoalResponse + */ + constructor() { + + UpsertGoalResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpsertGoalResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpsertGoalResponse} obj Optional instance to populate. + * @return {module:model/UpsertGoalResponse} The populated UpsertGoalResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpsertGoalResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = PostGoalResponse.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * If the request was successful or not + * @member {Boolean} success + */ +UpsertGoalResponse.prototype['success'] = undefined; + +/** + * @member {module:model/PostGoalResponse} data + */ +UpsertGoalResponse.prototype['data'] = undefined; + + + + + + +export default UpsertGoalResponse; + diff --git a/src/model/UpsertLeadLabelResponse.js b/src/model/UpsertLeadLabelResponse.js new file mode 100644 index 00000000..a18e57c5 --- /dev/null +++ b/src/model/UpsertLeadLabelResponse.js @@ -0,0 +1,89 @@ +/** + * Pipedrive API v1 + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; +import LeadLabelResponse from './LeadLabelResponse'; + +/** + * The UpsertLeadLabelResponse model module. + * @module model/UpsertLeadLabelResponse + * @version 1.0.0 + */ +class UpsertLeadLabelResponse { + /** + * Constructs a new UpsertLeadLabelResponse. + * @alias module:model/UpsertLeadLabelResponse + */ + constructor() { + + UpsertLeadLabelResponse.initialize(this); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj) { + } + + /** + * Constructs a UpsertLeadLabelResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/UpsertLeadLabelResponse} obj Optional instance to populate. + * @return {module:model/UpsertLeadLabelResponse} The populated UpsertLeadLabelResponse instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new UpsertLeadLabelResponse(); + + if (data.hasOwnProperty('success')) { + obj['success'] = ApiClient.convertToType(data['success'], 'Boolean'); + + delete data['success']; + } + if (data.hasOwnProperty('data')) { + obj['data'] = LeadLabelResponse.constructFromObject(data['data']); + + delete data['data']; + } + + if (Object.keys(data).length > 0) { + Object.assign(obj, data); + } + + } + return obj; + } + + +} + +/** + * @member {Boolean} success + */ +UpsertLeadLabelResponse.prototype['success'] = undefined; + +/** + * @member {module:model/LeadLabelResponse} data + */ +UpsertLeadLabelResponse.prototype['data'] = undefined; + + + + + + +export default UpsertLeadLabelResponse; + From 1a7b34ba228b57249040622be191810b6e9efcd1 Mon Sep 17 00:00:00 2001 From: jenkins User Date: Tue, 27 Aug 2024 07:56:59 +0000 Subject: [PATCH 2/2] 23.2.5 --- CHANGELOG.md | 5 ++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be6e4135..bf61a237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19). ## [Unreleased] + +## [23.2.5] - 2024-08-27 ### Fixed - Updated default values for "billing_frequency_cycles", "billing_start_date" fields @@ -675,7 +677,8 @@ structure * Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal * Fixed typo in lead example response (`crrency` to `currency`) -[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.4...HEAD +[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.5...HEAD +[23.2.5]: https://github.com/pipedrive/api-docs/compare/v23.2.4...v23.2.5 [23.2.4]: https://github.com/pipedrive/api-docs/compare/v23.2.3...v23.2.4 [23.2.3]: https://github.com/pipedrive/api-docs/compare/v23.2.2...v23.2.3 [23.2.2]: https://github.com/pipedrive/api-docs/compare/v23.2.1...v23.2.2 diff --git a/package-lock.json b/package-lock.json index c218454e..7d3fc13b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pipedrive", - "version": "23.2.4", + "version": "23.2.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pipedrive", - "version": "23.2.4", + "version": "23.2.5", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.1", diff --git a/package.json b/package.json index 894138a7..c296fa8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pipedrive", - "version": "23.2.4", + "version": "23.2.5", "description": "Pipedrive REST client for NodeJS", "license": "MIT", "main": "dist/index.js",