export default Export;
/**
* The Export model module.
* @module model/Export
*/
declare class Export {
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
static initialize(obj: any): void;
/**
* Constructs a Export from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @param {Export} [obj] Optional instance to populate.
* @returns {Export} The populated Export instance.
*/
static constructFromObject(data: Partial, obj?: Export): Export;
/**
* Validates the JSON data with respect to Export.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to Export.
*/
static validateJSON(data: Partial): boolean;
id: string | undefined;
object: (keyof typeof Export.ObjectEnum) | undefined;
created_at: Date | undefined;
status: (keyof typeof Export.StatusEnum) | undefined;
channel: string | undefined;
result: ExportResult | undefined;
user_id: string | undefined;
exported_object: (keyof typeof Export.ExportedObjectEnum) | undefined;
parameters: ExportParameters | undefined;
}
declare namespace Export {
namespace ObjectEnum {
let _export: string;
export { _export as export };
}
namespace StatusEnum {
let SCHEDULED: string;
let IN_PROGRESS: string;
let DONE: string;
let ERROR: string;
}
namespace ExportedObjectEnum {
let voucher: string;
let redemption: string;
let customer: string;
let publication: string;
let order: string;
let points_expiration: string;
let voucher_transactions: string;
let product: string;
let sku: string;
}
}
import ExportResult from './ExportResult';
import ExportParameters from './ExportParameters';