"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.RacApi = void 0;
const runtime = __importStar(require("../runtime"));
const index_1 = require("../models/index");
/**
 *
 */
class RacApi extends runtime.BaseAPI {
    /**
     * Creates request options for racConnectionTokensDestroy without sending the request
     */
    async racConnectionTokensDestroyRequestOpts(requestParameters) {
        if (requestParameters['connectionTokenUuid'] == null) {
            throw new runtime.RequiredError('connectionTokenUuid', 'Required parameter "connectionTokenUuid" was null or undefined when calling racConnectionTokensDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/{connection_token_uuid}/`;
        urlPath = urlPath.replace(`{${"connection_token_uuid"}}`, encodeURIComponent(String(requestParameters['connectionTokenUuid'])));
        return {
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensDestroyRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensDestroyRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensDestroy(requestParameters, initOverrides) {
        await this.racConnectionTokensDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * Creates request options for racConnectionTokensList without sending the request
     */
    async racConnectionTokensListRequestOpts(requestParameters) {
        const queryParameters = {};
        if (requestParameters['endpoint'] != null) {
            queryParameters['endpoint'] = requestParameters['endpoint'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['provider'] != null) {
            queryParameters['provider'] = requestParameters['provider'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['sessionUser'] != null) {
            queryParameters['session__user'] = requestParameters['sessionUser'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/`;
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensListRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensListRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedConnectionTokenListFromJSON)(jsonValue));
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensList(requestParameters = {}, initOverrides) {
        const response = await this.racConnectionTokensListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racConnectionTokensPartialUpdate without sending the request
     */
    async racConnectionTokensPartialUpdateRequestOpts(requestParameters) {
        if (requestParameters['connectionTokenUuid'] == null) {
            throw new runtime.RequiredError('connectionTokenUuid', 'Required parameter "connectionTokenUuid" was null or undefined when calling racConnectionTokensPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/{connection_token_uuid}/`;
        urlPath = urlPath.replace(`{${"connection_token_uuid"}}`, encodeURIComponent(String(requestParameters['connectionTokenUuid'])));
        return {
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedConnectionTokenRequestToJSON)(requestParameters['patchedConnectionTokenRequest']),
        };
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensPartialUpdateRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensPartialUpdateRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ConnectionTokenFromJSON)(jsonValue));
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensPartialUpdate(requestParameters, initOverrides) {
        const response = await this.racConnectionTokensPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racConnectionTokensRetrieve without sending the request
     */
    async racConnectionTokensRetrieveRequestOpts(requestParameters) {
        if (requestParameters['connectionTokenUuid'] == null) {
            throw new runtime.RequiredError('connectionTokenUuid', 'Required parameter "connectionTokenUuid" was null or undefined when calling racConnectionTokensRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/{connection_token_uuid}/`;
        urlPath = urlPath.replace(`{${"connection_token_uuid"}}`, encodeURIComponent(String(requestParameters['connectionTokenUuid'])));
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensRetrieveRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensRetrieveRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ConnectionTokenFromJSON)(jsonValue));
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensRetrieve(requestParameters, initOverrides) {
        const response = await this.racConnectionTokensRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racConnectionTokensUpdate without sending the request
     */
    async racConnectionTokensUpdateRequestOpts(requestParameters) {
        if (requestParameters['connectionTokenUuid'] == null) {
            throw new runtime.RequiredError('connectionTokenUuid', 'Required parameter "connectionTokenUuid" was null or undefined when calling racConnectionTokensUpdate().');
        }
        if (requestParameters['connectionTokenRequest'] == null) {
            throw new runtime.RequiredError('connectionTokenRequest', 'Required parameter "connectionTokenRequest" was null or undefined when calling racConnectionTokensUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/{connection_token_uuid}/`;
        urlPath = urlPath.replace(`{${"connection_token_uuid"}}`, encodeURIComponent(String(requestParameters['connectionTokenUuid'])));
        return {
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.ConnectionTokenRequestToJSON)(requestParameters['connectionTokenRequest']),
        };
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensUpdateRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensUpdateRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ConnectionTokenFromJSON)(jsonValue));
    }
    /**
     * ConnectionToken Viewset
     */
    async racConnectionTokensUpdate(requestParameters, initOverrides) {
        const response = await this.racConnectionTokensUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racConnectionTokensUsedByList without sending the request
     */
    async racConnectionTokensUsedByListRequestOpts(requestParameters) {
        if (requestParameters['connectionTokenUuid'] == null) {
            throw new runtime.RequiredError('connectionTokenUuid', 'Required parameter "connectionTokenUuid" was null or undefined when calling racConnectionTokensUsedByList().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/connection_tokens/{connection_token_uuid}/used_by/`;
        urlPath = urlPath.replace(`{${"connection_token_uuid"}}`, encodeURIComponent(String(requestParameters['connectionTokenUuid'])));
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * Get a list of all objects that use this object
     */
    async racConnectionTokensUsedByListRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racConnectionTokensUsedByListRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
    }
    /**
     * Get a list of all objects that use this object
     */
    async racConnectionTokensUsedByList(requestParameters, initOverrides) {
        const response = await this.racConnectionTokensUsedByListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsCreate without sending the request
     */
    async racEndpointsCreateRequestOpts(requestParameters) {
        if (requestParameters['endpointRequest'] == null) {
            throw new runtime.RequiredError('endpointRequest', 'Required parameter "endpointRequest" was null or undefined when calling racEndpointsCreate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/`;
        return {
            path: urlPath,
            method: 'POST',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.EndpointRequestToJSON)(requestParameters['endpointRequest']),
        };
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsCreateRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsCreateRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EndpointFromJSON)(jsonValue));
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsCreate(requestParameters, initOverrides) {
        const response = await this.racEndpointsCreateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsDestroy without sending the request
     */
    async racEndpointsDestroyRequestOpts(requestParameters) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling racEndpointsDestroy().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        return {
            path: urlPath,
            method: 'DELETE',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsDestroyRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsDestroyRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.VoidApiResponse(response);
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsDestroy(requestParameters, initOverrides) {
        await this.racEndpointsDestroyRaw(requestParameters, initOverrides);
    }
    /**
     * Creates request options for racEndpointsList without sending the request
     */
    async racEndpointsListRequestOpts(requestParameters) {
        const queryParameters = {};
        if (requestParameters['name'] != null) {
            queryParameters['name'] = requestParameters['name'];
        }
        if (requestParameters['ordering'] != null) {
            queryParameters['ordering'] = requestParameters['ordering'];
        }
        if (requestParameters['page'] != null) {
            queryParameters['page'] = requestParameters['page'];
        }
        if (requestParameters['pageSize'] != null) {
            queryParameters['page_size'] = requestParameters['pageSize'];
        }
        if (requestParameters['provider'] != null) {
            queryParameters['provider'] = requestParameters['provider'];
        }
        if (requestParameters['search'] != null) {
            queryParameters['search'] = requestParameters['search'];
        }
        if (requestParameters['superuserFullList'] != null) {
            queryParameters['superuser_full_list'] = requestParameters['superuserFullList'];
        }
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/`;
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * List accessible endpoints
     */
    async racEndpointsListRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsListRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedEndpointListFromJSON)(jsonValue));
    }
    /**
     * List accessible endpoints
     */
    async racEndpointsList(requestParameters = {}, initOverrides) {
        const response = await this.racEndpointsListRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsPartialUpdate without sending the request
     */
    async racEndpointsPartialUpdateRequestOpts(requestParameters) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling racEndpointsPartialUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        return {
            path: urlPath,
            method: 'PATCH',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.PatchedEndpointRequestToJSON)(requestParameters['patchedEndpointRequest']),
        };
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsPartialUpdateRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsPartialUpdateRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EndpointFromJSON)(jsonValue));
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsPartialUpdate(requestParameters, initOverrides) {
        const response = await this.racEndpointsPartialUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsRetrieve without sending the request
     */
    async racEndpointsRetrieveRequestOpts(requestParameters) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling racEndpointsRetrieve().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsRetrieveRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsRetrieveRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EndpointFromJSON)(jsonValue));
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsRetrieve(requestParameters, initOverrides) {
        const response = await this.racEndpointsRetrieveRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsUpdate without sending the request
     */
    async racEndpointsUpdateRequestOpts(requestParameters) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling racEndpointsUpdate().');
        }
        if (requestParameters['endpointRequest'] == null) {
            throw new runtime.RequiredError('endpointRequest', 'Required parameter "endpointRequest" was null or undefined when calling racEndpointsUpdate().');
        }
        const queryParameters = {};
        const headerParameters = {};
        headerParameters['Content-Type'] = 'application/json';
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/{pbm_uuid}/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        return {
            path: urlPath,
            method: 'PUT',
            headers: headerParameters,
            query: queryParameters,
            body: (0, index_1.EndpointRequestToJSON)(requestParameters['endpointRequest']),
        };
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsUpdateRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsUpdateRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EndpointFromJSON)(jsonValue));
    }
    /**
     * Endpoint Viewset
     */
    async racEndpointsUpdate(requestParameters, initOverrides) {
        const response = await this.racEndpointsUpdateRaw(requestParameters, initOverrides);
        return await response.value();
    }
    /**
     * Creates request options for racEndpointsUsedByList without sending the request
     */
    async racEndpointsUsedByListRequestOpts(requestParameters) {
        if (requestParameters['pbmUuid'] == null) {
            throw new runtime.RequiredError('pbmUuid', 'Required parameter "pbmUuid" was null or undefined when calling racEndpointsUsedByList().');
        }
        const queryParameters = {};
        const headerParameters = {};
        if (this.configuration && this.configuration.accessToken) {
            const token = this.configuration.accessToken;
            const tokenString = await token("authentik", []);
            if (tokenString) {
                headerParameters["Authorization"] = `Bearer ${tokenString}`;
            }
        }
        let urlPath = `/rac/endpoints/{pbm_uuid}/used_by/`;
        urlPath = urlPath.replace(`{${"pbm_uuid"}}`, encodeURIComponent(String(requestParameters['pbmUuid'])));
        return {
            path: urlPath,
            method: 'GET',
            headers: headerParameters,
            query: queryParameters,
        };
    }
    /**
     * Get a list of all objects that use this object
     */
    async racEndpointsUsedByListRaw(requestParameters, initOverrides) {
        const requestOptions = await this.racEndpointsUsedByListRequestOpts(requestParameters);
        const response = await this.request(requestOptions, initOverrides);
        return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.UsedByFromJSON));
    }
    /**
     * Get a list of all objects that use this object
     */
    async racEndpointsUsedByList(requestParameters, initOverrides) {
        const response = await this.racEndpointsUsedByListRaw(requestParameters, initOverrides);
        return await response.value();
    }
}
exports.RacApi = RacApi;
//# sourceMappingURL=RacApi.js.map