11.0.0-beta.0
ksvirkou-hubspot
released this
31 Jan 13:22
·
116 commits
to master
since this release
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 ofautomation.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
tocms.blogs.authors.blogAuthorsApi.getById()
. - Added param
property
tocms.blogs.authors.blogAuthorsApi.getPage()
. - Changed type from laguages enum to
string
incms/blogs/authors/models/AttachToLangPrimaryRequestVNext::language
andcms/blogs/authors/models/AttachToLangPrimaryRequestVNext::primaryLanguage
. - Added param
property
tocms.blogs.blogPosts.blogPostsApi.getById()
. - Added param
property
tocms.blogs.blogPosts.blogPostsApi.getPage()
. - Changed type from laguages enum to
string
incms/blogs/blog_posts/models/AttachToLangPrimaryRequestVNext::language
andcms/blogs/blog_posts/models/AttachToLangPrimaryRequestVNext::primaryLanguage
. - Cnange type from
SideOrCornerVerticalSideEnum
tostring
incms/blogs/blog_posts/models/SideOrCorner::verticalSide
. - Cnange type from
SideOrCornerHorizontalSideEnum
tostring
incms/blogs/blog_posts/models/SideOrCorner::horizontalSide
. - Cnange type from
StylesVerticalAlignmentEnum
tostring
incms/blogs/blog_posts/models/Styles::verticalAlignment
. - Cnange type from
StylesFlexboxPositioningEnum
tostring
incms/blogs/blog_posts/models/Styles::flexboxPositioning
. - Added param
property
tocms.blogs.tags.blogTagsApi.getById()
. - Added param
property
tocms.blogs.tags.blogTagsApi.getPage()
. - Changed type from laguages enum to
string
incms/blogs/tags/models/AttachToLangPrimaryRequestVNext::language
andcms/blogs/tags/models/AttachToLangPrimaryRequestVNext::primaryLanguage
. - Cnange type from
ErrorCategory
tostring
incrm/associations/models/StandardError::category
. crm.associations.v4.basicApi.create(): Promise<LabelsBetweenObjectPair>
=>crm.associations.v4.basicApi.create(): Promise<LabelsBetweenObjectPair1>
- Cnange type from
ErrorCategory
tostring
incrm/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
tostring
inPublicObjectSearchRequest::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
tocms.pipelines.pipelinesApi.archive()
,cms.pipelines.pipelinesApi.replace()
andcms.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'
}