Skip to content

Commit 6cd6564

Browse files
scaleway-botVinzius
authored andcommitted
feat: update generated APIs
1 parent 4bc8c08 commit 6cd6564

File tree

44 files changed

+1539
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1539
-47
lines changed

packages/clients/src/api/account/v2/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
API,
4+
API as ParentAPI,
55
enrichForPagination,
66
urlParams,
77
validatePathParam,
@@ -31,7 +31,7 @@ const jsonContentHeaders = {
3131
*
3232
* This API allows you to manage projects.
3333
*/
34-
export class AccountV2GenAPI extends API {
34+
export class API extends ParentAPI {
3535
/**
3636
* Create project
3737
*
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
4+
export { API } from './api.gen'
5+
export type {
6+
CreateProjectRequest,
7+
DeleteProjectRequest,
8+
GetProjectRequest,
9+
ListProjectsRequest,
10+
ListProjectsRequestOrderBy,
11+
ListProjectsResponse,
12+
Project,
13+
UpdateProjectRequest,
14+
} from './types.gen'

packages/clients/src/api/applesilicon/v1alpha1/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
API,
4+
API as ParentAPI,
55
enrichForPagination,
66
urlParams,
77
validatePathParam,
@@ -64,7 +64,7 @@ const jsonContentHeaders = {
6464
* Cisco in the U.S. and other countries and is used by Apple under license.
6565
* Scaleway is not affiliated with Apple Inc.
6666
*/
67-
export class ApplesiliconV1Alpha1GenAPI extends API {
67+
export class API extends ParentAPI {
6868
/** Lists the available zones of the API. */
6969
public static readonly LOCALITIES: Zone[] = ['fr-par-3']
7070

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
4+
export { API } from './api.gen'
5+
export * from './content.gen'
6+
export type {
7+
CreateServerRequest,
8+
DeleteServerRequest,
9+
GetOSRequest,
10+
GetServerRequest,
11+
GetServerTypeRequest,
12+
ListOSRequest,
13+
ListOSResponse,
14+
ListServerTypesRequest,
15+
ListServerTypesResponse,
16+
ListServersRequest,
17+
ListServersRequestOrderBy,
18+
ListServersResponse,
19+
OS,
20+
RebootServerRequest,
21+
ReinstallServerRequest,
22+
Server,
23+
ServerStatus,
24+
ServerType,
25+
ServerTypeCPU,
26+
ServerTypeDisk,
27+
ServerTypeMemory,
28+
ServerTypeStock,
29+
UpdateServerRequest,
30+
} from './types.gen'

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
API,
4+
API as ParentAPI,
55
enrichForPagination,
66
urlParams,
77
validatePathParam,
@@ -97,7 +97,7 @@ const jsonContentHeaders = {
9797
*
9898
* This API allows to manage your Bare metal server.
9999
*/
100-
export class BaremetalV1GenAPI extends API {
100+
export class API extends ParentAPI {
101101
/** Lists the available zones of the API. */
102102
public static readonly LOCALITIES: Zone[] = [
103103
'fr-par-1',
@@ -732,7 +732,7 @@ export class BaremetalV1GenAPI extends API {
732732
}
733733

734734
/** Elastic Metal Private Network API. */
735-
export class BaremetalPrivateNetworkV1GenAPI extends API {
735+
export class PrivateNetworkAPI extends ParentAPI {
736736
/** Lists the available zones of the API. */
737737
public static readonly LOCALITIES: Zone[] = ['fr-par-2']
738738

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
4+
export { API, PrivateNetworkAPI } from './api.gen'
5+
export * from './content.gen'
6+
export type {
7+
AddOptionServerRequest,
8+
BMCAccess,
9+
CPU,
10+
CreateServerRequest,
11+
CreateServerRequestInstall,
12+
DeleteOptionServerRequest,
13+
DeleteServerRequest,
14+
Disk,
15+
GetBMCAccessRequest,
16+
GetOSRequest,
17+
GetOfferRequest,
18+
GetOptionRequest,
19+
GetServerMetricsRequest,
20+
GetServerMetricsResponse,
21+
GetServerRequest,
22+
IP,
23+
IPReverseStatus,
24+
IPVersion,
25+
InstallServerRequest,
26+
ListOSRequest,
27+
ListOSResponse,
28+
ListOffersRequest,
29+
ListOffersResponse,
30+
ListOptionsRequest,
31+
ListOptionsResponse,
32+
ListServerEventsRequest,
33+
ListServerEventsRequestOrderBy,
34+
ListServerEventsResponse,
35+
ListServerPrivateNetworksRequestOrderBy,
36+
ListServerPrivateNetworksResponse,
37+
ListServersRequest,
38+
ListServersRequestOrderBy,
39+
ListServersResponse,
40+
ListSettingsRequest,
41+
ListSettingsRequestOrderBy,
42+
ListSettingsResponse,
43+
Memory,
44+
OS,
45+
OSOSField,
46+
Offer,
47+
OfferOptionOffer,
48+
OfferStock,
49+
OfferSubscriptionPeriod,
50+
Option,
51+
PersistentMemory,
52+
PrivateNetworkApiAddServerPrivateNetworkRequest,
53+
PrivateNetworkApiDeleteServerPrivateNetworkRequest,
54+
PrivateNetworkApiListServerPrivateNetworksRequest,
55+
PrivateNetworkApiSetServerPrivateNetworksRequest,
56+
RaidController,
57+
RebootServerRequest,
58+
Server,
59+
ServerBootType,
60+
ServerEvent,
61+
ServerInstall,
62+
ServerInstallStatus,
63+
ServerOption,
64+
ServerOptionOptionStatus,
65+
ServerPingStatus,
66+
ServerPrivateNetwork,
67+
ServerPrivateNetworkStatus,
68+
ServerRescueServer,
69+
ServerStatus,
70+
SetServerPrivateNetworksResponse,
71+
Setting,
72+
SettingType,
73+
StartBMCAccessRequest,
74+
StartServerRequest,
75+
StopBMCAccessRequest,
76+
StopServerRequest,
77+
UpdateIPRequest,
78+
UpdateServerRequest,
79+
UpdateSettingRequest,
80+
} from './types.gen'
81+
export * as ValidationRules from './validation-rules.gen'

packages/clients/src/api/container/v1beta1/api.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
API,
4+
API as ParentAPI,
55
enrichForPagination,
66
resolveOneOf,
77
urlParams,
@@ -86,7 +86,7 @@ const jsonContentHeaders = {
8686
*
8787
* Serverless Containers API.
8888
*/
89-
export class ContainerV1Beta1GenAPI extends API {
89+
export class API extends ParentAPI {
9090
/** Lists the available regions of the API. */
9191
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
9292

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
4+
export { API } from './api.gen'
5+
export * from './content.gen'
6+
export type {
7+
Container,
8+
ContainerHttpOption,
9+
ContainerPrivacy,
10+
ContainerProtocol,
11+
ContainerStatus,
12+
CreateContainerRequest,
13+
CreateCronRequest,
14+
CreateDomainRequest,
15+
CreateNamespaceRequest,
16+
CreateTokenRequest,
17+
Cron,
18+
CronStatus,
19+
DeleteContainerRequest,
20+
DeleteCronRequest,
21+
DeleteDomainRequest,
22+
DeleteNamespaceRequest,
23+
DeleteTokenRequest,
24+
DeployContainerRequest,
25+
Domain,
26+
DomainStatus,
27+
GetContainerRequest,
28+
GetCronRequest,
29+
GetDomainRequest,
30+
GetNamespaceRequest,
31+
GetTokenRequest,
32+
IssueJWTRequest,
33+
ListContainersRequest,
34+
ListContainersRequestOrderBy,
35+
ListContainersResponse,
36+
ListCronsRequest,
37+
ListCronsRequestOrderBy,
38+
ListCronsResponse,
39+
ListDomainsRequest,
40+
ListDomainsRequestOrderBy,
41+
ListDomainsResponse,
42+
ListLogsRequest,
43+
ListLogsRequestOrderBy,
44+
ListLogsResponse,
45+
ListNamespacesRequest,
46+
ListNamespacesRequestOrderBy,
47+
ListNamespacesResponse,
48+
ListTokensRequest,
49+
ListTokensRequestOrderBy,
50+
ListTokensResponse,
51+
Log,
52+
LogStream,
53+
Namespace,
54+
NamespaceStatus,
55+
NullValue,
56+
Secret,
57+
SecretHashedValue,
58+
Token,
59+
TokenStatus,
60+
UpdateContainerRequest,
61+
UpdateCronRequest,
62+
UpdateNamespaceRequest,
63+
} from './types.gen'

packages/clients/src/api/domain/v2beta1/api.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
API,
4+
API as ParentAPI,
55
enrichForPagination,
66
unmarshalScwFile,
77
urlParams,
@@ -164,7 +164,7 @@ const jsonContentHeaders = {
164164
*
165165
* Manage your DNS zones and records.
166166
*/
167-
export class DomainV2Beta1GenAPI extends API {
167+
export class API extends ParentAPI {
168168
protected pageOfListDNSZones = (request: Readonly<ListDNSZonesRequest>) =>
169169
this.client.fetch<ListDNSZonesResponse>(
170170
{
@@ -773,7 +773,7 @@ export class DomainV2Beta1GenAPI extends API {
773773
*
774774
* Manage your domains and contacts.
775775
*/
776-
export class DomainRegistrarV2Beta1GenAPI extends API {
776+
export class RegistrarAPI extends ParentAPI {
777777
protected pageOfListTasks = (
778778
request: Readonly<RegistrarApiListTasksRequest>,
779779
) =>

0 commit comments

Comments
 (0)