@xemahq/biomes-platform-hubspot 0.1.0 → 0.2.1
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.
- package/dist/connector-adapters/index.d.ts +1 -1
- package/dist/connector-adapters/index.d.ts.map +1 -1
- package/dist/connector-adapters/index.js +1 -1
- package/dist/connector-adapters/index.js.map +1 -1
- package/dist/connector-adapters/operation-input-schemas.d.ts +1 -1
- package/dist/connector-adapters/operation-input-schemas.d.ts.map +1 -1
- package/dist/connector-adapters/operations.d.ts +5 -5
- package/dist/connector-adapters/operations.d.ts.map +1 -1
- package/dist/connector-adapters/operations.js +6 -6
- package/dist/connector-adapters/operations.js.map +1 -1
- package/package.json +5 -5
- package/xema-biome.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ConnectorAdapterModule } from '@xemahq/biome-sdk/adapter';
|
|
2
|
-
import { type ConnectorDescriptor, type ProviderDescriptor } from '@xemahq/
|
|
2
|
+
import { type ConnectorDescriptor, type ProviderDescriptor } from '@xemahq/contracts/connector';
|
|
3
3
|
export declare const HUBSPOT_CONNECTOR_KEY = "HUBSPOT_CRM";
|
|
4
4
|
export declare const providerDescriptor: ProviderDescriptor;
|
|
5
5
|
export declare const connectorDescriptors: readonly ConnectorDescriptor[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAOL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAExB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAOL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAExB,MAAM,6BAA6B,CAAC;AA8DrC,eAAO,MAAM,qBAAqB,gBAAgB,CAAC;AAqDnD,eAAO,MAAM,kBAAkB,EAAE,kBAgBhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,SAAS,mBAAmB,EAgB9D,CAAC;AASF,eAAO,MAAM,eAAe,EAAE,sBAQ5B,CAAC;AAEH,QAAA,MAAM,iBAAiB,EAAE,SAAS,sBAAsB,EAAsB,CAAC;AAC/E,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC3B,KAAK,oBAAoB,GAC1B,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineConnectorAdapter, } from '@xemahq/biome-sdk/adapter';
|
|
2
|
-
import { ConnectorOnboardingKind, CredentialFieldTransform, CredentialFieldType, CredentialKind, ProviderAppAuthKind, ProviderOrigin, } from '@xemahq/
|
|
2
|
+
import { ConnectorOnboardingKind, CredentialFieldTransform, CredentialFieldType, CredentialKind, ProviderAppAuthKind, ProviderOrigin, } from '@xemahq/contracts/connector';
|
|
3
3
|
import { CRM_ADAPTER_KIND, HUBSPOT_API_BASE_URL, HUBSPOT_PROVIDER_KEY, hubspotConnectorScopes, hubspotOperations, } from './operations.js';
|
|
4
4
|
export const HUBSPOT_CONNECTOR_KEY = 'HUBSPOT_CRM';
|
|
5
5
|
const ICON_NAME = 'Contact';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector-adapters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAEvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,cAAc,GAIf,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connector-adapters/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAEvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,cAAc,GAIf,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AAsDzB,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAGnD,MAAM,SAAS,GAAG,SAAS,CAAC;AAE5B,MAAM,UAAU,GAA+B;IAC7C,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,SAAS;IACtB,WAAW,EACT,iFAAiF;IACnF,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,uBAAuB,CAAC,WAAW;IAGzC,mCAAmC,EAAE,EAAE;IACvC,MAAM,EAAE;QACN;YAKE,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,mBAAmB,CAAC,QAAQ;YAClC,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,WAAW;YACxB,IAAI,EACF,sEAAsE;gBACtE,qEAAqE;gBACrE,qEAAqE;gBACrE,yEAAyE;gBACzE,0BAA0B;YAC5B,SAAS,EAAE,wBAAwB,CAAC,IAAI;SACzC;KACF;IACD,IAAI,EACF,yEAAyE;QACzE,iEAAiE;CACpE,CAAC;AAcF,MAAM,CAAC,MAAM,kBAAkB,GAAuB;IACpD,WAAW,EAAE,oBAAoB;IACjC,WAAW,EAAE,SAAS;IACtB,WAAW,EACT,yHAAyH;IAC3H,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,KAAK;IACf,UAAU,EAAE,oBAAoB;IAChC,WAAW,EAAE,mBAAmB,CAAC,IAAI;IACrC,MAAM,EAAE,cAAc,CAAC,KAAK;IAI5B,gBAAgB,EAAE,KAAK;CAGxB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAmC;IAClE;QACE,YAAY,EAAE,qBAAqB;QACnC,WAAW,EAAE,yBAAyB;QACtC,WAAW,EACT,0EAA0E;YAC1E,mEAAmE;YACnE,mCAAmC;QACrC,QAAQ,EAAE,SAAS;QACnB,WAAW,EAAE,oBAAoB;QAEjC,MAAM,EAAE,sBAAsB;QAC9B,wBAAwB,EAAE,cAAc,CAAC,MAAM;QAC/C,WAAW,EAAE,gBAAgB;QAC7B,UAAU,EAAE,iBAAiB;KAC9B;CACF,CAAC;AASF,MAAM,CAAC,MAAM,eAAe,GAA2B,sBAAsB,CAAC;IAC5E,WAAW,EAAE,gBAAgB;IAC7B,QAAQ,EAAE,oBAAoB;IAC9B,WAAW,EAAE,SAAS;IACtB,cAAc,EAAE,cAAc,CAAC,MAAM;IACrC,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,UAAU;CACX,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAsC,CAAC,eAAe,CAAC,CAAC;AAC/E,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,EACZ,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,qBAAqB,EACrB,2BAA2B,GAE5B,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HubSpotVerb } from './operations.js';
|
|
2
|
-
import type { CapabilityRef } from '@xemahq/
|
|
2
|
+
import type { CapabilityRef } from '@xemahq/contracts/capability';
|
|
3
3
|
type JsonSchemaNode = Readonly<Record<string, unknown>>;
|
|
4
4
|
export interface OperationInputSchema {
|
|
5
5
|
readonly $schema: 'http://json-schema.org/draft-07/schema#';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-input-schemas.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/operation-input-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation-input-schemas.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/operation-input-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAsClE,KAAK,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AASxD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,OAAO,EAAE,yCAAyC,CAAC;IAC5D,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IAC9D,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,oBAAoB,EAAE,KAAK,CAAC;IAErC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS;QAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CACtE;AA8FD,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAChD,MAAM,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAiDzC,CAAC;AAQH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAC1C,MAAM,CAAC,aAAa,EAAE,oBAAoB,CAAC,CAQ5C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ConnectorOperationDescriptor } from '@xemahq/
|
|
1
|
+
import { type ConnectorOperationDescriptor } from '@xemahq/contracts/connector';
|
|
2
2
|
export declare const HUBSPOT_PROVIDER_KEY = "hubspot";
|
|
3
3
|
export declare const CRM_ADAPTER_KIND = "crm";
|
|
4
4
|
export declare const HUBSPOT_API_BASE_URL = "https://api.hubapi.com";
|
|
@@ -14,10 +14,10 @@ export declare enum HubSpotVerb {
|
|
|
14
14
|
SearchDeals = "search-deals"
|
|
15
15
|
}
|
|
16
16
|
export declare const HUBSPOT_CAPABILITY_REFS: Readonly<{
|
|
17
|
-
"search-contacts": import("@xemahq/
|
|
18
|
-
"get-contact": import("@xemahq/
|
|
19
|
-
"search-companies": import("@xemahq/
|
|
20
|
-
"search-deals": import("@xemahq/
|
|
17
|
+
"search-contacts": import("@xemahq/contracts/capability").CapabilityRef;
|
|
18
|
+
"get-contact": import("@xemahq/contracts/capability").CapabilityRef;
|
|
19
|
+
"search-companies": import("@xemahq/contracts/capability").CapabilityRef;
|
|
20
|
+
"search-deals": import("@xemahq/contracts/capability").CapabilityRef;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const hubspotOperations: readonly ConnectorOperationDescriptor[];
|
|
23
23
|
export declare const hubspotConnectorScopes: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,4BAA4B,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/connector-adapters/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,4BAA4B,EAElC,MAAM,6BAA6B,CAAC;AA8ErC,eAAO,MAAM,oBAAoB,YAAY,CAAC;AAQ9C,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AAGtC,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAO7D,oBAAY,YAAY;IACtB,YAAY,8BAA8B;IAC1C,aAAa,+BAA+B;IAC5C,SAAS,2BAA2B;CACrC;AAOD,oBAAY,WAAW;IACrB,cAAc,oBAAoB;IAClC,UAAU,gBAAgB;IAC1B,eAAe,qBAAqB;IACpC,WAAW,iBAAiB;CAC7B;AAGD,eAAO,MAAM,uBAAuB;;;;;EAiBlC,CAAC;AAuDH,eAAO,MAAM,iBAAiB,EAAE,SAAS,4BAA4B,EAuCjE,CAAC;AAQL,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAElD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConnectorAdapterKind, ConnectorAuthInjectionKind, ConnectorHttpBodyMode,
|
|
2
|
-
import { buildConnectorCapabilityRef } from '@xemahq/
|
|
1
|
+
import { ConnectorAdapterKind, ConnectorAuthInjectionKind, ConnectorHttpBodyMode, HttpMethod, } from '@xemahq/contracts/connector';
|
|
2
|
+
import { buildConnectorCapabilityRef } from '@xemahq/contracts/capability';
|
|
3
3
|
export const HUBSPOT_PROVIDER_KEY = 'hubspot';
|
|
4
4
|
export const CRM_ADAPTER_KIND = 'crm';
|
|
5
5
|
export const HUBSPOT_API_BASE_URL = 'https://api.hubapi.com';
|
|
@@ -44,14 +44,14 @@ export const hubspotOperations = Object.freeze([
|
|
|
44
44
|
declarativeOperation({
|
|
45
45
|
verb: HubSpotVerb.SearchContacts,
|
|
46
46
|
scopes: [HubSpotScope.ContactsRead],
|
|
47
|
-
method:
|
|
47
|
+
method: HttpMethod.Post,
|
|
48
48
|
pathTemplate: '/crm/v3/objects/contacts/search',
|
|
49
49
|
bodyMode: ConnectorHttpBodyMode.JsonInput,
|
|
50
50
|
}),
|
|
51
51
|
declarativeOperation({
|
|
52
52
|
verb: HubSpotVerb.GetContact,
|
|
53
53
|
scopes: [HubSpotScope.ContactsRead],
|
|
54
|
-
method:
|
|
54
|
+
method: HttpMethod.Get,
|
|
55
55
|
pathTemplate: '/crm/v3/objects/contacts/{contactId}',
|
|
56
56
|
query: { properties: '{properties}' },
|
|
57
57
|
bodyMode: ConnectorHttpBodyMode.None,
|
|
@@ -59,14 +59,14 @@ export const hubspotOperations = Object.freeze([
|
|
|
59
59
|
declarativeOperation({
|
|
60
60
|
verb: HubSpotVerb.SearchCompanies,
|
|
61
61
|
scopes: [HubSpotScope.CompaniesRead],
|
|
62
|
-
method:
|
|
62
|
+
method: HttpMethod.Post,
|
|
63
63
|
pathTemplate: '/crm/v3/objects/companies/search',
|
|
64
64
|
bodyMode: ConnectorHttpBodyMode.JsonInput,
|
|
65
65
|
}),
|
|
66
66
|
declarativeOperation({
|
|
67
67
|
verb: HubSpotVerb.SearchDeals,
|
|
68
68
|
scopes: [HubSpotScope.DealsRead],
|
|
69
|
-
method:
|
|
69
|
+
method: HttpMethod.Post,
|
|
70
70
|
pathTemplate: '/crm/v3/objects/deals/search',
|
|
71
71
|
bodyMode: ConnectorHttpBodyMode.JsonInput,
|
|
72
72
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/connector-adapters/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/connector-adapters/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,qBAAqB,EAIrB,UAAU,GACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AA6E3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAQ9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC;AAGtC,MAAM,CAAC,MAAM,oBAAoB,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AC,MAAM,sBAAsB,GAAsB,MAAM,CAAC,MAAM,CAAC;IACrE,GAAG,IAAI,GAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;CACvE,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/biomes-platform-hubspot",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
|
-
"url": "git+https://github.com/xema-dev/xema-
|
|
7
|
-
"directory": "
|
|
6
|
+
"url": "git+https://github.com/xema-dev/xema-connectors.git",
|
|
7
|
+
"directory": "connectors/hubspot"
|
|
8
8
|
},
|
|
9
9
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
10
10
|
"type": "module",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@xemahq/biome-sdk": "^
|
|
31
|
-
"@xemahq/
|
|
30
|
+
"@xemahq/biome-sdk": "^16.0.0",
|
|
31
|
+
"@xemahq/contracts": "^0.17.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "25.2.3",
|
package/xema-biome.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/biomes-platform-hubspot",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"xema": {
|
|
5
5
|
"id": "connector-hubspot",
|
|
6
6
|
"displayName": "HubSpot CRM Connector (read-only)",
|
|
7
7
|
"display": {
|
|
8
8
|
"icon": "contact",
|
|
9
9
|
"category": "connect",
|
|
10
|
-
"summary": "HubSpot CRM connector
|
|
10
|
+
"summary": "HubSpot CRM connector — search contacts, companies and deals and read a contact in full, through four declarative-HTTP operations. Read-only by design."
|
|
11
11
|
},
|
|
12
|
-
"description": "First-party connector biome for HubSpot CRM, and the first whose every operation is `declarative-http`: four ConnectorHttpRequestTemplates executed by connector-gateway-api's generic DeclarativeHttpExecutorService with NO connector-specific code, no provider SDK and no adapter dispatch. Projects `connector:hubspot.search-contacts@1`, `.get-contact@1`, `.search-companies@1` and `.search-deals@1` against HubSpot's single global API host. Each connection authenticates with its own HubSpot private-app access token (curated `api_key` credential kind, injected as `Authorization: Bearer`), held by the credential broker at org scope
|
|
12
|
+
"description": "First-party connector biome for HubSpot CRM, and the first whose every operation is `declarative-http`: four ConnectorHttpRequestTemplates executed by connector-gateway-api's generic DeclarativeHttpExecutorService with NO connector-specific code, no provider SDK and no adapter dispatch. Projects `connector:hubspot.search-contacts@1`, `.get-contact@1`, `.search-companies@1` and `.search-deals@1` against HubSpot's single global API host. Each connection authenticates with its own HubSpot private-app access token (curated `api_key` credential kind, injected as `Authorization: Bearer`), held by the credential broker at org scope — there is no shared platform app to provision, so the connector is connectable the moment it is installed. READ-ONLY BY DESIGN: `create-contact` and `update-contact` were written and removed before shipping, because `ConnectorOperationDescriptor` is a strictObject with no `requiresApproval`, `inputSchema`, `riskTier` or idempotency field — so a connector write can never reach the platform's durable approval gate, can never be validated at the capability boundary, and can never be safely retried against a provider that rate-limits. Adding those four optional fields to the kernel descriptor (and having the projector read them instead of UNDECLARED_OPERATION_METADATA) is the exact change that unblocks writes; the input schemas are already written and asserted in src/connector-adapters/operation-input-schemas.ts. Ships no webhook block (a private-app connection has no push channel) and no code actions.",
|
|
13
13
|
"scope": "platform",
|
|
14
14
|
"storeListed": true,
|
|
15
15
|
"target": "server",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"bundleSource": {
|
|
18
18
|
"kind": "npm",
|
|
19
19
|
"name": "@xemahq/biomes-platform-hubspot",
|
|
20
|
-
"version": "0.1
|
|
20
|
+
"version": "0.2.1"
|
|
21
21
|
},
|
|
22
22
|
"trustTier": "first-party",
|
|
23
23
|
"connectorRequirements": [
|
|
24
24
|
{
|
|
25
25
|
"adapterKind": "crm",
|
|
26
|
-
"purpose": "Read an org's own HubSpot CRM records (contacts, companies, deals) from agents and workflows. Read-only
|
|
26
|
+
"purpose": "Read an org's own HubSpot CRM records (contacts, companies, deals) from agents and workflows. Read-only — see the biome description for why no write operation is shipped.",
|
|
27
27
|
"capabilities": [
|
|
28
28
|
"crm.search-contacts",
|
|
29
29
|
"crm.get-contact",
|