/** * Estimations * Here you can find documentation and examples for Greenspark Estimations API * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { BulkEstimationsByCategoryTypeRequestBody } from '../models'; import { BulkEstimationsByMCCRequestBody } from '../models'; import { Estimation } from '../models'; import { EstimationsByCategoryTypeRequestBody } from '../models'; import { EstimationsByMCCRequestBody } from '../models'; /** * EstimationsApi - axios parameter creator * @export */ export declare const EstimationsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Estimating the carbon footprint of a transaction based on a Merchant Category Code * @summary Fetch Carbon Estimate of a Transaction by MCC * @param {EstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByMCC: (body: EstimationsByMCCRequestBody, options?: AxiosRequestConfig) => Promise; /** * Estimating the carbon footprint of a transaction based on Open Banking Category Types * @summary Fetch Carbon Estimate of a Transaction by Open Banking Category Types * @param {EstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByOpenBankingCategoryTypes: (body: EstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig) => Promise; /** * Estimating the carbon footprint of multiple transactions based on a Merchant Category Code * @summary Fetch Carbon Estimate of Multiple Transactions by MCC * @param {BulkEstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByMCC: (body: BulkEstimationsByMCCRequestBody, options?: AxiosRequestConfig) => Promise; /** * Estimating the carbon footprint of multiple transactions based on Open Banking Category Types * @summary Fetch Carbon Estimate of Multiple Transactions by Open Banking Category Types * @param {BulkEstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByOpenBankingCategoryTypes: (body: BulkEstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig) => Promise; }; /** * EstimationsApi - functional programming interface * @export */ export declare const EstimationsApiFp: (configuration?: Configuration) => { /** * Estimating the carbon footprint of a transaction based on a Merchant Category Code * @summary Fetch Carbon Estimate of a Transaction by MCC * @param {EstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByMCC(body: EstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Estimating the carbon footprint of a transaction based on Open Banking Category Types * @summary Fetch Carbon Estimate of a Transaction by Open Banking Category Types * @param {EstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByOpenBankingCategoryTypes(body: EstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Estimating the carbon footprint of multiple transactions based on a Merchant Category Code * @summary Fetch Carbon Estimate of Multiple Transactions by MCC * @param {BulkEstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByMCC(body: BulkEstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Estimating the carbon footprint of multiple transactions based on Open Banking Category Types * @summary Fetch Carbon Estimate of Multiple Transactions by Open Banking Category Types * @param {BulkEstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByOpenBankingCategoryTypes(body: BulkEstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * EstimationsApi - factory interface * @export */ export declare const EstimationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Estimating the carbon footprint of a transaction based on a Merchant Category Code * @summary Fetch Carbon Estimate of a Transaction by MCC * @param {EstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByMCC(body: EstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of a transaction based on Open Banking Category Types * @summary Fetch Carbon Estimate of a Transaction by Open Banking Category Types * @param {EstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfATransactionByOpenBankingCategoryTypes(body: EstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of multiple transactions based on a Merchant Category Code * @summary Fetch Carbon Estimate of Multiple Transactions by MCC * @param {BulkEstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByMCC(body: BulkEstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of multiple transactions based on Open Banking Category Types * @summary Fetch Carbon Estimate of Multiple Transactions by Open Banking Category Types * @param {BulkEstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ fetchCarbonEstimateOfMultipleTransactionsByOpenBankingCategoryTypes(body: BulkEstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise>; }; /** * EstimationsApi - object-oriented interface * @export * @class EstimationsApi * @extends {BaseAPI} */ export declare class EstimationsApi extends BaseAPI { /** * Estimating the carbon footprint of a transaction based on a Merchant Category Code * @summary Fetch Carbon Estimate of a Transaction by MCC * @param {EstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EstimationsApi */ fetchCarbonEstimateOfATransactionByMCC(body: EstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of a transaction based on Open Banking Category Types * @summary Fetch Carbon Estimate of a Transaction by Open Banking Category Types * @param {EstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EstimationsApi */ fetchCarbonEstimateOfATransactionByOpenBankingCategoryTypes(body: EstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of multiple transactions based on a Merchant Category Code * @summary Fetch Carbon Estimate of Multiple Transactions by MCC * @param {BulkEstimationsByMCCRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EstimationsApi */ fetchCarbonEstimateOfMultipleTransactionsByMCC(body: BulkEstimationsByMCCRequestBody, options?: AxiosRequestConfig): Promise>; /** * Estimating the carbon footprint of multiple transactions based on Open Banking Category Types * @summary Fetch Carbon Estimate of Multiple Transactions by Open Banking Category Types * @param {BulkEstimationsByCategoryTypeRequestBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EstimationsApi */ fetchCarbonEstimateOfMultipleTransactionsByOpenBankingCategoryTypes(body: BulkEstimationsByCategoryTypeRequestBody, options?: AxiosRequestConfig): Promise>; }