Skip to content

Releases: HubSpot/hubspot-api-nodejs

10.2.1

01 Apr 08:41
1aee1d1
Compare
Choose a tag to compare

Fixed automation.actions.functionsApi.createOrReplaceByFunctionType() method.

11.1.0

29 Feb 09:42
bfaa106
Compare
Choose a tag to compare

Added param idProperty to SimplePublicObjectBatchInput in all CRM clients.

11.0.0

13 Feb 08:27
9704e87
Compare
Choose a tag to compare

Non-breaking changes

  • Added param 'inverseLabel'?: string to crm/associations/v4/schema/models/PublicAssociationDefinitionCreateRequest and crm/associations/v4/schema/models/PublicAssociationDefinitionUpdateRequest.
  • Added new association types to enums/AssociationTypes.

Breaking changes

  • crm.associations.v4.basicApi.archive(objectType: string, objectId: number, toObjectType: string, toObjectId: number, _options?: Configuration) => crm.associations.v4.basicApi.archive(objectType: string, objectId: string, toObjectType: string, toObjectId: string, _options?: Configuration)
  • crm.associations.v4.basicApi.create(objectType: string, objectId: number, toObjectType: string, toObjectId: number, associationSpec: Array<AssociationSpec>, _options?: Configuration): Promise<LabelsBetweenObjectPair1> => crm.associations.v4.basicApi.create(objectType: string, objectId: string, toObjectType: string, toObjectId: string, associationSpec: Array<AssociationSpec>, _options?: Configuration): Promise<LabelsBetweenObjectPair>
  • crm.associations.v4.basicApi.createDefault(fromObjectType: string, fromObjectId: number, toObjectType: string, toObjectId: number, _options?: Configuration) => crm.associations.v4.basicApi.createDefault(fromObjectType: string, fromObjectId: string, toObjectType: string, toObjectId: string, _options?: Configuration)
  • crm.associations.v4.basicApi.getPage(objectType: string, objectId: number, toObjectType: string, after?: string, limit?: number, _options?: Configuration) => crm.associations.v4.basicApi.getPage(objectType: string, objectId: string, toObjectType: string, after?: string, limit?: number, _options?: Configuration)
  • Cnange type from number to string in crm/associations/v4/models/MultiAssociatedObjectWithLabel::toObjectId.

11.0.0-beta.0

31 Jan 13:22
5b36537
Compare
Choose a tag to compare

Non-breaking changes

  • crm.companies.gdprApi API client.
  • crm.deals.gdprApi API client.
  • crm.extensions.calling.recordingSettingsApi API client.
  • crm.line_items.gdprApi API client.
  • crm.objects.calls.gdprApi API client.
  • crm.objects.communications.gdprApi API client.
  • crm.objects.emails.gdprApi API client.
  • crm.objects.feedbackSubmissions.gdprApi API client.
  • crm.objects.meetings.gdprApi API client.
  • crm.objects.notes.gdprApi API client.
  • crm.objects.postalMail.gdprApi API client.
  • crm.objects.tasks.gdprApi API client.
  • crm.products.gdprApi API client.
  • crm.quotes.gdprApi API client.
  • crm.tickets.gdprApi API client.
  • Added new function type POST_ACTION_EXECUTION to all methods of automation.actions.functionsApi.

