@@ -706,7 +706,7 @@ export interface HubSpotUser {
706706 superAdmin ?: boolean
707707}
708708
709- export interface HubSpotContact {
709+ export interface HubSpotCrmObject {
710710 id : string
711711 properties : Record < string , any >
712712 createdAt : string
@@ -715,6 +715,9 @@ export interface HubSpotContact {
715715 associations ?: Record < string , any >
716716}
717717
718+ /** @deprecated Use HubSpotCrmObject instead */
719+ export type HubSpotContact = HubSpotCrmObject
720+
718721export interface HubSpotPaging {
719722 next ?: {
720723 after : string
@@ -845,7 +848,7 @@ export interface HubSpotSearchContactsParams {
845848}
846849
847850// Companies (same structure as contacts)
848- export type HubSpotCompany = HubSpotContact
851+ export type HubSpotCompany = HubSpotCrmObject
849852export type HubSpotListCompaniesParams = HubSpotListContactsParams
850853export type HubSpotListCompaniesResponse = Omit < HubSpotListContactsResponse , 'output' > & {
851854 output : {
@@ -897,7 +900,7 @@ export interface HubSpotSearchCompaniesResponse extends ToolResponse {
897900}
898901
899902// Deals
900- export type HubSpotDeal = HubSpotContact
903+ export type HubSpotDeal = HubSpotCrmObject
901904export type HubSpotListDealsParams = HubSpotListContactsParams
902905export type HubSpotListDealsResponse = Omit < HubSpotListContactsResponse , 'output' > & {
903906 output : {
@@ -933,7 +936,7 @@ export interface HubSpotSearchDealsResponse extends ToolResponse {
933936}
934937
935938// Tickets
936- export type HubSpotTicket = HubSpotContact
939+ export type HubSpotTicket = HubSpotCrmObject
937940export type HubSpotListTicketsParams = HubSpotListContactsParams
938941export type HubSpotListTicketsResponse = ToolResponse & {
939942 output : {
@@ -971,7 +974,7 @@ export interface HubSpotSearchTicketsResponse extends ToolResponse {
971974}
972975
973976// Line Items
974- export type HubSpotLineItem = HubSpotContact
977+ export type HubSpotLineItem = HubSpotCrmObject
975978export type HubSpotListLineItemsParams = HubSpotListContactsParams
976979export type HubSpotListLineItemsResponse = ToolResponse & {
977980 output : {
@@ -999,7 +1002,7 @@ export type HubSpotUpdateLineItemResponse = ToolResponse & {
9991002}
10001003
10011004// Quotes
1002- export type HubSpotQuote = HubSpotContact
1005+ export type HubSpotQuote = HubSpotCrmObject
10031006export type HubSpotListQuotesParams = HubSpotListContactsParams
10041007export type HubSpotListQuotesResponse = ToolResponse & {
10051008 output : {
@@ -1017,7 +1020,7 @@ export type HubSpotGetQuoteResponse = ToolResponse & {
10171020}
10181021
10191022// Appointments
1020- export type HubSpotAppointment = HubSpotContact
1023+ export type HubSpotAppointment = HubSpotCrmObject
10211024export type HubSpotListAppointmentsParams = HubSpotListContactsParams
10221025export type HubSpotListAppointmentsResponse = ToolResponse & {
10231026 output : {
@@ -1045,7 +1048,7 @@ export type HubSpotUpdateAppointmentResponse = ToolResponse & {
10451048}
10461049
10471050// Carts
1048- export type HubSpotCart = HubSpotContact
1051+ export type HubSpotCart = HubSpotCrmObject
10491052export type HubSpotListCartsParams = HubSpotListContactsParams
10501053export type HubSpotListCartsResponse = ToolResponse & {
10511054 output : {
0 commit comments