import * as httpWixDataV1ExternalDatabaseConnection from './http.impl.js';
export function getExternalDatabaseConnection() {
    var payload = { name: ':name' };
    var getRequestOptions = httpWixDataV1ExternalDatabaseConnection.getExternalDatabaseConnection(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'GET',
        path: '/v1/external-database-connections/{name}',
        pathParams: { name: 'name' },
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
export function listExternalDatabaseConnections() {
    var payload = {};
    var getRequestOptions = httpWixDataV1ExternalDatabaseConnection.listExternalDatabaseConnections(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'GET',
        path: '/v1/external-database-connections',
        pathParams: {},
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
export function createExternalDatabaseConnection() {
    var payload = {};
    var getRequestOptions = httpWixDataV1ExternalDatabaseConnection.createExternalDatabaseConnection(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'POST',
        path: '/v1/external-database-connections',
        pathParams: {},
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
export function updateExternalDatabaseConnection() {
    var payload = {
        externalDatabaseConnection: { name: ':externalDatabaseConnectionName' },
    };
    var getRequestOptions = httpWixDataV1ExternalDatabaseConnection.updateExternalDatabaseConnection(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'PUT',
        path: '/v1/external-database-connections/{externalDatabaseConnection.name}',
        pathParams: {
            externalDatabaseConnectionName: 'externalDatabaseConnectionName',
        },
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
export function deleteExternalDatabaseConnection() {
    var payload = { name: ':name' };
    var getRequestOptions = httpWixDataV1ExternalDatabaseConnection.deleteExternalDatabaseConnection(payload);
    var getUrl = function (context) {
        var url = getRequestOptions(context).url;
        return url;
    };
    return {
        getUrl: getUrl,
        httpMethod: 'DELETE',
        path: '/v1/external-database-connections/{name}',
        pathParams: { name: 'name' },
        __requestType: null,
        __originalRequestType: null,
        __responseType: null,
        __originalResponseType: null,
    };
}
//# sourceMappingURL=meta.impl.js.map