@commandable/integration-data 0.0.6 → 0.0.7
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/credentials-index.d.ts.map +1 -1
- package/dist/credentials-index.js +119 -0
- package/dist/credentials-index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +33 -0
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +36 -4
- package/dist/loader.js.map +1 -1
- package/integrations/__tests__/liveHarness.ts +16 -3
- package/integrations/airtable/.env.test +9 -0
- package/integrations/airtable/.env.test.example +11 -0
- package/integrations/airtable/README.md +27 -0
- package/integrations/airtable/__tests__/get_handlers.test.ts +43 -5
- package/integrations/confluence/.env.test +25 -0
- package/integrations/confluence/.env.test.example +36 -0
- package/integrations/confluence/README.md +28 -0
- package/integrations/confluence/__tests__/get_handlers.test.ts +121 -0
- package/integrations/confluence/__tests__/usage_parity.test.ts +14 -0
- package/integrations/confluence/__tests__/write_handlers.test.ts +131 -0
- package/integrations/confluence/credentials.json +39 -0
- package/integrations/confluence/credentials_hint.md +4 -0
- package/integrations/confluence/credentials_hint_api_token.md +9 -0
- package/integrations/confluence/credentials_hint_oauth_token.md +8 -0
- package/integrations/confluence/handlers/add_comment.js +19 -0
- package/integrations/confluence/handlers/add_label.js +16 -0
- package/integrations/confluence/handlers/create_page.js +22 -0
- package/integrations/confluence/handlers/delete_page.js +17 -0
- package/integrations/confluence/handlers/get_comments.js +33 -0
- package/integrations/confluence/handlers/get_page_children.js +30 -0
- package/integrations/confluence/handlers/get_space.js +22 -0
- package/integrations/confluence/handlers/list_spaces.js +39 -0
- package/integrations/confluence/handlers/read_page.js +49 -0
- package/integrations/confluence/handlers/search_pages.js +42 -0
- package/integrations/confluence/handlers/update_page.js +42 -0
- package/integrations/confluence/manifest.json +85 -0
- package/integrations/confluence/prompt.md +55 -0
- package/integrations/confluence/schemas/add_comment.json +22 -0
- package/integrations/confluence/schemas/add_label.json +19 -0
- package/integrations/confluence/schemas/create_page.json +33 -0
- package/integrations/confluence/schemas/delete_page.json +23 -0
- package/integrations/confluence/schemas/empty.json +6 -0
- package/integrations/confluence/schemas/get_comments.json +24 -0
- package/integrations/confluence/schemas/get_page_children.json +28 -0
- package/integrations/confluence/schemas/get_space.json +18 -0
- package/integrations/confluence/schemas/list_spaces.json +36 -0
- package/integrations/confluence/schemas/read_page.json +28 -0
- package/integrations/confluence/schemas/search_pages.json +26 -0
- package/integrations/confluence/schemas/update_page.json +31 -0
- package/integrations/github/.env.test +16 -0
- package/integrations/github/.env.test.example +17 -0
- package/integrations/github/README.md +75 -0
- package/integrations/github/__tests__/get_handlers.test.ts +5 -5
- package/integrations/github/__tests__/write_handlers.test.ts +176 -58
- package/integrations/github/handlers/create_file.js +46 -0
- package/integrations/github/handlers/delete_file.js +14 -1
- package/integrations/github/handlers/edit_file.js +52 -0
- package/integrations/github/handlers/edit_files.js +107 -0
- package/integrations/github/manifest.json +74 -47
- package/integrations/github/prompt.md +36 -0
- package/integrations/github/schemas/create_file.json +13 -0
- package/integrations/github/schemas/delete_file.json +2 -2
- package/integrations/github/schemas/edit_file.json +26 -0
- package/integrations/github/schemas/edit_files.json +39 -0
- package/integrations/google-calendar/.env.test.example +11 -0
- package/integrations/google-calendar/README.md +41 -0
- package/integrations/google-calendar/__tests__/write_and_admin_handlers.test.ts +7 -7
- package/integrations/google-calendar/manifest.json +27 -17
- package/integrations/google-docs/README.md +30 -0
- package/integrations/google-drive/README.md +26 -0
- package/integrations/google-gmail/.env.test.example +11 -0
- package/integrations/google-gmail/README.md +49 -0
- package/integrations/google-gmail/handlers/create_draft_email.js +1 -1
- package/integrations/google-gmail/handlers/read_email.js +1 -1
- package/integrations/google-gmail/handlers/send_email.js +1 -1
- package/integrations/google-gmail/manifest.json +36 -25
- package/integrations/google-sheet/README.md +27 -0
- package/integrations/google-slides/README.md +28 -0
- package/integrations/hubspot/.env.test.example +20 -0
- package/integrations/hubspot/README.md +48 -0
- package/integrations/hubspot/__tests__/get_handlers.test.ts +151 -0
- package/integrations/hubspot/__tests__/usage_parity.test.ts +10 -0
- package/integrations/hubspot/__tests__/write_handlers.test.ts +244 -0
- package/integrations/hubspot/credentials.json +48 -0
- package/integrations/hubspot/credentials_hint.md +20 -0
- package/integrations/hubspot/credentials_hint_oauth_token.md +16 -0
- package/integrations/hubspot/handlers/archive_company.js +13 -0
- package/integrations/hubspot/handlers/archive_contact.js +13 -0
- package/integrations/hubspot/handlers/archive_deal.js +13 -0
- package/integrations/hubspot/handlers/archive_ticket.js +13 -0
- package/integrations/hubspot/handlers/create_association.js +18 -0
- package/integrations/hubspot/handlers/create_company.js +13 -0
- package/integrations/hubspot/handlers/create_contact.js +14 -0
- package/integrations/hubspot/handlers/create_deal.js +16 -0
- package/integrations/hubspot/handlers/create_note.js +44 -0
- package/integrations/hubspot/handlers/create_task.js +48 -0
- package/integrations/hubspot/handlers/create_ticket.js +15 -0
- package/integrations/hubspot/handlers/get_associations.js +14 -0
- package/integrations/hubspot/handlers/get_company.js +18 -0
- package/integrations/hubspot/handlers/get_contact.js +18 -0
- package/integrations/hubspot/handlers/get_deal.js +18 -0
- package/integrations/hubspot/handlers/get_ticket.js +20 -0
- package/integrations/hubspot/handlers/list_owners.js +12 -0
- package/integrations/hubspot/handlers/list_pipelines.js +5 -0
- package/integrations/hubspot/handlers/list_properties.js +11 -0
- package/integrations/hubspot/handlers/remove_association.js +22 -0
- package/integrations/hubspot/handlers/search_companies.js +43 -0
- package/integrations/hubspot/handlers/search_contacts.js +43 -0
- package/integrations/hubspot/handlers/search_deals.js +43 -0
- package/integrations/hubspot/handlers/search_notes.js +43 -0
- package/integrations/hubspot/handlers/search_tasks.js +43 -0
- package/integrations/hubspot/handlers/search_tickets.js +43 -0
- package/integrations/hubspot/handlers/update_company.js +13 -0
- package/integrations/hubspot/handlers/update_contact.js +14 -0
- package/integrations/hubspot/handlers/update_deal.js +16 -0
- package/integrations/hubspot/handlers/update_task.js +17 -0
- package/integrations/hubspot/handlers/update_ticket.js +15 -0
- package/integrations/hubspot/manifest.json +230 -0
- package/integrations/hubspot/prompt.md +69 -0
- package/integrations/hubspot/schemas/archive_company.json +13 -0
- package/integrations/hubspot/schemas/archive_contact.json +13 -0
- package/integrations/hubspot/schemas/archive_deal.json +9 -0
- package/integrations/hubspot/schemas/archive_ticket.json +9 -0
- package/integrations/hubspot/schemas/create_association.json +24 -0
- package/integrations/hubspot/schemas/create_company.json +14 -0
- package/integrations/hubspot/schemas/create_contact.json +15 -0
- package/integrations/hubspot/schemas/create_deal.json +20 -0
- package/integrations/hubspot/schemas/create_note.json +37 -0
- package/integrations/hubspot/schemas/create_task.json +51 -0
- package/integrations/hubspot/schemas/create_ticket.json +16 -0
- package/integrations/hubspot/schemas/empty.json +6 -0
- package/integrations/hubspot/schemas/get_associations.json +30 -0
- package/integrations/hubspot/schemas/get_company.json +27 -0
- package/integrations/hubspot/schemas/get_contact.json +27 -0
- package/integrations/hubspot/schemas/get_deal.json +20 -0
- package/integrations/hubspot/schemas/get_ticket.json +20 -0
- package/integrations/hubspot/schemas/list_owners.json +25 -0
- package/integrations/hubspot/schemas/list_pipelines.json +13 -0
- package/integrations/hubspot/schemas/list_properties.json +17 -0
- package/integrations/hubspot/schemas/remove_association.json +24 -0
- package/integrations/hubspot/schemas/search_companies.json +56 -0
- package/integrations/hubspot/schemas/search_contacts.json +56 -0
- package/integrations/hubspot/schemas/search_deals.json +43 -0
- package/integrations/hubspot/schemas/search_notes.json +43 -0
- package/integrations/hubspot/schemas/search_tasks.json +43 -0
- package/integrations/hubspot/schemas/search_tickets.json +43 -0
- package/integrations/hubspot/schemas/update_company.json +20 -0
- package/integrations/hubspot/schemas/update_contact.json +21 -0
- package/integrations/hubspot/schemas/update_deal.json +19 -0
- package/integrations/hubspot/schemas/update_task.json +31 -0
- package/integrations/hubspot/schemas/update_ticket.json +18 -0
- package/integrations/jira/.env.test +46 -0
- package/integrations/jira/.env.test.example +41 -0
- package/integrations/jira/README.md +46 -0
- package/integrations/jira/__tests__/get_handlers.test.ts +193 -0
- package/integrations/jira/__tests__/usage_parity.test.ts +14 -0
- package/integrations/jira/__tests__/write_handlers.test.ts +157 -0
- package/integrations/jira/credentials.json +39 -0
- package/integrations/jira/credentials_hint.md +4 -0
- package/integrations/jira/credentials_hint_api_token.md +6 -0
- package/integrations/jira/credentials_hint_oauth_token.md +6 -0
- package/integrations/jira/handlers/add_comment.js +9 -0
- package/integrations/jira/handlers/assign_issue.js +11 -0
- package/integrations/jira/handlers/create_issue.js +37 -0
- package/integrations/jira/handlers/create_sprint.js +19 -0
- package/integrations/jira/handlers/delete_issue.js +10 -0
- package/integrations/jira/handlers/get_backlog_issues.js +13 -0
- package/integrations/jira/handlers/get_board.js +6 -0
- package/integrations/jira/handlers/get_issue.js +63 -0
- package/integrations/jira/handlers/get_issue_comments.js +31 -0
- package/integrations/jira/handlers/get_myself.js +14 -0
- package/integrations/jira/handlers/get_project.js +28 -0
- package/integrations/jira/handlers/get_sprint.js +5 -0
- package/integrations/jira/handlers/get_sprint_issues.js +13 -0
- package/integrations/jira/handlers/get_transitions.js +23 -0
- package/integrations/jira/handlers/list_boards.js +34 -0
- package/integrations/jira/handlers/list_projects.js +29 -0
- package/integrations/jira/handlers/list_sprints.js +29 -0
- package/integrations/jira/handlers/move_issues_to_sprint.js +11 -0
- package/integrations/jira/handlers/search_issues.js +43 -0
- package/integrations/jira/handlers/search_users.js +21 -0
- package/integrations/jira/handlers/transition_issue.js +44 -0
- package/integrations/jira/handlers/update_issue.js +40 -0
- package/integrations/jira/handlers/update_sprint.js +20 -0
- package/integrations/jira/manifest.json +204 -0
- package/integrations/jira/prompt.md +80 -0
- package/integrations/jira/schemas/add_comment.json +16 -0
- package/integrations/jira/schemas/assign_issue.json +16 -0
- package/integrations/jira/schemas/create_issue.json +49 -0
- package/integrations/jira/schemas/create_sprint.json +29 -0
- package/integrations/jira/schemas/delete_issue.json +12 -0
- package/integrations/jira/schemas/empty.json +6 -0
- package/integrations/jira/schemas/get_backlog_issues.json +33 -0
- package/integrations/jira/schemas/get_board.json +13 -0
- package/integrations/jira/schemas/get_issue.json +23 -0
- package/integrations/jira/schemas/get_issue_comments.json +23 -0
- package/integrations/jira/schemas/get_project.json +17 -0
- package/integrations/jira/schemas/get_sprint.json +13 -0
- package/integrations/jira/schemas/get_sprint_issues.json +33 -0
- package/integrations/jira/schemas/get_transitions.json +12 -0
- package/integrations/jira/schemas/list_boards.json +27 -0
- package/integrations/jira/schemas/list_projects.json +22 -0
- package/integrations/jira/schemas/list_sprints.json +29 -0
- package/integrations/jira/schemas/move_issues_to_sprint.json +19 -0
- package/integrations/jira/schemas/search_issues.json +28 -0
- package/integrations/jira/schemas/search_users.json +18 -0
- package/integrations/jira/schemas/transition_issue.json +38 -0
- package/integrations/jira/schemas/update_issue.json +47 -0
- package/integrations/jira/schemas/update_sprint.json +33 -0
- package/integrations/new_integration_prompt.md +173 -2
- package/integrations/notion/.env.test +10 -0
- package/integrations/notion/.env.test.example +13 -0
- package/integrations/notion/README.md +42 -0
- package/integrations/notion/manifest.json +64 -35
- package/integrations/trello/.env.test +6 -0
- package/integrations/trello/.env.test.example +9 -0
- package/integrations/trello/README.md +50 -0
- package/package.json +7 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"fromObjectType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Object type of the source record (e.g. contacts, companies, deals, tickets)."
|
|
7
|
+
},
|
|
8
|
+
"fromObjectId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Object ID of the source record."
|
|
11
|
+
},
|
|
12
|
+
"toObjectType": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Object type of the target record."
|
|
15
|
+
},
|
|
16
|
+
"toObjectId": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Object ID of the target record."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["fromObjectType", "fromObjectId", "toObjectType", "toObjectId"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": { "type": "string" },
|
|
5
|
+
"domain": { "type": "string" },
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"description": "Additional HubSpot company properties to set (propertyName -> value).",
|
|
9
|
+
"additionalProperties": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"firstname": { "type": "string" },
|
|
5
|
+
"lastname": { "type": "string" },
|
|
6
|
+
"email": { "type": "string" },
|
|
7
|
+
"properties": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"description": "Additional HubSpot contact properties to set (propertyName -> value).",
|
|
10
|
+
"additionalProperties": true
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"dealname": { "type": "string", "description": "Deal name (maps to dealname property)." },
|
|
5
|
+
"amount": { "type": ["string", "number"], "description": "Deal amount (maps to amount property)." },
|
|
6
|
+
"pipeline": { "type": "string", "description": "Pipeline ID (maps to pipeline property)." },
|
|
7
|
+
"dealstage": { "type": "string", "description": "Deal stage ID (maps to dealstage property)." },
|
|
8
|
+
"closedate": {
|
|
9
|
+
"type": ["string", "number"],
|
|
10
|
+
"description": "Close date. Prefer Unix timestamp in milliseconds (maps to closedate property)."
|
|
11
|
+
},
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"description": "Additional HubSpot deal properties to set (propertyName -> value).",
|
|
15
|
+
"additionalProperties": true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"body": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Note text content. The handler maps this to hs_note_body."
|
|
7
|
+
},
|
|
8
|
+
"timestamp": {
|
|
9
|
+
"type": ["string", "number"],
|
|
10
|
+
"description": "Timestamp for hs_timestamp. Prefer Unix timestamp in milliseconds. If omitted, current time is used."
|
|
11
|
+
},
|
|
12
|
+
"hubspot_owner_id": {
|
|
13
|
+
"type": ["string", "number"],
|
|
14
|
+
"description": "Optional owner ID to attribute the note to."
|
|
15
|
+
},
|
|
16
|
+
"associateWith": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"description": "CRM records to associate this note with.",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"objectType": { "type": "string", "description": "e.g. contacts, companies, deals, tickets" },
|
|
23
|
+
"objectId": { "type": "string", "description": "HubSpot object ID" }
|
|
24
|
+
},
|
|
25
|
+
"required": ["objectType", "objectId"],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"properties": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"description": "Advanced: raw HubSpot note properties to set/override (propertyName -> value).",
|
|
32
|
+
"additionalProperties": true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"subject": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Task subject/title (maps to hs_task_subject)."
|
|
7
|
+
},
|
|
8
|
+
"body": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Task body/notes (maps to hs_task_body)."
|
|
11
|
+
},
|
|
12
|
+
"status": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": ["NOT_STARTED", "COMPLETED"],
|
|
15
|
+
"description": "Task status (maps to hs_task_status)."
|
|
16
|
+
},
|
|
17
|
+
"priority": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["LOW", "MEDIUM", "HIGH"],
|
|
20
|
+
"description": "Task priority (maps to hs_task_priority)."
|
|
21
|
+
},
|
|
22
|
+
"dueTimestamp": {
|
|
23
|
+
"type": ["string", "number"],
|
|
24
|
+
"description": "Due date/time timestamp for the task. HubSpot tasks use hs_timestamp for due date. Prefer Unix timestamp in milliseconds."
|
|
25
|
+
},
|
|
26
|
+
"hubspot_owner_id": {
|
|
27
|
+
"type": ["string", "number"],
|
|
28
|
+
"description": "Optional owner ID to assign the task to."
|
|
29
|
+
},
|
|
30
|
+
"associateWith": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"description": "CRM records to associate this task with.",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"objectType": { "type": "string", "description": "e.g. contacts, companies, deals, tickets" },
|
|
37
|
+
"objectId": { "type": "string", "description": "HubSpot object ID" }
|
|
38
|
+
},
|
|
39
|
+
"required": ["objectType", "objectId"],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"properties": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Advanced: raw HubSpot task properties to set/override (propertyName -> value).",
|
|
46
|
+
"additionalProperties": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"subject": { "type": "string", "description": "Ticket subject (maps to subject property)." },
|
|
5
|
+
"content": { "type": "string", "description": "Ticket content/body (maps to content property)." },
|
|
6
|
+
"hs_pipeline": { "type": "string", "description": "Pipeline ID (maps to hs_pipeline property)." },
|
|
7
|
+
"hs_pipeline_stage": { "type": "string", "description": "Pipeline stage ID (maps to hs_pipeline_stage property)." },
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Additional HubSpot ticket properties to set (propertyName -> value).",
|
|
11
|
+
"additionalProperties": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
16
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"fromObjectType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Object type of the source record (e.g. contacts, companies, deals, tickets)."
|
|
7
|
+
},
|
|
8
|
+
"fromObjectId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Object ID of the source record."
|
|
11
|
+
},
|
|
12
|
+
"toObjectType": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Object type of the associated records to list (e.g. companies, contacts, deals, tickets, notes, tasks)."
|
|
15
|
+
},
|
|
16
|
+
"after": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Paging cursor token."
|
|
19
|
+
},
|
|
20
|
+
"limit": {
|
|
21
|
+
"type": "integer",
|
|
22
|
+
"minimum": 1,
|
|
23
|
+
"maximum": 500,
|
|
24
|
+
"description": "Max results per page."
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": ["fromObjectType", "fromObjectId", "toObjectType"],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Company ID",
|
|
7
|
+
"description": "HubSpot company object ID."
|
|
8
|
+
},
|
|
9
|
+
"properties": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": { "type": "string" },
|
|
12
|
+
"description": "Specific property names to return (e.g. name, domain, industry)."
|
|
13
|
+
},
|
|
14
|
+
"associations": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": { "type": "string" },
|
|
17
|
+
"description": "Associated object types to include (e.g. contacts, deals, tickets)."
|
|
18
|
+
},
|
|
19
|
+
"archived": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"description": "Whether to return archived records."
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["id"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Contact ID",
|
|
7
|
+
"description": "HubSpot contact object ID."
|
|
8
|
+
},
|
|
9
|
+
"properties": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": { "type": "string" },
|
|
12
|
+
"description": "Specific property names to return (e.g. firstname, lastname, email, phone)."
|
|
13
|
+
},
|
|
14
|
+
"associations": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": { "type": "string" },
|
|
17
|
+
"description": "Associated object types to include (e.g. companies, deals, tickets)."
|
|
18
|
+
},
|
|
19
|
+
"archived": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"description": "Whether to return archived records."
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["id"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": { "type": "string", "description": "HubSpot deal object ID." },
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": { "type": "string" },
|
|
8
|
+
"description": "Specific property names to return (e.g. dealname, amount, pipeline, dealstage, closedate)."
|
|
9
|
+
},
|
|
10
|
+
"associations": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": { "type": "string" },
|
|
13
|
+
"description": "Associated object types to include (e.g. contacts, companies, tickets)."
|
|
14
|
+
},
|
|
15
|
+
"archived": { "type": "boolean" }
|
|
16
|
+
},
|
|
17
|
+
"required": ["id"],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"id": { "type": "string", "description": "HubSpot ticket object ID." },
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": { "type": "string" },
|
|
8
|
+
"description": "Specific property names to return (e.g. subject, content, hs_pipeline, hs_pipeline_stage, hs_ticket_priority)."
|
|
9
|
+
},
|
|
10
|
+
"associations": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": { "type": "string" },
|
|
13
|
+
"description": "Associated object types to include (e.g. contacts, companies, deals)."
|
|
14
|
+
},
|
|
15
|
+
"archived": { "type": "boolean" }
|
|
16
|
+
},
|
|
17
|
+
"required": ["id"],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"email": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Filter owners by email address."
|
|
7
|
+
},
|
|
8
|
+
"after": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Paging cursor token."
|
|
11
|
+
},
|
|
12
|
+
"limit": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1,
|
|
15
|
+
"maximum": 500,
|
|
16
|
+
"description": "Max results per page."
|
|
17
|
+
},
|
|
18
|
+
"archived": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "Whether to include archived owners."
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"objectType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Object type",
|
|
7
|
+
"description": "HubSpot object type to list pipelines for (commonly deals or tickets)."
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"required": ["objectType"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
13
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"objectType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Object type",
|
|
7
|
+
"description": "HubSpot object type to list properties for (e.g. contacts, companies, deals, tickets, notes, tasks)."
|
|
8
|
+
},
|
|
9
|
+
"archived": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"description": "Whether to include archived properties."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": ["objectType"],
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"fromObjectType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"description": "Object type of the source record (e.g. contacts, companies, deals, tickets)."
|
|
7
|
+
},
|
|
8
|
+
"fromObjectId": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Object ID of the source record."
|
|
11
|
+
},
|
|
12
|
+
"toObjectType": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Object type of the target record."
|
|
15
|
+
},
|
|
16
|
+
"toObjectId": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Object ID of the target record."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["fromObjectType", "fromObjectId", "toObjectType", "toObjectId"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Query",
|
|
7
|
+
"description": "Free-text search query (optional)."
|
|
8
|
+
},
|
|
9
|
+
"filters": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"title": "Filters",
|
|
12
|
+
"description": "Property-based filters converted into HubSpot filterGroups.",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"propertyName": { "type": "string" },
|
|
17
|
+
"operator": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"EQ",
|
|
21
|
+
"NEQ",
|
|
22
|
+
"LT",
|
|
23
|
+
"LTE",
|
|
24
|
+
"GT",
|
|
25
|
+
"GTE",
|
|
26
|
+
"BETWEEN",
|
|
27
|
+
"HAS_PROPERTY",
|
|
28
|
+
"NOT_HAS_PROPERTY",
|
|
29
|
+
"CONTAINS_TOKEN"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"value": { "type": ["string", "number", "boolean"] }
|
|
33
|
+
},
|
|
34
|
+
"required": ["propertyName", "operator"],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"properties": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": { "type": "string" },
|
|
41
|
+
"description": "Which company properties to return. If omitted, HubSpot returns a default set."
|
|
42
|
+
},
|
|
43
|
+
"limit": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": 1,
|
|
46
|
+
"maximum": 100,
|
|
47
|
+
"description": "Max results per page."
|
|
48
|
+
},
|
|
49
|
+
"after": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Paging cursor token (from paging.next.after)."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"title": "Query",
|
|
7
|
+
"description": "Free-text search query (optional)."
|
|
8
|
+
},
|
|
9
|
+
"filters": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"title": "Filters",
|
|
12
|
+
"description": "Property-based filters converted into HubSpot filterGroups.",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"propertyName": { "type": "string" },
|
|
17
|
+
"operator": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"EQ",
|
|
21
|
+
"NEQ",
|
|
22
|
+
"LT",
|
|
23
|
+
"LTE",
|
|
24
|
+
"GT",
|
|
25
|
+
"GTE",
|
|
26
|
+
"BETWEEN",
|
|
27
|
+
"HAS_PROPERTY",
|
|
28
|
+
"NOT_HAS_PROPERTY",
|
|
29
|
+
"CONTAINS_TOKEN"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"value": { "type": ["string", "number", "boolean"] }
|
|
33
|
+
},
|
|
34
|
+
"required": ["propertyName", "operator"],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"properties": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": { "type": "string" },
|
|
41
|
+
"description": "Which contact properties to return. If omitted, HubSpot returns a default set."
|
|
42
|
+
},
|
|
43
|
+
"limit": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": 1,
|
|
46
|
+
"maximum": 100,
|
|
47
|
+
"description": "Max results per page."
|
|
48
|
+
},
|
|
49
|
+
"after": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Paging cursor token (from paging.next.after)."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "Free-text search query (optional)." },
|
|
5
|
+
"filters": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"description": "Property-based filters converted into HubSpot filterGroups.",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"propertyName": { "type": "string" },
|
|
12
|
+
"operator": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"EQ",
|
|
16
|
+
"NEQ",
|
|
17
|
+
"LT",
|
|
18
|
+
"LTE",
|
|
19
|
+
"GT",
|
|
20
|
+
"GTE",
|
|
21
|
+
"BETWEEN",
|
|
22
|
+
"HAS_PROPERTY",
|
|
23
|
+
"NOT_HAS_PROPERTY",
|
|
24
|
+
"CONTAINS_TOKEN"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"value": { "type": ["string", "number", "boolean"] }
|
|
28
|
+
},
|
|
29
|
+
"required": ["propertyName", "operator"],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"properties": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": { "type": "string" },
|
|
36
|
+
"description": "Which deal properties to return."
|
|
37
|
+
},
|
|
38
|
+
"limit": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
39
|
+
"after": { "type": "string", "description": "Paging cursor token." }
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "Free-text search query (optional)." },
|
|
5
|
+
"filters": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"description": "Property-based filters converted into HubSpot filterGroups.",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"propertyName": { "type": "string" },
|
|
12
|
+
"operator": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"EQ",
|
|
16
|
+
"NEQ",
|
|
17
|
+
"LT",
|
|
18
|
+
"LTE",
|
|
19
|
+
"GT",
|
|
20
|
+
"GTE",
|
|
21
|
+
"BETWEEN",
|
|
22
|
+
"HAS_PROPERTY",
|
|
23
|
+
"NOT_HAS_PROPERTY",
|
|
24
|
+
"CONTAINS_TOKEN"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"value": { "type": ["string", "number", "boolean"] }
|
|
28
|
+
},
|
|
29
|
+
"required": ["propertyName", "operator"],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"properties": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": { "type": "string" },
|
|
36
|
+
"description": "Which note properties to return (e.g. hs_note_body, hs_timestamp)."
|
|
37
|
+
},
|
|
38
|
+
"limit": { "type": "integer", "minimum": 1, "maximum": 100 },
|
|
39
|
+
"after": { "type": "string", "description": "Paging cursor token." }
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
|