@@ -54,8 +54,10 @@ import {
5454 unmarshalListHostingsResponse ,
5555 unmarshalListMailAccountsResponse ,
5656 unmarshalListOffersResponse ,
57+ unmarshalListRecentProgressesResponse ,
5758 unmarshalListWebsitesResponse ,
5859 unmarshalMailAccount ,
60+ unmarshalProgress ,
5961 unmarshalResetHostingPasswordResponse ,
6062 unmarshalResourceSummary ,
6163 unmarshalRestoreBackupItemsResponse ,
@@ -66,8 +68,10 @@ import {
6668import type {
6769 Backup ,
6870 BackupApiGetBackupRequest ,
71+ BackupApiGetProgressRequest ,
6972 BackupApiListBackupItemsRequest ,
7073 BackupApiListBackupsRequest ,
74+ BackupApiListRecentProgressesRequest ,
7175 BackupApiRestoreBackupItemsRequest ,
7276 BackupApiRestoreBackupRequest ,
7377 CheckFreeDomainAvailabilityResponse ,
@@ -122,13 +126,15 @@ import type {
122126 ListHostingsResponse ,
123127 ListMailAccountsResponse ,
124128 ListOffersResponse ,
129+ ListRecentProgressesResponse ,
125130 ListWebsitesResponse ,
126131 MailAccount ,
127132 MailAccountApiChangeMailAccountPasswordRequest ,
128133 MailAccountApiCreateMailAccountRequest ,
129134 MailAccountApiListMailAccountsRequest ,
130135 MailAccountApiRemoveMailAccountRequest ,
131136 OfferApiListOffersRequest ,
137+ Progress ,
132138 ResetHostingPasswordResponse ,
133139 ResourceSummary ,
134140 RestoreBackupItemsResponse ,
@@ -277,6 +283,38 @@ export class BackupAPI extends ParentAPI {
277283 } ,
278284 unmarshalRestoreBackupItemsResponse ,
279285 )
286+
287+ /**
288+ * Retrieve detailed information about a specific progress by its ID.. Retrieve detailed information about a specific progress by its ID.
289+ *
290+ * @param request - The request {@link BackupApiGetProgressRequest}
291+ * @returns A Promise of Progress
292+ */
293+ getProgress = ( request : Readonly < BackupApiGetProgressRequest > ) =>
294+ this . client . fetch < Progress > (
295+ {
296+ method : 'GET' ,
297+ path : `/webhosting/v1/regions/${ validatePathParam ( 'region' , request . region ?? this . client . settings . defaultRegion ) } /hostings/${ validatePathParam ( 'hostingId' , request . hostingId ) } /progresses/${ validatePathParam ( 'progressId' , request . progressId ) } ` ,
298+ } ,
299+ unmarshalProgress ,
300+ )
301+
302+ /**
303+ * List recent progresses associated with a specific backup, grouped by type.. List recent progresses associated with a specific backup, grouped by type.
304+ *
305+ * @param request - The request {@link BackupApiListRecentProgressesRequest}
306+ * @returns A Promise of ListRecentProgressesResponse
307+ */
308+ listRecentProgresses = (
309+ request : Readonly < BackupApiListRecentProgressesRequest > ,
310+ ) =>
311+ this . client . fetch < ListRecentProgressesResponse > (
312+ {
313+ method : 'GET' ,
314+ path : `/webhosting/v1/regions/${ validatePathParam ( 'region' , request . region ?? this . client . settings . defaultRegion ) } /hostings/${ validatePathParam ( 'hostingId' , request . hostingId ) } /progresses` ,
315+ } ,
316+ unmarshalListRecentProgressesResponse ,
317+ )
280318}
281319
282320/**
0 commit comments