New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hubspot/api-client

Package Overview
Dependencies
Maintainers
29
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubspot/api-client - npm Package Versions

23
8

12.0.1

Diff

Changelog

Source

[12.0.1] - 2024-09-23

Fixes

  • Fixed build errors.
ksvirkou-hubspot
published 12.0.0 •

Changelog

Source

[12.0.0] - 2024-09-23

CMS

  • Changed type from string to laguages enum in cms/blogs/blog_posts/models/AttachToLangPrimaryRequestVNext::language.
  • Added parameter campaignName to cms/blogs/blog_posts/models/ContentLanguageVariation.
  • Added parameter breakpointStyles to cms/blogs/blog_posts/models/Styles.
  • Added parameter name to cms.hubdb.rowsApi.cloneDraftTableRow().
  • Added parameter archived to cms.hubdb.rowsApi.getDraftTableRowById() and cms.hubdb.rowsApi.getTableRow().
  • Added parameters offset and archived to cms.hubdb.rowsApi.getTableRows() and cms.hubdb.rowsApi.readDraftTableRows().
  • Changed the response object type from CollectionResponseWithTotalHubDbTableRowV3ForwardPaging to UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3 for cms.hubdb.rowsApi.getTableRows() and cms.hubdb.rowsApi.readDraftTableRows().
  • Changed parameter batchInputString: BatchInputString to batchInputHubDbTableRowBatchCloneRequest: BatchInputHubDbTableRowBatchCloneRequest in cms.hubdb.rowsApi.cloneDraftTableRow().
  • Added parameter contentType before archived parameter to cms.hubdb.tablesApi.getAllTables().
  • Changed parameters from tableIdOrName: string, includeForeignIds?: boolean, archived?: boolean to tableIdOrName: string, isGetLocalizedSchema?: boolean, archived?: boolean, includeForeignIds?: boolean of cms.hubdb.tablesApi.getDraftTableDetailsById() and cms.hubdb.tablesApi.getTableDetails().
  • Changed parameters from tableIdOrName: string, hubDbTableV3Request: HubDbTableV3Request, includeForeignIds?: boolean, archived?: boolean to tableIdOrName: string, hubDbTableV3Request: HubDbTableV3Request, isGetLocalizedSchema?: boolean, archived?: boolean, includeForeignIds?: boolean of cms.hubdb.tablesApi.updateDraftTable().
  • Added parameters createdByUserId, updatedBy, updatedByUserId, createdAt, createdBy and updatedAt to cms/hubdb/models/Column and cms/hubdb/models/Option.
  • Added the parameter isHubspotDefined to cms/hubdb/models/HubDbTableCloneRequest.
  • Removed cms.source_code.ExtractApi.extractByPath() method.
  • Added doAsync() and getAsyncStatus() methods to cms.source_code.ExtractApi.
  • Removed cms.source_code.sourceCodeExtractApi.

