/* Options: Date: 2025-09-14 06:56:28 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: SaveObjectStructure.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ISubscription { SuiteDataSourceInstanceId: string; ObjectId: string; AlternateKey: string; IgnoreValidation: boolean; } // @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); } } /** @description Inserts or Updates an object connection structure. */ // @Api(Description="Inserts or Updates an object connection structure.") export class SaveObjectStructure implements IReturn, ISubscription { /** @description Guid representing the external systems datasource information. */ // @ApiMember(DataType="Guid", Description="Guid representing the external systems datasource information.", Name="SuiteDataSourceInstanceId") public SuiteDataSourceInstanceId: string; /** @description The unique key that represents the connection structure object on the external system. */ // @ApiMember(DataType="string", Description="The unique key that represents the connection structure object on the external system.", Name="AlternateKey") public AlternateKey: string; /** @description Guid of the connection structure object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. */ // @ApiMember(DataType="Guid", Description="Guid of the connection structure object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key.", Name="ObjectId") public ObjectId: string; /** @description Connection Structure RmsTableCtxId. */ // @ApiMember(DataType="Guid", Description="Connection Structure RmsTableCtxId.", Name="RmsTableCtxId") public RmsTableCtxId: string; public IgnoreValidation: boolean; /** @description Id of the Connection Structure Definition. */ // @ApiMember(DataType="Guid", Description="Id of the Connection Structure Definition.", Name="StructureDefinitionId") public StructureDefinitionId: string; /** @description Id of the Structure Type. */ // @ApiMember(DataType="Guid", Description="Id of the Structure Type.", Name="StructureTypeId") public StructureTypeId: string; /** @description XML for the children in the structure for the object indicated via alternateKey/objectId. */ // @ApiMember(DataType="string", Description="XML for the children in the structure for the object indicated via alternateKey/objectId.", Name="StructureDefinitionXml") public StructureDefinitionXml: string; /** @description Connection Structure Name. */ // @ApiMember(DataType="string", Description="Connection Structure Name.", Name="Name") public Name: string; /** @description Connection Structure Reference. */ // @ApiMember(DataType="string", Description="Connection Structure Reference.", Name="Reference") public Reference: string; public LicenseeId: string; public SessionId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SaveObjectStructure'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } }