@scaleway/sdk 2.47.0 → 2.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/baremetal/v1/api.gen.cjs +33 -0
- package/dist/api/baremetal/v1/api.gen.d.ts +17 -1
- package/dist/api/baremetal/v1/api.gen.js +34 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +200 -0
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +4 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +200 -0
- package/dist/api/baremetal/v1/types.gen.d.ts +74 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.js +1 -0
- package/dist/api/billing/v2alpha1/types.gen.d.ts +2 -0
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +1 -0
- package/dist/api/billing/v2beta1/marshalling.gen.js +1 -0
- package/dist/api/billing/v2beta1/types.gen.d.ts +2 -0
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +37 -0
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +5 -1
- package/dist/api/edge_services/v1alpha1/api.gen.js +38 -1
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +56 -16
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +5 -2
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +56 -16
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +51 -28
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/types.gen.d.ts +2 -0
- package/dist/api/k8s/v1/validation-rules.gen.cjs +2 -4
- package/dist/api/k8s/v1/validation-rules.gen.d.ts +0 -2
- package/dist/api/k8s/v1/validation-rules.gen.js +2 -4
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -12,6 +12,7 @@ export type PipelineErrorSeverity = 'unknown_severity' | 'warning' | 'critical';
|
|
|
12
12
|
export type PipelineErrorStage = 'unknown_stage' | 'dns' | 'tls' | 'cache' | 'backend';
|
|
13
13
|
export type PipelineErrorType = 'unknown_type' | 'runtime' | 'config';
|
|
14
14
|
export type PipelineStatus = 'unknown_status' | 'ready' | 'error' | 'pending' | 'warning';
|
|
15
|
+
export type PlanName = 'unknown_name' | 'starter' | 'professional' | 'advanced';
|
|
15
16
|
export type PurgeRequestStatus = 'unknown_status' | 'done' | 'error' | 'pending';
|
|
16
17
|
export interface ScalewayLb {
|
|
17
18
|
/** ID of the Load Balancer. */
|
|
@@ -53,10 +54,6 @@ export interface TLSSecret {
|
|
|
53
54
|
/** Region of the Secret. */
|
|
54
55
|
region: Region;
|
|
55
56
|
}
|
|
56
|
-
export interface CheckPEMChainRequestSecretChain {
|
|
57
|
-
secretId: string;
|
|
58
|
-
secretRegion: string;
|
|
59
|
-
}
|
|
60
57
|
export interface BackendStage {
|
|
61
58
|
/** ID of the backend stage. */
|
|
62
59
|
id: string;
|
|
@@ -164,30 +161,6 @@ export interface Pipeline {
|
|
|
164
161
|
*/
|
|
165
162
|
dnsStageId?: string;
|
|
166
163
|
}
|
|
167
|
-
export interface PurgeRequest {
|
|
168
|
-
/** ID of the purge request. */
|
|
169
|
-
id: string;
|
|
170
|
-
/** Pipeline ID the purge request belongs to. */
|
|
171
|
-
pipelineId: string;
|
|
172
|
-
/** Status of the purge request. */
|
|
173
|
-
status: PurgeRequestStatus;
|
|
174
|
-
/**
|
|
175
|
-
* List of asserts to purge.
|
|
176
|
-
*
|
|
177
|
-
* One-of ('target'): at most one of 'assets', 'all' could be set.
|
|
178
|
-
*/
|
|
179
|
-
assets?: string[];
|
|
180
|
-
/**
|
|
181
|
-
* Defines whether to purge all content.
|
|
182
|
-
*
|
|
183
|
-
* One-of ('target'): at most one of 'assets', 'all' could be set.
|
|
184
|
-
*/
|
|
185
|
-
all?: boolean;
|
|
186
|
-
/** Date the purge request was created. */
|
|
187
|
-
createdAt?: Date;
|
|
188
|
-
/** Date the purge request was last updated. */
|
|
189
|
-
updatedAt?: Date;
|
|
190
|
-
}
|
|
191
164
|
export interface TLSStage {
|
|
192
165
|
/** ID of the TLS stage. */
|
|
193
166
|
id: string;
|
|
@@ -223,6 +196,39 @@ export interface TLSStage {
|
|
|
223
196
|
*/
|
|
224
197
|
backendStageId?: string;
|
|
225
198
|
}
|
|
199
|
+
export interface CheckPEMChainRequestSecretChain {
|
|
200
|
+
secretId: string;
|
|
201
|
+
secretRegion: string;
|
|
202
|
+
}
|
|
203
|
+
export interface PlanDetails {
|
|
204
|
+
planName: PlanName;
|
|
205
|
+
packageGb: number;
|
|
206
|
+
pipelineLimit: number;
|
|
207
|
+
}
|
|
208
|
+
export interface PurgeRequest {
|
|
209
|
+
/** ID of the purge request. */
|
|
210
|
+
id: string;
|
|
211
|
+
/** Pipeline ID the purge request belongs to. */
|
|
212
|
+
pipelineId: string;
|
|
213
|
+
/** Status of the purge request. */
|
|
214
|
+
status: PurgeRequestStatus;
|
|
215
|
+
/**
|
|
216
|
+
* List of asserts to purge.
|
|
217
|
+
*
|
|
218
|
+
* One-of ('target'): at most one of 'assets', 'all' could be set.
|
|
219
|
+
*/
|
|
220
|
+
assets?: string[];
|
|
221
|
+
/**
|
|
222
|
+
* Defines whether to purge all content.
|
|
223
|
+
*
|
|
224
|
+
* One-of ('target'): at most one of 'assets', 'all' could be set.
|
|
225
|
+
*/
|
|
226
|
+
all?: boolean;
|
|
227
|
+
/** Date the purge request was created. */
|
|
228
|
+
createdAt?: Date;
|
|
229
|
+
/** Date the purge request was last updated. */
|
|
230
|
+
updatedAt?: Date;
|
|
231
|
+
}
|
|
226
232
|
export interface TLSSecretsConfig {
|
|
227
233
|
/** Secret information (from Secret Manager). */
|
|
228
234
|
tlsSecrets: TLSSecret[];
|
|
@@ -376,6 +382,9 @@ export type DeleteCacheStageRequest = {
|
|
|
376
382
|
/** ID of the cache stage to delete. */
|
|
377
383
|
cacheStageId: string;
|
|
378
384
|
};
|
|
385
|
+
export type DeleteCurrentPlanRequest = {
|
|
386
|
+
projectId?: string;
|
|
387
|
+
};
|
|
379
388
|
export type DeleteDNSStageRequest = {
|
|
380
389
|
/** ID of the DNS stage to delete. */
|
|
381
390
|
dnsStageId: string;
|
|
@@ -396,6 +405,9 @@ export type GetCacheStageRequest = {
|
|
|
396
405
|
/** ID of the requested cache stage. */
|
|
397
406
|
cacheStageId: string;
|
|
398
407
|
};
|
|
408
|
+
export type GetCurrentPlanRequest = {
|
|
409
|
+
projectId?: string;
|
|
410
|
+
};
|
|
399
411
|
export type GetDNSStageRequest = {
|
|
400
412
|
/** ID of the requested DNS stage. */
|
|
401
413
|
dnsStageId: string;
|
|
@@ -538,6 +550,10 @@ export interface ListPipelinesResponse {
|
|
|
538
550
|
/** Count of all pipelines matching the requested criteria. */
|
|
539
551
|
totalCount: number;
|
|
540
552
|
}
|
|
553
|
+
export interface ListPlansResponse {
|
|
554
|
+
totalCount: number;
|
|
555
|
+
plans: PlanDetails[];
|
|
556
|
+
}
|
|
541
557
|
export type ListPurgeRequestsRequest = {
|
|
542
558
|
/** Sort order of purge requests in the response. */
|
|
543
559
|
orderBy?: ListPurgeRequestsRequestOrderBy;
|
|
@@ -601,6 +617,13 @@ export interface ListTLSStagesResponse {
|
|
|
601
617
|
/** Count of all TLS stages matching the requested criteria. */
|
|
602
618
|
totalCount: number;
|
|
603
619
|
}
|
|
620
|
+
export interface Plan {
|
|
621
|
+
planName: PlanName;
|
|
622
|
+
}
|
|
623
|
+
export type SelectPlanRequest = {
|
|
624
|
+
projectId?: string;
|
|
625
|
+
planName?: PlanName;
|
|
626
|
+
};
|
|
604
627
|
export type UpdateBackendStageRequest = {
|
|
605
628
|
/** ID of the backend stage to update. */
|
|
606
629
|
backendStageId: string;
|
|
@@ -139,6 +139,7 @@ const unmarshalCluster = (data) => {
|
|
|
139
139
|
description: data.description,
|
|
140
140
|
dnsWildcard: data.dns_wildcard,
|
|
141
141
|
featureGates: data.feature_gates,
|
|
142
|
+
fullVpcIntegratonEnabled: data.full_vpc_integraton_enabled,
|
|
142
143
|
id: data.id,
|
|
143
144
|
name: data.name,
|
|
144
145
|
openIdConnectConfig: data.open_id_connect_config ? unmarshalClusterOpenIDConnectConfig(data.open_id_connect_config) : void 0,
|
|
@@ -137,6 +137,7 @@ const unmarshalCluster = (data) => {
|
|
|
137
137
|
description: data.description,
|
|
138
138
|
dnsWildcard: data.dns_wildcard,
|
|
139
139
|
featureGates: data.feature_gates,
|
|
140
|
+
fullVpcIntegratonEnabled: data.full_vpc_integraton_enabled,
|
|
140
141
|
id: data.id,
|
|
141
142
|
name: data.name,
|
|
142
143
|
openIdConnectConfig: data.open_id_connect_config ? unmarshalClusterOpenIDConnectConfig(data.open_id_connect_config) : void 0,
|
|
@@ -450,6 +450,8 @@ export interface Cluster {
|
|
|
450
450
|
* installed on the cluster.
|
|
451
451
|
*/
|
|
452
452
|
sbsCsiEnabled?: boolean;
|
|
453
|
+
/** @deprecated Defines whether VPC is fully integrated on the cluster. */
|
|
454
|
+
fullVpcIntegratonEnabled?: boolean;
|
|
453
455
|
}
|
|
454
456
|
export interface Node {
|
|
455
457
|
/** Node ID. */
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const CreateClusterRequest = {
|
|
4
4
|
description: {
|
|
5
|
-
maxLength: 4096
|
|
6
|
-
minLength: 1
|
|
5
|
+
maxLength: 4096
|
|
7
6
|
},
|
|
8
7
|
name: {
|
|
9
8
|
maxLength: 100,
|
|
@@ -115,8 +114,7 @@ const SetClusterTypeRequest = {
|
|
|
115
114
|
};
|
|
116
115
|
const UpdateClusterRequest = {
|
|
117
116
|
description: {
|
|
118
|
-
maxLength: 4096
|
|
119
|
-
minLength: 1
|
|
117
|
+
maxLength: 4096
|
|
120
118
|
},
|
|
121
119
|
name: {
|
|
122
120
|
maxLength: 100,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const CreateClusterRequest: {
|
|
2
2
|
description: {
|
|
3
3
|
maxLength: number;
|
|
4
|
-
minLength: number;
|
|
5
4
|
};
|
|
6
5
|
name: {
|
|
7
6
|
maxLength: number;
|
|
@@ -114,7 +113,6 @@ export declare const SetClusterTypeRequest: {
|
|
|
114
113
|
export declare const UpdateClusterRequest: {
|
|
115
114
|
description: {
|
|
116
115
|
maxLength: number;
|
|
117
|
-
minLength: number;
|
|
118
116
|
};
|
|
119
117
|
name: {
|
|
120
118
|
maxLength: number;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const CreateClusterRequest = {
|
|
2
2
|
description: {
|
|
3
|
-
maxLength: 4096
|
|
4
|
-
minLength: 1
|
|
3
|
+
maxLength: 4096
|
|
5
4
|
},
|
|
6
5
|
name: {
|
|
7
6
|
maxLength: 100,
|
|
@@ -113,8 +112,7 @@ const SetClusterTypeRequest = {
|
|
|
113
112
|
};
|
|
114
113
|
const UpdateClusterRequest = {
|
|
115
114
|
description: {
|
|
116
|
-
maxLength: 4096
|
|
117
|
-
minLength: 1
|
|
115
|
+
maxLength: 4096
|
|
118
116
|
},
|
|
119
117
|
name: {
|
|
120
118
|
maxLength: 100,
|
package/dist/scw/constants.cjs
CHANGED
package/dist/scw/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "v2.
|
|
2
|
-
export declare const userAgent = "scaleway-sdk-js/v2.
|
|
1
|
+
export declare const version = "v2.47.0";
|
|
2
|
+
export declare const userAgent = "scaleway-sdk-js/v2.47.0";
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.48.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "fc282e715003bf6a78a375724ad1469c5c45aee8"
|
|
43
43
|
}
|