UNPKG

contentful-management

Version:
11 lines (10 loc) 802 B
import type { AxiosInstance } from 'contentful-sdk-core'; import type { CollectionProp, GetOrganizationParams, QueryParams } from '../../../common-types'; import type { TeamMembershipProps } from '../../../entities/team-membership'; import type { RestEndpoint } from '../types'; export declare const get: RestEndpoint<'TeamMembership', 'get'>; export declare const getManyForOrganization: (http: AxiosInstance, params: GetOrganizationParams & QueryParams) => Promise<CollectionProp<TeamMembershipProps>>; export declare const getManyForTeam: RestEndpoint<'TeamMembership', 'getManyForTeam'>; export declare const create: RestEndpoint<'TeamMembership', 'create'>; export declare const update: RestEndpoint<'TeamMembership', 'update'>; export declare const del: RestEndpoint<'TeamMembership', 'delete'>;