Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages_generated/webhosting/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ const unmarshalHostingUser = (data: unknown): HostingUser => {
return {
contactEmail: data.contact_email,
oneTimePassword: data.one_time_password,
oneTimePasswordB64: data.one_time_password_b64,
username: data.username,
} as HostingUser
}
Expand Down Expand Up @@ -529,6 +530,7 @@ export const unmarshalResetHostingPasswordResponse = (

return {
oneTimePassword: data.one_time_password,
oneTimePasswordB64: data.one_time_password_b64,
} as ResetHostingPasswordResponse
}

Expand Down
18 changes: 13 additions & 5 deletions packages_generated/webhosting/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export interface PlatformControlPanel {
*/
name: string
/**
* URL to connect to cPanel dashboard and to Webmail interface.
* URL to connect to control panel dashboard and to Webmail interface.
*/
urls?: PlatformControlPanelUrls
}
Expand Down Expand Up @@ -265,17 +265,21 @@ export interface Nameserver {

export interface HostingUser {
/**
* Main Web Hosting cPanel username.
* Main Web Hosting control panel username.
*/
username: string
/**
* One-time-password used for the first login or reset password, empty after first use.
* @deprecated One-time-password used for the first login to the control panel, cleared after first use (deprecated, use password_b64 instead).
*/
oneTimePassword?: string
/**
* Contact email used for the hosting.
*/
contactEmail: string
/**
* One-time-password used for the first login to the control panel, cleared after first use, encoded in base64.
*/
oneTimePasswordB64?: string
}

export interface Offer {
Expand Down Expand Up @@ -1400,9 +1404,13 @@ export type OfferApiListOffersRequest = {

export interface ResetHostingPasswordResponse {
/**
* New temporary password.
* @deprecated New temporary password (deprecated, use password_b64 instead).
*/
oneTimePassword?: string
/**
* New temporary password, encoded in base64.
*/
oneTimePassword: string
oneTimePasswordB64: string
}

export interface ResourceSummary {
Expand Down
Loading