CRM

  • Added crm.associassociations.v4.reportApi.
  • Added parameter idProperty to crm.companies.basicApi.getById(), crm.companies.basicApi.update(), crm.deals.basicApi.getById(), crm.deals.basicApi.update().
  • Added method upsert to crm.companies.batchApi, crm.contacts.batchApi, crm.deals.batchApi, crm.line_items.batchApi, crm.objects.batchApi, crm.objects.calls.batchApi, crm.objects.communications.batchApi, crm.objects.emails.batchApi, crm.objects.meetings.batchApi, crm.objects.notes.batchApi, crm.objects.postal_mail.batchApi, crm.objects.tasks.batchApi, crm.objects.taxes.batchApi, crm.products.batchApi, crm.quotes.batchApi, crm.tickets.batchApi
  • Removed crm.companies.GDPRApi, crm.deals.GDPRApi, crm.line_items.GDPRApi, crm.objects.GDPRApi, crm.objects.calls.GDPRApi, crm.objects.communications.GDPRApi, crm.objects.emails.GDPRApi, crm.objects.feedback_submissions.GDPRApi, crm.objects.goals.GDPRApi, crm.objects.meetings.GDPRApi, crm.objects.notes.GDPRApi, crm.objects.postal_mail.GDPRApi, crm.objects.tasks.GDPRApi, crm.objects.taxes.GDPRApi, crm.products.GDPRApi, crm.quotes.GDPRApi, crm.tickets.GDPRApi
  • Removed crm.line_items.publicObjectApi, crm.objects.publicObjectApi, crm.objects.calls.publicObjectApi, crm.objects.communications.publicObjectApi, crm.objects.emails.publicObjectApi, crm.objects.feedback_submissions.publicObjectApi, crm.objects.goals.publicObjectApi, crm.objects.meetings.publicObjectApi, crm.objects.notes.publicObjectApi, crm.objects.postal_mail.publicObjectApi, crm.objects.tasks.publicObjectApi, crm.objects.taxes.publicObjectApi, crm.products.publicObjectApi, crm.quotes.publicObjectApi
  • Renamed publicObjectApi to mergeApi in crm.companies, crm.contacts, crm.deals and crm.tickets.
  • Made associationCategory and associationTypeId parameters nullable in crm/companies/models/AssociationSpec, crm/contacts/models/AssociationSpec, crm/deals/models/AssociationSpec, crm/tickets/models/AssociationSpec.
  • Made types and to parameters nullable in crm/companies/models/PublicAssociationsForObject, crm/contacts/models/PublicAssociationsForObject, crm/deals/models/PublicAssociationsForObject, crm/tickets/models/PublicAssociationsForObject.
  • Made id parameter nullable in crm/companies/models/PublicObjectId, crm/contacts/models/PublicObjectId, crm/deals/models/PublicObjectId and crm/tickets/models/PublicObjectId.
  • Made limit, after, sorts, properties and filterGroups parameters nullable in crm/companies/models/PublicObjectSearchRequest, crm/contacts/models/PublicObjectSearchRequest, crm/deals/models/PublicObjectSearchRequest, crm/line_items/models/PublicObjectSearchRequest, crm/objects/models/PublicObjectSearchRequest, crm/objects/calls/models/PublicObjectSearchRequest, crm/objects/communications/models/PublicObjectSearchRequest, crm/objects/emails/models/PublicObjectSearchRequest, crm/objects/feedback_submissions/models/PublicObjectSearchRequest, crm/objects/goals/models/PublicObjectSearchRequest, crm/objects/leads/models/PublicObjectSearchRequest, crm/objects/postal_mail/models/PublicObjectSearchRequest, crm/objects/tasks/models/PublicObjectSearchRequest, crm/objects/taxes/models/PublicObjectSearchRequest, crm/products/models/PublicObjectSearchRequest, crm/quotes/models/PublicObjectSearchRequest and crm/tickets/models/PublicObjectSearchRequest.
  • Added parameter objectWriteTraceId to crm/companies/models/SimplePublicObjectBatchInput, crm/companies/models/SimplePublicObjectInput, crm/companies/models/SimplePublicObjectInputForCreate, crm/contacts/models/SimplePublicObjectBatchInput, crm/contacts/models/SimplePublicObjectInput, crm/contacts/models/SimplePublicObjectInputForCreate, crm/deals/models/SimplePublicObjectBatchInput, crm/deals/models/SimplePublicObjectInput, crm/deals/models/SimplePublicObjectInputForCreate, crm/line_items/models/SimplePublicObjectBatchInput, crm/line_items/models/SimplePublicObjectInput, crm/line_items/models/SimplePublicObjectInputForCreate, crm/objects/models/SimplePublicObjectBatchInput, crm/objects/models/SimplePublicObjectInput, crm/objects/models/SimplePublicObjectInputForCreate, crm/objects/calls/models/SimplePublicObjectBatchInput, crm/objects/calls/models/SimplePublicObjectInput, crm/objects/calls/models/SimplePublicObjectInputForCreate,crm/objects/communications/models/SimplePublicObjectBatchInput, crm/objects/communications/models/SimplePublicObjectInput, crm/objects/communications/models/SimplePublicObjectInputForCreate, crm/objects/emails/models/SimplePublicObjectBatchInput, crm/objects/emails/models/SimplePublicObjectInput, crm/objects/emails/models/SimplePublicObjectInputForCreate, crm/objects/leads/models/SimplePublicObjectBatchInput, crm/objects/leads/models/SimplePublicObjectInput, crm/objects/leads/models/SimplePublicObjectInputForCreate, crm/objects/leads/models/SimplePublicObjectBatchInputUpsert, crm/objects/meetings/models/SimplePublicObjectBatchInput, crm/objects/meetings/models/SimplePublicObjectInput, crm/objects/meetings/models/SimplePublicObjectInputForCreate, crm/objects/notes/models/SimplePublicObjectBatchInput, crm/objects/notes/models/SimplePublicObjectInput, crm/objects/notes/models/SimplePublicObjectInputForCreate, crm/objects/postal_mail/models/SimplePublicObjectBatchInput, crm/objects/postal_mail/models/SimplePublicObjectInput, crm/objects/postal_mail/models/SimplePublicObjectInputForCreate, crm/objects/tasks/models/SimplePublicObjectBatchInput, crm/objects/tasks/models/SimplePublicObjectInput, crm/objects/tasks/models/SimplePublicObjectInputForCreate, crm/objects/taxes/models/SimplePublicObjectBatchInput, crm/objects/taxes/models/SimplePublicObjectInput, crm/objects/taxes/models/SimplePublicObjectInputForCreate, crm/products/models/SimplePublicObjectBatchInput, crm/products/models/SimplePublicObjectInput, crm/products/models/SimplePublicObjectInputForCreate, crm/quotes/models/SimplePublicObjectBatchInput, crm/quotes/models/SimplePublicObjectInput, crm/quotes/models/SimplePublicObjectInputForCreate, crm/tickets/models/SimplePublicObjectBatchInput, crm/tickets/models/SimplePublicObjectInput and crm/tickets/models/SimplePublicObjectInputForCreate.
  • Made associations parameter nullable in crm/companies/models/SimplePublicObjectInputForCreate, crm/contacts/models/SimplePublicObjectInputForCreate, crm/deals/models/SimplePublicObjectInputForCreate and crm/tickets/models/SimplePublicObjectInputForCreate.
  • Removed crm.extensions.accounting API client.
  • Added method markAsReady to crm.extensions.calling.recordingSettingsApi.
  • Added parameter supportsInboundCalling to crm/extensions/calling/models/SettingsPatchRequest, crm/extensions/calling/models/SettingsRequest and crm/extensions/calling/models/SettingsResponse.
  • Added parameters userIdIncludingInactive and type to crm/owners/models/PublicOwner.
  • Removed archive, create and update methods from crm.objects.feedback_submissions.basicApi, crm.objects.feedback_submissions.batchApi, crm.objects.goals.basicApi and crm.objects.goals.batchApi.
  • Changed response object type BatchResponseSimplePublicObject | BatchResponseSimplePublicObjectWithErrors to BatchResponseSimplePublicUpsertObjectWithErrors | BatchResponseSimplePublicUpsertObject of crm.objects.leads.rowsApi.upsert().
  • Removed crm.schemas.PublicObjectSchemasApi.
  • Added parameters createdByUserId and updatedByUserId to crm/schemas/models/ObjectSchema.
  • Added parameter clearDescription to crm/schemas/models/ObjectTypeDefinitionPatch.

