@cloudfleet/sdk 0.0.1-7bf9c12 → 0.0.1-7f36848
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/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +6 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +304 -541
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +306 -543
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +102 -89
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +195 -129
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +428 -689
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +554 -1092
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +90 -152
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/schemas.gen.js
CHANGED
|
@@ -1,4 +1,262 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const BillingContactSchema = {
|
|
3
|
+
type: 'object',
|
|
4
|
+
properties: {
|
|
5
|
+
company: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
maxLength: 120,
|
|
8
|
+
minLength: 2,
|
|
9
|
+
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
10
|
+
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
11
|
+
example: 'ACME Corp.'
|
|
12
|
+
},
|
|
13
|
+
address1: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
nullable: true,
|
|
16
|
+
description: 'Street address, P.O. box, c/o',
|
|
17
|
+
example: '123 Main St.'
|
|
18
|
+
},
|
|
19
|
+
address2: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
nullable: true,
|
|
22
|
+
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
23
|
+
example: 'Suite 100'
|
|
24
|
+
},
|
|
25
|
+
postalCode: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
nullable: true,
|
|
28
|
+
description: 'Postal code as a string.',
|
|
29
|
+
example: '94105'
|
|
30
|
+
},
|
|
31
|
+
city: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
nullable: true,
|
|
34
|
+
description: 'City or town name.',
|
|
35
|
+
example: 'San Francisco'
|
|
36
|
+
},
|
|
37
|
+
state: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
nullable: true,
|
|
40
|
+
description: 'State, province, or region name.',
|
|
41
|
+
example: 'CA'
|
|
42
|
+
},
|
|
43
|
+
country: {
|
|
44
|
+
type: 'string',
|
|
45
|
+
nullable: true,
|
|
46
|
+
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
47
|
+
example: 'US'
|
|
48
|
+
},
|
|
49
|
+
phone: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
nullable: true,
|
|
52
|
+
description: 'Phone number as a string.',
|
|
53
|
+
example: '+1 555 555 5555'
|
|
54
|
+
},
|
|
55
|
+
email: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
format: 'email',
|
|
58
|
+
description: 'Email address used for billing as a string.',
|
|
59
|
+
example: 'email@example.com'
|
|
60
|
+
},
|
|
61
|
+
first_name: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
description: 'First name of the billing contact person.',
|
|
64
|
+
example: 'John'
|
|
65
|
+
},
|
|
66
|
+
last_name: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
description: 'Last name of the billing contact person.',
|
|
69
|
+
example: 'Doe'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
required: ['email', 'first_name', 'last_name'],
|
|
73
|
+
additionalProperties: false
|
|
74
|
+
};
|
|
75
|
+
export const BillingCreditsSchema = {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
id: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'Generated unique identifier of the promotional code.',
|
|
81
|
+
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
82
|
+
},
|
|
83
|
+
date_created: {
|
|
84
|
+
type: 'string',
|
|
85
|
+
format: 'date-time',
|
|
86
|
+
description: 'Date of the credit application. ISO 8601 date string in the UTC timezone.',
|
|
87
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
88
|
+
},
|
|
89
|
+
code: {
|
|
90
|
+
type: 'string',
|
|
91
|
+
description: 'Promotional code used by the customer.',
|
|
92
|
+
example: 'VQ4SCMB'
|
|
93
|
+
},
|
|
94
|
+
description: {
|
|
95
|
+
type: 'string',
|
|
96
|
+
description: 'Description of the promotional code.',
|
|
97
|
+
example: '10% off on all products'
|
|
98
|
+
},
|
|
99
|
+
products: {
|
|
100
|
+
type: 'array',
|
|
101
|
+
items: {
|
|
102
|
+
type: 'string'
|
|
103
|
+
},
|
|
104
|
+
description: 'List of product SKUs that the promotional code can be used on.',
|
|
105
|
+
example: ['SKU123', 'SKU456']
|
|
106
|
+
},
|
|
107
|
+
type: {
|
|
108
|
+
type: 'string',
|
|
109
|
+
description: 'Type of the promotional code.',
|
|
110
|
+
example: 'credit',
|
|
111
|
+
enum: ['credit', 'discount']
|
|
112
|
+
},
|
|
113
|
+
value: {
|
|
114
|
+
type: 'number',
|
|
115
|
+
format: 'float',
|
|
116
|
+
description: 'Value of the promotional code.',
|
|
117
|
+
example: 10
|
|
118
|
+
},
|
|
119
|
+
billing_period: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
format: 'date-time',
|
|
122
|
+
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
123
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
124
|
+
},
|
|
125
|
+
value_remaining: {
|
|
126
|
+
type: 'number',
|
|
127
|
+
format: 'float',
|
|
128
|
+
description: 'Value of the promotional code.',
|
|
129
|
+
example: 10
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
required: ['date_created', 'code', 'type', 'value', 'billing_period'],
|
|
133
|
+
additionalProperties: false
|
|
134
|
+
};
|
|
135
|
+
export const ChartCreateInputSchema = {
|
|
136
|
+
type: 'object',
|
|
137
|
+
properties: {
|
|
138
|
+
values: {
|
|
139
|
+
type: 'string',
|
|
140
|
+
description: 'Values to be used in the chart.'
|
|
141
|
+
},
|
|
142
|
+
version_channel: {
|
|
143
|
+
type: 'string',
|
|
144
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
145
|
+
description: 'Version of the chart.',
|
|
146
|
+
example: '2.x.x-cfke.x'
|
|
147
|
+
},
|
|
148
|
+
name: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
maxLength: 63,
|
|
151
|
+
minLength: 1,
|
|
152
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
153
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
154
|
+
example: 'postgresql-0'
|
|
155
|
+
},
|
|
156
|
+
namespace: {
|
|
157
|
+
type: 'string',
|
|
158
|
+
maxLength: 63,
|
|
159
|
+
minLength: 1,
|
|
160
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
161
|
+
description: 'Namespace of the chart deployment',
|
|
162
|
+
example: 'default'
|
|
163
|
+
},
|
|
164
|
+
chart: {
|
|
165
|
+
type: 'string',
|
|
166
|
+
maxLength: 63,
|
|
167
|
+
minLength: 1,
|
|
168
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
169
|
+
description: 'Name of the chart listing',
|
|
170
|
+
example: 'postgresql'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
required: ['values', 'version_channel', 'name', 'namespace', 'chart'],
|
|
174
|
+
additionalProperties: false
|
|
175
|
+
};
|
|
176
|
+
export const ChartSchema = {
|
|
177
|
+
type: 'object',
|
|
178
|
+
properties: {
|
|
179
|
+
values: {
|
|
180
|
+
type: 'string',
|
|
181
|
+
description: 'Values to be used in the chart.'
|
|
182
|
+
},
|
|
183
|
+
version_channel: {
|
|
184
|
+
type: 'string',
|
|
185
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
186
|
+
description: 'Version of the chart.',
|
|
187
|
+
example: '2.x.x-cfke.x'
|
|
188
|
+
},
|
|
189
|
+
name: {
|
|
190
|
+
type: 'string',
|
|
191
|
+
maxLength: 63,
|
|
192
|
+
minLength: 1,
|
|
193
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
194
|
+
description: 'Unique identifier of the chart deployment aka name of the helm release.',
|
|
195
|
+
example: 'postgresql-0'
|
|
196
|
+
},
|
|
197
|
+
namespace: {
|
|
198
|
+
type: 'string',
|
|
199
|
+
maxLength: 63,
|
|
200
|
+
minLength: 1,
|
|
201
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
202
|
+
description: 'Namespace of the chart deployment',
|
|
203
|
+
example: 'default'
|
|
204
|
+
},
|
|
205
|
+
chart: {
|
|
206
|
+
type: 'string',
|
|
207
|
+
maxLength: 63,
|
|
208
|
+
minLength: 1,
|
|
209
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
210
|
+
description: 'Name of the chart listing',
|
|
211
|
+
example: 'postgresql'
|
|
212
|
+
},
|
|
213
|
+
status: {
|
|
214
|
+
type: 'string',
|
|
215
|
+
description: 'Status of the chart deployment.',
|
|
216
|
+
example: 'active',
|
|
217
|
+
enum: ['InstallSucceeded', 'InstallFailed', 'UpgradeSucceeded', 'UpgradeFailed', 'TestSucceeded', 'TestFailed', 'RollbackSucceeded', 'RollbackFailed', 'UninstallSucceeded', 'UninstallFailed', 'ArtifactFailed', 'DependencyNotReady']
|
|
218
|
+
},
|
|
219
|
+
version_current: {
|
|
220
|
+
type: 'string',
|
|
221
|
+
description: 'Current version of the chart deployment.',
|
|
222
|
+
example: '2.1.33-cfke.11'
|
|
223
|
+
},
|
|
224
|
+
created_at: {
|
|
225
|
+
type: 'string',
|
|
226
|
+
description: 'Creation date and time of the chart deployment.',
|
|
227
|
+
example: '2024-09-12T09:11:27Z'
|
|
228
|
+
},
|
|
229
|
+
updated_at: {
|
|
230
|
+
type: 'string',
|
|
231
|
+
description: 'Last update date and time of the chart deployment.',
|
|
232
|
+
example: '2024-09-12T09:11:27Z'
|
|
233
|
+
},
|
|
234
|
+
ready: {
|
|
235
|
+
type: 'boolean',
|
|
236
|
+
description: 'Indicates if the chart deployment is ready to be used.',
|
|
237
|
+
example: true
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
required: ['values', 'version_channel', 'name', 'namespace', 'chart', 'status', 'version_current', 'created_at', 'updated_at', 'ready'],
|
|
241
|
+
additionalProperties: false
|
|
242
|
+
};
|
|
243
|
+
export const ChartUpdateInputSchema = {
|
|
244
|
+
type: 'object',
|
|
245
|
+
properties: {
|
|
246
|
+
values: {
|
|
247
|
+
type: 'string',
|
|
248
|
+
description: 'Values to be used in the chart.'
|
|
249
|
+
},
|
|
250
|
+
version_channel: {
|
|
251
|
+
type: 'string',
|
|
252
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
253
|
+
description: 'Version of the chart.',
|
|
254
|
+
example: '2.x.x-cfke.x'
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
required: ['values', 'version_channel'],
|
|
258
|
+
additionalProperties: false
|
|
259
|
+
};
|
|
2
260
|
export const ClusterCreateInputSchema = {
|
|
3
261
|
type: 'object',
|
|
4
262
|
properties: {
|
|
@@ -484,276 +742,6 @@ export const FleetUpdateInputSchema = {
|
|
|
484
742
|
},
|
|
485
743
|
additionalProperties: false
|
|
486
744
|
};
|
|
487
|
-
export const InfrastructureFilterSchema = {
|
|
488
|
-
type: 'object',
|
|
489
|
-
properties: {
|
|
490
|
-
version: {
|
|
491
|
-
type: 'integer',
|
|
492
|
-
description: 'Version of the infrastructure filter definition. Currently only version 1 is supported.',
|
|
493
|
-
default: 1,
|
|
494
|
-
example: 1,
|
|
495
|
-
enum: [1]
|
|
496
|
-
},
|
|
497
|
-
provider: {
|
|
498
|
-
type: 'array',
|
|
499
|
-
items: {
|
|
500
|
-
type: 'string'
|
|
501
|
-
},
|
|
502
|
-
description: 'Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
|
|
503
|
-
example: 'AWS'
|
|
504
|
-
},
|
|
505
|
-
region: {
|
|
506
|
-
type: 'array',
|
|
507
|
-
items: {
|
|
508
|
-
type: 'string'
|
|
509
|
-
},
|
|
510
|
-
description: 'Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
511
|
-
example: 'northamerica'
|
|
512
|
-
},
|
|
513
|
-
sub_region: {
|
|
514
|
-
type: 'array',
|
|
515
|
-
items: {
|
|
516
|
-
type: 'string'
|
|
517
|
-
},
|
|
518
|
-
description: 'Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
519
|
-
example: 'west'
|
|
520
|
-
},
|
|
521
|
-
csp_region: {
|
|
522
|
-
type: 'array',
|
|
523
|
-
items: {
|
|
524
|
-
type: 'string'
|
|
525
|
-
},
|
|
526
|
-
description: 'Limits selection of cloud regions to this list of canonical provider regions',
|
|
527
|
-
example: 'eu-west-1'
|
|
528
|
-
},
|
|
529
|
-
instance_type: {
|
|
530
|
-
type: 'array',
|
|
531
|
-
items: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
},
|
|
534
|
-
description: 'Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider',
|
|
535
|
-
example: 'p4d.24xlarge'
|
|
536
|
-
},
|
|
537
|
-
accelerator_name: {
|
|
538
|
-
type: 'array',
|
|
539
|
-
items: {
|
|
540
|
-
type: 'string'
|
|
541
|
-
},
|
|
542
|
-
description: "List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field",
|
|
543
|
-
example: 'A100'
|
|
544
|
-
},
|
|
545
|
-
accelerator_manufacturer: {
|
|
546
|
-
type: 'array',
|
|
547
|
-
items: {
|
|
548
|
-
type: 'string'
|
|
549
|
-
},
|
|
550
|
-
description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
551
|
-
example: 'NVIDIA'
|
|
552
|
-
},
|
|
553
|
-
accelerator_count_min: {
|
|
554
|
-
type: 'integer',
|
|
555
|
-
minimum: 0,
|
|
556
|
-
description: 'Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
557
|
-
example: 1
|
|
558
|
-
},
|
|
559
|
-
accelerator_count_max: {
|
|
560
|
-
type: 'integer',
|
|
561
|
-
minimum: 0,
|
|
562
|
-
description: 'Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
563
|
-
example: 8
|
|
564
|
-
},
|
|
565
|
-
accelerator_memory_min: {
|
|
566
|
-
type: 'number',
|
|
567
|
-
format: 'float',
|
|
568
|
-
description: "Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
569
|
-
example: 40
|
|
570
|
-
},
|
|
571
|
-
accelerator_memory_max: {
|
|
572
|
-
type: 'number',
|
|
573
|
-
format: 'float',
|
|
574
|
-
description: "Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
575
|
-
example: 80
|
|
576
|
-
},
|
|
577
|
-
memory_min: {
|
|
578
|
-
type: 'integer',
|
|
579
|
-
minimum: 0,
|
|
580
|
-
description: 'Minimum amount of RAM in gibibytes (GiB)',
|
|
581
|
-
example: 32
|
|
582
|
-
},
|
|
583
|
-
memory_max: {
|
|
584
|
-
type: 'integer',
|
|
585
|
-
minimum: 0,
|
|
586
|
-
description: 'Maximum amount of RAM in gibibytes (GiB)',
|
|
587
|
-
example: 64
|
|
588
|
-
},
|
|
589
|
-
vcpu_min: {
|
|
590
|
-
type: 'integer',
|
|
591
|
-
minimum: 1,
|
|
592
|
-
description: 'Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
593
|
-
example: 32
|
|
594
|
-
},
|
|
595
|
-
vcpu_max: {
|
|
596
|
-
type: 'integer',
|
|
597
|
-
minimum: 1,
|
|
598
|
-
description: 'Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
599
|
-
example: 128
|
|
600
|
-
},
|
|
601
|
-
storage_total_min: {
|
|
602
|
-
type: 'number',
|
|
603
|
-
format: 'float',
|
|
604
|
-
minimum: 10,
|
|
605
|
-
description: 'Minimum total storage in GiB (attached and local)',
|
|
606
|
-
example: 128
|
|
607
|
-
},
|
|
608
|
-
storage_total_max: {
|
|
609
|
-
type: 'number',
|
|
610
|
-
format: 'float',
|
|
611
|
-
minimum: 10,
|
|
612
|
-
description: 'Maximum total storage in GiB (attached and local)',
|
|
613
|
-
example: 256
|
|
614
|
-
},
|
|
615
|
-
storage_local_min: {
|
|
616
|
-
type: 'number',
|
|
617
|
-
format: 'float',
|
|
618
|
-
description: 'Minimum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
619
|
-
example: 24
|
|
620
|
-
},
|
|
621
|
-
storage_local_max: {
|
|
622
|
-
type: 'number',
|
|
623
|
-
format: 'float',
|
|
624
|
-
description: 'Maximum volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
625
|
-
example: 128
|
|
626
|
-
},
|
|
627
|
-
price_min: {
|
|
628
|
-
type: 'number',
|
|
629
|
-
format: 'float',
|
|
630
|
-
description: 'Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
631
|
-
example: 10
|
|
632
|
-
},
|
|
633
|
-
price_max: {
|
|
634
|
-
type: 'number',
|
|
635
|
-
format: 'float',
|
|
636
|
-
description: 'Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
|
|
637
|
-
example: 50
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
additionalProperties: false
|
|
641
|
-
};
|
|
642
|
-
export const InfrastructureInstanceSchema = {
|
|
643
|
-
type: 'object',
|
|
644
|
-
properties: {
|
|
645
|
-
sku: {
|
|
646
|
-
type: 'string',
|
|
647
|
-
description: 'Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.',
|
|
648
|
-
example: 'AWS-EU-WEST-1C-P4D.24XLARGE'
|
|
649
|
-
},
|
|
650
|
-
provider: {
|
|
651
|
-
type: 'string',
|
|
652
|
-
description: 'Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
|
|
653
|
-
example: 'AWS'
|
|
654
|
-
},
|
|
655
|
-
region: {
|
|
656
|
-
type: 'string',
|
|
657
|
-
description: 'Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
658
|
-
example: 'europe'
|
|
659
|
-
},
|
|
660
|
-
sub_region: {
|
|
661
|
-
type: 'string',
|
|
662
|
-
description: 'Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)',
|
|
663
|
-
example: 'west'
|
|
664
|
-
},
|
|
665
|
-
csp_region: {
|
|
666
|
-
type: 'string',
|
|
667
|
-
description: 'Region as defined by the cloud service provider',
|
|
668
|
-
example: 'eu-west-1'
|
|
669
|
-
},
|
|
670
|
-
csp_zone: {
|
|
671
|
-
type: 'string',
|
|
672
|
-
description: 'Availability zone as defined by the cloud service provider',
|
|
673
|
-
example: 'eu-west-1a'
|
|
674
|
-
},
|
|
675
|
-
instance_type: {
|
|
676
|
-
type: 'string',
|
|
677
|
-
description: 'Instance / VM type as defined by the cloud service provider',
|
|
678
|
-
example: 'p4d.24xlarge'
|
|
679
|
-
},
|
|
680
|
-
architecture: {
|
|
681
|
-
type: 'string',
|
|
682
|
-
description: 'Instance CPU architecture',
|
|
683
|
-
example: 'amd64'
|
|
684
|
-
},
|
|
685
|
-
os: {
|
|
686
|
-
type: 'string',
|
|
687
|
-
description: 'Instance operating system',
|
|
688
|
-
example: 'linux'
|
|
689
|
-
},
|
|
690
|
-
vcpu: {
|
|
691
|
-
type: 'number',
|
|
692
|
-
format: 'float',
|
|
693
|
-
minimum: 1,
|
|
694
|
-
description: 'CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.',
|
|
695
|
-
example: 96
|
|
696
|
-
},
|
|
697
|
-
memory: {
|
|
698
|
-
type: 'number',
|
|
699
|
-
format: 'float',
|
|
700
|
-
minimum: 1,
|
|
701
|
-
description: 'Total amount of RAM in gibibytes (GiB)',
|
|
702
|
-
example: 1152
|
|
703
|
-
},
|
|
704
|
-
local_storage: {
|
|
705
|
-
type: 'number',
|
|
706
|
-
format: 'float',
|
|
707
|
-
description: 'Volume of directly attached, block-device local storage in gibibytes (GiB)',
|
|
708
|
-
example: 8000
|
|
709
|
-
},
|
|
710
|
-
accelerator_name: {
|
|
711
|
-
type: 'string',
|
|
712
|
-
description: "Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field",
|
|
713
|
-
example: 'A100'
|
|
714
|
-
},
|
|
715
|
-
accelerator_manufacturer: {
|
|
716
|
-
type: 'string',
|
|
717
|
-
description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
|
|
718
|
-
example: 'NVIDIA'
|
|
719
|
-
},
|
|
720
|
-
accelerator_count: {
|
|
721
|
-
type: 'integer',
|
|
722
|
-
description: 'Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.',
|
|
723
|
-
example: 8
|
|
724
|
-
},
|
|
725
|
-
accelerator_memory: {
|
|
726
|
-
type: 'number',
|
|
727
|
-
format: 'float',
|
|
728
|
-
description: "Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory",
|
|
729
|
-
example: 40
|
|
730
|
-
},
|
|
731
|
-
pods_capacity: {
|
|
732
|
-
type: 'number',
|
|
733
|
-
format: 'float',
|
|
734
|
-
description: 'Maximum number of pods that can be run on this instance type.',
|
|
735
|
-
example: 110
|
|
736
|
-
},
|
|
737
|
-
capacity_type: {
|
|
738
|
-
type: 'string',
|
|
739
|
-
description: 'Capacity type of the instance. E.g. `on-demand`, `spot`.',
|
|
740
|
-
example: 'on-demand'
|
|
741
|
-
},
|
|
742
|
-
price: {
|
|
743
|
-
type: 'number',
|
|
744
|
-
format: 'float',
|
|
745
|
-
description: 'Price of running the inctance per hour in USD as defined by the cloud service provider',
|
|
746
|
-
example: 35.39655
|
|
747
|
-
},
|
|
748
|
-
available: {
|
|
749
|
-
type: 'boolean',
|
|
750
|
-
description: 'Whether this instance type is available.',
|
|
751
|
-
example: true
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
required: ['sku', 'provider', 'region', 'sub_region', 'csp_region', 'csp_zone', 'instance_type', 'architecture', 'os', 'vcpu', 'memory', 'local_storage', 'price'],
|
|
755
|
-
additionalProperties: false
|
|
756
|
-
};
|
|
757
745
|
export const InviteSchema = {
|
|
758
746
|
type: 'object',
|
|
759
747
|
properties: {
|
|
@@ -1145,51 +1133,57 @@ export const InvoiceSchema = {
|
|
|
1145
1133
|
},
|
|
1146
1134
|
additionalProperties: false
|
|
1147
1135
|
};
|
|
1148
|
-
export const
|
|
1136
|
+
export const MarketplaceListingSchema = {
|
|
1149
1137
|
type: 'object',
|
|
1150
1138
|
properties: {
|
|
1151
|
-
|
|
1139
|
+
id: {
|
|
1152
1140
|
type: 'string',
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1141
|
+
maxLength: 63,
|
|
1142
|
+
minLength: 1,
|
|
1143
|
+
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1144
|
+
description: 'Id of the chart listing',
|
|
1145
|
+
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1156
1146
|
},
|
|
1157
|
-
|
|
1147
|
+
name: {
|
|
1158
1148
|
type: 'string',
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
example: 'Suite 100'
|
|
1149
|
+
description: 'Name of the chart listing',
|
|
1150
|
+
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1162
1151
|
},
|
|
1163
|
-
|
|
1152
|
+
developer: {
|
|
1164
1153
|
type: 'string',
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
example: '94105'
|
|
1154
|
+
description: 'Author of the chart listing',
|
|
1155
|
+
example: 'Portworx'
|
|
1168
1156
|
},
|
|
1169
|
-
|
|
1157
|
+
description: {
|
|
1170
1158
|
type: 'string',
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
example: 'San Francisco'
|
|
1159
|
+
description: 'Short description of the chart listing',
|
|
1160
|
+
example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
|
|
1174
1161
|
},
|
|
1175
|
-
|
|
1162
|
+
logoUrl: {
|
|
1176
1163
|
type: 'string',
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
example: 'CA'
|
|
1164
|
+
description: 'Logo of the chart listing',
|
|
1165
|
+
example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
|
|
1180
1166
|
},
|
|
1181
|
-
|
|
1167
|
+
longDescription: {
|
|
1182
1168
|
type: 'string',
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
example: 'US'
|
|
1186
|
-
},
|
|
1187
|
-
phone: {
|
|
1188
|
-
type: 'string',
|
|
1189
|
-
nullable: true,
|
|
1190
|
-
description: 'Phone number as a string.',
|
|
1191
|
-
example: '+1 555 555 5555'
|
|
1169
|
+
description: 'Long description of the chart listing',
|
|
1170
|
+
example: 'Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....'
|
|
1192
1171
|
},
|
|
1172
|
+
categories: {
|
|
1173
|
+
type: 'array',
|
|
1174
|
+
items: {
|
|
1175
|
+
type: 'string',
|
|
1176
|
+
example: 'AI & Machine Learning'
|
|
1177
|
+
},
|
|
1178
|
+
description: 'Tags of the chart'
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
required: ['id', 'name', 'developer', 'description', 'logoUrl', 'longDescription'],
|
|
1182
|
+
additionalProperties: false
|
|
1183
|
+
};
|
|
1184
|
+
export const OrganizationCreateInputSchema = {
|
|
1185
|
+
type: 'object',
|
|
1186
|
+
properties: {
|
|
1193
1187
|
email: {
|
|
1194
1188
|
type: 'string',
|
|
1195
1189
|
format: 'email',
|
|
@@ -1205,15 +1199,8 @@ export const OrganizationContactInfoSchema = {
|
|
|
1205
1199
|
type: 'string',
|
|
1206
1200
|
description: 'Last name of the billing contact person.',
|
|
1207
1201
|
example: 'Doe'
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1211
|
-
additionalProperties: false
|
|
1212
|
-
};
|
|
1213
|
-
export const OrganizationCreateInputSchema = {
|
|
1214
|
-
type: 'object',
|
|
1215
|
-
properties: {
|
|
1216
|
-
name: {
|
|
1202
|
+
},
|
|
1203
|
+
company_name: {
|
|
1217
1204
|
type: 'string',
|
|
1218
1205
|
maxLength: 120,
|
|
1219
1206
|
minLength: 2,
|
|
@@ -1221,150 +1208,31 @@ export const OrganizationCreateInputSchema = {
|
|
|
1221
1208
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1222
1209
|
example: 'ACME Corp.'
|
|
1223
1210
|
},
|
|
1224
|
-
contactInfo: {
|
|
1225
|
-
type: 'object',
|
|
1226
|
-
properties: {
|
|
1227
|
-
address1: {
|
|
1228
|
-
type: 'string',
|
|
1229
|
-
description: 'Street address, P.O. box, c/o',
|
|
1230
|
-
example: '123 Main St.'
|
|
1231
|
-
},
|
|
1232
|
-
address2: {
|
|
1233
|
-
type: 'string',
|
|
1234
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1235
|
-
example: 'Suite 100'
|
|
1236
|
-
},
|
|
1237
|
-
postalCode: {
|
|
1238
|
-
type: 'string',
|
|
1239
|
-
description: 'Postal code as a string.',
|
|
1240
|
-
example: '94105'
|
|
1241
|
-
},
|
|
1242
|
-
city: {
|
|
1243
|
-
type: 'string',
|
|
1244
|
-
description: 'City or town name.',
|
|
1245
|
-
example: 'San Francisco'
|
|
1246
|
-
},
|
|
1247
|
-
state: {
|
|
1248
|
-
type: 'string',
|
|
1249
|
-
description: 'State, province, or region name.',
|
|
1250
|
-
example: 'CA'
|
|
1251
|
-
},
|
|
1252
|
-
country: {
|
|
1253
|
-
type: 'string',
|
|
1254
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1255
|
-
example: 'US'
|
|
1256
|
-
},
|
|
1257
|
-
phone: {
|
|
1258
|
-
type: 'string',
|
|
1259
|
-
description: 'Phone number as a string.',
|
|
1260
|
-
example: '+1 555 555 5555'
|
|
1261
|
-
},
|
|
1262
|
-
email: {
|
|
1263
|
-
type: 'string',
|
|
1264
|
-
format: 'email',
|
|
1265
|
-
description: 'Email address used for billing as a string.',
|
|
1266
|
-
example: 'email@example.com'
|
|
1267
|
-
},
|
|
1268
|
-
first_name: {
|
|
1269
|
-
type: 'string',
|
|
1270
|
-
description: 'First name of the billing contact person.',
|
|
1271
|
-
example: 'John'
|
|
1272
|
-
},
|
|
1273
|
-
last_name: {
|
|
1274
|
-
type: 'string',
|
|
1275
|
-
description: 'Last name of the billing contact person.',
|
|
1276
|
-
example: 'Doe'
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1280
|
-
additionalProperties: false,
|
|
1281
|
-
description: 'Organization contact information and billing address.'
|
|
1282
|
-
},
|
|
1283
1211
|
password: {
|
|
1284
1212
|
type: 'string',
|
|
1285
1213
|
minLength: 8,
|
|
1286
1214
|
description: 'Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.'
|
|
1287
1215
|
}
|
|
1288
1216
|
},
|
|
1289
|
-
required: ['
|
|
1217
|
+
required: ['email', 'first_name', 'last_name', 'company_name', 'password'],
|
|
1290
1218
|
additionalProperties: false
|
|
1291
1219
|
};
|
|
1292
1220
|
export const OrganizationSchema = {
|
|
1293
1221
|
type: 'object',
|
|
1294
1222
|
properties: {
|
|
1223
|
+
id: {
|
|
1224
|
+
type: 'string',
|
|
1225
|
+
format: 'uuid',
|
|
1226
|
+
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1227
|
+
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1228
|
+
},
|
|
1295
1229
|
name: {
|
|
1296
1230
|
type: 'string',
|
|
1297
1231
|
maxLength: 120,
|
|
1298
1232
|
minLength: 2,
|
|
1299
|
-
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
1300
1233
|
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1301
1234
|
example: 'ACME Corp.'
|
|
1302
1235
|
},
|
|
1303
|
-
contactInfo: {
|
|
1304
|
-
type: 'object',
|
|
1305
|
-
properties: {
|
|
1306
|
-
address1: {
|
|
1307
|
-
type: 'string',
|
|
1308
|
-
description: 'Street address, P.O. box, c/o',
|
|
1309
|
-
example: '123 Main St.'
|
|
1310
|
-
},
|
|
1311
|
-
address2: {
|
|
1312
|
-
type: 'string',
|
|
1313
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1314
|
-
example: 'Suite 100'
|
|
1315
|
-
},
|
|
1316
|
-
postalCode: {
|
|
1317
|
-
type: 'string',
|
|
1318
|
-
description: 'Postal code as a string.',
|
|
1319
|
-
example: '94105'
|
|
1320
|
-
},
|
|
1321
|
-
city: {
|
|
1322
|
-
type: 'string',
|
|
1323
|
-
description: 'City or town name.',
|
|
1324
|
-
example: 'San Francisco'
|
|
1325
|
-
},
|
|
1326
|
-
state: {
|
|
1327
|
-
type: 'string',
|
|
1328
|
-
description: 'State, province, or region name.',
|
|
1329
|
-
example: 'CA'
|
|
1330
|
-
},
|
|
1331
|
-
country: {
|
|
1332
|
-
type: 'string',
|
|
1333
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1334
|
-
example: 'US'
|
|
1335
|
-
},
|
|
1336
|
-
phone: {
|
|
1337
|
-
type: 'string',
|
|
1338
|
-
description: 'Phone number as a string.',
|
|
1339
|
-
example: '+1 555 555 5555'
|
|
1340
|
-
},
|
|
1341
|
-
email: {
|
|
1342
|
-
type: 'string',
|
|
1343
|
-
format: 'email',
|
|
1344
|
-
description: 'Email address used for billing as a string.',
|
|
1345
|
-
example: 'email@example.com'
|
|
1346
|
-
},
|
|
1347
|
-
first_name: {
|
|
1348
|
-
type: 'string',
|
|
1349
|
-
description: 'First name of the billing contact person.',
|
|
1350
|
-
example: 'John'
|
|
1351
|
-
},
|
|
1352
|
-
last_name: {
|
|
1353
|
-
type: 'string',
|
|
1354
|
-
description: 'Last name of the billing contact person.',
|
|
1355
|
-
example: 'Doe'
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1359
|
-
additionalProperties: false,
|
|
1360
|
-
description: 'Organization contact information and billing address.'
|
|
1361
|
-
},
|
|
1362
|
-
id: {
|
|
1363
|
-
type: 'string',
|
|
1364
|
-
format: 'uuid',
|
|
1365
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
1366
|
-
example: 'e94d30ec-a2dd-4dcb-832c-ac2be144ba91'
|
|
1367
|
-
},
|
|
1368
1236
|
date_created: {
|
|
1369
1237
|
type: 'string',
|
|
1370
1238
|
format: 'date-time',
|
|
@@ -1453,96 +1321,13 @@ export const OrganizationSchema = {
|
|
|
1453
1321
|
additionalProperties: false,
|
|
1454
1322
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1455
1323
|
},
|
|
1456
|
-
pending_actions: {
|
|
1457
|
-
type: 'array',
|
|
1458
|
-
items: {
|
|
1459
|
-
type: 'string',
|
|
1460
|
-
example: 'signup-payment-method',
|
|
1461
|
-
enum: ['signup-billing-address', 'signup-payment-method', 'signup-invite-team', 'signup-create-cluster']
|
|
1462
|
-
},
|
|
1463
|
-
description: 'List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.'
|
|
1464
|
-
},
|
|
1465
1324
|
status: {
|
|
1466
1325
|
type: 'string',
|
|
1467
1326
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1468
1327
|
enum: ['active', 'closed', 'suspended']
|
|
1469
1328
|
}
|
|
1470
1329
|
},
|
|
1471
|
-
required: ['
|
|
1472
|
-
additionalProperties: false
|
|
1473
|
-
};
|
|
1474
|
-
export const OrganizationUpdateInputSchema = {
|
|
1475
|
-
type: 'object',
|
|
1476
|
-
properties: {
|
|
1477
|
-
name: {
|
|
1478
|
-
type: 'string',
|
|
1479
|
-
maxLength: 120,
|
|
1480
|
-
minLength: 2,
|
|
1481
|
-
pattern: '^(?!\\s)(?!.*\\s$)(?=.*[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9])[a-zA-ZÆÐƎƏƐƔIJŊŒẞÞǷȜæðǝəɛɣijŋœĸſßþƿȝĄƁÇĐƊĘĦĮƘŁØƠŞȘŢȚŦŲƯY̨Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿʼNŃN̈ŇÑŅŊÓÒÔÖǑŎŌÕŐỌØǾƠŒĥḥħıíìiîïǐĭīĩįịijĵķƙĸĺļłľŀʼnńn̈ňñņŋóòôöǒŏōõőọøǿơœŔŘŖŚŜŠŞȘṢẞŤŢṬŦÞÚÙÛÜǓŬŪŨŰŮŲỤƯẂẀŴẄǷÝỲŶŸȲỸƳŹŻŽẒŕřŗſśŝšşșṣßťţṭŧþúùûüǔŭūũűůųụưẃẁŵẅƿýỳŷÿȳỹƴźżžẓ0-9 -.]{2,}$',
|
|
1482
|
-
description: 'Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.',
|
|
1483
|
-
example: 'ACME Corp.'
|
|
1484
|
-
},
|
|
1485
|
-
contactInfo: {
|
|
1486
|
-
type: 'object',
|
|
1487
|
-
properties: {
|
|
1488
|
-
address1: {
|
|
1489
|
-
type: 'string',
|
|
1490
|
-
description: 'Street address, P.O. box, c/o',
|
|
1491
|
-
example: '123 Main St.'
|
|
1492
|
-
},
|
|
1493
|
-
address2: {
|
|
1494
|
-
type: 'string',
|
|
1495
|
-
description: 'Apartment, suite, unit, building, floor, etc.',
|
|
1496
|
-
example: 'Suite 100'
|
|
1497
|
-
},
|
|
1498
|
-
postalCode: {
|
|
1499
|
-
type: 'string',
|
|
1500
|
-
description: 'Postal code as a string.',
|
|
1501
|
-
example: '94105'
|
|
1502
|
-
},
|
|
1503
|
-
city: {
|
|
1504
|
-
type: 'string',
|
|
1505
|
-
description: 'City or town name.',
|
|
1506
|
-
example: 'San Francisco'
|
|
1507
|
-
},
|
|
1508
|
-
state: {
|
|
1509
|
-
type: 'string',
|
|
1510
|
-
description: 'State, province, or region name.',
|
|
1511
|
-
example: 'CA'
|
|
1512
|
-
},
|
|
1513
|
-
country: {
|
|
1514
|
-
type: 'string',
|
|
1515
|
-
description: 'Country as a ISO 3166-1 alpha-2 country code.',
|
|
1516
|
-
example: 'US'
|
|
1517
|
-
},
|
|
1518
|
-
phone: {
|
|
1519
|
-
type: 'string',
|
|
1520
|
-
description: 'Phone number as a string.',
|
|
1521
|
-
example: '+1 555 555 5555'
|
|
1522
|
-
},
|
|
1523
|
-
email: {
|
|
1524
|
-
type: 'string',
|
|
1525
|
-
format: 'email',
|
|
1526
|
-
description: 'Email address used for billing as a string.',
|
|
1527
|
-
example: 'email@example.com'
|
|
1528
|
-
},
|
|
1529
|
-
first_name: {
|
|
1530
|
-
type: 'string',
|
|
1531
|
-
description: 'First name of the billing contact person.',
|
|
1532
|
-
example: 'John'
|
|
1533
|
-
},
|
|
1534
|
-
last_name: {
|
|
1535
|
-
type: 'string',
|
|
1536
|
-
description: 'Last name of the billing contact person.',
|
|
1537
|
-
example: 'Doe'
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
required: ['email', 'first_name', 'last_name'],
|
|
1541
|
-
additionalProperties: false,
|
|
1542
|
-
description: 'Organization contact information and billing address.'
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
required: ['contactInfo'],
|
|
1330
|
+
required: ['id', 'date_created', 'quota', 'status'],
|
|
1546
1331
|
additionalProperties: false
|
|
1547
1332
|
};
|
|
1548
1333
|
export const PaymentMethodSchema = {
|
|
@@ -1804,7 +1589,7 @@ export const UserCreateInputSchema = {
|
|
|
1804
1589
|
password: {
|
|
1805
1590
|
type: 'string',
|
|
1806
1591
|
minLength: 8,
|
|
1807
|
-
description: 'User password. Must be at least 8 characters long
|
|
1592
|
+
description: 'User password. Must be at least 8 characters long.'
|
|
1808
1593
|
},
|
|
1809
1594
|
status: {
|
|
1810
1595
|
type: 'string',
|
|
@@ -1868,28 +1653,6 @@ export const UserSchema = {
|
|
|
1868
1653
|
format: 'date-time',
|
|
1869
1654
|
description: 'Creation date of the user. ISO 8601 date string in UTC timezone',
|
|
1870
1655
|
example: '2023-11-02T16:08:14.338Z'
|
|
1871
|
-
},
|
|
1872
|
-
cluster_permissions: {
|
|
1873
|
-
type: 'array',
|
|
1874
|
-
items: {
|
|
1875
|
-
type: 'object',
|
|
1876
|
-
properties: {
|
|
1877
|
-
cluster_id: {
|
|
1878
|
-
type: 'string',
|
|
1879
|
-
format: 'uuid',
|
|
1880
|
-
description: 'Unique identifier of the cluster. UUID v4 string in canonical form',
|
|
1881
|
-
example: '035ce46d-44d8-4e58-a8a2-b0192d1c27df'
|
|
1882
|
-
},
|
|
1883
|
-
permissions: {
|
|
1884
|
-
type: 'string',
|
|
1885
|
-
description: 'User permissions to access the cluster. Can be `readwrite` or `readonly`.',
|
|
1886
|
-
example: 'readwrite',
|
|
1887
|
-
enum: ['readwrite', 'readonly']
|
|
1888
|
-
}
|
|
1889
|
-
},
|
|
1890
|
-
required: ['cluster_id', 'permissions'],
|
|
1891
|
-
additionalProperties: false
|
|
1892
|
-
}
|
|
1893
1656
|
}
|
|
1894
1657
|
},
|
|
1895
1658
|
required: ['email', 'first_name', 'last_name', 'role', 'status', 'id', 'date_created'],
|