/* Options: Date: 2025-07-18 00:28:45 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://smsgw.intele.no/pushsms/rest //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RestSmsRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract(Namespace="http://schemas.datacontract.org/2004/07/PushSmsLib.Dto") export class RestSmsResponse { /** @description Overall status of processing the request. Each message will have it's own status. This value indicates if any other error occured or not */ // @DataMember(Name="ProcessResult") // @ApiMember(DataType="boolean", Description="Overall status of processing the request. Each message will have it's own status. This value indicates if any other error occured or not", IsRequired=true, Name="ProcessResult", ParameterType="form") public ProcessResult: boolean; /** @description Description of any error occured, if ProcessResult equals false */ // @DataMember(Name="ProcessResultDescription") // @ApiMember(DataType="string", Description="Description of any error occured, if ProcessResult equals false", Name="ProcessResultDescription", ParameterType="form") // @StringLength(2048) public ProcessResultDescription?: string; /** @description Collection of messages sent or failed */ // @DataMember(Name="Messages") // @ApiMember(Description="Collection of messages sent or failed", Name="Description", ParameterType="form") public Messages: RestSmsMessageResp[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract(Namespace="http://schemas.datacontract.org/2004/07/PushSmsLib.Dto") export class RestSmsRequest implements IReturn { /** @description API Username. Usually your customer id */ // @DataMember(Name="Username") // @ApiMember(DataType="string", Description="API Username. Usually your customer id", IsRequired=true, Name="Username", ParameterType="form") // @StringLength(128) public Username: Object; /** @description API Password */ // @DataMember(Name="Password") // @ApiMember(DataType="string", Description="API Password", IsRequired=true, Name="Password", ParameterType="form") // @StringLength(128) public Password: string; /** @description Collection of messages to send */ // @DataMember(Name="Messages") // @ApiMember(Description="Collection of messages to send", IsRequired=true, Name="Messages", ParameterType="form") public Messages: RestSmsMessageReq[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'RestSmsRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new RestSmsResponse(); } }