CRM Lists

  • Added crm.lists.foldersApi.
  • Changed listIds type from Array<number> to Array<string> in crm.lists.listsApi.getAll().
  • Changed listId type from number to string in crm.lists.listsApi.getById(), crm.lists.listsApi.remove(), crm.lists.listsApi.restore(), crm.lists.listsApi.updateListFilters() and crm.lists.listsApi.updateName().
  • Added crm.lists.mappingApi.
  • Changed listId type from number to string and requestBody type from Array<number> to Array<string> in crm.lists.membershipsApi.add() and crm.lists.membershipsApi.remove().
  • Changed listIds and sourceListId types from number to string in crm.lists.membershipsApi.addAllFromList().
  • Changed listId type from number to string in crm.lists.membershipsApi.addAndRemove(), crm.lists.membershipsApi.getPage() and crm.lists.membershipsApi.removeAll().
  • Added crm.lists.membershipsApi.getLists() and crm.lists.membershipsApi.getPageOrderedByAddedToListDate().
  • Changed response object type CollectionResponseLong to ApiCollectionResponseJoinTimeAndRecordId of crm.lists.membershipsApi.getPage().
  • Added parameter customProperties to crm/lists/models/ListCreateRequest.
  • Added parameters listIds, processingTypes and sort to crm/lists/models/ListSearchRequest.
  • Made offset and additionalProperties parameters nullable in crm/lists/models/ListSearchRequest.
  • Changed recordIdsToRemove and recordIdsToAdd type from Array<number> to Array<string> in crm/lists/models/MembershipChangeRequest.
  • Changed recordIdsRemoved, recordsIdsAdded and recordIdsMissing type from Array<number> to Array<string> in crm/lists/models/MembershipsUpdateResponse.
  • Changed listId type from number to string in crm/lists/models/PublicAssociationInListFilter, crm/lists/models/PublicInListFilter, crm/lists/models/PublicObjectListSearchResult, crm/lists/models/PublicPropertyAssociationFilterBranchFiltersInner and crm/lists/models/PublicPropertyAssociationInListFilter.
  • Changed coalescingRefineBy type from PublicEventAnalyticsFilterCoalescingRefineBy to PublicFormSubmissionFilterCoalescingRefineBy in crm/lists/models/PublicAssociationInListFilter, crm/lists/models/PublicNumAssociationsFilter, crm/lists/models/PublicObjectList and crm/lists/models/PublicPropertyAssociationInListFilter.
  • Changed businessUnitId type from number to string and subscriptionIds from Array<number> to Array<string> in crm/lists/models/PublicCommunicationSubscriptionFilter and crm/lists/models/PublicPropertyAssociationFilterBranchFiltersInner.
  • Changed coalescingRefineBy and pruningRefineBy parameters type from PublicEventAnalyticsFilterCoalescingRefineBy to PublicFormSubmissionFilterCoalescingRefineBy in crm/lists/models/PublicCtaAnalyticsFilter, crm/lists/models/PublicEventAnalyticsFilter, crm/lists/models/PublicFormSubmissionFilter, crm/lists/models/PublicFormSubmissionOnPageFilter, crm/lists/models/PublicPageViewAnalyticsFilter, crm/lists/models/PublicPropertyAssociationFilterBranchFiltersInner and crm/lists/models/PublicUnifiedEventsFilter.
  • Changed pruningRefineBy type from PublicEventAnalyticsFilterCoalescingRefineBy to PublicFormSubmissionFilterCoalescingRefineBy in crm/lists/models/PublicEmailEventFilter.
  • Changed subscriptionIds type from Array<number> to Array<string> in crm/lists/models/PublicEmailSubscriptionFilter.
  • Changed operation type from PublicPropertyFilterOperation to PublicSurveyMonkeyValueFilterValueComparison in crm/lists/models/PublicEventFilterMetadata and crm/lists/models/PublicPropertyFilter.
  • Changed valueComparison type from PublicPropertyFilterOperation to PublicSurveyMonkeyValueFilterValueComparison in crm/lists/models/PublicSurveyMonkeyValueFilter.
  • Added parameter size to crm/lists/models/PublicPropertyAssociationFilterBranchFiltersInner and crm/lists/models/PublicObjectList.
  • Changed createdById and updatedById type from number to string in crm/lists/models/PublicObjectList and crm/lists/models/PublicObjectListSearchResult.
  • Added parameter coalescingRefineBy to crm/lists/models/PublicPropertyAssociationFilterBranchFilterBranchesInner and crm/lists/models/PublicUnifiedEventsFilterBranch.
  • Changed emailId and appId type from number to string in crm/lists/models/PublicPropertyAssociationFilterBranchFiltersInner.
  • Renamed from crm/lists/models/PublicPropertyFilterOperation to crm/lists/models/PublicSurveyMonkeyValueFilterValueComparison.
  • Changed fiscalYearStart type from PublicPropertyFilterOperationFiscalYearStartEnum to PublicSurveyMonkeyValueFilterValueComparisonFiscalYearStartEnum in crm/lists/models/PublicSurveyMonkeyValueFilterValueComparison.

