contentful-management
Version:
Client for Contentful's Content Management API
13 lines (12 loc) • 686 B
TypeScript
import type { AxiosInstance } from 'contentful-sdk-core';
import type { GetSpaceParams } from '../../../common-types';
import type { RestEndpoint } from '../types';
export declare const get: RestEndpoint<'Role', 'get'>;
export declare const getMany: RestEndpoint<'Role', 'getMany'>;
export declare const getManyForOrganization: RestEndpoint<'Role', 'getManyForOrganization'>;
export declare const create: RestEndpoint<'Role', 'create'>;
export declare const createWithId: RestEndpoint<'Role', 'createWithId'>;
export declare const update: RestEndpoint<'Role', 'update'>;
export declare const del: (http: AxiosInstance, params: GetSpaceParams & {
roleId: string;
}) => Promise<any>;