@voltro/plugin-scim 0.85.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5987 -0
- package/THIRD-PARTY-NOTICES.md +1122 -31
- package/dist/index.d.ts +24 -0
- package/dist/index.js +90 -512
- package/dist/scim.js +238 -0
- package/dist/store.js +195 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { ColumnBuilder } from '@voltro/database';
|
|
1
2
|
import { DataStore } from '@voltro/database';
|
|
3
|
+
import { FieldDefinitions } from '@voltro/database';
|
|
2
4
|
import { PluginHttpRouteRequest } from '@voltro/protocol';
|
|
3
5
|
import { PluginHttpRouteResult } from '@voltro/protocol';
|
|
6
|
+
import { Table } from '@voltro/database';
|
|
4
7
|
import { VoltroPlugin } from '@voltro/protocol';
|
|
5
8
|
|
|
6
9
|
/** Apply a SCIM PATCH to a Group — the membership add/remove/replace ops
|
|
@@ -82,6 +85,15 @@ declare interface ScimGroupRow {
|
|
|
82
85
|
readonly updatedAt: number;
|
|
83
86
|
}
|
|
84
87
|
|
|
88
|
+
export declare const scimGroupsTable: Table<"_voltro_scim_groups", FieldDefinitions<{
|
|
89
|
+
readonly id: ColumnBuilder<string, "id", boolean>;
|
|
90
|
+
readonly displayName: ColumnBuilder<string, "text", boolean>;
|
|
91
|
+
readonly externalId: ColumnBuilder<string | null, "text", boolean>;
|
|
92
|
+
readonly members: ColumnBuilder<unknown, "json", boolean>;
|
|
93
|
+
readonly createdAt: ColumnBuilder<Date, "timestamp", true>;
|
|
94
|
+
readonly updatedAt: ColumnBuilder<Date, "timestamp", true>;
|
|
95
|
+
}>, true, never>;
|
|
96
|
+
|
|
85
97
|
/** ListResponse envelope. `page` carries RFC 7644 §3.4.2.4 pagination fields:
|
|
86
98
|
* `totalResults` = the FULL (unpaged) match count, `startIndex` = the 1-based
|
|
87
99
|
* offset the page starts at. Defaults reproduce an unpaged full list. */
|
|
@@ -157,6 +169,18 @@ export declare interface ScimUserRow {
|
|
|
157
169
|
readonly updatedAt: number;
|
|
158
170
|
}
|
|
159
171
|
|
|
172
|
+
export declare const scimUsersTable: Table<"_voltro_scim_users", FieldDefinitions<{
|
|
173
|
+
readonly id: ColumnBuilder<string, "id", boolean>;
|
|
174
|
+
readonly userName: ColumnBuilder<string, "text", boolean>;
|
|
175
|
+
readonly givenName: ColumnBuilder<string | null, "text", boolean>;
|
|
176
|
+
readonly familyName: ColumnBuilder<string | null, "text", boolean>;
|
|
177
|
+
readonly email: ColumnBuilder<string | null, "text", boolean>;
|
|
178
|
+
readonly active: ColumnBuilder<boolean, "boolean", true>;
|
|
179
|
+
readonly externalId: ColumnBuilder<string | null, "text", boolean>;
|
|
180
|
+
readonly createdAt: ColumnBuilder<Date, "timestamp", true>;
|
|
181
|
+
readonly updatedAt: ColumnBuilder<Date, "timestamp", true>;
|
|
182
|
+
}>, true, never>;
|
|
183
|
+
|
|
160
184
|
/** RFC 7643 §5 ServiceProviderConfig — what this implementation supports. */
|
|
161
185
|
export declare const serviceProviderConfig: (location: string) => Record<string, unknown>;
|
|
162
186
|
|