@idp.global/interfaces 7.0.0 → 8.0.1
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 +21 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/data/activity.d.ts +1 -1
- package/dist_ts/data/index.d.ts +2 -0
- package/dist_ts/data/index.js +3 -1
- package/dist_ts/data/scim.d.ts +87 -0
- package/dist_ts/data/scim.js +11 -0
- package/dist_ts/data/ssoconnection.d.ts +87 -0
- package/dist_ts/data/ssoconnection.js +2 -0
- package/dist_ts/data/user.d.ts +27 -0
- package/dist_ts/dto/index.d.ts +1 -0
- package/dist_ts/dto/index.js +2 -1
- package/dist_ts/dto/ssoconnection.d.ts +57 -0
- package/dist_ts/dto/ssoconnection.js +2 -0
- package/dist_ts/dto/user.d.ts +16 -0
- package/dist_ts/request/admin.d.ts +54 -0
- package/dist_ts/request/index.d.ts +1 -0
- package/dist_ts/request/index.js +2 -1
- package/dist_ts/request/registration.d.ts +3 -1
- package/dist_ts/request/ssoconnection.d.ts +163 -0
- package/dist_ts/request/ssoconnection.js +4 -0
- package/dist_ts/request/user.d.ts +21 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/activity.ts +12 -1
- package/ts/data/index.ts +2 -0
- package/ts/data/scim.ts +107 -0
- package/ts/data/ssoconnection.ts +91 -0
- package/ts/data/user.ts +27 -0
- package/ts/dto/index.ts +1 -0
- package/ts/dto/ssoconnection.ts +60 -0
- package/ts/dto/user.ts +17 -0
- package/ts/request/admin.ts +69 -0
- package/ts/request/index.ts +1 -0
- package/ts/request/registration.ts +3 -1
- package/ts/request/ssoconnection.ts +208 -0
- package/ts/request/user.ts +26 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as dto from '../dto/index.js';
|
|
2
2
|
import * as plugins from '../plugins.js';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated superseded by IReq_SetUserSuspension (request/admin.ts), which
|
|
5
|
+
* supports unsuspension and returns the updated user instead of a key. Kept
|
|
6
|
+
* until the next major release.
|
|
7
|
+
*/
|
|
3
8
|
export interface IReq_SuspendUser extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_SuspendUser> {
|
|
4
9
|
method: 'suspendUser';
|
|
5
10
|
request: {
|
|
@@ -59,6 +64,22 @@ export interface IReq_RevokeSession extends plugins.typedRequestInterfaces.imple
|
|
|
59
64
|
success: boolean;
|
|
60
65
|
};
|
|
61
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Self-service profile update. Email is deliberately NOT updatable here —
|
|
69
|
+
* it is the account's login identifier and needs a verified-change flow.
|
|
70
|
+
*/
|
|
71
|
+
export interface IReq_UpdateProfile extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_UpdateProfile> {
|
|
72
|
+
method: 'updateProfile';
|
|
73
|
+
request: {
|
|
74
|
+
jwt: string;
|
|
75
|
+
name?: string;
|
|
76
|
+
username?: string;
|
|
77
|
+
mobileNumber?: string;
|
|
78
|
+
};
|
|
79
|
+
response: {
|
|
80
|
+
user: dto.ICurrentUserDto;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
62
83
|
export interface IReq_GetUserActivity extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_GetUserActivity> {
|
|
63
84
|
method: 'getUserActivity';
|
|
64
85
|
request: {
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/activity.ts
CHANGED
|
@@ -25,7 +25,18 @@ export type TActivityAction =
|
|
|
25
25
|
| 'passkey_login'
|
|
26
26
|
| 'app_connected'
|
|
27
27
|
| 'app_disconnected'
|
|
28
|
-
| 'user_suspended'
|
|
28
|
+
| 'user_suspended'
|
|
29
|
+
| 'user_unsuspended'
|
|
30
|
+
| 'sso_connection_created'
|
|
31
|
+
| 'sso_connection_updated'
|
|
32
|
+
| 'sso_connection_deleted'
|
|
33
|
+
| 'sso_login'
|
|
34
|
+
| 'scim_token_created'
|
|
35
|
+
| 'scim_token_revoked'
|
|
36
|
+
| 'scim_user_provisioned'
|
|
37
|
+
| 'scim_user_updated'
|
|
38
|
+
| 'scim_user_deactivated'
|
|
39
|
+
| 'scim_group_membership_changed';
|
|
29
40
|
|
|
30
41
|
export interface IActivityLog {
|
|
31
42
|
id: string;
|
package/ts/data/index.ts
CHANGED
package/ts/data/scim.ts
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal SCIM 2.0 wire types (RFC 7643/7644 subset) shared between the
|
|
3
|
+
* app's SCIM server implementation and its tests. Field shapes follow what
|
|
4
|
+
* Okta and Microsoft Entra ID actually send.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export const SCIM_URN_USER = 'urn:ietf:params:scim:schemas:core:2.0:User';
|
|
8
|
+
export const SCIM_URN_GROUP = 'urn:ietf:params:scim:schemas:core:2.0:Group';
|
|
9
|
+
export const SCIM_URN_LIST_RESPONSE = 'urn:ietf:params:scim:api:messages:2.0:ListResponse';
|
|
10
|
+
export const SCIM_URN_PATCH_OP = 'urn:ietf:params:scim:api:messages:2.0:PatchOp';
|
|
11
|
+
export const SCIM_URN_ERROR = 'urn:ietf:params:scim:api:messages:2.0:Error';
|
|
12
|
+
|
|
13
|
+
export interface IScimMeta {
|
|
14
|
+
resourceType: 'User' | 'Group' | 'ServiceProviderConfig' | 'ResourceType' | 'Schema';
|
|
15
|
+
/** ISO 8601 */
|
|
16
|
+
created?: string;
|
|
17
|
+
/** ISO 8601 */
|
|
18
|
+
lastModified?: string;
|
|
19
|
+
location?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface IScimName {
|
|
23
|
+
givenName?: string;
|
|
24
|
+
familyName?: string;
|
|
25
|
+
formatted?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface IScimEmail {
|
|
29
|
+
value: string;
|
|
30
|
+
type?: string;
|
|
31
|
+
primary?: boolean;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface IScimUserResource {
|
|
35
|
+
schemas: string[];
|
|
36
|
+
/** Server-assigned, immutable */
|
|
37
|
+
id: string;
|
|
38
|
+
/** Assigned by the provisioning IdP; echoed back verbatim */
|
|
39
|
+
externalId?: string;
|
|
40
|
+
/** Unique server-wide, matched case-insensitively */
|
|
41
|
+
userName: string;
|
|
42
|
+
name?: IScimName;
|
|
43
|
+
displayName?: string;
|
|
44
|
+
emails?: IScimEmail[];
|
|
45
|
+
active: boolean;
|
|
46
|
+
meta: IScimMeta;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface IScimGroupMember {
|
|
50
|
+
/** SCIM id of the member user */
|
|
51
|
+
value: string;
|
|
52
|
+
display?: string;
|
|
53
|
+
/** Entra sends null here; tolerated and ignored */
|
|
54
|
+
$ref?: string | null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface IScimGroupResource {
|
|
58
|
+
schemas: string[];
|
|
59
|
+
id: string;
|
|
60
|
+
externalId?: string;
|
|
61
|
+
displayName: string;
|
|
62
|
+
members?: IScimGroupMember[];
|
|
63
|
+
meta: IScimMeta;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface IScimListResponse<T> {
|
|
67
|
+
schemas: string[];
|
|
68
|
+
/** Numbers, never strings */
|
|
69
|
+
totalResults: number;
|
|
70
|
+
startIndex: number;
|
|
71
|
+
itemsPerPage: number;
|
|
72
|
+
Resources: T[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* A single PATCH operation. `op` must be matched case-insensitively
|
|
77
|
+
* (Entra sends "Add"/"Replace"/"Remove"). `value` may be a primitive, a
|
|
78
|
+
* boolean-as-string ("False"), an object with dotted keys, or an array of
|
|
79
|
+
* member refs, depending on the operation.
|
|
80
|
+
*/
|
|
81
|
+
export interface IScimPatchOperation {
|
|
82
|
+
op: string;
|
|
83
|
+
path?: string;
|
|
84
|
+
value?: unknown;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface IScimPatchRequest {
|
|
88
|
+
schemas: string[];
|
|
89
|
+
Operations: IScimPatchOperation[];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface IScimError {
|
|
93
|
+
schemas: string[];
|
|
94
|
+
/** HTTP status as a JSON string per RFC 7644 */
|
|
95
|
+
status: string;
|
|
96
|
+
scimType?:
|
|
97
|
+
| 'invalidFilter'
|
|
98
|
+
| 'invalidPath'
|
|
99
|
+
| 'invalidValue'
|
|
100
|
+
| 'invalidSyntax'
|
|
101
|
+
| 'noTarget'
|
|
102
|
+
| 'mutability'
|
|
103
|
+
| 'uniqueness'
|
|
104
|
+
| 'tooMany'
|
|
105
|
+
| 'sensitive';
|
|
106
|
+
detail?: string;
|
|
107
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enterprise SSO provisioning mode for a connection.
|
|
3
|
+
* - jit: accounts are created just-in-time on first SAML login
|
|
4
|
+
* - scim-only: accounts must be provisioned via SCIM before they can sign in
|
|
5
|
+
* - jit-and-scim: both paths are allowed
|
|
6
|
+
*/
|
|
7
|
+
export type TSsoProvisioningMode = 'jit' | 'scim-only' | 'jit-and-scim';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Maps an IdP-side group name to org roles on idp.global.
|
|
11
|
+
* Used both for SAML group attributes and SCIM group memberships.
|
|
12
|
+
*/
|
|
13
|
+
export interface IGroupRoleMapping {
|
|
14
|
+
/** Group name as sent by the customer IdP (SAML attribute value or SCIM group displayName) */
|
|
15
|
+
idpGroup: string;
|
|
16
|
+
/** Org roles granted while the user is a member of the group */
|
|
17
|
+
orgRoles: string[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Optional SAML attribute name overrides. Sensible defaults are applied
|
|
22
|
+
* when unset (NameID for email, standard claim URIs for name/groups).
|
|
23
|
+
*/
|
|
24
|
+
export interface ISsoAttributeMapping {
|
|
25
|
+
email?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
groups?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* An org-level enterprise SSO connection. idp.global acts as the SAML
|
|
32
|
+
* service provider; the customer org brings their own IdP (Okta, Entra, ...).
|
|
33
|
+
*/
|
|
34
|
+
export interface ISsoConnection {
|
|
35
|
+
id: string;
|
|
36
|
+
data: {
|
|
37
|
+
organizationId: string;
|
|
38
|
+
/** Connection protocol. Only SAML for now; OIDC federation may follow. */
|
|
39
|
+
type: 'saml';
|
|
40
|
+
displayName: string;
|
|
41
|
+
status: 'active' | 'disabled';
|
|
42
|
+
/**
|
|
43
|
+
* Email domains routed to this connection during home-realm discovery.
|
|
44
|
+
* Globally unique across all connections.
|
|
45
|
+
*/
|
|
46
|
+
emailDomains: string[];
|
|
47
|
+
idp: {
|
|
48
|
+
/** IdP entityID from metadata */
|
|
49
|
+
entityId: string;
|
|
50
|
+
/** IdP single-sign-on URL (HTTP-Redirect binding) */
|
|
51
|
+
ssoUrl: string;
|
|
52
|
+
/**
|
|
53
|
+
* IdP signing certificates (PEM). Multiple entries allow zero-downtime
|
|
54
|
+
* certificate rollover on the customer side.
|
|
55
|
+
*/
|
|
56
|
+
signingCertificates: string[];
|
|
57
|
+
/** Raw uploaded metadata XML, kept for re-parsing and debugging */
|
|
58
|
+
metadataXml?: string;
|
|
59
|
+
};
|
|
60
|
+
provisioning: {
|
|
61
|
+
mode: TSsoProvisioningMode;
|
|
62
|
+
/** Org roles granted to every user of this connection */
|
|
63
|
+
defaultOrgRoles: string[];
|
|
64
|
+
};
|
|
65
|
+
groupMappings: IGroupRoleMapping[];
|
|
66
|
+
attributeMapping?: ISsoAttributeMapping;
|
|
67
|
+
createdAt: number;
|
|
68
|
+
updatedAt: number;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Internal persisted SCIM bearer token record. Never return this shape to
|
|
74
|
+
* clients; the plaintext token is shown exactly once at creation.
|
|
75
|
+
*/
|
|
76
|
+
export interface IScimTokenRecord {
|
|
77
|
+
id: string;
|
|
78
|
+
data: {
|
|
79
|
+
organizationId: string;
|
|
80
|
+
/** Human-readable label, e.g. "Okta production" */
|
|
81
|
+
label: string;
|
|
82
|
+
/** sha256 hash of the bearer token */
|
|
83
|
+
tokenHash: string;
|
|
84
|
+
/** First characters of the token for display purposes */
|
|
85
|
+
tokenPrefix: string;
|
|
86
|
+
createdAt: number;
|
|
87
|
+
expiresAt?: number;
|
|
88
|
+
lastUsedAt?: number;
|
|
89
|
+
revoked: boolean;
|
|
90
|
+
};
|
|
91
|
+
}
|
package/ts/data/user.ts
CHANGED
|
@@ -21,6 +21,11 @@ export interface IUser {
|
|
|
21
21
|
*/
|
|
22
22
|
passwordHash?: string;
|
|
23
23
|
status: 'new' | 'active' | 'deleted' | 'suspended';
|
|
24
|
+
/**
|
|
25
|
+
* epoch ms of account creation; absent on accounts created before this
|
|
26
|
+
* field existed (derive from the Mongo ObjectId timestamp when missing)
|
|
27
|
+
*/
|
|
28
|
+
createdAt?: number;
|
|
24
29
|
/**
|
|
25
30
|
* a quick ref for which organizations might have roles for this user
|
|
26
31
|
* speeds up lookup
|
|
@@ -32,5 +37,27 @@ export interface IUser {
|
|
|
32
37
|
* to manage global apps, view platform stats, etc.
|
|
33
38
|
*/
|
|
34
39
|
isGlobalAdmin?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Links to external identities established via enterprise SSO.
|
|
42
|
+
* One entry per SSO connection the user has signed in through.
|
|
43
|
+
*/
|
|
44
|
+
externalIdentities?: {
|
|
45
|
+
/** The ISsoConnection id this identity belongs to */
|
|
46
|
+
connectionId: string;
|
|
47
|
+
/** Stable subject identifier at the customer IdP (SAML NameID) */
|
|
48
|
+
subjectId: string;
|
|
49
|
+
}[];
|
|
50
|
+
/**
|
|
51
|
+
* SCIM provisioning state. Present when the user is managed by an
|
|
52
|
+
* org's SCIM integration.
|
|
53
|
+
*/
|
|
54
|
+
scim?: {
|
|
55
|
+
/** externalId assigned by the provisioning IdP */
|
|
56
|
+
externalId?: string;
|
|
57
|
+
/** The ISsoConnection id whose SCIM integration manages this user */
|
|
58
|
+
provisionedByConnectionId?: string;
|
|
59
|
+
/** SCIM-side active flag; false after deprovisioning */
|
|
60
|
+
active?: boolean;
|
|
61
|
+
};
|
|
35
62
|
};
|
|
36
63
|
}
|
package/ts/dto/index.ts
CHANGED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { TSsoProvisioningMode, IGroupRoleMapping, ISsoAttributeMapping } from '../data/ssoconnection.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Client-facing SSO connection shape. IdP signing certificates are public
|
|
5
|
+
* material and stay included; the raw metadata XML is omitted.
|
|
6
|
+
*/
|
|
7
|
+
export interface ISsoConnectionDto {
|
|
8
|
+
id: string;
|
|
9
|
+
data: {
|
|
10
|
+
organizationId: string;
|
|
11
|
+
type: 'saml';
|
|
12
|
+
displayName: string;
|
|
13
|
+
status: 'active' | 'disabled';
|
|
14
|
+
emailDomains: string[];
|
|
15
|
+
idp: {
|
|
16
|
+
entityId: string;
|
|
17
|
+
ssoUrl: string;
|
|
18
|
+
signingCertificates: string[];
|
|
19
|
+
};
|
|
20
|
+
provisioning: {
|
|
21
|
+
mode: TSsoProvisioningMode;
|
|
22
|
+
defaultOrgRoles: string[];
|
|
23
|
+
};
|
|
24
|
+
groupMappings: IGroupRoleMapping[];
|
|
25
|
+
attributeMapping?: ISsoAttributeMapping;
|
|
26
|
+
createdAt: number;
|
|
27
|
+
updatedAt: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Client-facing SCIM token shape. Never carries the token hash; the
|
|
33
|
+
* plaintext token is returned exactly once by createScimToken.
|
|
34
|
+
*/
|
|
35
|
+
export interface IScimTokenDto {
|
|
36
|
+
id: string;
|
|
37
|
+
data: {
|
|
38
|
+
organizationId: string;
|
|
39
|
+
label: string;
|
|
40
|
+
tokenPrefix: string;
|
|
41
|
+
createdAt: number;
|
|
42
|
+
expiresAt?: number;
|
|
43
|
+
lastUsedAt?: number;
|
|
44
|
+
revoked: boolean;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Service-provider side details an org admin needs to configure their IdP.
|
|
50
|
+
*/
|
|
51
|
+
export interface ISsoSpDetailsDto {
|
|
52
|
+
/** SP entityID to register at the customer IdP */
|
|
53
|
+
spEntityId: string;
|
|
54
|
+
/** Assertion consumer service URL (HTTP-POST binding) */
|
|
55
|
+
acsUrl: string;
|
|
56
|
+
/** URL serving the SP metadata XML */
|
|
57
|
+
metadataUrl: string;
|
|
58
|
+
/** Base URL of the SCIM v2 endpoint for this org */
|
|
59
|
+
scimBaseUrl: string;
|
|
60
|
+
}
|
package/ts/dto/user.ts
CHANGED
|
@@ -25,3 +25,20 @@ export interface IUserProfileDto {
|
|
|
25
25
|
status?: IUserDataDto['status'];
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Platform-wide user summary for the global admin directory.
|
|
31
|
+
* Never contains credentials, external identities, or SCIM internals.
|
|
32
|
+
*/
|
|
33
|
+
export interface IGlobalUserAdminDto {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
username: string;
|
|
37
|
+
email: string;
|
|
38
|
+
status: IUserDataDto['status'];
|
|
39
|
+
isGlobalAdmin: boolean;
|
|
40
|
+
/** number of organizations the user belongs to */
|
|
41
|
+
orgCount: number;
|
|
42
|
+
/** epoch ms; derived for accounts created before this field existed */
|
|
43
|
+
createdAt: number;
|
|
44
|
+
}
|
package/ts/request/admin.ts
CHANGED
|
@@ -128,3 +128,72 @@ export interface IReq_RegenerateAppCredentials
|
|
|
128
128
|
clientSecret: string; // Only shown once
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Paged, searchable platform user directory (admin only)
|
|
134
|
+
*/
|
|
135
|
+
export interface IReq_GetGlobalUsers
|
|
136
|
+
extends plugins.typedRequestInterfaces.implementsTR<
|
|
137
|
+
plugins.typedRequestInterfaces.ITypedRequest,
|
|
138
|
+
IReq_GetGlobalUsers
|
|
139
|
+
> {
|
|
140
|
+
method: 'getGlobalUsers';
|
|
141
|
+
request: {
|
|
142
|
+
jwt: string;
|
|
143
|
+
/** case-insensitive substring match against name, username and email */
|
|
144
|
+
search?: string;
|
|
145
|
+
limit?: number;
|
|
146
|
+
offset?: number;
|
|
147
|
+
};
|
|
148
|
+
response: {
|
|
149
|
+
users: dto.IGlobalUserAdminDto[];
|
|
150
|
+
total: number;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Suspend or unsuspend a user account (admin only).
|
|
156
|
+
* Suspension revokes all active sessions and JWTs of the target user.
|
|
157
|
+
*/
|
|
158
|
+
export interface IReq_SetUserSuspension
|
|
159
|
+
extends plugins.typedRequestInterfaces.implementsTR<
|
|
160
|
+
plugins.typedRequestInterfaces.ITypedRequest,
|
|
161
|
+
IReq_SetUserSuspension
|
|
162
|
+
> {
|
|
163
|
+
method: 'setUserSuspension';
|
|
164
|
+
request: {
|
|
165
|
+
jwt: string;
|
|
166
|
+
userId: string;
|
|
167
|
+
suspended: boolean;
|
|
168
|
+
};
|
|
169
|
+
response: {
|
|
170
|
+
user: dto.IGlobalUserAdminDto;
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Platform-wide organization directory with member counts (admin only)
|
|
176
|
+
*/
|
|
177
|
+
export interface IReq_GetGlobalOrgStats
|
|
178
|
+
extends plugins.typedRequestInterfaces.implementsTR<
|
|
179
|
+
plugins.typedRequestInterfaces.ITypedRequest,
|
|
180
|
+
IReq_GetGlobalOrgStats
|
|
181
|
+
> {
|
|
182
|
+
method: 'getGlobalOrgStats';
|
|
183
|
+
request: {
|
|
184
|
+
jwt: string;
|
|
185
|
+
/** case-insensitive substring match against name and slug */
|
|
186
|
+
search?: string;
|
|
187
|
+
limit?: number;
|
|
188
|
+
offset?: number;
|
|
189
|
+
};
|
|
190
|
+
response: {
|
|
191
|
+
orgs: Array<{
|
|
192
|
+
id: string;
|
|
193
|
+
name: string;
|
|
194
|
+
slug: string;
|
|
195
|
+
memberCount: number;
|
|
196
|
+
}>;
|
|
197
|
+
total: number;
|
|
198
|
+
};
|
|
199
|
+
}
|
package/ts/request/index.ts
CHANGED
|
@@ -55,7 +55,9 @@ export interface IReq_SetDataForRegistration
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* @deprecated SMS verification was removed from registration — the platform
|
|
59
|
+
* no longer provides an SMS sending service. The server no longer handles
|
|
60
|
+
* this method. Kept until the next major release.
|
|
59
61
|
*/
|
|
60
62
|
export interface IReq_MobileVerificationForRegistration
|
|
61
63
|
extends plugins.typedRequestInterfaces.implementsTR<
|