mailslurp-client
Version:
Official client for MailSlurp Email and SMS API. Create email addresses and phone numbers in Javascript without a mail server. Send and receive real emails in applications or tests.
72 lines (71 loc) • 2.13 kB
TypeScript
/**
* MailSlurp API
* 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
*
* The version of the OpenAPI document: 6.5.2
* Contact: contact@mailslurp.dev
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CreatePhoneNumberOptions
*/
export interface CreatePhoneNumberOptions {
/**
*
* @type {string}
* @memberof CreatePhoneNumberOptions
*/
phoneCountry: CreatePhoneNumberOptionsPhoneCountryEnum;
/**
*
* @type {string}
* @memberof CreatePhoneNumberOptions
*/
name?: string;
/**
*
* @type {string}
* @memberof CreatePhoneNumberOptions
*/
description?: string;
/**
*
* @type {string}
* @memberof CreatePhoneNumberOptions
*/
schedule?: CreatePhoneNumberOptionsScheduleEnum;
}
/**
* @export
* @enum {string}
*/
export declare enum CreatePhoneNumberOptionsPhoneCountryEnum {
US = "US",
GB = "GB",
AU = "AU",
CA = "CA",
EE = "EE",
HK = "HK",
PL = "PL",
CH = "CH",
PT = "PT",
NL = "NL",
IL = "IL",
SE = "SE"
}
/**
* @export
* @enum {string}
*/
export declare enum CreatePhoneNumberOptionsScheduleEnum {
MONTHLY = "MONTHLY",
YEARLY = "YEARLY"
}
export declare function CreatePhoneNumberOptionsFromJSON(json: any): CreatePhoneNumberOptions;
export declare function CreatePhoneNumberOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePhoneNumberOptions;
export declare function CreatePhoneNumberOptionsToJSON(value?: CreatePhoneNumberOptions | null): any;