|
| 1 | +# MailSlurp API |
| 2 | +# MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository |
| 3 | +# The version of the OpenAPI document: 6.5.2 |
| 4 | + |
| 5 | +# Generated by OpenAPI Generator: https://openapi-generator.tech |
| 6 | +# |
| 7 | + |
| 8 | +# package mailslurp |
| 9 | + |
| 10 | +# alias_controller_api |
| 11 | + |
| 12 | +type mutation { |
| 13 | + # Create an email alias. Must be verified by clicking link inside verification email that will be sent to the address. Once verified the alias will be active. |
| 14 | + # Email aliases use a MailSlurp randomly generated email address (or a custom domain inbox that you provide) to mask or proxy a real email address. Emails sent to the alias address will be forwarded to the hidden email address it was created for. If you want to send a reply use the threadId attached |
| 15 | + # @param CreateAliasOptions createAliasOptions |
| 16 | + # @return [AliasDto] |
| 17 | + CreateAlias(createAliasOptions: CreateAliasOptions): AliasDto |
| 18 | + |
| 19 | + # Delete an email alias |
| 20 | + # @param ID! aliasId |
| 21 | + # @return [null] |
| 22 | + DeleteAlias(aliasId: ID!): null |
| 23 | + |
| 24 | + # Reply to an email |
| 25 | + # Send the reply to the email sender or reply-to and include same subject cc bcc etc. Reply to an email and the contents will be sent with the existing subject to the emails `to`, `cc`, and `bcc`. |
| 26 | + # @param ID! aliasId ID of the alias that email belongs to |
| 27 | + # @param ID! emailId ID of the email that should be replied to |
| 28 | + # @param ReplyToAliasEmailOptions replyToAliasEmailOptions |
| 29 | + # @return [SentEmailDto] |
| 30 | + ReplyToAliasEmail(aliasId: ID!, emailId: ID!, replyToAliasEmailOptions: ReplyToAliasEmailOptions): SentEmailDto |
| 31 | + |
| 32 | + # Send an email from an alias inbox |
| 33 | + # Send an email from an alias. Replies to the email will be forwarded to the alias masked email address |
| 34 | + # @param ID! aliasId |
| 35 | + # @param SendEmailOptions sendEmailOptions |
| 36 | + # @return [SentEmailDto] |
| 37 | + SendAliasEmail(aliasId: ID!, sendEmailOptions: SendEmailOptions): SentEmailDto |
| 38 | + |
| 39 | + # Update an email alias |
| 40 | + # @param ID! aliasId |
| 41 | + # @param UpdateAliasOptions updateAliasOptions |
| 42 | + # @return [AliasDto] |
| 43 | + UpdateAlias(aliasId: ID!, updateAliasOptions: UpdateAliasOptions): AliasDto |
| 44 | + |
| 45 | +} |
| 46 | + |
| 47 | +type query { |
| 48 | + # Get an email alias |
| 49 | + # Get an email alias by ID |
| 50 | + # @param ID! aliasId |
| 51 | + # @return [AliasDto] |
| 52 | + GetAlias(aliasId: ID!): AliasDto |
| 53 | + |
| 54 | + # Get emails for an alias |
| 55 | + # Get paginated emails for an alias by ID |
| 56 | + # @param ID! aliasId |
| 57 | + # @param Int! page Optional page index alias email list pagination |
| 58 | + # @param Int! size Optional page size alias email list pagination |
| 59 | + # @param String! sort Optional createdAt sort direction ASC or DESC |
| 60 | + # @param String! since Optional filter by sent after given date time |
| 61 | + # @param String! before Optional filter by sent before given date time |
| 62 | + # @return [PageEmailProjection] |
| 63 | + GetAliasEmails(aliasId: ID!, page: Int!, size: Int!, sort: String!, since: String!, before: String!): PageEmailProjection |
| 64 | + |
| 65 | + # Get threads created for an alias |
| 66 | + # Returns threads created for an email alias in paginated form |
| 67 | + # @param ID! aliasId |
| 68 | + # @param Int! page Optional page index in thread list pagination |
| 69 | + # @param Int! size Optional page size in thread list pagination |
| 70 | + # @param String! sort Optional createdAt sort direction ASC or DESC |
| 71 | + # @param String! since Optional filter by sent after given date time |
| 72 | + # @param String! before Optional filter by sent before given date time |
| 73 | + # @return [PageAliasThreadProjection] |
| 74 | + GetAliasThreads(aliasId: ID!, page: Int!, size: Int!, sort: String!, since: String!, before: String!): PageAliasThreadProjection |
| 75 | + |
| 76 | + # Get all email aliases you have created |
| 77 | + # Get all email aliases in paginated form |
| 78 | + # @param String! search Optional search term |
| 79 | + # @param Int! page Optional page index in alias list pagination |
| 80 | + # @param Int! size Optional page size in alias list pagination |
| 81 | + # @param String! sort Optional createdAt sort direction ASC or DESC |
| 82 | + # @param String! since Filter by created at after the given timestamp |
| 83 | + # @param String! before Filter by created at before the given timestamp |
| 84 | + # @return [PageAlias] |
| 85 | + GetAliases(search: String!, page: Int!, size: Int!, sort: String!, since: String!, before: String!): PageAlias |
| 86 | + |
| 87 | + # Get a thread |
| 88 | + # Return a thread associated with an alias |
| 89 | + # @param ID! threadId |
| 90 | + # @return [AliasThreadProjection] |
| 91 | + GetThread(threadId: ID!): AliasThreadProjection |
| 92 | + |
| 93 | + # Get all threads |
| 94 | + # Returns threads created for all aliases in paginated form |
| 95 | + # @param Int! page Optional page index in thread list pagination |
| 96 | + # @param Int! size Optional page size in thread list pagination |
| 97 | + # @param String! sort Optional createdAt sort direction ASC or DESC |
| 98 | + # @param String! since Optional filter by sent after given date time |
| 99 | + # @param String! before Optional filter by sent before given date time |
| 100 | + # @return [PageAliasThreadProjection] |
| 101 | + GetThreadsPaginated(page: Int!, size: Int!, sort: String!, since: String!, before: String!): PageAliasThreadProjection |
| 102 | + |
| 103 | +} |
| 104 | + |
0 commit comments