Skip to content

Commit dcc372c

Browse files
authored
[TXP-104] Add account config schemas for Klaviyo and RingCentral (DataDog#23736)
* add klaviyo and ringcentral account schemas * add dataflow configs * define dataflows for ringcentral
1 parent 3bce4ec commit dcc372c

3 files changed

Lines changed: 128 additions & 0 deletions

File tree

klaviyo/assets/account_config.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"supported_auth_methods": [
3+
{
4+
"auth_name": "oauth",
5+
"auth_method": "oauth2_authorization_code",
6+
"fields": [],
7+
"authorization_server": {
8+
"authorization_endpoint": "https://www.klaviyo.com/oauth/authorize"
9+
},
10+
"authorization_request": {
11+
"scopes": [
12+
"accounts:read",
13+
"metrics:read",
14+
"events:read",
15+
"flows:read"
16+
],
17+
"pkce": "required"
18+
}
19+
}
20+
],
21+
"additional_config_fields": [
22+
{
23+
"type": "tags",
24+
"key": "tags",
25+
"label": "Tags",
26+
"help": "",
27+
"editable": true,
28+
"required": false
29+
}
30+
],
31+
"dataflow_config": [
32+
{
33+
"dataflow_id": "klaviyo-logs",
34+
"additional_config_fields": []
35+
}
36+
]
37+
}
38+
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"supported_auth_methods": [
3+
{
4+
"auth_name": "oauth",
5+
"auth_method": "oauth2_authorization_code",
6+
"fields": [],
7+
"authorization_server": {
8+
"authorization_endpoint": "https://platform.ringcentral.com/restapi/oauth/authorize"
9+
},
10+
"authorization_request": {
11+
"scopes": [
12+
"ReadAccounts",
13+
"ReadCallLog",
14+
"ReadContacts",
15+
"ReadMessages",
16+
"ReadPresence"
17+
],
18+
"pkce": "required"
19+
}
20+
}
21+
],
22+
"additional_config_fields": [
23+
{
24+
"type": "tags",
25+
"key": "tags",
26+
"label": "Tags",
27+
"help": "",
28+
"editable": true,
29+
"required": false
30+
},
31+
{
32+
"type": "checkbox",
33+
"key": "get_voice_calls",
34+
"label": "Voice calls",
35+
"help": "",
36+
"editable": true,
37+
"required": false,
38+
"default": true
39+
},
40+
{
41+
"type": "checkbox",
42+
"key": "get_audit_logs",
43+
"label": "Audit logs",
44+
"help": "",
45+
"editable": true,
46+
"required": false,
47+
"default": true
48+
},
49+
{
50+
"type": "checkbox",
51+
"key": "get_analytics_metrics",
52+
"label": "Analytics metrics",
53+
"help": "",
54+
"editable": true,
55+
"required": false,
56+
"default": true
57+
},
58+
{
59+
"type": "checkbox",
60+
"key": "get_message_metrics",
61+
"label": "SMS metrics",
62+
"help": "",
63+
"editable": true,
64+
"required": false,
65+
"default": true
66+
}
67+
],
68+
"dataflow_config": [
69+
{
70+
"dataflow_id": "ringcentral-logs",
71+
"additional_config_fields": []
72+
},
73+
{
74+
"dataflow_id": "ringcentral-metrics",
75+
"additional_config_fields": []
76+
}
77+
]
78+
}
79+

ringcentral/assets/dataflows.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
provides:
2+
- id: ringcentral-logs
3+
always_on: true
4+
granular: false
5+
data_type: logs
6+
direction: inbound
7+
- id: ringcentral-metrics
8+
always_on: true
9+
granular: false
10+
data_type: metrics
11+
direction: inbound

0 commit comments

Comments
 (0)