* update definitions with new .com docs urls * update docs urls in specs * update generators * regenerate scaffold connectors * remove unrelated changes * update more urls * update specs * fix tests * run `:airbyte-config:specs:generateSeedConnectorSpecs` to fix formatting * revert docs changes to make pr more reviewable * revert generator readme changes to make more reviewable * fix mysql strict encrypt expected spec * fix postgres expected spec
89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"documentationUrl": "https://docs.airbyte.com/integrations/sources/pipedrive",
|
|
"connectionSpecification": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Pipedrive Spec",
|
|
"type": "object",
|
|
"required": ["replication_start_date"],
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"authorization": {
|
|
"type": "object",
|
|
"title": "Authentication Type",
|
|
"description": "Choose one of the possible authorization method",
|
|
"oneOf": [
|
|
{
|
|
"title": "Sign in via Pipedrive (OAuth)",
|
|
"type": "object",
|
|
"required": [
|
|
"auth_type",
|
|
"client_id",
|
|
"client_secret",
|
|
"refresh_token"
|
|
],
|
|
"properties": {
|
|
"auth_type": {
|
|
"type": "string",
|
|
"const": "Client",
|
|
"order": 0
|
|
},
|
|
"client_id": {
|
|
"title": "Client ID",
|
|
"type": "string",
|
|
"description": "The Client ID of your Pipedrive developer application.",
|
|
"airbyte_secret": true
|
|
},
|
|
"client_secret": {
|
|
"title": "Client Secret",
|
|
"type": "string",
|
|
"description": "The Client Secret of your Pipedrive developer application",
|
|
"airbyte_secret": true
|
|
},
|
|
"refresh_token": {
|
|
"title": "Refresh Token",
|
|
"type": "string",
|
|
"description": "The token for obtaining the new access token.",
|
|
"airbyte_secret": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"title": "API Key Authentication",
|
|
"required": ["auth_type", "api_token"],
|
|
"properties": {
|
|
"auth_type": {
|
|
"type": "string",
|
|
"const": "Token",
|
|
"order": 0
|
|
},
|
|
"api_token": {
|
|
"title": "API Token",
|
|
"type": "string",
|
|
"description": "The Pipedrive API Token.",
|
|
"airbyte_secret": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"replication_start_date": {
|
|
"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. When specified and not None, then stream will behave as incremental",
|
|
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
|
|
"examples": ["2017-01-25T00:00:00Z"],
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"supportsIncremental": true,
|
|
"authSpecification": {
|
|
"auth_type": "oauth2.0",
|
|
"oauth2Specification": {
|
|
"rootObject": ["authorization", 0],
|
|
"oauthFlowInitParameters": [["client_id"], ["client_secret"]],
|
|
"oauthFlowOutputParameters": [["refresh_token"]]
|
|
}
|
|
}
|
|
}
|