Skip to content

Commit cc8e655

Browse files
Updating baton config schema and capabilities.
1 parent eb6a06c commit cc8e655

File tree

1 file changed

+60
-51
lines changed

1 file changed

+60
-51
lines changed

baton_capabilities.json

Lines changed: 60 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,124 @@
11
{
2-
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3-
"resourceTypeCapabilities": [
2+
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3+
"resourceTypeCapabilities": [
44
{
5-
"resourceType": {
6-
"id": "api-key",
7-
"displayName": "API Key",
8-
"traits": [
5+
"resourceType": {
6+
"id": "api-key",
7+
"displayName": "API Key",
8+
"traits": [
99
"TRAIT_SECRET"
1010
],
11-
"annotations": [
11+
"annotations": [
1212
{
13-
"@type": "type.googleapis.com/c1.connector.v2.SkipEntitlementsAndGrants"
13+
"@type": "type.googleapis.com/c1.connector.v2.SkipEntitlementsAndGrants"
1414
}
1515
]
1616
},
17-
"capabilities": [
17+
"capabilities": [
1818
"CAPABILITY_SYNC"
1919
]
2020
},
2121
{
22-
"resourceType": {
23-
"id": "org",
24-
"displayName": "Org",
25-
"annotations": [
22+
"resourceType": {
23+
"id": "org",
24+
"displayName": "Org",
25+
"annotations": [
2626
{
27-
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
28-
"id": "org"
27+
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
28+
"id": "org"
2929
}
3030
]
3131
},
32-
"capabilities": [
32+
"capabilities": [
3333
"CAPABILITY_SYNC",
3434
"CAPABILITY_PROVISION"
3535
]
3636
},
3737
{
38-
"resourceType": {
39-
"id": "org_role",
40-
"displayName": "Organization Role",
41-
"traits": [
38+
"resourceType": {
39+
"id": "org_role",
40+
"displayName": "Organization Role",
41+
"traits": [
4242
"TRAIT_ROLE"
4343
],
44-
"annotations": [
44+
"annotations": [
4545
{
46-
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
47-
"id": "org_role"
46+
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
47+
"id": "org_role"
4848
}
4949
]
5050
},
51-
"capabilities": [
51+
"capabilities": [
5252
"CAPABILITY_SYNC",
5353
"CAPABILITY_PROVISION"
5454
]
5555
},
5656
{
57-
"resourceType": {
58-
"id": "repository",
59-
"displayName": "Repository",
60-
"annotations": [
57+
"resourceType": {
58+
"id": "repository",
59+
"displayName": "Repository",
60+
"annotations": [
6161
{
62-
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
63-
"id": "repository"
62+
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
63+
"id": "repository"
6464
}
6565
]
6666
},
67-
"capabilities": [
67+
"capabilities": [
6868
"CAPABILITY_SYNC",
6969
"CAPABILITY_PROVISION"
7070
]
7171
},
7272
{
73-
"resourceType": {
74-
"id": "team",
75-
"displayName": "Team",
76-
"traits": [
73+
"resourceType": {
74+
"id": "team",
75+
"displayName": "Team",
76+
"traits": [
7777
"TRAIT_GROUP"
7878
],
79-
"annotations": [
79+
"annotations": [
8080
{
81-
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
82-
"id": "team"
81+
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
82+
"id": "team"
8383
}
8484
]
8585
},
86-
"capabilities": [
86+
"capabilities": [
8787
"CAPABILITY_SYNC",
8888
"CAPABILITY_PROVISION"
8989
]
9090
},
9191
{
92-
"resourceType": {
93-
"id": "user",
94-
"displayName": "User",
95-
"traits": [
92+
"resourceType": {
93+
"id": "user",
94+
"displayName": "User",
95+
"traits": [
9696
"TRAIT_USER"
9797
],
98-
"annotations": [
98+
"annotations": [
9999
{
100-
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
101-
"id": "user"
100+
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
101+
"id": "user"
102102
}
103103
]
104104
},
105-
"capabilities": [
106-
"CAPABILITY_SYNC"
105+
"capabilities": [
106+
"CAPABILITY_SYNC",
107+
"CAPABILITY_ACCOUNT_PROVISIONING"
107108
]
108109
}
109110
],
110-
"connectorCapabilities": [
111+
"connectorCapabilities": [
111112
"CAPABILITY_PROVISION",
112-
"CAPABILITY_SYNC"
113+
"CAPABILITY_SYNC",
114+
"CAPABILITY_ACCOUNT_PROVISIONING"
113115
],
114-
"credentialDetails": {}
116+
"credentialDetails": {
117+
"capabilityAccountProvisioning": {
118+
"supportedCredentialOptions": [
119+
"CAPABILITY_DETAIL_CREDENTIAL_OPTION_NO_PASSWORD"
120+
],
121+
"preferredCredentialOption": "CAPABILITY_DETAIL_CREDENTIAL_OPTION_NO_PASSWORD"
122+
}
123+
}
115124
}

0 commit comments

Comments
 (0)