@linagora/ldap-rest-client 1.0.11 → 1.0.12
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/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -622,11 +622,16 @@ interface Organization {
|
|
|
622
622
|
* - suspended: Organization is temporarily disabled
|
|
623
623
|
*/
|
|
624
624
|
type OrganizationStatus = 'active' | 'suspended';
|
|
625
|
+
/**
|
|
626
|
+
* Supported primitive types for metadata values
|
|
627
|
+
*/
|
|
628
|
+
type MetadataValue = string | number | boolean | null;
|
|
625
629
|
/**
|
|
626
630
|
* Optional metadata for organization customization
|
|
627
631
|
*
|
|
628
632
|
* Allows storing custom properties like industry, company size,
|
|
629
633
|
* contact information, or any other organization-specific data.
|
|
634
|
+
* Supports strings, numbers, booleans, and null values.
|
|
630
635
|
*/
|
|
631
636
|
interface OrganizationMetadata {
|
|
632
637
|
/** Industry/sector (e.g., 'Technology', 'Healthcare') */
|
|
@@ -636,7 +641,7 @@ interface OrganizationMetadata {
|
|
|
636
641
|
/** Primary contact information */
|
|
637
642
|
contact?: string;
|
|
638
643
|
/** Additional custom fields as key-value pairs */
|
|
639
|
-
[key: string]:
|
|
644
|
+
[key: string]: MetadataValue | undefined;
|
|
640
645
|
}
|
|
641
646
|
/**
|
|
642
647
|
* Request parameters for creating an organization
|
|
@@ -1765,4 +1770,4 @@ declare class NetworkError extends LdapRestError {
|
|
|
1765
1770
|
constructor(message: string, cause?: Error);
|
|
1766
1771
|
}
|
|
1767
1772
|
|
|
1768
|
-
export { type AddGroupMembersRequest, type Address, ApiError, AuthenticationError, AuthorizationError, type ChangeUserRoleRequest, type ChangeUserRoleResponse, type CheckAvailabilityParams, type CheckAvailabilityResponse, type CheckOrganizationAvailabilityParams, type ClientConfig, ConflictError, type CreateAdminRequest, type CreateB2BUserResponse, type CreateGroupRequest, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateUserRequest, type EmailAddress, type ExtendedAddress, type FetchUserRequest, type GeoLocation, type GetOwnerResponse, type Group, GroupsResource, type InstantMessaging, LdapRestClient, LdapRestError, type ListGroupsParams, type ListGroupsResponse, type ListUsersParams, type ListUsersResponse, NetworkError, NotFoundError, type Organization, type OrganizationMetadata, type OrganizationOwner, type OrganizationRole, type OrganizationSearchField, type OrganizationStatus, OrganizationsResource, type PhoneNumber, RateLimitError, type SearchUsersParams, type SetOwnerRequest, type TransferOwnershipRequest, type UpdateGroupRequest, type UpdateOrganizationRequest, type UpdateUserRequest, type User, type UserCredentials, type UserKeys, type UserName, type UserSearchField, type UserStatus, UsersResource, ValidationError };
|
|
1773
|
+
export { type AddGroupMembersRequest, type Address, ApiError, AuthenticationError, AuthorizationError, type ChangeUserRoleRequest, type ChangeUserRoleResponse, type CheckAvailabilityParams, type CheckAvailabilityResponse, type CheckOrganizationAvailabilityParams, type ClientConfig, ConflictError, type CreateAdminRequest, type CreateB2BUserResponse, type CreateGroupRequest, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateUserRequest, type EmailAddress, type ExtendedAddress, type FetchUserRequest, type GeoLocation, type GetOwnerResponse, type Group, GroupsResource, type InstantMessaging, LdapRestClient, LdapRestError, type ListGroupsParams, type ListGroupsResponse, type ListUsersParams, type ListUsersResponse, type MetadataValue, NetworkError, NotFoundError, type Organization, type OrganizationMetadata, type OrganizationOwner, type OrganizationRole, type OrganizationSearchField, type OrganizationStatus, OrganizationsResource, type PhoneNumber, RateLimitError, type SearchUsersParams, type SetOwnerRequest, type TransferOwnershipRequest, type UpdateGroupRequest, type UpdateOrganizationRequest, type UpdateUserRequest, type User, type UserCredentials, type UserKeys, type UserName, type UserSearchField, type UserStatus, UsersResource, ValidationError };
|
package/dist/index.d.ts
CHANGED
|
@@ -622,11 +622,16 @@ interface Organization {
|
|
|
622
622
|
* - suspended: Organization is temporarily disabled
|
|
623
623
|
*/
|
|
624
624
|
type OrganizationStatus = 'active' | 'suspended';
|
|
625
|
+
/**
|
|
626
|
+
* Supported primitive types for metadata values
|
|
627
|
+
*/
|
|
628
|
+
type MetadataValue = string | number | boolean | null;
|
|
625
629
|
/**
|
|
626
630
|
* Optional metadata for organization customization
|
|
627
631
|
*
|
|
628
632
|
* Allows storing custom properties like industry, company size,
|
|
629
633
|
* contact information, or any other organization-specific data.
|
|
634
|
+
* Supports strings, numbers, booleans, and null values.
|
|
630
635
|
*/
|
|
631
636
|
interface OrganizationMetadata {
|
|
632
637
|
/** Industry/sector (e.g., 'Technology', 'Healthcare') */
|
|
@@ -636,7 +641,7 @@ interface OrganizationMetadata {
|
|
|
636
641
|
/** Primary contact information */
|
|
637
642
|
contact?: string;
|
|
638
643
|
/** Additional custom fields as key-value pairs */
|
|
639
|
-
[key: string]:
|
|
644
|
+
[key: string]: MetadataValue | undefined;
|
|
640
645
|
}
|
|
641
646
|
/**
|
|
642
647
|
* Request parameters for creating an organization
|
|
@@ -1765,4 +1770,4 @@ declare class NetworkError extends LdapRestError {
|
|
|
1765
1770
|
constructor(message: string, cause?: Error);
|
|
1766
1771
|
}
|
|
1767
1772
|
|
|
1768
|
-
export { type AddGroupMembersRequest, type Address, ApiError, AuthenticationError, AuthorizationError, type ChangeUserRoleRequest, type ChangeUserRoleResponse, type CheckAvailabilityParams, type CheckAvailabilityResponse, type CheckOrganizationAvailabilityParams, type ClientConfig, ConflictError, type CreateAdminRequest, type CreateB2BUserResponse, type CreateGroupRequest, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateUserRequest, type EmailAddress, type ExtendedAddress, type FetchUserRequest, type GeoLocation, type GetOwnerResponse, type Group, GroupsResource, type InstantMessaging, LdapRestClient, LdapRestError, type ListGroupsParams, type ListGroupsResponse, type ListUsersParams, type ListUsersResponse, NetworkError, NotFoundError, type Organization, type OrganizationMetadata, type OrganizationOwner, type OrganizationRole, type OrganizationSearchField, type OrganizationStatus, OrganizationsResource, type PhoneNumber, RateLimitError, type SearchUsersParams, type SetOwnerRequest, type TransferOwnershipRequest, type UpdateGroupRequest, type UpdateOrganizationRequest, type UpdateUserRequest, type User, type UserCredentials, type UserKeys, type UserName, type UserSearchField, type UserStatus, UsersResource, ValidationError };
|
|
1773
|
+
export { type AddGroupMembersRequest, type Address, ApiError, AuthenticationError, AuthorizationError, type ChangeUserRoleRequest, type ChangeUserRoleResponse, type CheckAvailabilityParams, type CheckAvailabilityResponse, type CheckOrganizationAvailabilityParams, type ClientConfig, ConflictError, type CreateAdminRequest, type CreateB2BUserResponse, type CreateGroupRequest, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateUserRequest, type EmailAddress, type ExtendedAddress, type FetchUserRequest, type GeoLocation, type GetOwnerResponse, type Group, GroupsResource, type InstantMessaging, LdapRestClient, LdapRestError, type ListGroupsParams, type ListGroupsResponse, type ListUsersParams, type ListUsersResponse, type MetadataValue, NetworkError, NotFoundError, type Organization, type OrganizationMetadata, type OrganizationOwner, type OrganizationRole, type OrganizationSearchField, type OrganizationStatus, OrganizationsResource, type PhoneNumber, RateLimitError, type SearchUsersParams, type SetOwnerRequest, type TransferOwnershipRequest, type UpdateGroupRequest, type UpdateOrganizationRequest, type UpdateUserRequest, type User, type UserCredentials, type UserKeys, type UserName, type UserSearchField, type UserStatus, UsersResource, ValidationError };
|