@kontent-ai/management-sdk
Version:
Official Kontent.ai management SDK
14 lines (13 loc) • 1.01 kB
TypeScript
import { IResponse } from '@kontent-ai/core-sdk';
import { CustomAppsContracts } from '../contracts';
import { CustomAppModels } from '../models';
import { CustomAppsResponses } from '../responses';
import { BaseMapper } from './base-mapper';
export declare class CustomAppMapper extends BaseMapper {
mapGetCustomAppResponse(response: IResponse<CustomAppsContracts.ICustomAppContract>): CustomAppsResponses.GetCustomAppResponse;
mapListCustomAppsResponse(response: IResponse<CustomAppsContracts.ICustomAppsListResponseContract>): CustomAppsResponses.CustomAppsListResponse;
mapModifyCustomAppResponse(response: IResponse<CustomAppsContracts.ICustomAppContract>): CustomAppsResponses.ModifyCustomAppResponse;
mapAddCustomAppResponse(response: IResponse<CustomAppsContracts.ICustomAppContract>): CustomAppsResponses.AddCustomAppResponse;
mapCustomApp(rawCustomApp: CustomAppsContracts.ICustomAppContract): CustomAppModels.CustomApp;
}
export declare const customAppMapper: CustomAppMapper;