@getgreenspark/reports
Version:
Greenspark Reports API SDK
49 lines (48 loc) • 1.03 kB
TypeScript
/**
* Reporting
* Here you can find documentation and examples for Greenspark Reporting 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.
*/
/**
*
* @export
* @interface ImpactPurchase
*/
export interface ImpactPurchase {
/**
* Type of the impact.
* @type {string}
* @memberof ImpactPurchase
*/
type: ImpactPurchaseTypeEnum;
/**
* The id of the project.
* @type {string}
* @memberof ImpactPurchase
*/
projectId?: string;
/**
* Amount means number of trees, number of plastic bottles, kg of CO2.
* @type {number}
* @memberof ImpactPurchase
*/
amount: number;
}
/**
* @export
* @enum {string}
*/
export declare enum ImpactPurchaseTypeEnum {
Trees = "trees",
Carbon = "carbon",
Plastic = "plastic",
Kelp = "kelp",
Water = "water",
Bees = "bees"
}