UNPKG

contentful-management

Version:
16 lines (13 loc) 549 B
import { del as del$1, get as get$1, put } from './raw.js'; const getBaseUrl = (params) => `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/resource_provider`; const get = (http, params) => { return get$1(http, getBaseUrl(params)); }; const upsert = (http, params, rawData, headers) => { return put(http, getBaseUrl(params), rawData, { headers }); }; const del = (http, params) => { return del$1(http, getBaseUrl(params)); }; export { del, get, upsert }; //# sourceMappingURL=resource-provider.js.map