src/sites/sites.interface.ts
Site deleting request options
remain_subscription |
remain_subscription: |
Type : boolean
|
If you keep the subscription, should be true |
export interface SiteListItem {
/**
* Site ID',
*/
ID: string;
/**
* Site owner name',
*/
site_owner: string;
/**
* The name of the site',
*/
site_name: string;
/**
* Subscribing plan id',
*/
plan_id: string;
/**
* Subscription id',
*/
subscription_id?: string;
/**
* The time of created the site',
*/
create_time: string;
/**
* WordPress site URL',
*/
wp_url: string;
/**
* CloudFront Domain',
*/
cf_domain: string;
/**
* service status
**/
service_state: string;
/**
* Trial site flag
**/
is_trial: boolean;
}
/**
* Site List items
*/
export type SiteListItems = Array<SiteListItem>;
/**
* Retrieve Site item
*/
export interface SiteItem extends SiteListItem {
container_status: string;
container_service_status: string;
}
/**
* Site creation request options
*/
export interface SiteCreateOptions {
/**
* Name of site
*/
site_name: string;
/**
* subscription id
*/
subscription_id?: string;
/**
* subscribed id
*/
plan_id?: string;
}
export interface SiteUpdateNameOptions {
site_name: string;
}
/**
* Site deleting request options
*/
export interface SiteDeleteOptions {
/**
* If you keep the subscription, should be true
*/
remain_subscription?: boolean;
}