@scaleway/sdk-container 2.4.0 → 2.4.2
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/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v1beta1/api.gen.js +5 -3
- package/dist/v1beta1/content.gen.js +8 -6
- package/dist/v1beta1/index.gen.js +3 -1
- package/dist/v1beta1/marshalling.gen.js +24 -22
- package/dist/v1beta1/types.gen.js +0 -0
- package/dist/v1beta1/validation-rules.gen.js +12 -10
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v1beta1/api.gen.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, NAMESPACE_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
2
|
import { marshalCreateContainerRequest, marshalCreateCronRequest, marshalCreateDomainRequest, marshalCreateNamespaceRequest, marshalCreateTokenRequest, marshalCreateTriggerRequest, marshalUpdateContainerRequest, marshalUpdateCronRequest, marshalUpdateNamespaceRequest, marshalUpdateTriggerRequest, unmarshalContainer, unmarshalCron, unmarshalDomain, unmarshalListContainersResponse, unmarshalListCronsResponse, unmarshalListDomainsResponse, unmarshalListNamespacesResponse, unmarshalListTokensResponse, unmarshalListTriggersResponse, unmarshalNamespace, unmarshalToken, unmarshalTrigger } from "./marshalling.gen.js";
|
|
3
|
-
import { API, enrichForPagination, resolveOneOf, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
3
|
+
import { API as API$1, enrichForPagination, resolveOneOf, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
//#region src/v1beta1/api.gen.ts
|
|
4
5
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
5
6
|
/**
|
|
6
7
|
* Serverless Containers API.
|
|
7
8
|
|
|
8
9
|
This API allows you to manage your Serverless Containers.
|
|
9
10
|
*/
|
|
10
|
-
var API
|
|
11
|
+
var API = class extends API$1 {
|
|
11
12
|
/**
|
|
12
13
|
* Locality of this API.
|
|
13
14
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -408,4 +409,5 @@ var API$1 = class extends API {
|
|
|
408
409
|
path: `/containers/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam("triggerId", request.triggerId)}`
|
|
409
410
|
}, unmarshalTrigger);
|
|
410
411
|
};
|
|
411
|
-
|
|
412
|
+
//#endregion
|
|
413
|
+
export { API };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
//#region src/v1beta1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link ContainerStatus}. */
|
|
2
|
-
|
|
3
|
+
var CONTAINER_TRANSIENT_STATUSES = [
|
|
3
4
|
"deleting",
|
|
4
5
|
"creating",
|
|
5
6
|
"pending",
|
|
@@ -7,7 +8,7 @@ const CONTAINER_TRANSIENT_STATUSES = [
|
|
|
7
8
|
"upgrading"
|
|
8
9
|
];
|
|
9
10
|
/** Lists transient statutes of the enum {@link CronStatus}. */
|
|
10
|
-
|
|
11
|
+
var CRON_TRANSIENT_STATUSES = [
|
|
11
12
|
"deleting",
|
|
12
13
|
"creating",
|
|
13
14
|
"pending",
|
|
@@ -16,7 +17,7 @@ const CRON_TRANSIENT_STATUSES = [
|
|
|
16
17
|
"rebalancing"
|
|
17
18
|
];
|
|
18
19
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
19
|
-
|
|
20
|
+
var DOMAIN_TRANSIENT_STATUSES = [
|
|
20
21
|
"deleting",
|
|
21
22
|
"creating",
|
|
22
23
|
"pending",
|
|
@@ -24,7 +25,7 @@ const DOMAIN_TRANSIENT_STATUSES = [
|
|
|
24
25
|
"upgrading"
|
|
25
26
|
];
|
|
26
27
|
/** Lists transient statutes of the enum {@link NamespaceStatus}. */
|
|
27
|
-
|
|
28
|
+
var NAMESPACE_TRANSIENT_STATUSES = [
|
|
28
29
|
"deleting",
|
|
29
30
|
"creating",
|
|
30
31
|
"pending",
|
|
@@ -32,13 +33,14 @@ const NAMESPACE_TRANSIENT_STATUSES = [
|
|
|
32
33
|
"upgrading"
|
|
33
34
|
];
|
|
34
35
|
/** Lists transient statutes of the enum {@link TokenStatus}. */
|
|
35
|
-
|
|
36
|
+
var TOKEN_TRANSIENT_STATUSES = ["deleting", "creating"];
|
|
36
37
|
/** Lists transient statutes of the enum {@link TriggerStatus}. */
|
|
37
|
-
|
|
38
|
+
var TRIGGER_TRANSIENT_STATUSES = [
|
|
38
39
|
"deleting",
|
|
39
40
|
"creating",
|
|
40
41
|
"pending",
|
|
41
42
|
"locking",
|
|
42
43
|
"upgrading"
|
|
43
44
|
];
|
|
45
|
+
//#endregion
|
|
44
46
|
export { CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, NAMESPACE_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES };
|
|
@@ -3,6 +3,7 @@ import { CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT
|
|
|
3
3
|
import { marshalCreateContainerRequest, marshalCreateCronRequest, marshalCreateDomainRequest, marshalCreateNamespaceRequest, marshalCreateTokenRequest, marshalCreateTriggerRequest, marshalUpdateContainerRequest, marshalUpdateCronRequest, marshalUpdateNamespaceRequest, marshalUpdateTriggerRequest, unmarshalContainer, unmarshalCron, unmarshalDomain, unmarshalListContainersResponse, unmarshalListCronsResponse, unmarshalListDomainsResponse, unmarshalListNamespacesResponse, unmarshalListTokensResponse, unmarshalListTriggersResponse, unmarshalNamespace, unmarshalToken, unmarshalTrigger } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
5
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
//#region src/v1beta1/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
8
9
|
CONTAINER_TRANSIENT_STATUSES: () => CONTAINER_TRANSIENT_STATUSES,
|
|
@@ -35,4 +36,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
35
36
|
unmarshalToken: () => unmarshalToken,
|
|
36
37
|
unmarshalTrigger: () => unmarshalTrigger
|
|
37
38
|
});
|
|
38
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
export { API, CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, NAMESPACE_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalCreateContainerRequest, marshalCreateCronRequest, marshalCreateDomainRequest, marshalCreateNamespaceRequest, marshalCreateTokenRequest, marshalCreateTriggerRequest, marshalUpdateContainerRequest, marshalUpdateCronRequest, marshalUpdateNamespaceRequest, marshalUpdateTriggerRequest, unmarshalContainer, unmarshalCron, unmarshalDomain, unmarshalListContainersResponse, unmarshalListCronsResponse, unmarshalListDomainsResponse, unmarshalListNamespacesResponse, unmarshalListTokensResponse, unmarshalListTriggersResponse, unmarshalNamespace, unmarshalToken, unmarshalTrigger };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
|
+
//#region src/v1beta1/marshalling.gen.ts
|
|
3
4
|
var unmarshalContainerHealthCheckSpecHTTPProbe = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerHealthCheckSpecHTTPProbe' failed as data isn't a dictionary.`);
|
|
5
6
|
return { path: data.path };
|
|
@@ -32,7 +33,7 @@ var unmarshalSecretHashedValue = (data) => {
|
|
|
32
33
|
key: data.key
|
|
33
34
|
};
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
+
var unmarshalContainer = (data) => {
|
|
36
37
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Container' failed as data isn't a dictionary.`);
|
|
37
38
|
return {
|
|
38
39
|
args: data.args,
|
|
@@ -69,7 +70,7 @@ const unmarshalContainer = (data) => {
|
|
|
69
70
|
updatedAt: unmarshalDate(data.updated_at)
|
|
70
71
|
};
|
|
71
72
|
};
|
|
72
|
-
|
|
73
|
+
var unmarshalCron = (data) => {
|
|
73
74
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Cron' failed as data isn't a dictionary.`);
|
|
74
75
|
return {
|
|
75
76
|
args: data.args,
|
|
@@ -80,7 +81,7 @@ const unmarshalCron = (data) => {
|
|
|
80
81
|
status: data.status
|
|
81
82
|
};
|
|
82
83
|
};
|
|
83
|
-
|
|
84
|
+
var unmarshalDomain = (data) => {
|
|
84
85
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
|
|
85
86
|
return {
|
|
86
87
|
containerId: data.container_id,
|
|
@@ -91,7 +92,7 @@ const unmarshalDomain = (data) => {
|
|
|
91
92
|
url: data.url
|
|
92
93
|
};
|
|
93
94
|
};
|
|
94
|
-
|
|
95
|
+
var unmarshalNamespace = (data) => {
|
|
95
96
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
|
|
96
97
|
return {
|
|
97
98
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -112,7 +113,7 @@ const unmarshalNamespace = (data) => {
|
|
|
112
113
|
vpcIntegrationActivated: data.vpc_integration_activated
|
|
113
114
|
};
|
|
114
115
|
};
|
|
115
|
-
|
|
116
|
+
var unmarshalToken = (data) => {
|
|
116
117
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Token' failed as data isn't a dictionary.`);
|
|
117
118
|
return {
|
|
118
119
|
containerId: data.container_id,
|
|
@@ -153,7 +154,7 @@ var unmarshalTriggerSqsClientConfig = (data) => {
|
|
|
153
154
|
secretKey: data.secret_key
|
|
154
155
|
};
|
|
155
156
|
};
|
|
156
|
-
|
|
157
|
+
var unmarshalTrigger = (data) => {
|
|
157
158
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Trigger' failed as data isn't a dictionary.`);
|
|
158
159
|
return {
|
|
159
160
|
containerId: data.container_id,
|
|
@@ -168,42 +169,42 @@ const unmarshalTrigger = (data) => {
|
|
|
168
169
|
status: data.status
|
|
169
170
|
};
|
|
170
171
|
};
|
|
171
|
-
|
|
172
|
+
var unmarshalListContainersResponse = (data) => {
|
|
172
173
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListContainersResponse' failed as data isn't a dictionary.`);
|
|
173
174
|
return {
|
|
174
175
|
containers: unmarshalArrayOfObject(data.containers, unmarshalContainer),
|
|
175
176
|
totalCount: data.total_count
|
|
176
177
|
};
|
|
177
178
|
};
|
|
178
|
-
|
|
179
|
+
var unmarshalListCronsResponse = (data) => {
|
|
179
180
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListCronsResponse' failed as data isn't a dictionary.`);
|
|
180
181
|
return {
|
|
181
182
|
crons: unmarshalArrayOfObject(data.crons, unmarshalCron),
|
|
182
183
|
totalCount: data.total_count
|
|
183
184
|
};
|
|
184
185
|
};
|
|
185
|
-
|
|
186
|
+
var unmarshalListDomainsResponse = (data) => {
|
|
186
187
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
|
|
187
188
|
return {
|
|
188
189
|
domains: unmarshalArrayOfObject(data.domains, unmarshalDomain),
|
|
189
190
|
totalCount: data.total_count
|
|
190
191
|
};
|
|
191
192
|
};
|
|
192
|
-
|
|
193
|
+
var unmarshalListNamespacesResponse = (data) => {
|
|
193
194
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
|
|
194
195
|
return {
|
|
195
196
|
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace),
|
|
196
197
|
totalCount: data.total_count
|
|
197
198
|
};
|
|
198
199
|
};
|
|
199
|
-
|
|
200
|
+
var unmarshalListTokensResponse = (data) => {
|
|
200
201
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTokensResponse' failed as data isn't a dictionary.`);
|
|
201
202
|
return {
|
|
202
203
|
tokens: unmarshalArrayOfObject(data.tokens, unmarshalToken),
|
|
203
204
|
totalCount: data.total_count
|
|
204
205
|
};
|
|
205
206
|
};
|
|
206
|
-
|
|
207
|
+
var unmarshalListTriggersResponse = (data) => {
|
|
207
208
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTriggersResponse' failed as data isn't a dictionary.`);
|
|
208
209
|
return {
|
|
209
210
|
totalCount: data.total_count,
|
|
@@ -241,7 +242,7 @@ var marshalSecret = (request, defaults) => ({
|
|
|
241
242
|
key: request.key,
|
|
242
243
|
value: request.value
|
|
243
244
|
});
|
|
244
|
-
|
|
245
|
+
var marshalCreateContainerRequest = (request, defaults) => ({
|
|
245
246
|
args: request.args,
|
|
246
247
|
command: request.command,
|
|
247
248
|
cpu_limit: request.cpuLimit,
|
|
@@ -267,17 +268,17 @@ const marshalCreateContainerRequest = (request, defaults) => ({
|
|
|
267
268
|
tags: request.tags,
|
|
268
269
|
timeout: request.timeout
|
|
269
270
|
});
|
|
270
|
-
|
|
271
|
+
var marshalCreateCronRequest = (request, defaults) => ({
|
|
271
272
|
args: request.args,
|
|
272
273
|
container_id: request.containerId,
|
|
273
274
|
name: request.name,
|
|
274
275
|
schedule: request.schedule
|
|
275
276
|
});
|
|
276
|
-
|
|
277
|
+
var marshalCreateDomainRequest = (request, defaults) => ({
|
|
277
278
|
container_id: request.containerId,
|
|
278
279
|
hostname: request.hostname
|
|
279
280
|
});
|
|
280
|
-
|
|
281
|
+
var marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
281
282
|
activate_vpc_integration: request.activateVpcIntegration,
|
|
282
283
|
description: request.description,
|
|
283
284
|
environment_variables: request.environmentVariables,
|
|
@@ -286,7 +287,7 @@ const marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
|
286
287
|
secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables.map((elt) => marshalSecret(elt, defaults)) : void 0,
|
|
287
288
|
tags: request.tags
|
|
288
289
|
});
|
|
289
|
-
|
|
290
|
+
var marshalCreateTokenRequest = (request, defaults) => ({
|
|
290
291
|
description: request.description,
|
|
291
292
|
expires_at: request.expiresAt,
|
|
292
293
|
...resolveOneOf([{
|
|
@@ -314,7 +315,7 @@ var marshalCreateTriggerRequestSqsClientConfig = (request, defaults) => ({
|
|
|
314
315
|
queue_url: request.queueUrl,
|
|
315
316
|
secret_key: request.secretKey
|
|
316
317
|
});
|
|
317
|
-
|
|
318
|
+
var marshalCreateTriggerRequest = (request, defaults) => ({
|
|
318
319
|
container_id: request.containerId,
|
|
319
320
|
description: request.description,
|
|
320
321
|
name: request.name,
|
|
@@ -333,7 +334,7 @@ const marshalCreateTriggerRequest = (request, defaults) => ({
|
|
|
333
334
|
}
|
|
334
335
|
])
|
|
335
336
|
});
|
|
336
|
-
|
|
337
|
+
var marshalUpdateContainerRequest = (request, defaults) => ({
|
|
337
338
|
args: request.args,
|
|
338
339
|
command: request.command,
|
|
339
340
|
cpu_limit: request.cpuLimit,
|
|
@@ -358,13 +359,13 @@ const marshalUpdateContainerRequest = (request, defaults) => ({
|
|
|
358
359
|
tags: request.tags,
|
|
359
360
|
timeout: request.timeout
|
|
360
361
|
});
|
|
361
|
-
|
|
362
|
+
var marshalUpdateCronRequest = (request, defaults) => ({
|
|
362
363
|
args: request.args,
|
|
363
364
|
container_id: request.containerId,
|
|
364
365
|
name: request.name,
|
|
365
366
|
schedule: request.schedule
|
|
366
367
|
});
|
|
367
|
-
|
|
368
|
+
var marshalUpdateNamespaceRequest = (request, defaults) => ({
|
|
368
369
|
description: request.description,
|
|
369
370
|
environment_variables: request.environmentVariables,
|
|
370
371
|
secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables.map((elt) => marshalSecret(elt, defaults)) : void 0,
|
|
@@ -374,7 +375,7 @@ var marshalUpdateTriggerRequestSqsClientConfig = (request, defaults) => ({
|
|
|
374
375
|
access_key: request.accessKey,
|
|
375
376
|
secret_key: request.secretKey
|
|
376
377
|
});
|
|
377
|
-
|
|
378
|
+
var marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
378
379
|
description: request.description,
|
|
379
380
|
name: request.name,
|
|
380
381
|
...resolveOneOf([{
|
|
@@ -382,4 +383,5 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
382
383
|
value: request.sqsConfig !== void 0 ? marshalUpdateTriggerRequestSqsClientConfig(request.sqsConfig, defaults) : void 0
|
|
383
384
|
}])
|
|
384
385
|
});
|
|
386
|
+
//#endregion
|
|
385
387
|
export { marshalCreateContainerRequest, marshalCreateCronRequest, marshalCreateDomainRequest, marshalCreateNamespaceRequest, marshalCreateTokenRequest, marshalCreateTriggerRequest, marshalUpdateContainerRequest, marshalUpdateCronRequest, marshalUpdateNamespaceRequest, marshalUpdateTriggerRequest, unmarshalContainer, unmarshalCron, unmarshalDomain, unmarshalListContainersResponse, unmarshalListCronsResponse, unmarshalListDomainsResponse, unmarshalListNamespacesResponse, unmarshalListTokensResponse, unmarshalListTriggersResponse, unmarshalNamespace, unmarshalToken, unmarshalTrigger };
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region src/v1beta1/validation-rules.gen.ts
|
|
2
3
|
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
3
4
|
ContainerHealthCheckSpec: () => ContainerHealthCheckSpec,
|
|
4
5
|
ContainerHealthCheckSpecHTTPProbe: () => ContainerHealthCheckSpecHTTPProbe,
|
|
@@ -10,24 +11,24 @@ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
11
|
UpdateContainerRequest: () => UpdateContainerRequest,
|
|
11
12
|
UpdateTriggerRequest: () => UpdateTriggerRequest
|
|
12
13
|
});
|
|
13
|
-
|
|
14
|
+
var ContainerHealthCheckSpec = { failureThreshold: {
|
|
14
15
|
greaterThanOrEqual: 3,
|
|
15
16
|
lessThanOrEqual: 50
|
|
16
17
|
} };
|
|
17
|
-
|
|
18
|
+
var ContainerHealthCheckSpecHTTPProbe = { path: {
|
|
18
19
|
maxLength: 100,
|
|
19
20
|
minLength: 1
|
|
20
21
|
} };
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
var ContainerScalingOption = {};
|
|
23
|
+
var CreateContainerRequest = { privateNetworkId: { ignoreEmpty: true } };
|
|
24
|
+
var CreateTriggerRequest = {
|
|
24
25
|
description: { maxLength: 255 },
|
|
25
26
|
name: {
|
|
26
27
|
maxLength: 50,
|
|
27
28
|
minLength: 1
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
|
-
|
|
31
|
+
var CreateTriggerRequestMnqNatsClientConfig = {
|
|
31
32
|
mnqRegion: {
|
|
32
33
|
maxLength: 20,
|
|
33
34
|
minLength: 1
|
|
@@ -38,7 +39,7 @@ const CreateTriggerRequestMnqNatsClientConfig = {
|
|
|
38
39
|
pattern: /^[^\s]+$/
|
|
39
40
|
}
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
+
var CreateTriggerRequestMnqSqsClientConfig = {
|
|
42
43
|
mnqRegion: {
|
|
43
44
|
maxLength: 20,
|
|
44
45
|
minLength: 1
|
|
@@ -48,12 +49,13 @@ const CreateTriggerRequestMnqSqsClientConfig = {
|
|
|
48
49
|
minLength: 1
|
|
49
50
|
}
|
|
50
51
|
};
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
var UpdateContainerRequest = { privateNetworkId: { ignoreEmpty: true } };
|
|
53
|
+
var UpdateTriggerRequest = {
|
|
53
54
|
description: { maxLength: 255 },
|
|
54
55
|
name: {
|
|
55
56
|
maxLength: 50,
|
|
56
57
|
minLength: 1
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
|
-
|
|
60
|
+
//#endregion
|
|
61
|
+
export { ContainerHealthCheckSpec, ContainerHealthCheckSpecHTTPProbe, ContainerScalingOption, CreateContainerRequest, CreateTriggerRequest, CreateTriggerRequestMnqNatsClientConfig, CreateTriggerRequestMnqSqsClientConfig, UpdateContainerRequest, UpdateTriggerRequest, validation_rules_gen_exports };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-container",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Scaleway SDK container",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|