Breaking changes

  • automation.actions.definitionsAPI.create(appId: number, extensionActionDefinitionInput: ExtensionActionDefinitionInput):Promise<ExtensionActionDefinition> => automation.actions.definitionsAPI.create(appId: number, publicActionDefinitionEgg: PublicActionDefinitionEgg):Promise<PublicActionDefinition>.
  • automation.actions.definitionsAPI.getById():Promise<ExtensionActionDefinition> => automation.actions.definitionsAPI.getById():Promise<PublicActionDefinition>.
  • automation.actions.definitionsAPI.update(definitionId: string, appId: number, extensionActionDefinitionPatch: ExtensionActionDefinitionPatch):Promise<ExtensionActionDefinition> => automation.actions.definitionsAPI.update(definitionId: string, appId: number, publicActionDefinitionPatch: PublicActionDefinitionPatch):Promise<PublicActionDefinition>.
  • automation.actions.definitionsAPI.getPage():Promise<CollectionResponseExtensionActionDefinitionForwardPaging> => automation.actions.definitionsAPI.getPage():Promise<CollectionResponsePublicActionDefinitionForwardPaging>.
  • automation.actions.functionsApi.createOrReplace():Promise<ActionFunctionIdentifier> => automation.actions.functionsApi.createOrReplace():Promise<PublicActionFunctionIdentifier >.
  • automation.actions.functionsApi.createOrReplaceByFunctionType():Promise<ActionFunctionIdentifier> => automation.actions.functionsApi.createOrReplaceByFunctionType():Promise<PublicActionFunctionIdentifier >.
  • automation.actions.functionsApi.getByFunctionType():Promise<ActionFunction> => automation.actions.functionsApi.getByFunctionType():Promise<PublicActionFunction>.
  • automation.actions.functionsApi.getById():Promise<ActionFunction> => automation.actions.functionsApi.getById():Promise<PublicActionFunction>.
  • automation.actions.functionsApi.getPage():Promise<CollectionResponseActionFunctionIdentifierNoPaging> => automation.actions.functionsApi.getPage():Promise<CollectionResponsePublicActionFunctionIdentifierNoPaging>.
  • automation.actions.revisionsApi.getById():Promise<ActionRevision> => automation.actions.revisionsApi.getById():Promise<PublicActionRevision>.
  • automation.actions.revisionsApi.getPage():Promise<CollectionResponseActionRevisionForwardPaging> => automation.actions.revisionsApi.getPage():Promise<CollectionResponsePublicActionRevisionForwardPaging>.
  • Added param property to cms.blogs.authors.blogAuthorsApi.getById().
  • Added param property to cms.blogs.authors.blogAuthorsApi.getPage().
  • Changed type from laguages enum to string in cms/blogs/authors/models/AttachToLangPrimaryRequestVNext::language and cms/blogs/authors/models/AttachToLangPrimaryRequestVNext::primaryLanguage.
  • Added param property to cms.blogs.blogPosts.blogPostsApi.getById().
  • Added param property to cms.blogs.blogPosts.blogPostsApi.getPage().
  • Changed type from laguages enum to string in cms/blogs/blog_posts/models/AttachToLangPrimaryRequestVNext::language and cms/blogs/blog_posts/models/AttachToLangPrimaryRequestVNext::primaryLanguage.
  • Cnange type from SideOrCornerVerticalSideEnum to string in cms/blogs/blog_posts/models/SideOrCorner::verticalSide.
  • Cnange type from SideOrCornerHorizontalSideEnum to string in cms/blogs/blog_posts/models/SideOrCorner::horizontalSide.
  • Cnange type from StylesVerticalAlignmentEnum to string in cms/blogs/blog_posts/models/Styles::verticalAlignment.
  • Cnange type from StylesFlexboxPositioningEnum to string in cms/blogs/blog_posts/models/Styles::flexboxPositioning.
  • Added param property to cms.blogs.tags.blogTagsApi.getById().
  • Added param property to cms.blogs.tags.blogTagsApi.getPage().
  • Changed type from laguages enum to string in cms/blogs/tags/models/AttachToLangPrimaryRequestVNext::language and cms/blogs/tags/models/AttachToLangPrimaryRequestVNext::primaryLanguage.
  • Cnange type from ErrorCategory to string in crm/associations/models/StandardError::category.
  • crm.associations.v4.basicApi.create(): Promise<LabelsBetweenObjectPair> => crm.associations.v4.basicApi.create(): Promise<LabelsBetweenObjectPair1>
  • Cnange type from ErrorCategory to string in crm/associations/v4/models/StandardError::category.
  • Rename crm.associations.v4.schema.definitionsApi._delete() => crm.associations.v4.schema.definitionsApi.archive().
  • Removed crm.objects.associationsApi.
  • Cnange type from number to string in PublicObjectSearchRequest::after in all CRM clients.
  • crm.objects.postalMail.basicApi.archive(postalMail: string, _options?: Configuration) => crm.objects.postalMail.basicApi.archive(postalMailId: string, _options?: Configuration).
  • crm.objects.postalMail.basicApi.getById(postalMail: string, properties?: Array<string>, propertiesWithHistory?: Array<string>, associations?: Array<string>, archived?: boolean, idProperty?: string, _options?: Configuration) => crm.objects.postalMail.basicApi.getById(postalMailId: string, properties?: Array<string>, propertiesWithHistory?: Array<string>, associations?: Array<string>, archived?: boolean, idProperty?: string, _options?: Configuration).
  • crm.objects.postalMail.basicApi.update(postalMail: string, simplePublicObjectInput: SimplePublicObjectInput, idProperty?: string, _options?: Configuration) => crm.objects.postalMail.basicApi.update(postalMailId: string, simplePublicObjectInput: SimplePublicObjectInput, idProperty?: string, _options?: Configuration).
  • Added param validateDealStageUsagesBeforeDelete to cms.pipelines.pipelinesApi.archive(), cms.pipelines.pipelinesApi.replace() and cms.pipelines.pipelinesApi.update().
  • events.eventsApi.getPage(occurredAfter?: Date, occurredBefore?: Date, objectType?: string, objectId?: number, eventType?: string, after?: string, before?: string, limit?: number, sort?: Array<string>, _options?: Configuration) => events.eventsApi.getPage(objectType?: string, eventType?: string, occurredAfter?: Date, occurredBefore?: Date, objectId?: number, indexTableName?: string, indexSpecificMetadata?: string, after?: string, before?: string, limit?: number, sort?: Array<string>, objectPropertyPropname?: any, propertyPropname?: any, id?: Array<string>, _options?: Configuration)
  • Rewrite all enums from type to enum.