Marketing

  • Renamed method create to createByContactIds in marketing.events.attendanceSubscriberStateChangesApi.
  • Renamed method createByEmail to createByContactEmails in marketing.events.attendanceSubscriberStateChangesApi.
  • Renamed method archiveBatch to batchArchive and moved frommarketing.events.batchApi to marketing.events.basicApi.
  • Renamed method doUpsert to batchUpsert and moved frommarketing.events.batchApi to marketing.events.basicApi.
  • Renamed method doCancel to cancel in marketing.events.basicApi.
  • Renamed method getById to getDetails in marketing.events.basicApi.
  • Renamed method replace to upsert in marketing.events.basicApi.
  • Renamed method create to update in marketing.events.settingsApi.
  • Renamed method doEmailUpsertById to upsertByContactEmail in marketing.events.subscriberStateChangesApi.
  • Renamed method doUpsertById to upsertByContactId in marketing.events.subscriberStateChangesApi.
  • Added new method complete to marketing.events.basicApi.
  • Moved method doSearch from marketing.events.searchApi to marketing.events.basicApi.
  • Added marketing.events.ParticipantStateApi.
  • Added parameter eventCompleted to marketing/events/models/MarketingEventPublicDefaultResponse, marketing/events/models/MarketingEventPublicReadResponse and marketing/events/models/MarketingEventUpdateRequestParams.
  • Added parameter importStatus to marketing/events/models/MarketingEventUpdateRequestParams.
  • Added parameters dataSensitivity, unit and isEncrypted to marketing/events/models/PropertyValue.
  • Removed marketing.events.batchApi, marketing.events.marketingEventsExternalApi and marketing.events.searchApi.
  • Changed legalConsentOptions type from any to HubSpotFormDefinitionAllOfLegalConsentOptions in marketing/forms/models/CollectionResponseFormDefinitionBaseForwardPagingResultsInner, marketing/forms/models/FormDefinitionBase, marketing/forms/models/FormDefinitionCreateRequestBase and marketing/forms/models/HubSpotFormDefinition.
  • Changed legalConsentOptions type from any to HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions in marketing/forms/models/HubSpotFormDefinitionCreateRequest.
  • Changed legalConsentOptions type from HubSpotFormDefinitionPatchRequestLegalConsentOptions to HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions in marketing/forms/models/HubSpotFormDefinitionPatchRequest.
  • Renamed marketing.transactional.publicSmtpTokensApi to marketing.transactional.publicSMTPTokensApi.

