External module "crud/membership"
Functions
Const addOrganizationToMembership
-
Parameters
Const addOrganizationToMemberships
-
Parameters
Const createMembership
- createMembership(membership: Membership): Promise<Object>
-
Parameters
Returns Promise<Object>
Const deleteAllOrganizationMemberships
- deleteAllOrganizationMemberships(organizationId: number): Promise<Object>
-
Parameters
Returns Promise<Object>
Const deleteAllUserMemberships
- deleteAllUserMemberships(userId: number): Promise<Object>
-
Parameters
Returns Promise<Object>
Const deleteMembership
- deleteMembership(id: number): Promise<Object>
-
Parameters
Returns Promise<Object>
Const getMembership
-
Parameters
Const getMembershipDetailed
- getMembershipDetailed(id: number): Promise<any>
-
Parameters
Returns Promise<any>
Const getOrganizationMemberDetails
- getOrganizationMemberDetails(organizationId: number, query?: KeyValue): Promise<any>
-
Parameters
Returns Promise<any>
Const getOrganizationMembers
- getOrganizationMembers(organizationId: number): Promise<Membership[]>
-
Parameters
Const getUserMemberships
-
Parameters
Const getUserMembershipsDetailed
- getUserMembershipsDetailed(user: User | number): Promise<any>
-
Parameters
Returns Promise<any>
Const getUserOrganizationMembership
-
Parameters
Const updateMembership
- updateMembership(id: number, membership: KeyValue): Promise<Object>
-
Parameters
Returns Promise<Object>
Add organization details to membership