* Connector health: source hubspot, gitlab, snapchat-marketing: fix builds * #26238 source intercom: migrate to advancedAuth * source intercom: upd changelog * source intercom: resolve conflicts * revert leverhiring changes
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"documentationUrl": "https://docs.airbyte.com/integrations/sources/intercom",
|
|
"connectionSpecification": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Source Intercom Spec",
|
|
"type": "object",
|
|
"required": ["start_date", "access_token"],
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"start_date": {
|
|
"type": "string",
|
|
"title": "Start date",
|
|
"description": "UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.",
|
|
"examples": ["2020-11-16T00:00:00Z"],
|
|
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
|
|
"format": "date-time"
|
|
},
|
|
"access_token": {
|
|
"title": "Access token",
|
|
"type": "string",
|
|
"description": "Access token for making authenticated requests. See the <a href=\"https://developers.intercom.com/building-apps/docs/authentication-types#how-to-get-your-access-token\">Intercom docs</a> for more information.",
|
|
"airbyte_secret": true
|
|
}
|
|
}
|
|
},
|
|
"advanced_auth": {
|
|
"auth_flow_type": "oauth2.0",
|
|
"oauth_config_specification": {
|
|
"complete_oauth_output_specification": {
|
|
"type": "object",
|
|
"properties": {
|
|
"access_token": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["access_token"]
|
|
}
|
|
}
|
|
},
|
|
"complete_oauth_server_input_specification": {
|
|
"type": "object",
|
|
"properties": {
|
|
"client_id": {
|
|
"type": "string"
|
|
},
|
|
"client_secret": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"complete_oauth_server_output_specification": {
|
|
"type": "object",
|
|
"properties": {
|
|
"client_id": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["client_id"]
|
|
},
|
|
"client_secret": {
|
|
"type": "string",
|
|
"path_in_connector_config": ["client_secret"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|