Skip to content

11.0.0-beta.0

Compare
Choose a tag to compare
@ksvirkou-hubspot ksvirkou-hubspot released this 31 Jan 13:22
· 116 commits to master since this release
5b36537

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'
}