diff --git a/manifest.json b/manifest.json index b72cfc9..5cd5a05 100644 --- a/manifest.json +++ b/manifest.json @@ -153,7 +153,18 @@ { "url": "https://api.hubapi.com/.*", "methods": ["GET", "POST", "PUT", "PATCH"], - "timeout": 30 + "timeout": 30, + "settingsInjection": { + "client_id": { + "body": ["client_id"] + }, + "client_secret": { + "body": ["client_secret"] + }, + "api_token": { + "header": ["Authorization"] + } + } } ] } diff --git a/src/services/hubspot/constants.ts b/src/services/hubspot/constants.ts index de04be1..f894fe1 100644 --- a/src/services/hubspot/constants.ts +++ b/src/services/hubspot/constants.ts @@ -12,7 +12,7 @@ export const placeholders = { API_TOKEN: "__api_token__", OAUTH2_ACCESS_TOKEN_PATH: "oauth2/access_token", OAUTH2_REFRESH_TOKEN_PATH: "oauth2/refresh_token" -}; +} as const; export const BASE_URL = "https://api.hubapi.com"; @@ -68,4 +68,4 @@ export const PROPERTIES = { "lifecyclestage", ], companies: ["name"], -}; +} as const;