Events

  • Changed parameters order from 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> to objectType?: string, eventType?: string, after?: string, before?: string, limit?: number, sort?: Array<string>, occurredAfter?: Date, occurredBefore?: Date, objectId?: number, objectPropertyPropname?: any, propertyPropname?: any, id?: Array<string> in events.eventsApi.getPage().
  • Added new method getTypes to marketing.events.basicApi.
  • Renamed marketing.events.send.behavioralEventsTrackingApi to marketing.events.send.customEventDataApi.

OAuth, Settings Users

  • Removed parameters scopeToScopeGroupPks, trialScopes and trialScopeToScopeGroupPks in oauth/models/AccessTokenInfoResponse.
  • Changed idProperty type from string to 'USER_ID' | 'EMAIL' in settings.users.usersApi.archive, settings.users.usersApi.getById and settings.users.usersApi.replace.
  • Added nullable parameters firstName and lastName to settings/users/models/PublicUser, settings/users/models/PublicUserUpdate and settings/users/models/UserProvisionRequest.
  • Added nullable parameter objectTypeId to webhooks/models/SubscriptionCreateRequest and webhooks/models/SubscriptionResponse.
  • Removed parameter period from webhooks/models/ThrottlingSettings.
ksvirkou-hubspot
published 11.2.0 •

Changelog

Source

[11.2.0] - 2024-08-14

Added

  • Added crm.objects.leads Api client.
ksvirkou-hubspot
published 10.2.1 •

ksvirkou-hubspot
published 11.1.0 •

Changelog

Source

[11.1.0] - 2024-02-29

Added

  • Added param idProperty to SimplePublicObjectBatchInput in all CRM clients.
ksvirkou-hubspot
published 11.0.0 •

Changelog

Source

[11.0.0] - 2024-02-13

Updated

  • 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.
  • 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.
ksvirkou-hubspot
published 11.0.0-beta.0 •

Changelog

Source

[11.0.0-beta.0] - 2024-01-31

Updated

  • 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>.
  • Added new function type POST_ACTION_EXECUTION to all methods of automation.actions.functionsApi.
  • 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'
}

Added

  • 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.
ksvirkou-hubspot
published 10.2.0 •

Changelog

Source

[10.2.0] - 2023-12-13

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.
ksvirkou-hubspot
published 10.1.0 •

Changelog

Source

[10.1.0] - 2023-11-23

Added

  • marketing.forms Api client.
ksvirkou-hubspot
published 10.0.0 •

Changelog

Source

[10.0.0] - 2023-09-25

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.
  • crm.extensions.cards.cardsApi.archive(appId: number, cardId: string, _options?: Configuration) => crm.extensions.cards.cardsApi.archive(cardId: string, appId: number, _options?: Configuration)
  • crm.extensions.cards.cardsApi.getById(appId: number, cardId: string, _options?: Configuration): Promise<CardResponse > => crm.extensions.cards.cardsApi.getById(cardId: string, appId: number, _options?: Configuration): Promise<PublicCardResponse >
  • crm.extensions.cards.cardsApi.update(appId: number, cardId: string, cardPatchRequest: CardPatchRequest, _options?: Configuration): Promise<CardResponse > => crm.extensions.cards.cardsApi.update(cardId: string, appId: number, cardPatchRequest: CardPatchRequest, _options?: Configuration): Promise<PublicCardResponse >
  • crm.extensions.cards.cardsApi.create(): Promise<CardResponse > => crm.extensions.cards.cardsApi.create(): Promise<PublicCardResponse >
  • crm.extensions.cards.cardsApi.getAll(): Promise<CardListResponse > => crm.extensions.cards.cardsApi.getAll(): Promise<PublicCardListResponse >:

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
23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc