@scaleway/sdk-container 2.4.2 → 2.6.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/index.gen.d.ts +1 -0
- package/dist/index.gen.js +3 -2
- package/dist/metadata.gen.d.ts +12 -0
- package/dist/metadata.gen.js +9 -0
- package/dist/metadata.gen.json +6 -0
- package/dist/metadata2.gen.js +8 -0
- package/dist/v1/api.gen.d.ts +226 -0
- package/dist/v1/api.gen.js +310 -0
- package/dist/v1/content.gen.d.ts +9 -0
- package/dist/v1/content.gen.js +35 -0
- package/dist/v1/index.gen.d.ts +5 -0
- package/dist/v1/index.gen.js +32 -0
- package/dist/v1/marshalling.gen.d.ts +18 -0
- package/dist/v1/marshalling.gen.js +373 -0
- package/dist/v1/metadata.gen.d.ts +103 -0
- package/dist/v1/metadata.gen.js +115 -0
- package/dist/v1/types.gen.d.ts +1109 -0
- package/dist/v1/types.gen.js +0 -0
- package/dist/v1/validation-rules.gen.d.ts +263 -0
- package/dist/v1/validation-rules.gen.js +225 -0
- package/dist/v1beta1/api.gen.d.ts +10 -2
- package/dist/v1beta1/api.gen.js +10 -2
- package/dist/v1beta1/metadata.gen.d.ts +136 -0
- package/dist/v1beta1/metadata.gen.js +151 -0
- package/dist/v1beta1/types.gen.d.ts +5 -5
- package/package.json +10 -2
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
//#region src/v1beta1/metadata.gen.ts
|
|
2
|
+
var queriesMetadata = {
|
|
3
|
+
namespace: "container",
|
|
4
|
+
version: "v1beta1",
|
|
5
|
+
folderName: "containerv1beta1",
|
|
6
|
+
services: [{
|
|
7
|
+
apiClass: "API",
|
|
8
|
+
methods: [
|
|
9
|
+
{
|
|
10
|
+
methodName: "listNamespaces",
|
|
11
|
+
protoName: "ListNamespaces",
|
|
12
|
+
paramsType: "ListNamespacesRequest",
|
|
13
|
+
returnType: "ListNamespacesResponse",
|
|
14
|
+
isList: true,
|
|
15
|
+
paginationType: "offset",
|
|
16
|
+
pageParamKey: "page",
|
|
17
|
+
listItemType: "Namespace",
|
|
18
|
+
isPrivate: false,
|
|
19
|
+
description: "\""
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
methodName: "getNamespace",
|
|
23
|
+
protoName: "GetNamespace",
|
|
24
|
+
paramsType: "GetNamespaceRequest",
|
|
25
|
+
returnType: "Namespace",
|
|
26
|
+
isList: false,
|
|
27
|
+
paginationType: "none",
|
|
28
|
+
isPrivate: false,
|
|
29
|
+
description: "\"",
|
|
30
|
+
hasWaiter: true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
methodName: "listContainers",
|
|
34
|
+
protoName: "ListContainers",
|
|
35
|
+
paramsType: "ListContainersRequest",
|
|
36
|
+
returnType: "ListContainersResponse",
|
|
37
|
+
isList: true,
|
|
38
|
+
paginationType: "offset",
|
|
39
|
+
pageParamKey: "page",
|
|
40
|
+
listItemType: "Container",
|
|
41
|
+
isPrivate: false,
|
|
42
|
+
description: "\""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
methodName: "getContainer",
|
|
46
|
+
protoName: "GetContainer",
|
|
47
|
+
paramsType: "GetContainerRequest",
|
|
48
|
+
returnType: "Container",
|
|
49
|
+
isList: false,
|
|
50
|
+
paginationType: "none",
|
|
51
|
+
isPrivate: false,
|
|
52
|
+
description: "\"",
|
|
53
|
+
hasWaiter: true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
methodName: "listCrons",
|
|
57
|
+
protoName: "ListCrons",
|
|
58
|
+
paramsType: "ListCronsRequest",
|
|
59
|
+
returnType: "ListCronsResponse",
|
|
60
|
+
isList: true,
|
|
61
|
+
paginationType: "offset",
|
|
62
|
+
pageParamKey: "page",
|
|
63
|
+
listItemType: "Cron",
|
|
64
|
+
isPrivate: false,
|
|
65
|
+
description: "\""
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
methodName: "getCron",
|
|
69
|
+
protoName: "GetCron",
|
|
70
|
+
paramsType: "GetCronRequest",
|
|
71
|
+
returnType: "Cron",
|
|
72
|
+
isList: false,
|
|
73
|
+
paginationType: "none",
|
|
74
|
+
isPrivate: false,
|
|
75
|
+
description: "\"",
|
|
76
|
+
hasWaiter: true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
methodName: "listDomains",
|
|
80
|
+
protoName: "ListDomains",
|
|
81
|
+
paramsType: "ListDomainsRequest",
|
|
82
|
+
returnType: "ListDomainsResponse",
|
|
83
|
+
isList: true,
|
|
84
|
+
paginationType: "offset",
|
|
85
|
+
pageParamKey: "page",
|
|
86
|
+
listItemType: "Domain",
|
|
87
|
+
isPrivate: false,
|
|
88
|
+
description: "\""
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
methodName: "getDomain",
|
|
92
|
+
protoName: "GetDomain",
|
|
93
|
+
paramsType: "GetDomainRequest",
|
|
94
|
+
returnType: "Domain",
|
|
95
|
+
isList: false,
|
|
96
|
+
paginationType: "none",
|
|
97
|
+
isPrivate: false,
|
|
98
|
+
description: "\"",
|
|
99
|
+
hasWaiter: true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
methodName: "getToken",
|
|
103
|
+
protoName: "GetToken",
|
|
104
|
+
paramsType: "GetTokenRequest",
|
|
105
|
+
returnType: "Token",
|
|
106
|
+
isList: false,
|
|
107
|
+
paginationType: "none",
|
|
108
|
+
isPrivate: false,
|
|
109
|
+
description: "\"",
|
|
110
|
+
hasWaiter: true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
methodName: "listTokens",
|
|
114
|
+
protoName: "ListTokens",
|
|
115
|
+
paramsType: "ListTokensRequest",
|
|
116
|
+
returnType: "ListTokensResponse",
|
|
117
|
+
isList: true,
|
|
118
|
+
paginationType: "offset",
|
|
119
|
+
pageParamKey: "page",
|
|
120
|
+
listItemType: "Token",
|
|
121
|
+
isPrivate: false,
|
|
122
|
+
description: "\""
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
methodName: "getTrigger",
|
|
126
|
+
protoName: "GetTrigger",
|
|
127
|
+
paramsType: "GetTriggerRequest",
|
|
128
|
+
returnType: "Trigger",
|
|
129
|
+
isList: false,
|
|
130
|
+
paginationType: "none",
|
|
131
|
+
isPrivate: false,
|
|
132
|
+
description: "\"",
|
|
133
|
+
hasWaiter: true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
methodName: "listTriggers",
|
|
137
|
+
protoName: "ListTriggers",
|
|
138
|
+
paramsType: "ListTriggersRequest",
|
|
139
|
+
returnType: "ListTriggersResponse",
|
|
140
|
+
isList: true,
|
|
141
|
+
paginationType: "offset",
|
|
142
|
+
pageParamKey: "page",
|
|
143
|
+
listItemType: "Trigger",
|
|
144
|
+
isPrivate: false,
|
|
145
|
+
description: "\""
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}]
|
|
149
|
+
};
|
|
150
|
+
//#endregion
|
|
151
|
+
export { queriesMetadata };
|
|
@@ -218,7 +218,7 @@ export interface Container {
|
|
|
218
218
|
*/
|
|
219
219
|
maxConcurrency: number;
|
|
220
220
|
/**
|
|
221
|
-
* Domain name attributed to the
|
|
221
|
+
* Domain name attributed to the container.
|
|
222
222
|
*/
|
|
223
223
|
domainName: string;
|
|
224
224
|
/**
|
|
@@ -373,7 +373,7 @@ export interface Namespace {
|
|
|
373
373
|
*/
|
|
374
374
|
registryNamespaceId: string;
|
|
375
375
|
/**
|
|
376
|
-
* Last error message of the
|
|
376
|
+
* Last error message of the namespace.
|
|
377
377
|
*/
|
|
378
378
|
errorMessage?: string;
|
|
379
379
|
/**
|
|
@@ -407,7 +407,7 @@ export interface Namespace {
|
|
|
407
407
|
/**
|
|
408
408
|
* @deprecated The value of this field doesn't matter anymore, and will be removed in a near future.
|
|
409
409
|
*/
|
|
410
|
-
vpcIntegrationActivated
|
|
410
|
+
vpcIntegrationActivated?: boolean;
|
|
411
411
|
}
|
|
412
412
|
export interface Token {
|
|
413
413
|
/**
|
|
@@ -433,7 +433,7 @@ export interface Token {
|
|
|
433
433
|
/**
|
|
434
434
|
* @deprecated Public key of the token.
|
|
435
435
|
*/
|
|
436
|
-
publicKey
|
|
436
|
+
publicKey?: string;
|
|
437
437
|
/**
|
|
438
438
|
* Status of the token.
|
|
439
439
|
*/
|
|
@@ -674,7 +674,7 @@ export type CreateNamespaceRequest = {
|
|
|
674
674
|
/**
|
|
675
675
|
* @deprecated Setting this field to true doesn't matter anymore. It will be removed in a near future.
|
|
676
676
|
*/
|
|
677
|
-
activateVpcIntegration
|
|
677
|
+
activateVpcIntegration?: boolean;
|
|
678
678
|
};
|
|
679
679
|
export type CreateTokenRequest = {
|
|
680
680
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-container",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Scaleway SDK container",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"./*": {
|
|
17
17
|
"types": "./dist/*/index.gen.d.ts",
|
|
18
18
|
"default": "./dist/*/index.gen.js"
|
|
19
|
+
},
|
|
20
|
+
"./metadata": {
|
|
21
|
+
"types": "./dist/metadata.gen.d.ts",
|
|
22
|
+
"default": "./dist/metadata.gen.js"
|
|
23
|
+
},
|
|
24
|
+
"./*/metadata": {
|
|
25
|
+
"types": "./dist/*/metadata.gen.d.ts",
|
|
26
|
+
"default": "./dist/*/metadata.gen.js"
|
|
19
27
|
}
|
|
20
28
|
},
|
|
21
29
|
"repository": {
|
|
@@ -27,7 +35,7 @@
|
|
|
27
35
|
},
|
|
28
36
|
"dependencies": {
|
|
29
37
|
"@scaleway/random-name": "5.1.4",
|
|
30
|
-
"@scaleway/sdk-std": "2.
|
|
38
|
+
"@scaleway/sdk-std": "2.3.0"
|
|
31
39
|
},
|
|
32
40
|
"peerDependencies": {
|
|
33
41
|
"@scaleway/sdk-client": "^2.2.2"
|