/** * Audius API * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { PurchaseSplit } from './PurchaseSplit'; /** * * @export * @interface Purchase */ export interface Purchase { /** * * @type {number} * @memberof Purchase */ slot: number; /** * * @type {string} * @memberof Purchase */ signature: string; /** * * @type {string} * @memberof Purchase */ sellerUserId: string; /** * * @type {string} * @memberof Purchase */ buyerUserId: string; /** * * @type {string} * @memberof Purchase */ amount: string; /** * * @type {string} * @memberof Purchase */ extraAmount: string; /** * * @type {string} * @memberof Purchase */ contentType: string; /** * * @type {string} * @memberof Purchase */ contentId: string; /** * * @type {string} * @memberof Purchase */ createdAt: string; /** * * @type {string} * @memberof Purchase */ updatedAt: string; /** * * @type {string} * @memberof Purchase */ access: string; /** * * @type {Array} * @memberof Purchase */ splits: Array; } /** * Check if a given object implements the Purchase interface. */ export declare function instanceOfPurchase(value: object): value is Purchase; export declare function PurchaseFromJSON(json: any): Purchase; export declare function PurchaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Purchase; export declare function PurchaseToJSON(value?: Purchase | null): any;