Skip to content

Commit 9808594

Browse files
committed
feat: update generated APIs
1 parent 630b69f commit 9808594

File tree

5 files changed

+105
-67
lines changed

5 files changed

+105
-67
lines changed

packages/clients/src/api/iam/v1alpha1/index.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export type {
7474
ListUsersRequest,
7575
ListUsersRequestOrderBy,
7676
ListUsersResponse,
77+
LocalityType,
7778
LockUserRequest,
7879
Log,
7980
LogAction,
@@ -84,6 +85,7 @@ export type {
8485
PermissionSetScopeType,
8586
Policy,
8687
Quotum,
88+
QuotumLimit,
8789
RemoveGroupMemberRequest,
8890
Rule,
8991
RuleSpecs,

packages/clients/src/api/webhosting/v1/api.gen.ts

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
validatePathParam,
88
waitForResource,
99
} from '../../../bridge'
10-
import type { Region, WaitForOptions } from '../../../bridge'
10+
import type { Region as ScwRegion, WaitForOptions } from '../../../bridge'
1111
import { HOSTING_TRANSIENT_STATUSES } from './content.gen'
1212
import {
1313
marshalDatabaseApiAssignDatabaseUserRequest,
@@ -108,7 +108,11 @@ const jsonContentHeaders = {
108108
*/
109109
export class ControlPanelAPI extends ParentAPI {
110110
/** Lists the available regions of the API. */
111-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
111+
public static readonly LOCALITIES: ScwRegion[] = [
112+
'fr-par',
113+
'nl-ams',
114+
'pl-waw',
115+
]
112116

113117
protected pageOfListControlPanels = (
114118
request: Readonly<ControlPanelApiListControlPanelsRequest> = {},
@@ -148,7 +152,11 @@ export class ControlPanelAPI extends ParentAPI {
148152
*/
149153
export class DatabaseAPI extends ParentAPI {
150154
/** Lists the available regions of the API. */
151-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
155+
public static readonly LOCALITIES: ScwRegion[] = [
156+
'fr-par',
157+
'nl-ams',
158+
'pl-waw',
159+
]
152160

153161
/**
154162
* "Create a new database within your hosting plan".
@@ -396,7 +404,11 @@ export class DatabaseAPI extends ParentAPI {
396404
*/
397405
export class DnsAPI extends ParentAPI {
398406
/** Lists the available regions of the API. */
399-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
407+
public static readonly LOCALITIES: ScwRegion[] = [
408+
'fr-par',
409+
'nl-ams',
410+
'pl-waw',
411+
]
400412

401413
/**
402414
* Get DNS records. Get the set of DNS records of a specified domain
@@ -468,7 +480,11 @@ export class DnsAPI extends ParentAPI {
468480
*/
469481
export class OfferAPI extends ParentAPI {
470482
/** Lists the available regions of the API. */
471-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
483+
public static readonly LOCALITIES: ScwRegion[] = [
484+
'fr-par',
485+
'nl-ams',
486+
'pl-waw',
487+
]
472488

473489
protected pageOfListOffers = (
474490
request: Readonly<OfferApiListOffersRequest> = {},
@@ -509,7 +525,11 @@ export class OfferAPI extends ParentAPI {
509525
*/
510526
export class HostingAPI extends ParentAPI {
511527
/** Lists the available regions of the API. */
512-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
528+
public static readonly LOCALITIES: ScwRegion[] = [
529+
'fr-par',
530+
'nl-ams',
531+
'pl-waw',
532+
]
513533

514534
/**
515535
* Order a Web Hosting plan. Order a Web Hosting plan, specifying the offer
@@ -705,7 +725,11 @@ export class HostingAPI extends ParentAPI {
705725
*/
706726
export class FtpAccountAPI extends ParentAPI {
707727
/** Lists the available regions of the API. */
708-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
728+
public static readonly LOCALITIES: ScwRegion[] = [
729+
'fr-par',
730+
'nl-ams',
731+
'pl-waw',
732+
]
709733

710734
/**
711735
* Create a new FTP account within your hosting plan.. Create a new FTP
@@ -807,7 +831,11 @@ export class FtpAccountAPI extends ParentAPI {
807831
*/
808832
export class MailAccountAPI extends ParentAPI {
809833
/** Lists the available regions of the API. */
810-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
834+
public static readonly LOCALITIES: ScwRegion[] = [
835+
'fr-par',
836+
'nl-ams',
837+
'pl-waw',
838+
]
811839

812840
/**
813841
* Create a new mail account within your hosting plan.. Create a new mail
@@ -924,7 +952,11 @@ export class MailAccountAPI extends ParentAPI {
924952
*/
925953
export class WebsiteAPI extends ParentAPI {
926954
/** Lists the available regions of the API. */
927-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
955+
public static readonly LOCALITIES: ScwRegion[] = [
956+
'fr-par',
957+
'nl-ams',
958+
'pl-waw',
959+
]
928960

929961
protected pageOfListWebsites = (
930962
request: Readonly<WebsiteApiListWebsitesRequest>,

0 commit comments

Comments
 (0)