@hubspot/local-dev-lib 5.11.0 → 5.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,4 +4,4 @@ import { HubSpotPromise } from '../types/Http.js';
4
4
  export declare function fetchScopeData(accountId: number, scopeGroup: string): HubSpotPromise<ScopeData>;
5
5
  export declare function fetchScopeAuthorizationData(accountId: number): HubSpotPromise<ScopeAuthorizationResponse>;
6
6
  export declare function fetchAppInstallationData(portalId: number, projectId: number, appUid: string, requiredScopeGroups: Array<string>, optionalScopeGroups?: Array<string>): HubSpotPromise<PublicAppInstallationData>;
7
- export declare function fetchEnabledFeatures(accountId: number): Promise<import("axios").AxiosResponse<EnabledFeaturesResponse, any, {}>>;
7
+ export declare function fetchEnabledFeatures(accountId: number): Promise<import("axios").AxiosResponse<EnabledFeaturesResponse, any, {}, any>>;
package/config/state.js CHANGED
@@ -9,6 +9,8 @@ const DEFAULT_STATE = {
9
9
  [STATE_FLAGS.MCP_TOTAL_TOOL_CALLS]: 0,
10
10
  [STATE_FLAGS.MCP_PROMOTION_LAST_SHOWN_AT]: undefined,
11
11
  [STATE_FLAGS.USAGE_TRACKING_MESSAGE_LAST_SHOW_VERSION]: undefined,
12
+ [STATE_FLAGS.CLI_VERSION_DEPRECATION_WARNING_LAST_SHOWN_AT]: undefined,
13
+ [STATE_FLAGS.CLI_VERSION_END_OF_LIFE_WARNING_LAST_SHOWN_AT]: undefined,
12
14
  };
13
15
  function ensureCLIDirectory() {
14
16
  try {
@@ -58,6 +58,8 @@ export declare const STATE_FLAGS: {
58
58
  readonly MCP_TOTAL_TOOL_CALLS: "mcpTotalToolCalls";
59
59
  readonly MCP_PROMOTION_LAST_SHOWN_AT: "mcpPromotionLastShownAt";
60
60
  readonly USAGE_TRACKING_MESSAGE_LAST_SHOW_VERSION: "usageTrackingMessageLastShowVersion";
61
+ readonly CLI_VERSION_DEPRECATION_WARNING_LAST_SHOWN_AT: "cliVersionDeprecationWarningLastShownAt";
62
+ readonly CLI_VERSION_END_OF_LIFE_WARNING_LAST_SHOWN_AT: "cliVersionEndOfLifeWarningLastShownAt";
61
63
  };
62
64
  export declare const CONFIG_FLAGS: {
63
65
  readonly DEFAULT_CMS_PUBLISH_MODE: "defaultCmsPublishMode";
@@ -61,6 +61,8 @@ export const STATE_FLAGS = {
61
61
  MCP_TOTAL_TOOL_CALLS: 'mcpTotalToolCalls',
62
62
  MCP_PROMOTION_LAST_SHOWN_AT: 'mcpPromotionLastShownAt',
63
63
  USAGE_TRACKING_MESSAGE_LAST_SHOW_VERSION: 'usageTrackingMessageLastShowVersion',
64
+ CLI_VERSION_DEPRECATION_WARNING_LAST_SHOWN_AT: 'cliVersionDeprecationWarningLastShownAt',
65
+ CLI_VERSION_END_OF_LIFE_WARNING_LAST_SHOWN_AT: 'cliVersionEndOfLifeWarningLastShownAt',
64
66
  };
65
67
  export const CONFIG_FLAGS = {
66
68
  DEFAULT_CMS_PUBLISH_MODE: 'defaultCmsPublishMode',
package/lib/hubdb.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare function createHubDbTable(accountId: number, src: string): Promis
8
8
  tableId: string;
9
9
  rowCount: number;
10
10
  }>;
11
- export declare function updateHubDbTable(accountId: number, tableId: string, src: string): Promise<AxiosResponse<Table, any, {}>>;
11
+ export declare function updateHubDbTable(accountId: number, tableId: string, src: string): Promise<AxiosResponse<Table, any, {}, any>>;
12
12
  export declare function downloadHubDbTable(accountId: number, tableId: string, dest: string): Promise<{
13
13
  filePath: string;
14
14
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/local-dev-lib",
3
- "version": "5.11.0",
3
+ "version": "5.12.0",
4
4
  "type": "module",
5
5
  "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
6
6
  "files": [
package/types/Config.d.ts CHANGED
@@ -31,6 +31,8 @@ export type HubSpotState = {
31
31
  [STATE_FLAGS.MCP_TOTAL_TOOL_CALLS]: number;
32
32
  [STATE_FLAGS.MCP_PROMOTION_LAST_SHOWN_AT]?: string;
33
33
  [STATE_FLAGS.USAGE_TRACKING_MESSAGE_LAST_SHOW_VERSION]?: string;
34
+ [STATE_FLAGS.CLI_VERSION_DEPRECATION_WARNING_LAST_SHOWN_AT]?: string;
35
+ [STATE_FLAGS.CLI_VERSION_END_OF_LIFE_WARNING_LAST_SHOWN_AT]?: string;
34
36
  };
35
37
  export type HubSpotConfigErrorType = ValueOf<typeof HUBSPOT_CONFIG_ERROR_TYPES>;
36
38
  export type HubSpotConfigOperation = ValueOf<typeof HUBSPOT_CONFIG_OPERATIONS>;