1
0
mirror of synced 2026-01-19 18:07:00 -05:00
Files
airbyte/airbyte-integrations/connectors/source-intercom/source_intercom/spec.json

99 lines
3.1 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,
"order": 0
},
"client_id": {
"title": "Client Id",
"type": "string",
"description": "Client Id for your Intercom application.",
"airbyte_secret": true,
"order": 1
},
"client_secret": {
"title": "Client Secret",
"type": "string",
"description": "Client Secret for your Intercom application.",
"airbyte_secret": true,
"order": 2
},
"activity_logs_time_step": {
"type": "integer",
"default": 30,
"minimum": 1,
"maximum": 91,
"title": "Activity logs stream slice step size (in days)",
"description": "Set lower value in case of failing long running sync of Activity Logs stream.",
"examples": [30, 10, 5],
"order": 3
},
"lookback_window": {
"title": "Lookback window",
"description": "The number of days to shift the state value backward for record sync",
"examples": [60],
"default": 0,
"minimum": 0,
"type": "integer",
"order": 4
}
}
},
"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"]
}
}
}
}
}
}