@@ -1325,11 +1325,10 @@ components:
13251325 - type
13261326 type: object
13271327 AuthNMappingCreateRelationships:
1328- description: Relationship of AuthN Mapping create object to Role.
1329- properties:
1330- role:
1331- $ref: '#/components/schemas/RelationshipToRole'
1332- type: object
1328+ description: Relationship of AuthN Mapping create object to a Role or Team.
1329+ oneOf:
1330+ - $ref: '#/components/schemas/AuthNMappingRelationshipToRole'
1331+ - $ref: '#/components/schemas/AuthNMappingRelationshipToTeam'
13331332 AuthNMappingCreateRequest:
13341333 description: Request for creating an AuthN Mapping.
13351334 properties:
@@ -1343,13 +1342,32 @@ components:
13431342 oneOf:
13441343 - $ref: '#/components/schemas/SAMLAssertionAttribute'
13451344 - $ref: '#/components/schemas/Role'
1345+ - $ref: '#/components/schemas/AuthNMappingTeam'
1346+ AuthNMappingRelationshipToRole:
1347+ description: Relationship of AuthN Mapping to a Role.
1348+ properties:
1349+ role:
1350+ $ref: '#/components/schemas/RelationshipToRole'
1351+ required:
1352+ - role
1353+ type: object
1354+ AuthNMappingRelationshipToTeam:
1355+ description: Relationship of AuthN Mapping to a Team.
1356+ properties:
1357+ team:
1358+ $ref: '#/components/schemas/RelationshipToTeam'
1359+ required:
1360+ - team
1361+ type: object
13461362 AuthNMappingRelationships:
13471363 description: All relationships associated with AuthN Mapping.
13481364 properties:
13491365 role:
13501366 $ref: '#/components/schemas/RelationshipToRole'
13511367 saml_assertion_attribute:
13521368 $ref: '#/components/schemas/RelationshipToSAMLAssertionAttribute'
1369+ team:
1370+ $ref: '#/components/schemas/RelationshipToTeam'
13531371 type: object
13541372 AuthNMappingResponse:
13551373 description: AuthN Mapping response from the API.
@@ -1362,6 +1380,60 @@ components:
13621380 $ref: '#/components/schemas/AuthNMappingIncluded'
13631381 type: array
13641382 type: object
1383+ AuthNMappingTeam:
1384+ description: Team.
1385+ properties:
1386+ attributes:
1387+ $ref: '#/components/schemas/AuthNMappingTeamAttributes'
1388+ id:
1389+ description: The ID of the Team.
1390+ example: f9bb8444-af7f-11ec-ac2c-da7ad0900001
1391+ type: string
1392+ type:
1393+ $ref: '#/components/schemas/TeamType'
1394+ type: object
1395+ AuthNMappingTeamAttributes:
1396+ description: Team attributes.
1397+ properties:
1398+ avatar:
1399+ description: Unicode representation of the avatar for the team, limited
1400+ to a single grapheme
1401+ example: "\U0001F951"
1402+ nullable: true
1403+ type: string
1404+ banner:
1405+ description: Banner selection for the team
1406+ format: int64
1407+ nullable: true
1408+ type: integer
1409+ handle:
1410+ description: The team's identifier
1411+ example: example-team
1412+ maxLength: 195
1413+ type: string
1414+ link_count:
1415+ description: The number of links belonging to the team
1416+ format: int32
1417+ maximum: 2147483647
1418+ readOnly: true
1419+ type: integer
1420+ name:
1421+ description: The name of the team
1422+ example: Example Team
1423+ maxLength: 200
1424+ type: string
1425+ summary:
1426+ description: A brief summary of the team, derived from the `description`
1427+ maxLength: 120
1428+ nullable: true
1429+ type: string
1430+ user_count:
1431+ description: The number of users belonging to the team
1432+ format: int32
1433+ maximum: 2147483647
1434+ readOnly: true
1435+ type: integer
1436+ type: object
13651437 AuthNMappingUpdateAttributes:
13661438 description: Key/Value pair of attributes used for update request.
13671439 properties:
@@ -1394,11 +1466,10 @@ components:
13941466 - type
13951467 type: object
13961468 AuthNMappingUpdateRelationships:
1397- description: Relationship of AuthN Mapping update object to Role.
1398- properties:
1399- role:
1400- $ref: '#/components/schemas/RelationshipToRole'
1401- type: object
1469+ description: Relationship of AuthN Mapping update object to a Role or Team.
1470+ oneOf:
1471+ - $ref: '#/components/schemas/AuthNMappingRelationshipToRole'
1472+ - $ref: '#/components/schemas/AuthNMappingRelationshipToTeam'
14021473 AuthNMappingUpdateRequest:
14031474 description: Request to update an AuthN Mapping.
14041475 properties:
@@ -15667,6 +15738,22 @@ components:
1566715738 - id
1566815739 - type
1566915740 type: object
15741+ RelationshipToTeam:
15742+ description: Relationship to team.
15743+ properties:
15744+ data:
15745+ $ref: '#/components/schemas/RelationshipToTeamData'
15746+ type: object
15747+ RelationshipToTeamData:
15748+ description: Relationship to Team object.
15749+ properties:
15750+ id:
15751+ description: The unique identifier of the team.
15752+ example: f9bb8444-af7f-11ec-ac2c-da7ad0900001
15753+ type: string
15754+ type:
15755+ $ref: '#/components/schemas/TeamType'
15756+ type: object
1567015757 RelationshipToTeamLinkData:
1567115758 description: Relationship between a link and a team
1567215759 properties:
0 commit comments