export type Enum = "OPTION1" | "OPTION2";
// =>
export enum Enum {
    Option1 = 'OPTION1',
    Option2 = 'OPTION2'
}

10.2.0

13 Dec 14:53
6e33fac
Compare
Choose a tag to compare

Added:

  • cms.pages Api client.
  • crm.lists Api client.
  • crm.objects.goals Api client.
  • crm.objects.taxes Api client.
  • events.send Api client.
  • settings.businessUnits Api client.

10.1.0

13 Dec 12:27
be3e896
Compare
Choose a tag to compare

Added marketing.forms Api client.

10.0.0

25 Sep 09:25
2c67c28
Compare
Choose a tag to compare

Updated

  • cms.auditLogs.auditLogsApi.getPage(objectId?: Array<string>, userId?: Array<string>, after?: string, before?: string, sort?: Array<string>, eventType?: Array<string>, limit?: number, objectType?: Array<string>, _options?: Configuration) => cms.auditLogs.auditLogsApi.getPage(userId?: Array<string>, eventType?: Array<string>, objectType?: Array<string>, objectId?: Array<string>, after?: string, before?: string, limit?: number, sort?: Array<string>, _options?: Configuration)
  • Cnange type from number to string in cms/hubdb/models/HubDbTableRowV3BatchUpdateRequest.id.
  • Nullable startDatetime, endDatetime and totalRequestTime in cms/performance/models/PerformanceView.
  • Rename cms.sourceCode.contentApi.get() => cms.sourceCode.contentApi.download()
  • Rename cms.sourceCode.contentApi.replace() => cms.sourceCode.contentApi.createOrUpdate()
  • crm.timeline.eventsApi.createBatch() BatchResponseTimelineEventResponse | BatchResponseTimelineEventResponseWithErrors => crm.timeline.eventsApi.createBatch() BatchResponseTimelineEventResponse | void | BatchResponseTimelineEventResponseWithErrors
  • Cnange type from ErrorCategory to string in crm/timeline/models/StandardError::category.
  • Nullable options in crm/timeline/models/TimelineEventTemplateToken and codegen/crm/timeline/models/TimelineEventTemplateTokenUpdateRequest.
  • Required links in files/models/FolderUpdateTaskLocator and files/models/ImportFromUrlTaskLocator.
  • Nullable duplicateValidationStrategy, duplicateValidationScope and overwrite in files/models/ImportFromUrlInput.
  • Cnange type from ErrorCategory to string in files/models/StandardError::category.
  • Move method archive from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method create from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method doCancel from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method getById from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method replace from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method update from marketing.events.marketingEventsExternalApi to marketing.events.basicApi.
  • Move method archiveBatch from marketing.events.marketingEventsExternalApi to marketing.events.batchApi.
  • Move method doUpsert from marketing.events.marketingEventsExternalApi to marketing.events.batchApi.
  • Move method doEmailUpsertById from marketing.events.marketingEventsExternalApi to marketing.events.subscriberStateChanges.
  • Move method doUpsertById from marketing.events.marketingEventsExternalApi to marketing.events.subscriberStateChanges.
  • Rename marketing.events.settingsExternalApi => marketing.events.settingsApi
  • Cnange type from ErrorCategory to string in marketing/events/models/StandardError::category.

Added

  • Added param prev to cms/audit_logs/models/PreviousPage.
  • Added param properties to cms.sourceCode.metadataApi.get().
  • Added param hash to cms/source_code/models/AssetFileMetadata.
  • Added method getMetadata to files.filesApi.
  • Added param expiresAt to files/models/FileUpdateInput and files/models/ModelFile.
  • Added params roleIds, sendWelcomeEmail and superAdmin to settings/users/models/PublicUser

9.1.1

16 Aug 11:51
bd5a8a0
Compare
Choose a tag to compare
Merge pull request #397 from HubSpot/feature/9.1.1

9.1.1

9.1.0

27 Jul 15:02
2accd1d
Compare
Choose a tag to compare

Removed hapikey from

  • automation.actions.callbacksApi Api.
  • cms (all Api clients).
  • communicationPreferences (all Api clients).
  • conversations (all API clients).
  • crm (all Api clients).
  • events (all Api clients).
  • files (all Api clients).
  • marketing.events.settingsExternalApi Api.
  • marketing.transactional Api client.

Updated

  • Cnange type from object to string in cms/hubdb/models/StandardError.category.
  • Cnange type from StandardError[] to StandardError1[] in crm/associations/v4/models/BatchResponseSimplePublicObjectWithErrors::errors.
  • Cnange type from ErrorCategory to string in crm/companies/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/contacts/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/deals/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/lineitems/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/calls/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/communications/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/emails/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/feedback_submissions/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/meetings/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/notes/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/postal_mail/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/objects/tasks/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/products/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/properties/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/quotes/models/StandardError::category.
  • Cnange type from ErrorCategory to string in crm/tickets/models/StandardError::category.

9.0.0

08 Jun 14:56
67ce18b
Compare
Choose a tag to compare

Stable version.