Skip to content

Commit d13076c

Browse files
authored
feat(webhosting): add one-time-password to hosting responses (#1229)
1 parent 736b1c8 commit d13076c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export const unmarshalHosting = (data: unknown): Hosting => {
7272
offerEndOfLife: data.offer_end_of_life,
7373
offerId: data.offer_id,
7474
offerName: data.offer_name,
75+
oneTimePassword: data.one_time_password,
7576
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
7677
organizationId: data.organization_id,
7778
platformGroup: data.platform_group,

packages/clients/src/api/webhosting/v1alpha1/types.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ export interface Hosting {
159159
ipv6: string
160160
/** Whether the hosting is protected or not. */
161161
protected: boolean
162+
/**
163+
* One-time-password used for the first login or reset password, empty after
164+
* first use.
165+
*/
166+
oneTimePassword: string
162167
/** Region where the Web Hosting plan is hosted. */
163168
region: Region
164169
}

0 commit comments

Comments
 (0)