Skip to content

Commit c2df200

Browse files
Copilothotlong
andcommitted
Fix TypeScript errors in SCIM and RLS schemas
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 1ad80b8 commit c2df200

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2184
-2
lines changed

content/docs/references/auth/meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"identity",
66
"organization",
77
"policy",
8-
"role"
8+
"role",
9+
"scim"
910
]
1011
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: SCIMAddress
3+
description: SCIMAddress Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **formatted** | `string` | optional | Formatted address |
11+
| **streetAddress** | `string` | optional | Street address |
12+
| **locality** | `string` | optional | City/Locality |
13+
| **region** | `string` | optional | State/Region |
14+
| **postalCode** | `string` | optional | Postal code |
15+
| **country** | `string` | optional | Country |
16+
| **type** | `Enum<'work' \| 'home' \| 'other'>` | optional | Address type |
17+
| **primary** | `boolean` | optional | Primary address indicator |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: SCIMEmail
3+
description: SCIMEmail Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **value** | `string` || Email address |
11+
| **type** | `Enum<'work' \| 'home' \| 'other'>` | optional | Email type |
12+
| **display** | `string` | optional | Display label |
13+
| **primary** | `boolean` | optional | Primary email indicator |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: SCIMEnterpriseUser
3+
description: SCIMEnterpriseUser Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **employeeNumber** | `string` | optional | Employee number |
11+
| **costCenter** | `string` | optional | Cost center |
12+
| **organization** | `string` | optional | Organization |
13+
| **division** | `string` | optional | Division |
14+
| **department** | `string` | optional | Department |
15+
| **manager** | `object` | optional | Manager reference |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: SCIMError
3+
description: SCIMError Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **schemas** | `string[]` | optional | SCIM schema URIs |
11+
| **status** | `integer` || HTTP status code |
12+
| **scimType** | `Enum<'invalidFilter' \| 'tooMany' \| 'uniqueness' \| 'mutability' \| 'invalidSyntax' \| 'invalidPath' \| 'noTarget' \| 'invalidValue' \| 'invalidVers' \| 'sensitive'>` | optional | SCIM error type |
13+
| **detail** | `string` | optional | Error detail message |
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: SCIMGroup
3+
description: SCIMGroup Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **schemas** | `string[]` | optional | SCIM schema URIs (must include Group schema) |
11+
| **id** | `string` | optional | Unique resource identifier |
12+
| **externalId** | `string` | optional | External identifier from client system |
13+
| **displayName** | `string` || Group display name (REQUIRED) |
14+
| **members** | `object[]` | optional | Group members |
15+
| **meta** | `object` | optional | Resource metadata |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: SCIMGroupReference
3+
description: SCIMGroupReference Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **value** | `string` || Group ID |
11+
| **$ref** | `string` | optional | URI reference to the group |
12+
| **display** | `string` | optional | Group display name |
13+
| **type** | `Enum<'direct' \| 'indirect'>` | optional | Membership type |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: SCIMListResponse
3+
description: SCIMListResponse Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **schemas** | `string[]` | optional | SCIM schema URIs |
11+
| **totalResults** | `integer` || Total results count |
12+
| **Resources** | `object \| object \| Record<string, any>[]` || Resources array (Users, Groups, or custom resources) |
13+
| **startIndex** | `integer` | optional | Start index (1-based) |
14+
| **itemsPerPage** | `integer` | optional | Items per page |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: SCIMMemberReference
3+
description: SCIMMemberReference Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **value** | `string` || Member ID |
11+
| **$ref** | `string` | optional | URI reference to the member |
12+
| **type** | `Enum<'User' \| 'Group'>` | optional | Member type |
13+
| **display** | `string` | optional | Member display name |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: SCIMMeta
3+
description: SCIMMeta Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **resourceType** | `string` | optional | Resource type |
11+
| **created** | `string` | optional | Creation timestamp |
12+
| **lastModified** | `string` | optional | Last modification timestamp |
13+
| **location** | `string` | optional | Resource location URI |
14+
| **version** | `string` | optional | Entity tag (ETag) for concurrency control |

0 commit comments

Comments
 (0)