/* Options: Date: 2025-09-14 06:41:44 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ImportXml.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseError { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public FieldName: string; // @DataMember(Order=3) public Message: string; // @DataMember(Order=4) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ImportXml implements IReturn { /** @description XML string (encoded to base 64) containing data to import into EROS from external system. */ // @ApiMember(DataType="string", Description="XML string (encoded to base 64) containing data to import into EROS from external system.", Name="XmlToImport", ParameterType="query") public XmlToImport: string; /** @description Guid representing the external systems datasource information. */ // @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", Name="SuiteDataSourceInstanceId", ParameterType="query") public SuiteDataSourceInstanceId: string; /** @description Import data type. */ // @ApiMember(DataType="Guid", Description="Import data type.", Name="ImportTypeId", ParameterType="query") public ImportTypeId: string; /** @description Data collected from foreign system falls within now and this date. */ // @ApiMember(DataType="DateTime", Description="Data collected from foreign system falls within now and this date.", Name="CollectionDate", ParameterType="query") public CollectionDate: string; /** @description Bin Row Version of the last update */ // @ApiMember(DataType="byte[]", Description="Bin Row Version of the last update", Name="RowVersion", ParameterType="query") public RowVersion: string; /** @description If true, previous failed import attempts will be removed. */ // @ApiMember(DataType="bool", Description="If true, previous failed import attempts will be removed.", Name="RemovePreviousAttempts", ParameterType="query") public RemovePreviousAttempts: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ImportXml'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } }