@scaleway/sdk-datawarehouse 1.1.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/LICENSE +191 -0
- package/dist/index.gen.cjs +4 -0
- package/dist/index.gen.d.ts +5 -0
- package/dist/index.gen.js +4 -0
- package/dist/v1beta1/api.gen.cjs +311 -0
- package/dist/v1beta1/api.gen.d.ts +153 -0
- package/dist/v1beta1/api.gen.js +311 -0
- package/dist/v1beta1/content.gen.cjs +10 -0
- package/dist/v1beta1/content.gen.d.ts +3 -0
- package/dist/v1beta1/content.gen.js +10 -0
- package/dist/v1beta1/index.gen.cjs +24 -0
- package/dist/v1beta1/index.gen.d.ts +5 -0
- package/dist/v1beta1/index.gen.js +24 -0
- package/dist/v1beta1/marshalling.gen.cjs +241 -0
- package/dist/v1beta1/marshalling.gen.d.ts +17 -0
- package/dist/v1beta1/marshalling.gen.js +241 -0
- package/dist/v1beta1/types.gen.d.ts +527 -0
- package/dist/v1beta1/validation-rules.gen.cjs +183 -0
- package/dist/v1beta1/validation-rules.gen.d.ts +168 -0
- package/dist/v1beta1/validation-rules.gen.js +183 -0
- package/package.json +48 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export declare const CreateDatabaseRequest: {
|
|
2
|
+
name: {
|
|
3
|
+
maxLength: number;
|
|
4
|
+
minLength: number;
|
|
5
|
+
pattern: RegExp;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare const CreateDeploymentRequest: {
|
|
9
|
+
cpuMax: {
|
|
10
|
+
greaterThanOrEqual: number;
|
|
11
|
+
lessThanOrEqual: number;
|
|
12
|
+
};
|
|
13
|
+
cpuMin: {
|
|
14
|
+
greaterThanOrEqual: number;
|
|
15
|
+
lessThanOrEqual: number;
|
|
16
|
+
};
|
|
17
|
+
name: {
|
|
18
|
+
maxLength: number;
|
|
19
|
+
minLength: number;
|
|
20
|
+
pattern: RegExp;
|
|
21
|
+
};
|
|
22
|
+
password: {
|
|
23
|
+
maxLength: number;
|
|
24
|
+
minLength: number;
|
|
25
|
+
};
|
|
26
|
+
replicaCount: {
|
|
27
|
+
greaterThanOrEqual: number;
|
|
28
|
+
lessThanOrEqual: number;
|
|
29
|
+
};
|
|
30
|
+
version: {
|
|
31
|
+
maxLength: number;
|
|
32
|
+
minLength: number;
|
|
33
|
+
pattern: RegExp;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export declare const CreateUserRequest: {
|
|
37
|
+
name: {
|
|
38
|
+
maxLength: number;
|
|
39
|
+
minLength: number;
|
|
40
|
+
pattern: RegExp;
|
|
41
|
+
};
|
|
42
|
+
password: {
|
|
43
|
+
maxLength: number;
|
|
44
|
+
minLength: number;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const DeleteDatabaseRequest: {
|
|
48
|
+
name: {
|
|
49
|
+
maxLength: number;
|
|
50
|
+
minLength: number;
|
|
51
|
+
pattern: RegExp;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export declare const DeleteUserRequest: {
|
|
55
|
+
name: {
|
|
56
|
+
maxLength: number;
|
|
57
|
+
minLength: number;
|
|
58
|
+
pattern: RegExp;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const Deployment: {
|
|
62
|
+
cpuMax: {
|
|
63
|
+
greaterThanOrEqual: number;
|
|
64
|
+
lessThanOrEqual: number;
|
|
65
|
+
};
|
|
66
|
+
cpuMin: {
|
|
67
|
+
lessThanOrEqual: number;
|
|
68
|
+
};
|
|
69
|
+
name: {
|
|
70
|
+
maxLength: number;
|
|
71
|
+
minLength: number;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export declare const ListDatabasesRequest: {
|
|
75
|
+
name: {
|
|
76
|
+
maxLength: number;
|
|
77
|
+
minLength: number;
|
|
78
|
+
pattern: RegExp;
|
|
79
|
+
};
|
|
80
|
+
page: {
|
|
81
|
+
greaterThanOrEqual: number;
|
|
82
|
+
};
|
|
83
|
+
pageSize: {
|
|
84
|
+
greaterThanOrEqual: number;
|
|
85
|
+
lessThanOrEqual: number;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare const ListDeploymentsRequest: {
|
|
89
|
+
name: {
|
|
90
|
+
maxLength: number;
|
|
91
|
+
minLength: number;
|
|
92
|
+
pattern: RegExp;
|
|
93
|
+
};
|
|
94
|
+
page: {
|
|
95
|
+
greaterThanOrEqual: number;
|
|
96
|
+
};
|
|
97
|
+
pageSize: {
|
|
98
|
+
greaterThanOrEqual: number;
|
|
99
|
+
lessThanOrEqual: number;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export declare const ListPresetsRequest: {
|
|
103
|
+
page: {
|
|
104
|
+
greaterThanOrEqual: number;
|
|
105
|
+
};
|
|
106
|
+
pageSize: {
|
|
107
|
+
greaterThanOrEqual: number;
|
|
108
|
+
lessThanOrEqual: number;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
export declare const ListUsersRequest: {
|
|
112
|
+
name: {
|
|
113
|
+
maxLength: number;
|
|
114
|
+
minLength: number;
|
|
115
|
+
pattern: RegExp;
|
|
116
|
+
};
|
|
117
|
+
page: {
|
|
118
|
+
greaterThanOrEqual: number;
|
|
119
|
+
};
|
|
120
|
+
pageSize: {
|
|
121
|
+
greaterThanOrEqual: number;
|
|
122
|
+
lessThanOrEqual: number;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export declare const ListVersionsRequest: {
|
|
126
|
+
page: {
|
|
127
|
+
greaterThanOrEqual: number;
|
|
128
|
+
};
|
|
129
|
+
pageSize: {
|
|
130
|
+
greaterThanOrEqual: number;
|
|
131
|
+
lessThanOrEqual: number;
|
|
132
|
+
};
|
|
133
|
+
version: {
|
|
134
|
+
maxLength: number;
|
|
135
|
+
minLength: number;
|
|
136
|
+
pattern: RegExp;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export declare const UpdateDeploymentRequest: {
|
|
140
|
+
cpuMax: {
|
|
141
|
+
greaterThanOrEqual: number;
|
|
142
|
+
lessThanOrEqual: number;
|
|
143
|
+
};
|
|
144
|
+
cpuMin: {
|
|
145
|
+
greaterThanOrEqual: number;
|
|
146
|
+
lessThanOrEqual: number;
|
|
147
|
+
};
|
|
148
|
+
name: {
|
|
149
|
+
maxLength: number;
|
|
150
|
+
minLength: number;
|
|
151
|
+
pattern: RegExp;
|
|
152
|
+
};
|
|
153
|
+
replicaCount: {
|
|
154
|
+
greaterThanOrEqual: number;
|
|
155
|
+
lessThanOrEqual: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
export declare const UpdateUserRequest: {
|
|
159
|
+
name: {
|
|
160
|
+
maxLength: number;
|
|
161
|
+
minLength: number;
|
|
162
|
+
pattern: RegExp;
|
|
163
|
+
};
|
|
164
|
+
password: {
|
|
165
|
+
maxLength: number;
|
|
166
|
+
minLength: number;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
const CreateDatabaseRequest = {
|
|
2
|
+
name: {
|
|
3
|
+
maxLength: 63,
|
|
4
|
+
minLength: 1,
|
|
5
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
const CreateDeploymentRequest = {
|
|
9
|
+
cpuMax: {
|
|
10
|
+
greaterThanOrEqual: 1,
|
|
11
|
+
lessThanOrEqual: 15
|
|
12
|
+
},
|
|
13
|
+
cpuMin: {
|
|
14
|
+
greaterThanOrEqual: 1,
|
|
15
|
+
lessThanOrEqual: 15
|
|
16
|
+
},
|
|
17
|
+
name: {
|
|
18
|
+
maxLength: 255,
|
|
19
|
+
minLength: 1,
|
|
20
|
+
pattern: /^[A-Za-z0-9-_]+$/
|
|
21
|
+
},
|
|
22
|
+
password: {
|
|
23
|
+
maxLength: 50,
|
|
24
|
+
minLength: 12
|
|
25
|
+
},
|
|
26
|
+
replicaCount: {
|
|
27
|
+
greaterThanOrEqual: 1,
|
|
28
|
+
lessThanOrEqual: 6
|
|
29
|
+
},
|
|
30
|
+
version: {
|
|
31
|
+
maxLength: 10,
|
|
32
|
+
minLength: 1,
|
|
33
|
+
pattern: /^v[0-9]+$/
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const CreateUserRequest = {
|
|
37
|
+
name: {
|
|
38
|
+
maxLength: 63,
|
|
39
|
+
minLength: 1,
|
|
40
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
41
|
+
},
|
|
42
|
+
password: {
|
|
43
|
+
maxLength: 50,
|
|
44
|
+
minLength: 12
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const DeleteDatabaseRequest = {
|
|
48
|
+
name: {
|
|
49
|
+
maxLength: 63,
|
|
50
|
+
minLength: 1,
|
|
51
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const DeleteUserRequest = {
|
|
55
|
+
name: {
|
|
56
|
+
maxLength: 63,
|
|
57
|
+
minLength: 1,
|
|
58
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const Deployment = {
|
|
62
|
+
cpuMax: {
|
|
63
|
+
greaterThanOrEqual: 1,
|
|
64
|
+
lessThanOrEqual: 15
|
|
65
|
+
},
|
|
66
|
+
cpuMin: {
|
|
67
|
+
lessThanOrEqual: 15
|
|
68
|
+
},
|
|
69
|
+
name: {
|
|
70
|
+
maxLength: 63,
|
|
71
|
+
minLength: 1
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const ListDatabasesRequest = {
|
|
75
|
+
name: {
|
|
76
|
+
maxLength: 63,
|
|
77
|
+
minLength: 1,
|
|
78
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
79
|
+
},
|
|
80
|
+
page: {
|
|
81
|
+
greaterThanOrEqual: 1
|
|
82
|
+
},
|
|
83
|
+
pageSize: {
|
|
84
|
+
greaterThanOrEqual: 1,
|
|
85
|
+
lessThanOrEqual: 100
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const ListDeploymentsRequest = {
|
|
89
|
+
name: {
|
|
90
|
+
maxLength: 255,
|
|
91
|
+
minLength: 1,
|
|
92
|
+
pattern: /^[A-Za-z0-9-_]+$/
|
|
93
|
+
},
|
|
94
|
+
page: {
|
|
95
|
+
greaterThanOrEqual: 1
|
|
96
|
+
},
|
|
97
|
+
pageSize: {
|
|
98
|
+
greaterThanOrEqual: 1,
|
|
99
|
+
lessThanOrEqual: 100
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const ListPresetsRequest = {
|
|
103
|
+
page: {
|
|
104
|
+
greaterThanOrEqual: 1
|
|
105
|
+
},
|
|
106
|
+
pageSize: {
|
|
107
|
+
greaterThanOrEqual: 1,
|
|
108
|
+
lessThanOrEqual: 100
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const ListUsersRequest = {
|
|
112
|
+
name: {
|
|
113
|
+
maxLength: 63,
|
|
114
|
+
minLength: 1,
|
|
115
|
+
pattern: /^[a-zA-Z0-9_\-]*$/
|
|
116
|
+
},
|
|
117
|
+
page: {
|
|
118
|
+
greaterThanOrEqual: 1
|
|
119
|
+
},
|
|
120
|
+
pageSize: {
|
|
121
|
+
greaterThanOrEqual: 1,
|
|
122
|
+
lessThanOrEqual: 100
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const ListVersionsRequest = {
|
|
126
|
+
page: {
|
|
127
|
+
greaterThanOrEqual: 1
|
|
128
|
+
},
|
|
129
|
+
pageSize: {
|
|
130
|
+
greaterThanOrEqual: 1,
|
|
131
|
+
lessThanOrEqual: 100
|
|
132
|
+
},
|
|
133
|
+
version: {
|
|
134
|
+
maxLength: 10,
|
|
135
|
+
minLength: 1,
|
|
136
|
+
pattern: /^v[0-9]+$/
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
const UpdateDeploymentRequest = {
|
|
140
|
+
cpuMax: {
|
|
141
|
+
greaterThanOrEqual: 1,
|
|
142
|
+
lessThanOrEqual: 15
|
|
143
|
+
},
|
|
144
|
+
cpuMin: {
|
|
145
|
+
greaterThanOrEqual: 1,
|
|
146
|
+
lessThanOrEqual: 15
|
|
147
|
+
},
|
|
148
|
+
name: {
|
|
149
|
+
maxLength: 255,
|
|
150
|
+
minLength: 1,
|
|
151
|
+
pattern: /^[A-Za-z0-9-_]+$/
|
|
152
|
+
},
|
|
153
|
+
replicaCount: {
|
|
154
|
+
greaterThanOrEqual: 1,
|
|
155
|
+
lessThanOrEqual: 6
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
const UpdateUserRequest = {
|
|
159
|
+
name: {
|
|
160
|
+
maxLength: 63,
|
|
161
|
+
minLength: 1,
|
|
162
|
+
pattern: /^[a-z][a-zA-Z0-9_\-]*$/
|
|
163
|
+
},
|
|
164
|
+
password: {
|
|
165
|
+
maxLength: 50,
|
|
166
|
+
minLength: 12
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
export {
|
|
170
|
+
CreateDatabaseRequest,
|
|
171
|
+
CreateDeploymentRequest,
|
|
172
|
+
CreateUserRequest,
|
|
173
|
+
DeleteDatabaseRequest,
|
|
174
|
+
DeleteUserRequest,
|
|
175
|
+
Deployment,
|
|
176
|
+
ListDatabasesRequest,
|
|
177
|
+
ListDeploymentsRequest,
|
|
178
|
+
ListPresetsRequest,
|
|
179
|
+
ListUsersRequest,
|
|
180
|
+
ListVersionsRequest,
|
|
181
|
+
UpdateDeploymentRequest,
|
|
182
|
+
UpdateUserRequest
|
|
183
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@scaleway/sdk-datawarehouse",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Scaleway SDK datawarehouse",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.gen.d.ts",
|
|
13
|
+
"import": "./dist/index.gen.js",
|
|
14
|
+
"require": "./dist/index.gen.cjs",
|
|
15
|
+
"default": "./dist/index.gen.js"
|
|
16
|
+
},
|
|
17
|
+
"./*": {
|
|
18
|
+
"types": "./dist/*/index.gen.d.ts",
|
|
19
|
+
"import": "./dist/*/index.gen.js",
|
|
20
|
+
"require": "./dist/*/index.gen.cjs",
|
|
21
|
+
"default": "./dist/*/index.gen.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"directory": "packages_generated/datawarehouse"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20.18.3"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@scaleway/random-name": "5.1.1",
|
|
33
|
+
"@scaleway/sdk-std": "1.1.0"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@scaleway/sdk-client": "^1.3.2"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@scaleway/sdk-client": "^1.3.2"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"package:check": "pnpm publint",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"type:generate": "tsc --declaration -p tsconfig.build.json",
|
|
45
|
+
"build": "vite build --config vite.config.ts && pnpm run type:generate",
|
|
46
|
+
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
|
|
47
|
+
}
|
|
48
|
+
}
|