Skip to content

Commit 1f66e79

Browse files
committed
Updated interfaces
1 parent 7752bb3 commit 1f66e79

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

HubSpot.NET/Core/Interfaces/IHubSpotContactApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace HubSpot.NET.Core.Interfaces
77
public interface IHubSpotContactApi
88
{
99
T Create<T>(T entity) where T : ContactHubSpotModel, new();
10+
T CreateOrUpdate<T>(T entity) where T : ContactHubSpotModel, new();
1011
void Delete(long contactId);
1112
void Batch<T>(List<T> entities) where T : ContactHubSpotModel, new();
1213
T GetByEmail<T>(string email) where T : ContactHubSpotModel, new();

HubSpot.NET/Core/Interfaces/IHubSpotDealApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ DealRecentListHubSpotModel<T> RecentlyCreated<T>(DealRecentRequestOptions opts =
1818

1919
DealRecentListHubSpotModel<T> RecentlyUpdated<T>(DealRecentRequestOptions opts = null)
2020
where T : DealHubSpotModel, new();
21+
DealListHubSpotModel<T> AssociatedList<T>(bool includeAssociations, long hubId, ListRequestOptions opts = null, string objectName = "contact") where T :DealHubSpotModel, new();
2122
}
2223
}

0 commit comments

Comments
 (0)