@cloudfleet/sdk 0.0.1-2bdeb58 → 0.0.1-2f36f6a
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/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +235 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +134 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +703 -594
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1217 -684
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +141 -76
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +171 -185
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +613 -362
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1821 -2209
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +719 -773
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -7
package/dist/schemas.gen.js
CHANGED
|
@@ -58,15 +58,10 @@ export const BillingContactSchema = {
|
|
|
58
58
|
description: 'Email address used for billing as a string.',
|
|
59
59
|
example: 'email@example.com'
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: 'First name of the billing contact person.',
|
|
64
|
-
example: 'John'
|
|
65
|
-
},
|
|
66
|
-
last_name: {
|
|
61
|
+
individual_name: {
|
|
67
62
|
type: 'string',
|
|
68
|
-
description: '
|
|
69
|
-
example: 'Doe'
|
|
63
|
+
description: 'Name of the billing contact person.',
|
|
64
|
+
example: 'John Doe'
|
|
70
65
|
},
|
|
71
66
|
tax_id: {
|
|
72
67
|
type: 'string',
|
|
@@ -76,12 +71,145 @@ export const BillingContactSchema = {
|
|
|
76
71
|
},
|
|
77
72
|
tax_id_type: {
|
|
78
73
|
type: 'string',
|
|
74
|
+
nullable: true,
|
|
79
75
|
description: 'Type of the tax ID.',
|
|
80
76
|
example: 'de_vat',
|
|
81
|
-
enum: [
|
|
77
|
+
enum: [
|
|
78
|
+
'ad_nrt',
|
|
79
|
+
'ae_trn',
|
|
80
|
+
'al_tin',
|
|
81
|
+
'am_tin',
|
|
82
|
+
'ao_tin',
|
|
83
|
+
'ar_cuit',
|
|
84
|
+
'at_vat',
|
|
85
|
+
'au_abn',
|
|
86
|
+
'au_arn',
|
|
87
|
+
'ba_tin',
|
|
88
|
+
'bb_tin',
|
|
89
|
+
'be_vat',
|
|
90
|
+
'bg_uic',
|
|
91
|
+
'bg_vat',
|
|
92
|
+
'bh_vat',
|
|
93
|
+
'bo_tin',
|
|
94
|
+
'br_cnpj',
|
|
95
|
+
'br_cpf',
|
|
96
|
+
'bs_tin',
|
|
97
|
+
'by_tin',
|
|
98
|
+
'ca_bn',
|
|
99
|
+
'ca_gst_hst',
|
|
100
|
+
'ca_pst_bc',
|
|
101
|
+
'ca_pst_mb',
|
|
102
|
+
'ca_pst_sk',
|
|
103
|
+
'ca_qst',
|
|
104
|
+
'cd_nif',
|
|
105
|
+
'ch_uid',
|
|
106
|
+
'ch_vat',
|
|
107
|
+
'cl_tin',
|
|
108
|
+
'cn_tin',
|
|
109
|
+
'co_nit',
|
|
110
|
+
'cr_tin',
|
|
111
|
+
'cy_vat',
|
|
112
|
+
'cz_vat',
|
|
113
|
+
'de_stn',
|
|
114
|
+
'de_vat',
|
|
115
|
+
'dk_vat',
|
|
116
|
+
'do_rcn',
|
|
117
|
+
'ec_ruc',
|
|
118
|
+
'ee_vat',
|
|
119
|
+
'eg_tin',
|
|
120
|
+
'es_cif',
|
|
121
|
+
'es_vat',
|
|
122
|
+
'eu_oss_vat',
|
|
123
|
+
'fi_vat',
|
|
124
|
+
'fr_vat',
|
|
125
|
+
'gb_vat',
|
|
126
|
+
'ge_vat',
|
|
127
|
+
'gn_nif',
|
|
128
|
+
'gr_vat',
|
|
129
|
+
'hk_br',
|
|
130
|
+
'hr_oib',
|
|
131
|
+
'hr_vat',
|
|
132
|
+
'hu_tin',
|
|
133
|
+
'hu_vat',
|
|
134
|
+
'id_npwp',
|
|
135
|
+
'ie_vat',
|
|
136
|
+
'il_vat',
|
|
137
|
+
'in_gst',
|
|
138
|
+
'is_vat',
|
|
139
|
+
'it_vat',
|
|
140
|
+
'jp_cn',
|
|
141
|
+
'jp_rn',
|
|
142
|
+
'jp_trn',
|
|
143
|
+
'ke_pin',
|
|
144
|
+
'kh_tin',
|
|
145
|
+
'kr_brn',
|
|
146
|
+
'kz_bin',
|
|
147
|
+
'li_uid',
|
|
148
|
+
'li_vat',
|
|
149
|
+
'lt_vat',
|
|
150
|
+
'lu_vat',
|
|
151
|
+
'lv_vat',
|
|
152
|
+
'ma_vat',
|
|
153
|
+
'md_vat',
|
|
154
|
+
'me_pib',
|
|
155
|
+
'mk_vat',
|
|
156
|
+
'mr_nif',
|
|
157
|
+
'mt_vat',
|
|
158
|
+
'mx_rfc',
|
|
159
|
+
'my_frp',
|
|
160
|
+
'my_itn',
|
|
161
|
+
'my_sst',
|
|
162
|
+
'ng_tin',
|
|
163
|
+
'nl_vat',
|
|
164
|
+
'no_vat',
|
|
165
|
+
'no_voec',
|
|
166
|
+
'np_pan',
|
|
167
|
+
'nz_gst',
|
|
168
|
+
'om_vat',
|
|
169
|
+
'pe_ruc',
|
|
170
|
+
'ph_tin',
|
|
171
|
+
'pl_vat',
|
|
172
|
+
'pt_vat',
|
|
173
|
+
'ro_tin',
|
|
174
|
+
'ro_vat',
|
|
175
|
+
'rs_pib',
|
|
176
|
+
'ru_inn',
|
|
177
|
+
'ru_kpp',
|
|
178
|
+
'sa_vat',
|
|
179
|
+
'se_vat',
|
|
180
|
+
'sg_gst',
|
|
181
|
+
'sg_uen',
|
|
182
|
+
'si_tin',
|
|
183
|
+
'si_vat',
|
|
184
|
+
'sk_vat',
|
|
185
|
+
'sn_ninea',
|
|
186
|
+
'sr_fin',
|
|
187
|
+
'sv_nit',
|
|
188
|
+
'th_vat',
|
|
189
|
+
'tj_tin',
|
|
190
|
+
'tr_tin',
|
|
191
|
+
'tw_vat',
|
|
192
|
+
'tz_vat',
|
|
193
|
+
'ua_vat',
|
|
194
|
+
'ug_tin',
|
|
195
|
+
'us_ein',
|
|
196
|
+
'uy_ruc',
|
|
197
|
+
'uz_tin',
|
|
198
|
+
'uz_vat',
|
|
199
|
+
've_rif',
|
|
200
|
+
'vn_tin',
|
|
201
|
+
'xi_vat',
|
|
202
|
+
'za_vat',
|
|
203
|
+
'zm_tin',
|
|
204
|
+
'zw_tin',
|
|
205
|
+
''
|
|
206
|
+
]
|
|
82
207
|
}
|
|
83
208
|
},
|
|
84
|
-
required: [
|
|
209
|
+
required: [
|
|
210
|
+
'email',
|
|
211
|
+
'individual_name'
|
|
212
|
+
],
|
|
85
213
|
additionalProperties: false
|
|
86
214
|
};
|
|
87
215
|
export const BillingCreditsSchema = {
|
|
@@ -92,10 +220,25 @@ export const BillingCreditsSchema = {
|
|
|
92
220
|
description: 'Generated unique identifier of the promotional code.',
|
|
93
221
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
94
222
|
},
|
|
95
|
-
|
|
223
|
+
type: {
|
|
224
|
+
type: 'string',
|
|
225
|
+
description: 'Type of the promotional code.',
|
|
226
|
+
example: 'credit',
|
|
227
|
+
enum: [
|
|
228
|
+
'credit',
|
|
229
|
+
'discount'
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
date_start: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
format: 'date-time',
|
|
235
|
+
description: 'Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.',
|
|
236
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
237
|
+
},
|
|
238
|
+
date_end: {
|
|
96
239
|
type: 'string',
|
|
97
240
|
format: 'date-time',
|
|
98
|
-
description: '
|
|
241
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
99
242
|
example: '2023-12-20T13:53:32.000Z'
|
|
100
243
|
},
|
|
101
244
|
code: {
|
|
@@ -108,40 +251,25 @@ export const BillingCreditsSchema = {
|
|
|
108
251
|
description: 'Description of the promotional code.',
|
|
109
252
|
example: '10% off on all products'
|
|
110
253
|
},
|
|
111
|
-
|
|
112
|
-
type: 'array',
|
|
113
|
-
items: {
|
|
114
|
-
type: 'string'
|
|
115
|
-
},
|
|
116
|
-
description: 'List of product SKUs that the promotional code can be used on.',
|
|
117
|
-
example: ['SKU123', 'SKU456']
|
|
118
|
-
},
|
|
119
|
-
type: {
|
|
120
|
-
type: 'string',
|
|
121
|
-
description: 'Type of the promotional code.',
|
|
122
|
-
example: 'credit',
|
|
123
|
-
enum: ['credit', 'discount']
|
|
124
|
-
},
|
|
125
|
-
value: {
|
|
254
|
+
value_total: {
|
|
126
255
|
type: 'number',
|
|
127
256
|
format: 'float',
|
|
128
|
-
description: '
|
|
257
|
+
description: 'Total value of the promotional code.',
|
|
129
258
|
example: 10
|
|
130
259
|
},
|
|
131
|
-
billing_period: {
|
|
132
|
-
type: 'string',
|
|
133
|
-
format: 'date-time',
|
|
134
|
-
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
135
|
-
example: '2023-12-20T13:53:32.000Z'
|
|
136
|
-
},
|
|
137
260
|
value_remaining: {
|
|
138
261
|
type: 'number',
|
|
139
262
|
format: 'float',
|
|
140
|
-
description: '
|
|
141
|
-
example:
|
|
263
|
+
description: 'Remaining value of the promotional code.',
|
|
264
|
+
example: 8
|
|
142
265
|
}
|
|
143
266
|
},
|
|
144
|
-
required: [
|
|
267
|
+
required: [
|
|
268
|
+
'type',
|
|
269
|
+
'date_start',
|
|
270
|
+
'code',
|
|
271
|
+
'value_total'
|
|
272
|
+
],
|
|
145
273
|
additionalProperties: false
|
|
146
274
|
};
|
|
147
275
|
export const ChartCreateInputSchema = {
|
|
@@ -149,12 +277,12 @@ export const ChartCreateInputSchema = {
|
|
|
149
277
|
properties: {
|
|
150
278
|
values: {
|
|
151
279
|
type: 'string',
|
|
152
|
-
description: 'Values to be used in the chart.'
|
|
280
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
153
281
|
},
|
|
154
282
|
version_channel: {
|
|
155
283
|
type: 'string',
|
|
156
284
|
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-]+)*))?$',
|
|
157
|
-
description: '
|
|
285
|
+
description: 'Desired version range or channel for the chart.',
|
|
158
286
|
example: '2.x.x-cfke.x'
|
|
159
287
|
},
|
|
160
288
|
name: {
|
|
@@ -182,7 +310,13 @@ export const ChartCreateInputSchema = {
|
|
|
182
310
|
example: 'postgresql'
|
|
183
311
|
}
|
|
184
312
|
},
|
|
185
|
-
required: [
|
|
313
|
+
required: [
|
|
314
|
+
'values',
|
|
315
|
+
'version_channel',
|
|
316
|
+
'name',
|
|
317
|
+
'namespace',
|
|
318
|
+
'chart'
|
|
319
|
+
],
|
|
186
320
|
additionalProperties: false
|
|
187
321
|
};
|
|
188
322
|
export const ChartSchema = {
|
|
@@ -190,12 +324,12 @@ export const ChartSchema = {
|
|
|
190
324
|
properties: {
|
|
191
325
|
values: {
|
|
192
326
|
type: 'string',
|
|
193
|
-
description: 'Values to be used in the chart.'
|
|
327
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
194
328
|
},
|
|
195
329
|
version_channel: {
|
|
196
330
|
type: 'string',
|
|
197
331
|
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-]+)*))?$',
|
|
198
|
-
description: '
|
|
332
|
+
description: 'Desired version range or channel for the chart.',
|
|
199
333
|
example: '2.x.x-cfke.x'
|
|
200
334
|
},
|
|
201
335
|
name: {
|
|
@@ -226,7 +360,22 @@ export const ChartSchema = {
|
|
|
226
360
|
type: 'string',
|
|
227
361
|
description: 'Status of the chart deployment.',
|
|
228
362
|
example: 'active',
|
|
229
|
-
enum: [
|
|
363
|
+
enum: [
|
|
364
|
+
'InstallSucceeded',
|
|
365
|
+
'InstallFailed',
|
|
366
|
+
'UpgradeSucceeded',
|
|
367
|
+
'UpgradeFailed',
|
|
368
|
+
'TestSucceeded',
|
|
369
|
+
'TestFailed',
|
|
370
|
+
'RollbackSucceeded',
|
|
371
|
+
'RollbackFailed',
|
|
372
|
+
'UninstallSucceeded',
|
|
373
|
+
'UninstallFailed',
|
|
374
|
+
'ArtifactFailed',
|
|
375
|
+
'DependencyNotReady',
|
|
376
|
+
'Progressing',
|
|
377
|
+
'SourceNotReady'
|
|
378
|
+
]
|
|
230
379
|
},
|
|
231
380
|
version_current: {
|
|
232
381
|
type: 'string',
|
|
@@ -249,7 +398,18 @@ export const ChartSchema = {
|
|
|
249
398
|
example: true
|
|
250
399
|
}
|
|
251
400
|
},
|
|
252
|
-
required: [
|
|
401
|
+
required: [
|
|
402
|
+
'values',
|
|
403
|
+
'version_channel',
|
|
404
|
+
'name',
|
|
405
|
+
'namespace',
|
|
406
|
+
'chart',
|
|
407
|
+
'status',
|
|
408
|
+
'version_current',
|
|
409
|
+
'created_at',
|
|
410
|
+
'updated_at',
|
|
411
|
+
'ready'
|
|
412
|
+
],
|
|
253
413
|
additionalProperties: false
|
|
254
414
|
};
|
|
255
415
|
export const ChartUpdateInputSchema = {
|
|
@@ -257,16 +417,19 @@ export const ChartUpdateInputSchema = {
|
|
|
257
417
|
properties: {
|
|
258
418
|
values: {
|
|
259
419
|
type: 'string',
|
|
260
|
-
description: 'Values to be used in the chart.'
|
|
420
|
+
description: 'Values to be used in the chart encoded as a JSON string.'
|
|
261
421
|
},
|
|
262
422
|
version_channel: {
|
|
263
423
|
type: 'string',
|
|
264
424
|
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-]+)*))?$',
|
|
265
|
-
description: '
|
|
425
|
+
description: 'Desired version range or channel for the chart.',
|
|
266
426
|
example: '2.x.x-cfke.x'
|
|
267
427
|
}
|
|
268
428
|
},
|
|
269
|
-
required: [
|
|
429
|
+
required: [
|
|
430
|
+
'values',
|
|
431
|
+
'version_channel'
|
|
432
|
+
],
|
|
270
433
|
additionalProperties: false
|
|
271
434
|
};
|
|
272
435
|
export const ClusterCreateInputSchema = {
|
|
@@ -280,28 +443,45 @@ export const ClusterCreateInputSchema = {
|
|
|
280
443
|
description: 'Name of the cluster.',
|
|
281
444
|
example: 'production-cluster'
|
|
282
445
|
},
|
|
283
|
-
region: {
|
|
284
|
-
type: 'string',
|
|
285
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
286
|
-
default: 'staging',
|
|
287
|
-
example: 'northamerica-central-1',
|
|
288
|
-
enum: ['staging', 'northamerica-central-1']
|
|
289
|
-
},
|
|
290
446
|
tier: {
|
|
291
447
|
type: 'string',
|
|
292
448
|
description: 'Tier of the cluster.',
|
|
293
449
|
example: 'pro',
|
|
294
|
-
enum: [
|
|
450
|
+
enum: [
|
|
451
|
+
'basic',
|
|
452
|
+
'pro'
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
region: {
|
|
456
|
+
type: 'string',
|
|
457
|
+
description: 'Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
|
|
458
|
+
default: 'staging-1a',
|
|
459
|
+
example: 'northamerica-central-1a',
|
|
460
|
+
enum: [
|
|
461
|
+
'staging-1a',
|
|
462
|
+
'northamerica-central-1',
|
|
463
|
+
'europe-central-1a',
|
|
464
|
+
'northamerica-central-1a'
|
|
465
|
+
]
|
|
295
466
|
},
|
|
296
467
|
version_channel: {
|
|
297
468
|
type: 'string',
|
|
298
469
|
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-]+)*))?$',
|
|
299
470
|
description: 'Version of the kubernetes cluster.',
|
|
300
471
|
default: '1.x.x-cfke.x',
|
|
301
|
-
example: '1.
|
|
472
|
+
example: '1.x.x-cfke.x',
|
|
473
|
+
enum: [
|
|
474
|
+
'1.x.x-cfke.x',
|
|
475
|
+
'1.31.x-cfke.x',
|
|
476
|
+
'1.32.x-cfke.x',
|
|
477
|
+
'1.33.x-cfke.x'
|
|
478
|
+
]
|
|
302
479
|
}
|
|
303
480
|
},
|
|
304
|
-
required: [
|
|
481
|
+
required: [
|
|
482
|
+
'name',
|
|
483
|
+
'tier'
|
|
484
|
+
],
|
|
305
485
|
additionalProperties: false
|
|
306
486
|
};
|
|
307
487
|
export const ClusterJoinInformationSchema = {
|
|
@@ -310,8 +490,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
310
490
|
certificate_authority: {
|
|
311
491
|
type: 'string',
|
|
312
492
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
313
|
-
example:
|
|
314
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
493
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
315
494
|
},
|
|
316
495
|
endpoint: {
|
|
317
496
|
type: 'string',
|
|
@@ -319,6 +498,11 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
319
498
|
description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
|
|
320
499
|
example: 'https://10.31.64.7:6443'
|
|
321
500
|
},
|
|
501
|
+
cluster_dns: {
|
|
502
|
+
type: 'string',
|
|
503
|
+
description: 'Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.',
|
|
504
|
+
example: '10.96.0.10'
|
|
505
|
+
},
|
|
322
506
|
auth_key: {
|
|
323
507
|
type: 'string',
|
|
324
508
|
description: 'Authentication key for the cluster.',
|
|
@@ -335,7 +519,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
335
519
|
kubernetes: {
|
|
336
520
|
type: 'string',
|
|
337
521
|
description: 'Kubernetes version of the cluster.',
|
|
338
|
-
example: '1.
|
|
522
|
+
example: '1.33.7'
|
|
339
523
|
},
|
|
340
524
|
tailscale: {
|
|
341
525
|
type: 'string',
|
|
@@ -346,9 +530,19 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
346
530
|
type: 'string',
|
|
347
531
|
description: 'Containerd version of the cluster.',
|
|
348
532
|
example: '1.7.19'
|
|
533
|
+
},
|
|
534
|
+
nvidia_driver: {
|
|
535
|
+
type: 'string',
|
|
536
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
537
|
+
example: '565.0.0'
|
|
349
538
|
}
|
|
350
539
|
},
|
|
351
|
-
required: [
|
|
540
|
+
required: [
|
|
541
|
+
'kubernetes',
|
|
542
|
+
'tailscale',
|
|
543
|
+
'containerd',
|
|
544
|
+
'nvidia_driver'
|
|
545
|
+
],
|
|
352
546
|
additionalProperties: false,
|
|
353
547
|
description: 'Versions of the different components of the cluster.'
|
|
354
548
|
},
|
|
@@ -371,12 +565,24 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
371
565
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
372
566
|
}
|
|
373
567
|
},
|
|
374
|
-
required: [
|
|
568
|
+
required: [
|
|
569
|
+
'metadata_url',
|
|
570
|
+
'aws_role_arn',
|
|
571
|
+
'gcp_workload_identity_provider'
|
|
572
|
+
],
|
|
375
573
|
additionalProperties: false,
|
|
376
|
-
description:
|
|
574
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
377
575
|
}
|
|
378
576
|
},
|
|
379
|
-
required: [
|
|
577
|
+
required: [
|
|
578
|
+
'certificate_authority',
|
|
579
|
+
'endpoint',
|
|
580
|
+
'cluster_dns',
|
|
581
|
+
'auth_key',
|
|
582
|
+
'bootstrap_token',
|
|
583
|
+
'versions',
|
|
584
|
+
'third_party_api_access_config'
|
|
585
|
+
],
|
|
380
586
|
additionalProperties: false
|
|
381
587
|
};
|
|
382
588
|
export const ClusterSchema = {
|
|
@@ -390,25 +596,26 @@ export const ClusterSchema = {
|
|
|
390
596
|
description: 'Name of the cluster.',
|
|
391
597
|
example: 'production-cluster'
|
|
392
598
|
},
|
|
393
|
-
region: {
|
|
394
|
-
type: 'string',
|
|
395
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
396
|
-
default: 'staging',
|
|
397
|
-
example: 'northamerica-central-1',
|
|
398
|
-
enum: ['staging', 'northamerica-central-1']
|
|
399
|
-
},
|
|
400
599
|
tier: {
|
|
401
600
|
type: 'string',
|
|
402
601
|
description: 'Tier of the cluster.',
|
|
403
602
|
example: 'pro',
|
|
404
|
-
enum: [
|
|
603
|
+
enum: [
|
|
604
|
+
'basic',
|
|
605
|
+
'pro'
|
|
606
|
+
]
|
|
405
607
|
},
|
|
406
|
-
|
|
608
|
+
region: {
|
|
407
609
|
type: 'string',
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
610
|
+
description: 'Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
|
|
611
|
+
default: 'staging-1a',
|
|
612
|
+
example: 'northamerica-central-1a',
|
|
613
|
+
enum: [
|
|
614
|
+
'staging-1a',
|
|
615
|
+
'northamerica-central-1',
|
|
616
|
+
'europe-central-1a',
|
|
617
|
+
'northamerica-central-1a'
|
|
618
|
+
]
|
|
412
619
|
},
|
|
413
620
|
id: {
|
|
414
621
|
type: 'string',
|
|
@@ -420,7 +627,15 @@ export const ClusterSchema = {
|
|
|
420
627
|
type: 'string',
|
|
421
628
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
422
629
|
example: 'active',
|
|
423
|
-
enum: [
|
|
630
|
+
enum: [
|
|
631
|
+
'active',
|
|
632
|
+
'disabled',
|
|
633
|
+
'deleted',
|
|
634
|
+
'creating',
|
|
635
|
+
'deployed',
|
|
636
|
+
'failed',
|
|
637
|
+
'updating'
|
|
638
|
+
]
|
|
424
639
|
},
|
|
425
640
|
endpoint: {
|
|
426
641
|
anyOf: [
|
|
@@ -432,20 +647,21 @@ export const ClusterSchema = {
|
|
|
432
647
|
},
|
|
433
648
|
{
|
|
434
649
|
type: 'string',
|
|
435
|
-
enum: [
|
|
650
|
+
enum: [
|
|
651
|
+
''
|
|
652
|
+
]
|
|
436
653
|
}
|
|
437
654
|
]
|
|
438
655
|
},
|
|
439
656
|
certificate_ca: {
|
|
440
657
|
type: 'string',
|
|
441
658
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
442
|
-
example:
|
|
443
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
659
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
444
660
|
},
|
|
445
661
|
version_current: {
|
|
446
662
|
type: 'string',
|
|
447
663
|
description: 'Current version of the cluster.',
|
|
448
|
-
example: '1.
|
|
664
|
+
example: '1.33.7-cfke.264'
|
|
449
665
|
},
|
|
450
666
|
created_at: {
|
|
451
667
|
type: 'string',
|
|
@@ -461,9 +677,20 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
461
677
|
type: 'boolean',
|
|
462
678
|
description: 'Indicates if the cluster is ready to be used.',
|
|
463
679
|
example: true
|
|
680
|
+
},
|
|
681
|
+
version_channel: {
|
|
682
|
+
type: 'string',
|
|
683
|
+
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-]+)*))?$',
|
|
684
|
+
description: 'Version of the kubernetes cluster.',
|
|
685
|
+
example: '1.x.x-cfke.x'
|
|
464
686
|
}
|
|
465
687
|
},
|
|
466
|
-
required: [
|
|
688
|
+
required: [
|
|
689
|
+
'name',
|
|
690
|
+
'tier',
|
|
691
|
+
'id',
|
|
692
|
+
'status'
|
|
693
|
+
],
|
|
467
694
|
additionalProperties: false
|
|
468
695
|
};
|
|
469
696
|
export const ClusterUpdateInputSchema = {
|
|
@@ -477,13 +704,25 @@ export const ClusterUpdateInputSchema = {
|
|
|
477
704
|
description: 'Name of the cluster.',
|
|
478
705
|
example: 'production-cluster'
|
|
479
706
|
},
|
|
707
|
+
tier: {
|
|
708
|
+
type: 'string',
|
|
709
|
+
description: 'Tier of the cluster.',
|
|
710
|
+
example: 'pro',
|
|
711
|
+
enum: [
|
|
712
|
+
'basic',
|
|
713
|
+
'pro'
|
|
714
|
+
]
|
|
715
|
+
},
|
|
480
716
|
version_channel: {
|
|
481
717
|
type: 'string',
|
|
482
718
|
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-]+)*))?$',
|
|
483
719
|
description: 'Version of the kubernetes cluster.',
|
|
484
|
-
example: '1.
|
|
720
|
+
example: '1.x.x-cfke.x'
|
|
485
721
|
}
|
|
486
722
|
},
|
|
723
|
+
required: [
|
|
724
|
+
'tier'
|
|
725
|
+
],
|
|
487
726
|
additionalProperties: false
|
|
488
727
|
};
|
|
489
728
|
export const FleetCreateInputSchema = {
|
|
@@ -499,7 +738,9 @@ export const FleetCreateInputSchema = {
|
|
|
499
738
|
description: 'CPU limit in cores.'
|
|
500
739
|
}
|
|
501
740
|
},
|
|
502
|
-
required: [
|
|
741
|
+
required: [
|
|
742
|
+
'cpu'
|
|
743
|
+
],
|
|
503
744
|
additionalProperties: false,
|
|
504
745
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
505
746
|
},
|
|
@@ -515,38 +756,27 @@ export const FleetCreateInputSchema = {
|
|
|
515
756
|
description: 'Project GCP Project id to deploy instances into'
|
|
516
757
|
}
|
|
517
758
|
},
|
|
518
|
-
required: [
|
|
759
|
+
required: [
|
|
760
|
+
'project'
|
|
761
|
+
],
|
|
519
762
|
additionalProperties: false
|
|
520
763
|
},
|
|
521
764
|
hetzner: {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
type: 'boolean',
|
|
528
|
-
default: true
|
|
529
|
-
},
|
|
530
|
-
apiKey: {
|
|
531
|
-
type: 'string'
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
additionalProperties: false
|
|
765
|
+
type: 'object',
|
|
766
|
+
properties: {
|
|
767
|
+
enabled: {
|
|
768
|
+
type: 'boolean',
|
|
769
|
+
default: true
|
|
535
770
|
},
|
|
536
|
-
{
|
|
537
|
-
type: '
|
|
538
|
-
|
|
539
|
-
apiKey: {
|
|
540
|
-
type: 'string'
|
|
541
|
-
},
|
|
542
|
-
enabled: {
|
|
543
|
-
type: 'boolean',
|
|
544
|
-
default: true
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
additionalProperties: false
|
|
771
|
+
apiKey: {
|
|
772
|
+
type: 'string',
|
|
773
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
548
774
|
}
|
|
549
|
-
|
|
775
|
+
},
|
|
776
|
+
required: [
|
|
777
|
+
'apiKey'
|
|
778
|
+
],
|
|
779
|
+
additionalProperties: false
|
|
550
780
|
},
|
|
551
781
|
aws: {
|
|
552
782
|
type: 'object',
|
|
@@ -560,7 +790,9 @@ export const FleetCreateInputSchema = {
|
|
|
560
790
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
561
791
|
}
|
|
562
792
|
},
|
|
563
|
-
required: [
|
|
793
|
+
required: [
|
|
794
|
+
'controllerRoleArn'
|
|
795
|
+
],
|
|
564
796
|
additionalProperties: false
|
|
565
797
|
},
|
|
566
798
|
id: {
|
|
@@ -570,14 +802,11 @@ export const FleetCreateInputSchema = {
|
|
|
570
802
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
571
803
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
572
804
|
example: 'new-clouds-fleet'
|
|
573
|
-
},
|
|
574
|
-
type: {
|
|
575
|
-
type: 'string',
|
|
576
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
577
|
-
enum: ['managed', 'connected']
|
|
578
805
|
}
|
|
579
806
|
},
|
|
580
|
-
required: [
|
|
807
|
+
required: [
|
|
808
|
+
'id'
|
|
809
|
+
],
|
|
581
810
|
additionalProperties: false
|
|
582
811
|
};
|
|
583
812
|
export const FleetSchema = {
|
|
@@ -593,7 +822,9 @@ export const FleetSchema = {
|
|
|
593
822
|
description: 'CPU limit in cores.'
|
|
594
823
|
}
|
|
595
824
|
},
|
|
596
|
-
required: [
|
|
825
|
+
required: [
|
|
826
|
+
'cpu'
|
|
827
|
+
],
|
|
597
828
|
additionalProperties: false,
|
|
598
829
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
599
830
|
},
|
|
@@ -609,38 +840,27 @@ export const FleetSchema = {
|
|
|
609
840
|
description: 'Project GCP Project id to deploy instances into'
|
|
610
841
|
}
|
|
611
842
|
},
|
|
612
|
-
required: [
|
|
843
|
+
required: [
|
|
844
|
+
'project'
|
|
845
|
+
],
|
|
613
846
|
additionalProperties: false
|
|
614
847
|
},
|
|
615
848
|
hetzner: {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
type: 'boolean',
|
|
622
|
-
default: true
|
|
623
|
-
},
|
|
624
|
-
apiKey: {
|
|
625
|
-
type: 'string'
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
additionalProperties: false
|
|
849
|
+
type: 'object',
|
|
850
|
+
properties: {
|
|
851
|
+
enabled: {
|
|
852
|
+
type: 'boolean',
|
|
853
|
+
default: true
|
|
629
854
|
},
|
|
630
|
-
{
|
|
631
|
-
type: '
|
|
632
|
-
|
|
633
|
-
apiKey: {
|
|
634
|
-
type: 'string'
|
|
635
|
-
},
|
|
636
|
-
enabled: {
|
|
637
|
-
type: 'boolean',
|
|
638
|
-
default: true
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
additionalProperties: false
|
|
855
|
+
apiKey: {
|
|
856
|
+
type: 'string',
|
|
857
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
642
858
|
}
|
|
643
|
-
|
|
859
|
+
},
|
|
860
|
+
required: [
|
|
861
|
+
'apiKey'
|
|
862
|
+
],
|
|
863
|
+
additionalProperties: false
|
|
644
864
|
},
|
|
645
865
|
aws: {
|
|
646
866
|
type: 'object',
|
|
@@ -654,7 +874,9 @@ export const FleetSchema = {
|
|
|
654
874
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
655
875
|
}
|
|
656
876
|
},
|
|
657
|
-
required: [
|
|
877
|
+
required: [
|
|
878
|
+
'controllerRoleArn'
|
|
879
|
+
],
|
|
658
880
|
additionalProperties: false
|
|
659
881
|
},
|
|
660
882
|
id: {
|
|
@@ -664,14 +886,11 @@ export const FleetSchema = {
|
|
|
664
886
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
665
887
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
666
888
|
example: 'new-clouds-fleet'
|
|
667
|
-
},
|
|
668
|
-
type: {
|
|
669
|
-
type: 'string',
|
|
670
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
671
|
-
enum: ['managed', 'connected']
|
|
672
889
|
}
|
|
673
890
|
},
|
|
674
|
-
required: [
|
|
891
|
+
required: [
|
|
892
|
+
'id'
|
|
893
|
+
],
|
|
675
894
|
additionalProperties: false
|
|
676
895
|
};
|
|
677
896
|
export const FleetUpdateInputSchema = {
|
|
@@ -687,7 +906,9 @@ export const FleetUpdateInputSchema = {
|
|
|
687
906
|
description: 'CPU limit in cores.'
|
|
688
907
|
}
|
|
689
908
|
},
|
|
690
|
-
required: [
|
|
909
|
+
required: [
|
|
910
|
+
'cpu'
|
|
911
|
+
],
|
|
691
912
|
additionalProperties: false,
|
|
692
913
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
693
914
|
},
|
|
@@ -703,38 +924,27 @@ export const FleetUpdateInputSchema = {
|
|
|
703
924
|
description: 'Project GCP Project id to deploy instances into'
|
|
704
925
|
}
|
|
705
926
|
},
|
|
706
|
-
required: [
|
|
927
|
+
required: [
|
|
928
|
+
'project'
|
|
929
|
+
],
|
|
707
930
|
additionalProperties: false
|
|
708
931
|
},
|
|
709
932
|
hetzner: {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
type: 'boolean',
|
|
716
|
-
default: true
|
|
717
|
-
},
|
|
718
|
-
apiKey: {
|
|
719
|
-
type: 'string'
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
additionalProperties: false
|
|
933
|
+
type: 'object',
|
|
934
|
+
properties: {
|
|
935
|
+
enabled: {
|
|
936
|
+
type: 'boolean',
|
|
937
|
+
default: true
|
|
723
938
|
},
|
|
724
|
-
{
|
|
725
|
-
type: '
|
|
726
|
-
|
|
727
|
-
apiKey: {
|
|
728
|
-
type: 'string'
|
|
729
|
-
},
|
|
730
|
-
enabled: {
|
|
731
|
-
type: 'boolean',
|
|
732
|
-
default: true
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
additionalProperties: false
|
|
939
|
+
apiKey: {
|
|
940
|
+
type: 'string',
|
|
941
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
736
942
|
}
|
|
737
|
-
|
|
943
|
+
},
|
|
944
|
+
required: [
|
|
945
|
+
'apiKey'
|
|
946
|
+
],
|
|
947
|
+
additionalProperties: false
|
|
738
948
|
},
|
|
739
949
|
aws: {
|
|
740
950
|
type: 'object',
|
|
@@ -748,7 +958,9 @@ export const FleetUpdateInputSchema = {
|
|
|
748
958
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
749
959
|
}
|
|
750
960
|
},
|
|
751
|
-
required: [
|
|
961
|
+
required: [
|
|
962
|
+
'controllerRoleArn'
|
|
963
|
+
],
|
|
752
964
|
additionalProperties: false
|
|
753
965
|
}
|
|
754
966
|
},
|
|
@@ -786,7 +998,9 @@ export const InviteSchema = {
|
|
|
786
998
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
787
999
|
}
|
|
788
1000
|
},
|
|
789
|
-
required: [
|
|
1001
|
+
required: [
|
|
1002
|
+
'date_created'
|
|
1003
|
+
],
|
|
790
1004
|
additionalProperties: false
|
|
791
1005
|
};
|
|
792
1006
|
export const InvoiceSchema = {
|
|
@@ -794,23 +1008,18 @@ export const InvoiceSchema = {
|
|
|
794
1008
|
properties: {
|
|
795
1009
|
id: {
|
|
796
1010
|
type: 'string',
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1011
|
+
description: 'Unique identifier of the invoice.',
|
|
1012
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
800
1013
|
},
|
|
801
|
-
|
|
802
|
-
type: 'string'
|
|
803
|
-
format: 'uuid',
|
|
804
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
805
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1014
|
+
number: {
|
|
1015
|
+
type: 'string'
|
|
806
1016
|
},
|
|
807
1017
|
status: {
|
|
808
1018
|
type: 'string',
|
|
809
1019
|
description: 'Status of the invoice',
|
|
810
|
-
example: '
|
|
811
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
1020
|
+
example: 'paid'
|
|
812
1021
|
},
|
|
813
|
-
|
|
1022
|
+
total: {
|
|
814
1023
|
type: 'number',
|
|
815
1024
|
format: 'float',
|
|
816
1025
|
description: 'Total amount of the invoice',
|
|
@@ -819,413 +1028,189 @@ export const InvoiceSchema = {
|
|
|
819
1028
|
currency: {
|
|
820
1029
|
type: 'string',
|
|
821
1030
|
description: 'Currency of the invoice',
|
|
822
|
-
example: '
|
|
823
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
824
|
-
},
|
|
825
|
-
creditAdj: {
|
|
826
|
-
type: 'number',
|
|
827
|
-
format: 'float',
|
|
828
|
-
description: 'Total amount of credit adjustments',
|
|
829
|
-
example: 0
|
|
1031
|
+
example: 'usd'
|
|
830
1032
|
},
|
|
831
|
-
|
|
832
|
-
type: '
|
|
833
|
-
format: '
|
|
834
|
-
description: '
|
|
835
|
-
example:
|
|
1033
|
+
created: {
|
|
1034
|
+
type: 'string',
|
|
1035
|
+
format: 'date-time',
|
|
1036
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
1037
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
836
1038
|
},
|
|
837
|
-
|
|
1039
|
+
period_start: {
|
|
838
1040
|
type: 'string',
|
|
839
|
-
|
|
840
|
-
|
|
1041
|
+
format: 'date-time',
|
|
1042
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1043
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
841
1044
|
},
|
|
842
|
-
|
|
1045
|
+
period_end: {
|
|
843
1046
|
type: 'string',
|
|
844
|
-
|
|
845
|
-
|
|
1047
|
+
format: 'date-time',
|
|
1048
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
1049
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
846
1050
|
},
|
|
847
|
-
|
|
1051
|
+
invoice_pdf: {
|
|
1052
|
+
type: 'string'
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
required: [
|
|
1056
|
+
'created',
|
|
1057
|
+
'period_start',
|
|
1058
|
+
'period_end'
|
|
1059
|
+
],
|
|
1060
|
+
additionalProperties: false
|
|
1061
|
+
};
|
|
1062
|
+
export const MarketplaceListingFilesSchema = {
|
|
1063
|
+
type: 'object',
|
|
1064
|
+
properties: {
|
|
1065
|
+
chartYaml: {
|
|
848
1066
|
type: 'string',
|
|
849
|
-
description: '
|
|
850
|
-
example: '
|
|
1067
|
+
description: 'Raw Chart.yaml content from the Helm chart',
|
|
1068
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
851
1069
|
},
|
|
852
|
-
|
|
853
|
-
type: '
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
example: 100
|
|
1070
|
+
valuesYaml: {
|
|
1071
|
+
type: 'string',
|
|
1072
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
1073
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
857
1074
|
},
|
|
858
|
-
|
|
1075
|
+
valuesSchemaJson: {
|
|
1076
|
+
type: 'string',
|
|
1077
|
+
description: 'JSON schema for values.yaml as a string',
|
|
1078
|
+
example: '{"type":"object","properties":{"replicaCount":{"type":"number"}}}'
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
additionalProperties: false
|
|
1082
|
+
};
|
|
1083
|
+
export const MarketplaceListingSchema = {
|
|
1084
|
+
type: 'object',
|
|
1085
|
+
properties: {
|
|
1086
|
+
name: {
|
|
859
1087
|
type: 'string',
|
|
860
|
-
description: '
|
|
861
|
-
example: '
|
|
1088
|
+
description: 'Name of the chart',
|
|
1089
|
+
example: 'nginx-ingress'
|
|
862
1090
|
},
|
|
863
|
-
|
|
1091
|
+
versions: {
|
|
864
1092
|
type: 'array',
|
|
865
1093
|
items: {
|
|
866
|
-
type: '
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
format: 'uuid',
|
|
871
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
872
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
873
|
-
},
|
|
874
|
-
linkedInvoiceItemId: {
|
|
875
|
-
type: 'string',
|
|
876
|
-
format: 'uuid',
|
|
877
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
878
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
879
|
-
},
|
|
880
|
-
productName: {
|
|
881
|
-
type: 'string',
|
|
882
|
-
description: 'Name of the product',
|
|
883
|
-
example: 'Research team'
|
|
884
|
-
},
|
|
885
|
-
planName: {
|
|
886
|
-
type: 'string',
|
|
887
|
-
description: 'Name of the plan',
|
|
888
|
-
example: 'Plan A'
|
|
889
|
-
},
|
|
890
|
-
phaseName: {
|
|
891
|
-
type: 'string',
|
|
892
|
-
description: 'Name of the phase',
|
|
893
|
-
example: 'Phase A'
|
|
894
|
-
},
|
|
895
|
-
usageName: {
|
|
896
|
-
type: 'string',
|
|
897
|
-
description: 'Name of the usage',
|
|
898
|
-
example: 'Usage A'
|
|
899
|
-
},
|
|
900
|
-
prettyProductName: {
|
|
901
|
-
type: 'string',
|
|
902
|
-
description: 'Pretty name of the product',
|
|
903
|
-
example: 'Research team'
|
|
904
|
-
},
|
|
905
|
-
prettyPlanName: {
|
|
906
|
-
type: 'string',
|
|
907
|
-
description: 'Pretty name of the plan',
|
|
908
|
-
example: 'Plan A'
|
|
909
|
-
},
|
|
910
|
-
prettyPhaseName: {
|
|
911
|
-
type: 'string',
|
|
912
|
-
description: 'Pretty name of the phase',
|
|
913
|
-
example: 'Phase A'
|
|
914
|
-
},
|
|
915
|
-
prettyUsageName: {
|
|
916
|
-
type: 'string',
|
|
917
|
-
description: 'Pretty name of the usage',
|
|
918
|
-
example: 'Usage A'
|
|
919
|
-
},
|
|
920
|
-
itemType: {
|
|
921
|
-
type: 'string',
|
|
922
|
-
description: 'Type of the invoice item',
|
|
923
|
-
example: 'EXTERNAL_CHARGE',
|
|
924
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
925
|
-
},
|
|
926
|
-
description: {
|
|
927
|
-
type: 'string',
|
|
928
|
-
description: 'Description of the invoice item',
|
|
929
|
-
example: 'Description of the invoice item'
|
|
930
|
-
},
|
|
931
|
-
startDate: {
|
|
932
|
-
type: 'string',
|
|
933
|
-
description: 'Start date of the invoice item',
|
|
934
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
935
|
-
},
|
|
936
|
-
endDate: {
|
|
937
|
-
type: 'string',
|
|
938
|
-
description: 'End date of the invoice item',
|
|
939
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
940
|
-
},
|
|
941
|
-
amount: {
|
|
942
|
-
type: 'number',
|
|
943
|
-
format: 'float',
|
|
944
|
-
description: 'Amount of the invoice item',
|
|
945
|
-
example: 100
|
|
946
|
-
},
|
|
947
|
-
rate: {
|
|
948
|
-
type: 'number',
|
|
949
|
-
format: 'float',
|
|
950
|
-
description: 'Rate of the invoice item',
|
|
951
|
-
example: 100
|
|
952
|
-
},
|
|
953
|
-
currency: {
|
|
954
|
-
type: 'string',
|
|
955
|
-
description: 'Currency of the invoice item',
|
|
956
|
-
example: 'USD',
|
|
957
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
958
|
-
},
|
|
959
|
-
quantity: {
|
|
960
|
-
type: 'number',
|
|
961
|
-
format: 'float',
|
|
962
|
-
description: 'Quantity of the invoice item',
|
|
963
|
-
example: 1
|
|
964
|
-
},
|
|
965
|
-
itemDetails: {
|
|
966
|
-
type: 'string',
|
|
967
|
-
description: 'Details of the invoice item',
|
|
968
|
-
example: 'Details of the invoice item'
|
|
969
|
-
},
|
|
970
|
-
catalogEffectiveDate: {
|
|
971
|
-
type: 'string',
|
|
972
|
-
description: 'Effective date of the catalog',
|
|
973
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
974
|
-
},
|
|
975
|
-
childItems: {
|
|
976
|
-
type: 'array',
|
|
977
|
-
items: {
|
|
978
|
-
oneOf: [
|
|
979
|
-
{
|
|
980
|
-
type: 'array'
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
type: 'boolean'
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
type: 'number'
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
type: 'object',
|
|
990
|
-
additionalProperties: true
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
type: 'string'
|
|
994
|
-
}
|
|
995
|
-
]
|
|
996
|
-
},
|
|
997
|
-
description: 'Child items of the invoice item'
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
additionalProperties: false
|
|
1094
|
+
type: 'string',
|
|
1095
|
+
pattern: '^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(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-]+)*))?$',
|
|
1096
|
+
description: 'Specific version of the chart',
|
|
1097
|
+
example: '1.18.2-cfke.45'
|
|
1001
1098
|
},
|
|
1002
|
-
description: '
|
|
1099
|
+
description: 'Available versions of the chart'
|
|
1003
1100
|
},
|
|
1004
|
-
|
|
1101
|
+
version_channels: {
|
|
1005
1102
|
type: 'array',
|
|
1006
1103
|
items: {
|
|
1007
|
-
type: '
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1104
|
+
type: 'string',
|
|
1105
|
+
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-]+)*))?$',
|
|
1106
|
+
description: 'Version channel pattern',
|
|
1107
|
+
example: '1.18.x-cfke.x'
|
|
1108
|
+
},
|
|
1109
|
+
description: 'Version channels for the chart'
|
|
1110
|
+
},
|
|
1111
|
+
latestVersion: {
|
|
1112
|
+
type: 'string',
|
|
1113
|
+
description: 'Latest version of the chart',
|
|
1114
|
+
example: '1.18.2-cfke.45'
|
|
1115
|
+
},
|
|
1116
|
+
metadata: {
|
|
1117
|
+
type: 'object',
|
|
1118
|
+
properties: {
|
|
1119
|
+
name: {
|
|
1120
|
+
type: 'string',
|
|
1121
|
+
description: 'Chart name from metadata',
|
|
1122
|
+
example: 'nginx-ingress'
|
|
1123
|
+
},
|
|
1124
|
+
version: {
|
|
1125
|
+
type: 'string',
|
|
1126
|
+
description: 'Chart version from metadata',
|
|
1127
|
+
example: '1.18.2-cfke.45'
|
|
1128
|
+
},
|
|
1129
|
+
description: {
|
|
1130
|
+
type: 'string',
|
|
1131
|
+
description: 'Chart description',
|
|
1132
|
+
example: 'NGINX Ingress Controller for Kubernetes'
|
|
1133
|
+
},
|
|
1134
|
+
appVersion: {
|
|
1135
|
+
type: 'string',
|
|
1136
|
+
description: 'Application version',
|
|
1137
|
+
example: '1.9.4'
|
|
1138
|
+
},
|
|
1139
|
+
apiVersion: {
|
|
1140
|
+
type: 'string',
|
|
1141
|
+
description: 'Helm API version',
|
|
1142
|
+
example: 'v2'
|
|
1143
|
+
},
|
|
1144
|
+
keywords: {
|
|
1145
|
+
type: 'array',
|
|
1146
|
+
items: {
|
|
1147
|
+
type: 'string'
|
|
1014
1148
|
},
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
productName: {
|
|
1022
|
-
type: 'string',
|
|
1023
|
-
description: 'Name of the product',
|
|
1024
|
-
example: 'Research team'
|
|
1025
|
-
},
|
|
1026
|
-
planName: {
|
|
1027
|
-
type: 'string',
|
|
1028
|
-
description: 'Name of the plan',
|
|
1029
|
-
example: 'Plan A'
|
|
1030
|
-
},
|
|
1031
|
-
phaseName: {
|
|
1032
|
-
type: 'string',
|
|
1033
|
-
description: 'Name of the phase',
|
|
1034
|
-
example: 'Phase A'
|
|
1035
|
-
},
|
|
1036
|
-
usageName: {
|
|
1037
|
-
type: 'string',
|
|
1038
|
-
description: 'Name of the usage',
|
|
1039
|
-
example: 'Usage A'
|
|
1040
|
-
},
|
|
1041
|
-
prettyProductName: {
|
|
1042
|
-
type: 'string',
|
|
1043
|
-
description: 'Pretty name of the product',
|
|
1044
|
-
example: 'Research team'
|
|
1045
|
-
},
|
|
1046
|
-
prettyPlanName: {
|
|
1047
|
-
type: 'string',
|
|
1048
|
-
description: 'Pretty name of the plan',
|
|
1049
|
-
example: 'Plan A'
|
|
1050
|
-
},
|
|
1051
|
-
prettyPhaseName: {
|
|
1052
|
-
type: 'string',
|
|
1053
|
-
description: 'Pretty name of the phase',
|
|
1054
|
-
example: 'Phase A'
|
|
1055
|
-
},
|
|
1056
|
-
prettyUsageName: {
|
|
1057
|
-
type: 'string',
|
|
1058
|
-
description: 'Pretty name of the usage',
|
|
1059
|
-
example: 'Usage A'
|
|
1060
|
-
},
|
|
1061
|
-
itemType: {
|
|
1062
|
-
type: 'string',
|
|
1063
|
-
description: 'Type of the invoice item',
|
|
1064
|
-
example: 'EXTERNAL_CHARGE',
|
|
1065
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1066
|
-
},
|
|
1067
|
-
description: {
|
|
1068
|
-
type: 'string',
|
|
1069
|
-
description: 'Description of the invoice item',
|
|
1070
|
-
example: 'Description of the invoice item'
|
|
1071
|
-
},
|
|
1072
|
-
startDate: {
|
|
1073
|
-
type: 'string',
|
|
1074
|
-
description: 'Start date of the invoice item',
|
|
1075
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1076
|
-
},
|
|
1077
|
-
endDate: {
|
|
1078
|
-
type: 'string',
|
|
1079
|
-
description: 'End date of the invoice item',
|
|
1080
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1081
|
-
},
|
|
1082
|
-
amount: {
|
|
1083
|
-
type: 'number',
|
|
1084
|
-
format: 'float',
|
|
1085
|
-
description: 'Amount of the invoice item',
|
|
1086
|
-
example: 100
|
|
1087
|
-
},
|
|
1088
|
-
rate: {
|
|
1089
|
-
type: 'number',
|
|
1090
|
-
format: 'float',
|
|
1091
|
-
description: 'Rate of the invoice item',
|
|
1092
|
-
example: 100
|
|
1093
|
-
},
|
|
1094
|
-
currency: {
|
|
1095
|
-
type: 'string',
|
|
1096
|
-
description: 'Currency of the invoice item',
|
|
1097
|
-
example: 'USD',
|
|
1098
|
-
enum: ['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LTL', 'LVL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL', 'SRD', 'STD', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD', 'BTC']
|
|
1099
|
-
},
|
|
1100
|
-
quantity: {
|
|
1101
|
-
type: 'number',
|
|
1102
|
-
format: 'float',
|
|
1103
|
-
description: 'Quantity of the invoice item',
|
|
1104
|
-
example: 1
|
|
1105
|
-
},
|
|
1106
|
-
itemDetails: {
|
|
1107
|
-
type: 'string',
|
|
1108
|
-
description: 'Details of the invoice item',
|
|
1109
|
-
example: 'Details of the invoice item'
|
|
1110
|
-
},
|
|
1111
|
-
catalogEffectiveDate: {
|
|
1112
|
-
type: 'string',
|
|
1113
|
-
description: 'Effective date of the catalog',
|
|
1114
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1115
|
-
},
|
|
1116
|
-
childItems: {
|
|
1117
|
-
type: 'array',
|
|
1118
|
-
items: {
|
|
1119
|
-
oneOf: [
|
|
1120
|
-
{
|
|
1121
|
-
type: 'array'
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
type: 'boolean'
|
|
1125
|
-
},
|
|
1126
|
-
{
|
|
1127
|
-
type: 'number'
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
type: 'object',
|
|
1131
|
-
additionalProperties: true
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
type: 'string'
|
|
1135
|
-
}
|
|
1136
|
-
]
|
|
1137
|
-
},
|
|
1138
|
-
description: 'Child items of the invoice item'
|
|
1139
|
-
}
|
|
1149
|
+
description: 'Chart keywords',
|
|
1150
|
+
example: [
|
|
1151
|
+
'ingress',
|
|
1152
|
+
'nginx',
|
|
1153
|
+
'load-balancer'
|
|
1154
|
+
]
|
|
1140
1155
|
},
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1156
|
-
description: 'Id of the chart listing',
|
|
1157
|
-
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1158
|
-
},
|
|
1159
|
-
name: {
|
|
1160
|
-
type: 'string',
|
|
1161
|
-
description: 'Name of the chart listing',
|
|
1162
|
-
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1163
|
-
},
|
|
1164
|
-
developer: {
|
|
1165
|
-
type: 'string',
|
|
1166
|
-
description: 'Author of the chart listing',
|
|
1167
|
-
example: 'Portworx'
|
|
1168
|
-
},
|
|
1169
|
-
description: {
|
|
1170
|
-
type: 'string',
|
|
1171
|
-
description: 'Short description of the chart listing',
|
|
1172
|
-
example: 'Run Kubernetes with unmatched scalability, availability, and self-service access to any storage'
|
|
1173
|
-
},
|
|
1174
|
-
logoUrl: {
|
|
1175
|
-
type: 'string',
|
|
1176
|
-
description: 'Logo of the chart listing',
|
|
1177
|
-
example: 'https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png'
|
|
1178
|
-
},
|
|
1179
|
-
longDescription: {
|
|
1180
|
-
type: 'string',
|
|
1181
|
-
description: 'Long description of the chart listing',
|
|
1182
|
-
example: 'Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....'
|
|
1183
|
-
},
|
|
1184
|
-
categories: {
|
|
1185
|
-
type: 'array',
|
|
1186
|
-
items: {
|
|
1187
|
-
type: 'string',
|
|
1188
|
-
example: 'AI & Machine Learning'
|
|
1189
|
-
},
|
|
1190
|
-
description: 'Tags of the chart'
|
|
1191
|
-
},
|
|
1192
|
-
version_channels: {
|
|
1193
|
-
type: 'array',
|
|
1194
|
-
items: {
|
|
1195
|
-
type: 'string',
|
|
1196
|
-
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-]+)*))?$',
|
|
1197
|
-
description: 'Version of the chart.',
|
|
1198
|
-
example: '2.x.x-cfke.x'
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
value_schemas: {
|
|
1202
|
-
type: 'array',
|
|
1203
|
-
items: {
|
|
1204
|
-
type: 'object',
|
|
1205
|
-
properties: {
|
|
1206
|
-
version: {
|
|
1207
|
-
type: 'string',
|
|
1208
|
-
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-]+)*))?$',
|
|
1209
|
-
description: 'Version of the chart.',
|
|
1210
|
-
example: '2.1.1-cfke.123'
|
|
1211
|
-
},
|
|
1212
|
-
schema: {
|
|
1213
|
-
type: 'string',
|
|
1214
|
-
description: 'Schema of the chart values. JSON Schema as string'
|
|
1156
|
+
home: {
|
|
1157
|
+
type: 'string',
|
|
1158
|
+
description: 'Chart home URL',
|
|
1159
|
+
example: 'https://kubernetes.github.io/ingress-nginx/'
|
|
1160
|
+
},
|
|
1161
|
+
icon: {
|
|
1162
|
+
type: 'string',
|
|
1163
|
+
description: 'A URL to an SVG or PNG image to be used as an icon',
|
|
1164
|
+
example: 'https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png'
|
|
1165
|
+
},
|
|
1166
|
+
sources: {
|
|
1167
|
+
type: 'array',
|
|
1168
|
+
items: {
|
|
1169
|
+
type: 'string'
|
|
1215
1170
|
},
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
bar: example`
|
|
1221
|
-
}
|
|
1171
|
+
description: 'Chart source URLs',
|
|
1172
|
+
example: [
|
|
1173
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
1174
|
+
]
|
|
1222
1175
|
},
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1176
|
+
maintainers: {
|
|
1177
|
+
type: 'array',
|
|
1178
|
+
items: {
|
|
1179
|
+
type: 'object',
|
|
1180
|
+
properties: {
|
|
1181
|
+
name: {
|
|
1182
|
+
type: 'string',
|
|
1183
|
+
description: 'Maintainer name',
|
|
1184
|
+
example: 'NGINX Team'
|
|
1185
|
+
},
|
|
1186
|
+
email: {
|
|
1187
|
+
type: 'string',
|
|
1188
|
+
description: 'Maintainer email',
|
|
1189
|
+
example: 'support@nginx.org'
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
required: [
|
|
1193
|
+
'name'
|
|
1194
|
+
],
|
|
1195
|
+
additionalProperties: false
|
|
1196
|
+
},
|
|
1197
|
+
description: 'Chart maintainers'
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
required: [
|
|
1201
|
+
'name',
|
|
1202
|
+
'version'
|
|
1203
|
+
],
|
|
1204
|
+
additionalProperties: false,
|
|
1205
|
+
description: 'Chart metadata'
|
|
1226
1206
|
}
|
|
1227
1207
|
},
|
|
1228
|
-
required: [
|
|
1208
|
+
required: [
|
|
1209
|
+
'name',
|
|
1210
|
+
'versions',
|
|
1211
|
+
'version_channels',
|
|
1212
|
+
'latestVersion'
|
|
1213
|
+
],
|
|
1229
1214
|
additionalProperties: false
|
|
1230
1215
|
};
|
|
1231
1216
|
export const OrganizationCreateInputSchema = {
|
|
@@ -1261,7 +1246,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
1261
1246
|
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.'
|
|
1262
1247
|
}
|
|
1263
1248
|
},
|
|
1264
|
-
required: [
|
|
1249
|
+
required: [
|
|
1250
|
+
'email',
|
|
1251
|
+
'first_name',
|
|
1252
|
+
'last_name',
|
|
1253
|
+
'company_name',
|
|
1254
|
+
'password'
|
|
1255
|
+
],
|
|
1265
1256
|
additionalProperties: false
|
|
1266
1257
|
};
|
|
1267
1258
|
export const OrganizationSchema = {
|
|
@@ -1317,12 +1308,6 @@ export const OrganizationSchema = {
|
|
|
1317
1308
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1318
1309
|
example: 999
|
|
1319
1310
|
},
|
|
1320
|
-
managed_fleets_cpu_max: {
|
|
1321
|
-
type: 'integer',
|
|
1322
|
-
minimum: 0,
|
|
1323
|
-
description: 'Maximum number of CPU cores per managed fleet.',
|
|
1324
|
-
example: 999
|
|
1325
|
-
},
|
|
1326
1311
|
cluster_tiers: {
|
|
1327
1312
|
type: 'array',
|
|
1328
1313
|
items: {
|
|
@@ -1349,32 +1334,74 @@ export const OrganizationSchema = {
|
|
|
1349
1334
|
id: {
|
|
1350
1335
|
type: 'string',
|
|
1351
1336
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1352
|
-
example: '1.
|
|
1337
|
+
example: '1.33.x-cfke.x'
|
|
1353
1338
|
},
|
|
1354
1339
|
label: {
|
|
1355
1340
|
type: 'string',
|
|
1356
1341
|
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1357
|
-
example: '1.
|
|
1342
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1358
1343
|
}
|
|
1359
1344
|
},
|
|
1360
|
-
required: [
|
|
1345
|
+
required: [
|
|
1346
|
+
'id',
|
|
1347
|
+
'label'
|
|
1348
|
+
],
|
|
1361
1349
|
additionalProperties: false
|
|
1362
1350
|
},
|
|
1363
1351
|
minItems: 1,
|
|
1364
1352
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1353
|
+
},
|
|
1354
|
+
copilot_user_hourly_tokens: {
|
|
1355
|
+
type: 'integer',
|
|
1356
|
+
minimum: 0,
|
|
1357
|
+
description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1358
|
+
example: 42000
|
|
1359
|
+
},
|
|
1360
|
+
copilot_organization_hourly_tokens: {
|
|
1361
|
+
type: 'integer',
|
|
1362
|
+
minimum: 0,
|
|
1363
|
+
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1364
|
+
example: 242000
|
|
1365
|
+
},
|
|
1366
|
+
cfcr_storage_gb: {
|
|
1367
|
+
type: 'integer',
|
|
1368
|
+
minimum: -1,
|
|
1369
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1370
|
+
example: 500
|
|
1365
1371
|
}
|
|
1366
1372
|
},
|
|
1367
|
-
required: [
|
|
1373
|
+
required: [
|
|
1374
|
+
'basic_clusters_max',
|
|
1375
|
+
'basic_clusters_available',
|
|
1376
|
+
'pro_clusters_max',
|
|
1377
|
+
'pro_clusters_available',
|
|
1378
|
+
'fleets_max',
|
|
1379
|
+
'cluster_tiers',
|
|
1380
|
+
'regions',
|
|
1381
|
+
'versions',
|
|
1382
|
+
'copilot_user_hourly_tokens',
|
|
1383
|
+
'copilot_organization_hourly_tokens',
|
|
1384
|
+
'cfcr_storage_gb'
|
|
1385
|
+
],
|
|
1368
1386
|
additionalProperties: false,
|
|
1369
1387
|
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.'
|
|
1370
1388
|
},
|
|
1371
1389
|
status: {
|
|
1372
1390
|
type: 'string',
|
|
1373
1391
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1374
|
-
enum: [
|
|
1392
|
+
enum: [
|
|
1393
|
+
'active',
|
|
1394
|
+
'closed',
|
|
1395
|
+
'suspended'
|
|
1396
|
+
]
|
|
1375
1397
|
}
|
|
1376
1398
|
},
|
|
1377
|
-
required: [
|
|
1399
|
+
required: [
|
|
1400
|
+
'id',
|
|
1401
|
+
'date_created',
|
|
1402
|
+
'quota',
|
|
1403
|
+
'status'
|
|
1404
|
+
],
|
|
1378
1405
|
additionalProperties: false
|
|
1379
1406
|
};
|
|
1380
1407
|
export const PaymentMethodSchema = {
|
|
@@ -1396,7 +1423,9 @@ export const PaymentMethodSchema = {
|
|
|
1396
1423
|
nullable: true,
|
|
1397
1424
|
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
1398
1425
|
example: 'card',
|
|
1399
|
-
enum: [
|
|
1426
|
+
enum: [
|
|
1427
|
+
'card'
|
|
1428
|
+
]
|
|
1400
1429
|
},
|
|
1401
1430
|
last4: {
|
|
1402
1431
|
type: 'string',
|
|
@@ -1409,14 +1438,14 @@ export const PaymentMethodSchema = {
|
|
|
1409
1438
|
minimum: 1,
|
|
1410
1439
|
maximum: 12,
|
|
1411
1440
|
nullable: true,
|
|
1412
|
-
description:
|
|
1441
|
+
description: 'Two-digit number representing the card\'s expiration month.',
|
|
1413
1442
|
example: '12'
|
|
1414
1443
|
},
|
|
1415
1444
|
exp_year: {
|
|
1416
1445
|
type: 'integer',
|
|
1417
1446
|
minimum: 2024,
|
|
1418
1447
|
nullable: true,
|
|
1419
|
-
description:
|
|
1448
|
+
description: 'Four-digit number representing the card\'s expiration year.',
|
|
1420
1449
|
example: '2028'
|
|
1421
1450
|
},
|
|
1422
1451
|
brand: {
|
|
@@ -1424,10 +1453,401 @@ export const PaymentMethodSchema = {
|
|
|
1424
1453
|
nullable: true,
|
|
1425
1454
|
description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
|
|
1426
1455
|
example: 'visa',
|
|
1427
|
-
enum: [
|
|
1456
|
+
enum: [
|
|
1457
|
+
'amex',
|
|
1458
|
+
'diners',
|
|
1459
|
+
'discover',
|
|
1460
|
+
'eftpos_au',
|
|
1461
|
+
'jcb',
|
|
1462
|
+
'mastercard',
|
|
1463
|
+
'unionpay',
|
|
1464
|
+
'visa',
|
|
1465
|
+
'unknown'
|
|
1466
|
+
]
|
|
1428
1467
|
}
|
|
1429
1468
|
},
|
|
1430
|
-
required: [
|
|
1469
|
+
required: [
|
|
1470
|
+
'id',
|
|
1471
|
+
'setup',
|
|
1472
|
+
'type',
|
|
1473
|
+
'last4',
|
|
1474
|
+
'exp_month',
|
|
1475
|
+
'exp_year',
|
|
1476
|
+
'brand'
|
|
1477
|
+
],
|
|
1478
|
+
additionalProperties: false
|
|
1479
|
+
};
|
|
1480
|
+
export const PlatformQuotaSchema = {
|
|
1481
|
+
type: 'object',
|
|
1482
|
+
properties: {
|
|
1483
|
+
basic_clusters_max: {
|
|
1484
|
+
type: 'integer',
|
|
1485
|
+
minimum: 0,
|
|
1486
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
1487
|
+
example: 999
|
|
1488
|
+
},
|
|
1489
|
+
basic_clusters_available: {
|
|
1490
|
+
type: 'integer',
|
|
1491
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
1492
|
+
example: 999
|
|
1493
|
+
},
|
|
1494
|
+
pro_clusters_max: {
|
|
1495
|
+
type: 'integer',
|
|
1496
|
+
minimum: 0,
|
|
1497
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
1498
|
+
example: 999
|
|
1499
|
+
},
|
|
1500
|
+
pro_clusters_available: {
|
|
1501
|
+
type: 'integer',
|
|
1502
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
1503
|
+
example: 999
|
|
1504
|
+
},
|
|
1505
|
+
fleets_max: {
|
|
1506
|
+
type: 'integer',
|
|
1507
|
+
minimum: 0,
|
|
1508
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1509
|
+
example: 999
|
|
1510
|
+
},
|
|
1511
|
+
cluster_tiers: {
|
|
1512
|
+
type: 'array',
|
|
1513
|
+
items: {
|
|
1514
|
+
type: 'string',
|
|
1515
|
+
example: 'basic'
|
|
1516
|
+
},
|
|
1517
|
+
minItems: 0,
|
|
1518
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1519
|
+
},
|
|
1520
|
+
regions: {
|
|
1521
|
+
type: 'array',
|
|
1522
|
+
items: {
|
|
1523
|
+
type: 'string',
|
|
1524
|
+
example: 'northamerica-central-1'
|
|
1525
|
+
},
|
|
1526
|
+
minItems: 1,
|
|
1527
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
1528
|
+
},
|
|
1529
|
+
versions: {
|
|
1530
|
+
type: 'array',
|
|
1531
|
+
items: {
|
|
1532
|
+
type: 'object',
|
|
1533
|
+
properties: {
|
|
1534
|
+
id: {
|
|
1535
|
+
type: 'string',
|
|
1536
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
1537
|
+
example: '1.33.x-cfke.x'
|
|
1538
|
+
},
|
|
1539
|
+
label: {
|
|
1540
|
+
type: 'string',
|
|
1541
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1542
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
required: [
|
|
1546
|
+
'id',
|
|
1547
|
+
'label'
|
|
1548
|
+
],
|
|
1549
|
+
additionalProperties: false
|
|
1550
|
+
},
|
|
1551
|
+
minItems: 1,
|
|
1552
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
1553
|
+
},
|
|
1554
|
+
copilot_user_hourly_tokens: {
|
|
1555
|
+
type: 'integer',
|
|
1556
|
+
minimum: 0,
|
|
1557
|
+
description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1558
|
+
example: 42000
|
|
1559
|
+
},
|
|
1560
|
+
copilot_organization_hourly_tokens: {
|
|
1561
|
+
type: 'integer',
|
|
1562
|
+
minimum: 0,
|
|
1563
|
+
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1564
|
+
example: 242000
|
|
1565
|
+
},
|
|
1566
|
+
cfcr_storage_gb: {
|
|
1567
|
+
type: 'integer',
|
|
1568
|
+
minimum: -1,
|
|
1569
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1570
|
+
example: 500
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
required: [
|
|
1574
|
+
'basic_clusters_max',
|
|
1575
|
+
'basic_clusters_available',
|
|
1576
|
+
'pro_clusters_max',
|
|
1577
|
+
'pro_clusters_available',
|
|
1578
|
+
'fleets_max',
|
|
1579
|
+
'cluster_tiers',
|
|
1580
|
+
'regions',
|
|
1581
|
+
'versions',
|
|
1582
|
+
'copilot_user_hourly_tokens',
|
|
1583
|
+
'copilot_organization_hourly_tokens',
|
|
1584
|
+
'cfcr_storage_gb'
|
|
1585
|
+
],
|
|
1586
|
+
additionalProperties: false
|
|
1587
|
+
};
|
|
1588
|
+
export const RegistryRepositorySchema = {
|
|
1589
|
+
type: 'object',
|
|
1590
|
+
properties: {
|
|
1591
|
+
name: {
|
|
1592
|
+
type: 'string',
|
|
1593
|
+
description: 'Repository name.',
|
|
1594
|
+
example: 'my-app'
|
|
1595
|
+
},
|
|
1596
|
+
region: {
|
|
1597
|
+
type: 'string',
|
|
1598
|
+
description: 'Registry region.',
|
|
1599
|
+
example: 'northamerica'
|
|
1600
|
+
},
|
|
1601
|
+
uri: {
|
|
1602
|
+
type: 'string',
|
|
1603
|
+
description: 'Full URI of the repository.',
|
|
1604
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
required: [
|
|
1608
|
+
'name',
|
|
1609
|
+
'region',
|
|
1610
|
+
'uri'
|
|
1611
|
+
],
|
|
1612
|
+
additionalProperties: false
|
|
1613
|
+
};
|
|
1614
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
1615
|
+
type: 'object',
|
|
1616
|
+
properties: {
|
|
1617
|
+
name: {
|
|
1618
|
+
type: 'string',
|
|
1619
|
+
description: 'Repository name.',
|
|
1620
|
+
example: 'my-app'
|
|
1621
|
+
},
|
|
1622
|
+
region: {
|
|
1623
|
+
type: 'string',
|
|
1624
|
+
description: 'Registry region.',
|
|
1625
|
+
example: 'northamerica'
|
|
1626
|
+
},
|
|
1627
|
+
uri: {
|
|
1628
|
+
type: 'string',
|
|
1629
|
+
description: 'Full URI of the repository.',
|
|
1630
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1631
|
+
},
|
|
1632
|
+
tags: {
|
|
1633
|
+
type: 'array',
|
|
1634
|
+
items: {
|
|
1635
|
+
type: 'object',
|
|
1636
|
+
properties: {
|
|
1637
|
+
name: {
|
|
1638
|
+
type: 'string',
|
|
1639
|
+
description: 'Tag name.',
|
|
1640
|
+
example: 'latest'
|
|
1641
|
+
},
|
|
1642
|
+
size: {
|
|
1643
|
+
type: 'number',
|
|
1644
|
+
format: 'float',
|
|
1645
|
+
description: 'Size of the tag in bytes.',
|
|
1646
|
+
example: 123456789
|
|
1647
|
+
},
|
|
1648
|
+
mediaType: {
|
|
1649
|
+
type: 'string',
|
|
1650
|
+
description: 'Media type of the manifest.',
|
|
1651
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1652
|
+
},
|
|
1653
|
+
platforms: {
|
|
1654
|
+
type: 'array',
|
|
1655
|
+
items: {
|
|
1656
|
+
type: 'string'
|
|
1657
|
+
},
|
|
1658
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
1659
|
+
example: [
|
|
1660
|
+
'linux/amd64',
|
|
1661
|
+
'linux/arm64'
|
|
1662
|
+
]
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
required: [
|
|
1666
|
+
'name',
|
|
1667
|
+
'size'
|
|
1668
|
+
],
|
|
1669
|
+
additionalProperties: false
|
|
1670
|
+
},
|
|
1671
|
+
description: 'Array of tags in the repository.'
|
|
1672
|
+
},
|
|
1673
|
+
totalSize: {
|
|
1674
|
+
type: 'number',
|
|
1675
|
+
format: 'float',
|
|
1676
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
1677
|
+
example: 987654321
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
required: [
|
|
1681
|
+
'name',
|
|
1682
|
+
'region',
|
|
1683
|
+
'uri',
|
|
1684
|
+
'tags',
|
|
1685
|
+
'totalSize'
|
|
1686
|
+
],
|
|
1687
|
+
additionalProperties: false
|
|
1688
|
+
};
|
|
1689
|
+
export const RegistryTagSchema = {
|
|
1690
|
+
type: 'object',
|
|
1691
|
+
properties: {
|
|
1692
|
+
name: {
|
|
1693
|
+
type: 'string',
|
|
1694
|
+
description: 'Tag name.',
|
|
1695
|
+
example: 'latest'
|
|
1696
|
+
},
|
|
1697
|
+
digest: {
|
|
1698
|
+
type: 'string',
|
|
1699
|
+
description: 'Manifest digest for pulling by digest.',
|
|
1700
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1701
|
+
},
|
|
1702
|
+
mediaType: {
|
|
1703
|
+
type: 'string',
|
|
1704
|
+
description: 'Media type of the manifest.',
|
|
1705
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1706
|
+
},
|
|
1707
|
+
config: {
|
|
1708
|
+
type: 'object',
|
|
1709
|
+
properties: {
|
|
1710
|
+
size: {
|
|
1711
|
+
type: 'number',
|
|
1712
|
+
format: 'float',
|
|
1713
|
+
description: 'Size of the config in bytes.',
|
|
1714
|
+
example: 1234
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
required: [
|
|
1718
|
+
'size'
|
|
1719
|
+
],
|
|
1720
|
+
additionalProperties: false,
|
|
1721
|
+
description: 'Manifest config metadata.'
|
|
1722
|
+
},
|
|
1723
|
+
layers: {
|
|
1724
|
+
type: 'array',
|
|
1725
|
+
items: {
|
|
1726
|
+
type: 'object',
|
|
1727
|
+
properties: {
|
|
1728
|
+
digest: {
|
|
1729
|
+
type: 'string',
|
|
1730
|
+
description: 'Digest of the layer.',
|
|
1731
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1732
|
+
},
|
|
1733
|
+
size: {
|
|
1734
|
+
type: 'number',
|
|
1735
|
+
format: 'float',
|
|
1736
|
+
description: 'Size of the layer in bytes.',
|
|
1737
|
+
example: 5678
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
required: [
|
|
1741
|
+
'size'
|
|
1742
|
+
],
|
|
1743
|
+
additionalProperties: false
|
|
1744
|
+
},
|
|
1745
|
+
description: 'Array of layer metadata.'
|
|
1746
|
+
},
|
|
1747
|
+
manifests: {
|
|
1748
|
+
type: 'array',
|
|
1749
|
+
items: {
|
|
1750
|
+
type: 'object',
|
|
1751
|
+
properties: {
|
|
1752
|
+
digest: {
|
|
1753
|
+
type: 'string',
|
|
1754
|
+
description: 'Digest of the manifest.',
|
|
1755
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1756
|
+
},
|
|
1757
|
+
platform: {
|
|
1758
|
+
type: 'object',
|
|
1759
|
+
properties: {
|
|
1760
|
+
architecture: {
|
|
1761
|
+
type: 'string',
|
|
1762
|
+
description: 'Architecture of the platform.',
|
|
1763
|
+
example: 'amd64'
|
|
1764
|
+
},
|
|
1765
|
+
os: {
|
|
1766
|
+
type: 'string',
|
|
1767
|
+
description: 'Operating system of the platform.',
|
|
1768
|
+
example: 'linux'
|
|
1769
|
+
},
|
|
1770
|
+
variant: {
|
|
1771
|
+
type: 'string',
|
|
1772
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
1773
|
+
example: 'v8'
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
required: [
|
|
1777
|
+
'architecture',
|
|
1778
|
+
'os'
|
|
1779
|
+
],
|
|
1780
|
+
additionalProperties: false,
|
|
1781
|
+
description: 'Platform information for the manifest.'
|
|
1782
|
+
},
|
|
1783
|
+
layers: {
|
|
1784
|
+
type: 'array',
|
|
1785
|
+
items: {
|
|
1786
|
+
type: 'object',
|
|
1787
|
+
properties: {
|
|
1788
|
+
digest: {
|
|
1789
|
+
type: 'string',
|
|
1790
|
+
description: 'Digest of the layer.',
|
|
1791
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1792
|
+
},
|
|
1793
|
+
size: {
|
|
1794
|
+
type: 'number',
|
|
1795
|
+
format: 'float',
|
|
1796
|
+
description: 'Size of the layer in bytes.',
|
|
1797
|
+
example: 5678
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
required: [
|
|
1801
|
+
'size'
|
|
1802
|
+
],
|
|
1803
|
+
additionalProperties: false
|
|
1804
|
+
},
|
|
1805
|
+
description: 'Layers for this platform.'
|
|
1806
|
+
},
|
|
1807
|
+
size: {
|
|
1808
|
+
type: 'number',
|
|
1809
|
+
format: 'float',
|
|
1810
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
1811
|
+
example: 12345678
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
required: [
|
|
1815
|
+
'digest'
|
|
1816
|
+
],
|
|
1817
|
+
additionalProperties: false
|
|
1818
|
+
},
|
|
1819
|
+
description: 'Array of manifests for multi-arch images.'
|
|
1820
|
+
},
|
|
1821
|
+
size: {
|
|
1822
|
+
type: 'number',
|
|
1823
|
+
format: 'float',
|
|
1824
|
+
description: 'Total size of the tag in bytes.',
|
|
1825
|
+
example: 123456789
|
|
1826
|
+
},
|
|
1827
|
+
region: {
|
|
1828
|
+
type: 'string',
|
|
1829
|
+
description: 'Registry region.',
|
|
1830
|
+
example: 'northamerica'
|
|
1831
|
+
},
|
|
1832
|
+
repository: {
|
|
1833
|
+
type: 'string',
|
|
1834
|
+
description: 'Repository name.',
|
|
1835
|
+
example: 'my-app'
|
|
1836
|
+
},
|
|
1837
|
+
uri: {
|
|
1838
|
+
type: 'string',
|
|
1839
|
+
description: 'Full URI of the tag.',
|
|
1840
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
required: [
|
|
1844
|
+
'name',
|
|
1845
|
+
'digest',
|
|
1846
|
+
'size',
|
|
1847
|
+
'region',
|
|
1848
|
+
'repository',
|
|
1849
|
+
'uri'
|
|
1850
|
+
],
|
|
1431
1851
|
additionalProperties: false
|
|
1432
1852
|
};
|
|
1433
1853
|
export const TokenCreateInputSchema = {
|
|
@@ -1445,10 +1865,16 @@ export const TokenCreateInputSchema = {
|
|
|
1445
1865
|
type: 'string',
|
|
1446
1866
|
description: 'Role assumed by the token.',
|
|
1447
1867
|
example: 'User',
|
|
1448
|
-
enum: [
|
|
1868
|
+
enum: [
|
|
1869
|
+
'Administrator',
|
|
1870
|
+
'User'
|
|
1871
|
+
]
|
|
1449
1872
|
}
|
|
1450
1873
|
},
|
|
1451
|
-
required: [
|
|
1874
|
+
required: [
|
|
1875
|
+
'name',
|
|
1876
|
+
'role'
|
|
1877
|
+
],
|
|
1452
1878
|
additionalProperties: false
|
|
1453
1879
|
};
|
|
1454
1880
|
export const TokenSchema = {
|
|
@@ -1466,7 +1892,10 @@ export const TokenSchema = {
|
|
|
1466
1892
|
type: 'string',
|
|
1467
1893
|
description: 'Role assumed by the token.',
|
|
1468
1894
|
example: 'User',
|
|
1469
|
-
enum: [
|
|
1895
|
+
enum: [
|
|
1896
|
+
'Administrator',
|
|
1897
|
+
'User'
|
|
1898
|
+
]
|
|
1470
1899
|
},
|
|
1471
1900
|
id: {
|
|
1472
1901
|
type: 'string',
|
|
@@ -1485,7 +1914,11 @@ export const TokenSchema = {
|
|
|
1485
1914
|
example: '2023-12-20T13:53:32.000Z'
|
|
1486
1915
|
}
|
|
1487
1916
|
},
|
|
1488
|
-
required: [
|
|
1917
|
+
required: [
|
|
1918
|
+
'name',
|
|
1919
|
+
'role',
|
|
1920
|
+
'date_created'
|
|
1921
|
+
],
|
|
1489
1922
|
additionalProperties: false
|
|
1490
1923
|
};
|
|
1491
1924
|
export const TokenUpdateInputSchema = {
|
|
@@ -1503,11 +1936,129 @@ export const TokenUpdateInputSchema = {
|
|
|
1503
1936
|
type: 'string',
|
|
1504
1937
|
description: 'Role assumed by the token.',
|
|
1505
1938
|
example: 'User',
|
|
1506
|
-
enum: [
|
|
1939
|
+
enum: [
|
|
1940
|
+
'Administrator',
|
|
1941
|
+
'User'
|
|
1942
|
+
]
|
|
1507
1943
|
}
|
|
1508
1944
|
},
|
|
1509
1945
|
additionalProperties: false
|
|
1510
1946
|
};
|
|
1947
|
+
export const UsageFacetsSchema = {
|
|
1948
|
+
type: 'object',
|
|
1949
|
+
properties: {
|
|
1950
|
+
cluster_id: {
|
|
1951
|
+
type: 'array',
|
|
1952
|
+
items: {
|
|
1953
|
+
type: 'string'
|
|
1954
|
+
},
|
|
1955
|
+
description: 'List of unique cluster IDs',
|
|
1956
|
+
example: [
|
|
1957
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1958
|
+
]
|
|
1959
|
+
},
|
|
1960
|
+
product: {
|
|
1961
|
+
type: 'array',
|
|
1962
|
+
items: {
|
|
1963
|
+
type: 'string'
|
|
1964
|
+
},
|
|
1965
|
+
description: 'List of unique products',
|
|
1966
|
+
example: [
|
|
1967
|
+
'cfke_controlplane',
|
|
1968
|
+
'cfke_connected_nodes'
|
|
1969
|
+
]
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
additionalProperties: false
|
|
1973
|
+
};
|
|
1974
|
+
export const UsageResponseSchema = {
|
|
1975
|
+
type: 'object',
|
|
1976
|
+
properties: {
|
|
1977
|
+
data: {
|
|
1978
|
+
type: 'array',
|
|
1979
|
+
items: {
|
|
1980
|
+
type: 'object',
|
|
1981
|
+
properties: {
|
|
1982
|
+
hour: {
|
|
1983
|
+
type: 'string',
|
|
1984
|
+
description: 'Hour of the usage',
|
|
1985
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1986
|
+
},
|
|
1987
|
+
cluster_id: {
|
|
1988
|
+
type: 'string',
|
|
1989
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1990
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1991
|
+
},
|
|
1992
|
+
product: {
|
|
1993
|
+
type: 'string',
|
|
1994
|
+
description: 'The product the usage is associated with',
|
|
1995
|
+
example: 'cfke_controlplane'
|
|
1996
|
+
},
|
|
1997
|
+
value: {
|
|
1998
|
+
type: 'number',
|
|
1999
|
+
format: 'float',
|
|
2000
|
+
description: 'Consumption',
|
|
2001
|
+
example: 4
|
|
2002
|
+
},
|
|
2003
|
+
price: {
|
|
2004
|
+
type: 'number',
|
|
2005
|
+
format: 'float',
|
|
2006
|
+
description: 'Price per unit',
|
|
2007
|
+
example: 0.01
|
|
2008
|
+
},
|
|
2009
|
+
total: {
|
|
2010
|
+
type: 'number',
|
|
2011
|
+
format: 'float',
|
|
2012
|
+
description: 'Total cost'
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
required: [
|
|
2016
|
+
'hour',
|
|
2017
|
+
'cluster_id',
|
|
2018
|
+
'product',
|
|
2019
|
+
'value',
|
|
2020
|
+
'price',
|
|
2021
|
+
'total'
|
|
2022
|
+
],
|
|
2023
|
+
additionalProperties: false
|
|
2024
|
+
},
|
|
2025
|
+
description: 'Usage data'
|
|
2026
|
+
},
|
|
2027
|
+
facets: {
|
|
2028
|
+
type: 'object',
|
|
2029
|
+
properties: {
|
|
2030
|
+
cluster_id: {
|
|
2031
|
+
type: 'array',
|
|
2032
|
+
items: {
|
|
2033
|
+
type: 'string'
|
|
2034
|
+
},
|
|
2035
|
+
description: 'List of unique cluster IDs',
|
|
2036
|
+
example: [
|
|
2037
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2038
|
+
]
|
|
2039
|
+
},
|
|
2040
|
+
product: {
|
|
2041
|
+
type: 'array',
|
|
2042
|
+
items: {
|
|
2043
|
+
type: 'string'
|
|
2044
|
+
},
|
|
2045
|
+
description: 'List of unique products',
|
|
2046
|
+
example: [
|
|
2047
|
+
'cfke_controlplane',
|
|
2048
|
+
'cfke_connected_nodes'
|
|
2049
|
+
]
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
additionalProperties: false,
|
|
2053
|
+
description: 'Facets for filtering'
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
required: [
|
|
2057
|
+
'data',
|
|
2058
|
+
'facets'
|
|
2059
|
+
],
|
|
2060
|
+
additionalProperties: false
|
|
2061
|
+
};
|
|
1511
2062
|
export const UsageSchema = {
|
|
1512
2063
|
type: 'object',
|
|
1513
2064
|
properties: {
|
|
@@ -1518,90 +2069,40 @@ export const UsageSchema = {
|
|
|
1518
2069
|
},
|
|
1519
2070
|
cluster_id: {
|
|
1520
2071
|
type: 'string',
|
|
1521
|
-
format: 'uuid',
|
|
1522
2072
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1523
2073
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1524
2074
|
},
|
|
1525
|
-
cluster_tier: {
|
|
1526
|
-
type: 'string',
|
|
1527
|
-
description: 'Tier of the cluster.',
|
|
1528
|
-
example: 'pro',
|
|
1529
|
-
enum: ['']
|
|
1530
|
-
},
|
|
1531
2075
|
product: {
|
|
1532
2076
|
type: 'string',
|
|
1533
2077
|
description: 'The product the usage is associated with',
|
|
1534
|
-
example: '
|
|
1535
|
-
enum: ['cfke_infra_compute', 'cfke_nodes', 'cfke_controlplane']
|
|
1536
|
-
},
|
|
1537
|
-
node_name: {
|
|
1538
|
-
type: 'string',
|
|
1539
|
-
description: 'Name of the Kubernetes node',
|
|
1540
|
-
example: 'flexible-moth-956037384'
|
|
2078
|
+
example: 'cfke_controlplane'
|
|
1541
2079
|
},
|
|
1542
|
-
|
|
1543
|
-
type: '
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
cpu: {
|
|
1548
|
-
anyOf: [
|
|
1549
|
-
{
|
|
1550
|
-
type: 'number',
|
|
1551
|
-
format: 'float',
|
|
1552
|
-
description: 'CPU core count of the node',
|
|
1553
|
-
example: 4
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
type: 'string',
|
|
1557
|
-
enum: ['']
|
|
1558
|
-
}
|
|
1559
|
-
]
|
|
2080
|
+
value: {
|
|
2081
|
+
type: 'number',
|
|
2082
|
+
format: 'float',
|
|
2083
|
+
description: 'Consumption',
|
|
2084
|
+
example: 4
|
|
1560
2085
|
},
|
|
1561
2086
|
price: {
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
description: 'Price',
|
|
1567
|
-
example: 4
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
type: 'string',
|
|
1571
|
-
enum: ['']
|
|
1572
|
-
}
|
|
1573
|
-
]
|
|
1574
|
-
},
|
|
1575
|
-
value: {
|
|
1576
|
-
anyOf: [
|
|
1577
|
-
{
|
|
1578
|
-
type: 'number',
|
|
1579
|
-
format: 'float',
|
|
1580
|
-
description: 'Value',
|
|
1581
|
-
example: 4
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
type: 'string',
|
|
1585
|
-
enum: ['']
|
|
1586
|
-
}
|
|
1587
|
-
]
|
|
2087
|
+
type: 'number',
|
|
2088
|
+
format: 'float',
|
|
2089
|
+
description: 'Price per unit',
|
|
2090
|
+
example: 0.01
|
|
1588
2091
|
},
|
|
1589
2092
|
total: {
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
format: 'float',
|
|
1594
|
-
description: 'Total',
|
|
1595
|
-
example: 4
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
type: 'string',
|
|
1599
|
-
enum: ['']
|
|
1600
|
-
}
|
|
1601
|
-
]
|
|
2093
|
+
type: 'number',
|
|
2094
|
+
format: 'float',
|
|
2095
|
+
description: 'Total cost'
|
|
1602
2096
|
}
|
|
1603
2097
|
},
|
|
1604
|
-
required: [
|
|
2098
|
+
required: [
|
|
2099
|
+
'hour',
|
|
2100
|
+
'cluster_id',
|
|
2101
|
+
'product',
|
|
2102
|
+
'value',
|
|
2103
|
+
'price',
|
|
2104
|
+
'total'
|
|
2105
|
+
],
|
|
1605
2106
|
additionalProperties: false
|
|
1606
2107
|
};
|
|
1607
2108
|
export const UserCreateInputSchema = {
|
|
@@ -1642,16 +2143,28 @@ export const UserCreateInputSchema = {
|
|
|
1642
2143
|
type: 'string',
|
|
1643
2144
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1644
2145
|
example: 'active',
|
|
1645
|
-
enum: [
|
|
2146
|
+
enum: [
|
|
2147
|
+
'active',
|
|
2148
|
+
'inactive'
|
|
2149
|
+
]
|
|
1646
2150
|
},
|
|
1647
2151
|
role: {
|
|
1648
2152
|
type: 'string',
|
|
1649
|
-
description:
|
|
2153
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1650
2154
|
example: 'User',
|
|
1651
|
-
enum: [
|
|
2155
|
+
enum: [
|
|
2156
|
+
'Administrator',
|
|
2157
|
+
'User'
|
|
2158
|
+
]
|
|
1652
2159
|
}
|
|
1653
2160
|
},
|
|
1654
|
-
required: [
|
|
2161
|
+
required: [
|
|
2162
|
+
'email',
|
|
2163
|
+
'first_name',
|
|
2164
|
+
'last_name',
|
|
2165
|
+
'code',
|
|
2166
|
+
'password'
|
|
2167
|
+
],
|
|
1655
2168
|
additionalProperties: false
|
|
1656
2169
|
};
|
|
1657
2170
|
export const UserSchema = {
|
|
@@ -1679,15 +2192,21 @@ export const UserSchema = {
|
|
|
1679
2192
|
},
|
|
1680
2193
|
role: {
|
|
1681
2194
|
type: 'string',
|
|
1682
|
-
description:
|
|
2195
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1683
2196
|
example: 'User',
|
|
1684
|
-
enum: [
|
|
2197
|
+
enum: [
|
|
2198
|
+
'Administrator',
|
|
2199
|
+
'User'
|
|
2200
|
+
]
|
|
1685
2201
|
},
|
|
1686
2202
|
status: {
|
|
1687
2203
|
type: 'string',
|
|
1688
2204
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1689
2205
|
example: 'active',
|
|
1690
|
-
enum: [
|
|
2206
|
+
enum: [
|
|
2207
|
+
'active',
|
|
2208
|
+
'inactive'
|
|
2209
|
+
]
|
|
1691
2210
|
},
|
|
1692
2211
|
id: {
|
|
1693
2212
|
type: 'string',
|
|
@@ -1702,7 +2221,15 @@ export const UserSchema = {
|
|
|
1702
2221
|
example: '2023-11-02T16:08:14.338Z'
|
|
1703
2222
|
}
|
|
1704
2223
|
},
|
|
1705
|
-
required: [
|
|
2224
|
+
required: [
|
|
2225
|
+
'email',
|
|
2226
|
+
'first_name',
|
|
2227
|
+
'last_name',
|
|
2228
|
+
'role',
|
|
2229
|
+
'status',
|
|
2230
|
+
'id',
|
|
2231
|
+
'date_created'
|
|
2232
|
+
],
|
|
1706
2233
|
additionalProperties: false
|
|
1707
2234
|
};
|
|
1708
2235
|
export const UserUpdateInputSchema = {
|
|
@@ -1730,15 +2257,21 @@ export const UserUpdateInputSchema = {
|
|
|
1730
2257
|
},
|
|
1731
2258
|
role: {
|
|
1732
2259
|
type: 'string',
|
|
1733
|
-
description:
|
|
2260
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1734
2261
|
example: 'User',
|
|
1735
|
-
enum: [
|
|
2262
|
+
enum: [
|
|
2263
|
+
'Administrator',
|
|
2264
|
+
'User'
|
|
2265
|
+
]
|
|
1736
2266
|
},
|
|
1737
2267
|
status: {
|
|
1738
2268
|
type: 'string',
|
|
1739
2269
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1740
2270
|
example: 'active',
|
|
1741
|
-
enum: [
|
|
2271
|
+
enum: [
|
|
2272
|
+
'active',
|
|
2273
|
+
'inactive'
|
|
2274
|
+
]
|
|
1742
2275
|
}
|
|
1743
2276
|
},
|
|
1744
2277
|
additionalProperties: false
|