Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aircall Connector #2589

Merged
merged 21 commits into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.11.0...main)

### Added
- Access and erasure support for Aircall [#2589](https://github.com/ethyca/fides/pull/2589)

### Removed
- Removed the warning about access control migration [#3055](https://github.com/ethyca/fides/pull/3055)
- Remove `customFields` feature flag [#3080](https://github.com/ethyca/fides/pull/3080)
Expand Down
76 changes: 76 additions & 0 deletions data/saas/config/aircall_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
saas_config:
fides_key: <instance_fides_key>
name: Aircall
type: aircall
description: A sample schema representing the Aircall connector for Fides
version: 0.1.0

connector_params:
- name: domain
default_value: api.aircall.io
- name: api_id
label: API ID
- name: api_token
galvana marked this conversation as resolved.
Show resolved Hide resolved
label: API Token

client_config:
protocol: https
host: <domain>
authentication:
strategy: basic
configuration:
username: <api_id>
password: <api_token>

test_request:
method: GET
path: /v1/company/

endpoints:
- name: contact
requests:
read:
method: GET
path: /v1/contacts/search
query_params:
- name: phone_number
value: <phone_number>
data_path: contacts
param_values:
- name: phone_number
identity: phone_number
delete:
method: DELETE
path: /v1/contacts/<contact_id>
param_values:
- name: contact_id
references:
- dataset: <instance_fides_key>
field: contact.id
direction: from
- name: calls
requests:
read:
method: GET
path: /v1/calls/search
query_params:
- name: phone_number
value: <phone_number>
data_path: calls
param_values:
- name: phone_number
identity: phone_number
pagination:
strategy: link
configuration:
source: body
path: meta.next_page_link
delete:
method: DELETE
path: /v1/calls/<calls_id>/recording
param_values:
- name: calls_id
references:
- dataset: <instance_fides_key>
field: calls.id
direction: from
Loading