@cloudfleet/sdk 0.0.1-263dfe6 → 0.0.1-28564af
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/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- 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 +220 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- 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.d.ts → utils.gen.d.ts} +15 -23
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +63 -119
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +3 -3
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- 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.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +20 -7
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- 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 +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/{types.d.ts → types.gen.d.ts} +16 -16
- 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 +1005 -480
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1623 -584
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +130 -20
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +217 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +923 -327
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1039 -1936
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +502 -1077
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -146
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
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',
|
|
@@ -79,10 +74,142 @@ export const BillingContactSchema = {
|
|
|
79
74
|
nullable: true,
|
|
80
75
|
description: 'Type of the tax ID.',
|
|
81
76
|
example: 'de_vat',
|
|
82
|
-
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
|
+
]
|
|
83
207
|
}
|
|
84
208
|
},
|
|
85
|
-
required: [
|
|
209
|
+
required: [
|
|
210
|
+
'email',
|
|
211
|
+
'individual_name'
|
|
212
|
+
],
|
|
86
213
|
additionalProperties: false
|
|
87
214
|
};
|
|
88
215
|
export const BillingCreditsSchema = {
|
|
@@ -93,10 +220,25 @@ export const BillingCreditsSchema = {
|
|
|
93
220
|
description: 'Generated unique identifier of the promotional code.',
|
|
94
221
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
95
222
|
},
|
|
96
|
-
|
|
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: {
|
|
97
233
|
type: 'string',
|
|
98
234
|
format: 'date-time',
|
|
99
|
-
description: '
|
|
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: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
format: 'date-time',
|
|
241
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
100
242
|
example: '2023-12-20T13:53:32.000Z'
|
|
101
243
|
},
|
|
102
244
|
code: {
|
|
@@ -109,40 +251,25 @@ export const BillingCreditsSchema = {
|
|
|
109
251
|
description: 'Description of the promotional code.',
|
|
110
252
|
example: '10% off on all products'
|
|
111
253
|
},
|
|
112
|
-
|
|
113
|
-
type: 'array',
|
|
114
|
-
items: {
|
|
115
|
-
type: 'string'
|
|
116
|
-
},
|
|
117
|
-
description: 'List of product SKUs that the promotional code can be used on.',
|
|
118
|
-
example: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
119
|
-
},
|
|
120
|
-
type: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Type of the promotional code.',
|
|
123
|
-
example: 'credit',
|
|
124
|
-
enum: ['credit', 'discount']
|
|
125
|
-
},
|
|
126
|
-
value: {
|
|
254
|
+
value_total: {
|
|
127
255
|
type: 'number',
|
|
128
256
|
format: 'float',
|
|
129
|
-
description: '
|
|
257
|
+
description: 'Total value of the promotional code.',
|
|
130
258
|
example: 10
|
|
131
259
|
},
|
|
132
|
-
billing_period: {
|
|
133
|
-
type: 'string',
|
|
134
|
-
format: 'date-time',
|
|
135
|
-
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
136
|
-
example: '2023-12-20T13:53:32.000Z'
|
|
137
|
-
},
|
|
138
260
|
value_remaining: {
|
|
139
261
|
type: 'number',
|
|
140
262
|
format: 'float',
|
|
141
|
-
description: '
|
|
142
|
-
example:
|
|
263
|
+
description: 'Remaining value of the promotional code.',
|
|
264
|
+
example: 8
|
|
143
265
|
}
|
|
144
266
|
},
|
|
145
|
-
required: [
|
|
267
|
+
required: [
|
|
268
|
+
'type',
|
|
269
|
+
'date_start',
|
|
270
|
+
'code',
|
|
271
|
+
'value_total'
|
|
272
|
+
],
|
|
146
273
|
additionalProperties: false
|
|
147
274
|
};
|
|
148
275
|
export const ChartCreateInputSchema = {
|
|
@@ -183,7 +310,13 @@ export const ChartCreateInputSchema = {
|
|
|
183
310
|
example: 'postgresql'
|
|
184
311
|
}
|
|
185
312
|
},
|
|
186
|
-
required: [
|
|
313
|
+
required: [
|
|
314
|
+
'values',
|
|
315
|
+
'version_channel',
|
|
316
|
+
'name',
|
|
317
|
+
'namespace',
|
|
318
|
+
'chart'
|
|
319
|
+
],
|
|
187
320
|
additionalProperties: false
|
|
188
321
|
};
|
|
189
322
|
export const ChartSchema = {
|
|
@@ -227,7 +360,22 @@ export const ChartSchema = {
|
|
|
227
360
|
type: 'string',
|
|
228
361
|
description: 'Status of the chart deployment.',
|
|
229
362
|
example: 'active',
|
|
230
|
-
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
|
+
]
|
|
231
379
|
},
|
|
232
380
|
version_current: {
|
|
233
381
|
type: 'string',
|
|
@@ -250,7 +398,18 @@ export const ChartSchema = {
|
|
|
250
398
|
example: true
|
|
251
399
|
}
|
|
252
400
|
},
|
|
253
|
-
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
|
+
],
|
|
254
413
|
additionalProperties: false
|
|
255
414
|
};
|
|
256
415
|
export const ChartUpdateInputSchema = {
|
|
@@ -267,7 +426,10 @@ export const ChartUpdateInputSchema = {
|
|
|
267
426
|
example: '2.x.x-cfke.x'
|
|
268
427
|
}
|
|
269
428
|
},
|
|
270
|
-
required: [
|
|
429
|
+
required: [
|
|
430
|
+
'values',
|
|
431
|
+
'version_channel'
|
|
432
|
+
],
|
|
271
433
|
additionalProperties: false
|
|
272
434
|
};
|
|
273
435
|
export const ClusterCreateInputSchema = {
|
|
@@ -285,24 +447,41 @@ export const ClusterCreateInputSchema = {
|
|
|
285
447
|
type: 'string',
|
|
286
448
|
description: 'Tier of the cluster.',
|
|
287
449
|
example: 'pro',
|
|
288
|
-
enum: [
|
|
450
|
+
enum: [
|
|
451
|
+
'basic',
|
|
452
|
+
'pro'
|
|
453
|
+
]
|
|
289
454
|
},
|
|
290
455
|
region: {
|
|
291
456
|
type: 'string',
|
|
292
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
293
|
-
default: 'staging',
|
|
294
|
-
example: 'northamerica-central-
|
|
295
|
-
enum: [
|
|
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
|
+
]
|
|
296
466
|
},
|
|
297
467
|
version_channel: {
|
|
298
468
|
type: 'string',
|
|
299
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-]+)*))?$',
|
|
300
470
|
description: 'Version of the kubernetes cluster.',
|
|
301
471
|
default: '1.x.x-cfke.x',
|
|
302
|
-
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
|
+
]
|
|
303
479
|
}
|
|
304
480
|
},
|
|
305
|
-
required: [
|
|
481
|
+
required: [
|
|
482
|
+
'name',
|
|
483
|
+
'tier'
|
|
484
|
+
],
|
|
306
485
|
additionalProperties: false
|
|
307
486
|
};
|
|
308
487
|
export const ClusterJoinInformationSchema = {
|
|
@@ -311,8 +490,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
311
490
|
certificate_authority: {
|
|
312
491
|
type: 'string',
|
|
313
492
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
314
|
-
example:
|
|
315
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
493
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
316
494
|
},
|
|
317
495
|
endpoint: {
|
|
318
496
|
type: 'string',
|
|
@@ -320,6 +498,11 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
320
498
|
description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
|
|
321
499
|
example: 'https://10.31.64.7:6443'
|
|
322
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
|
+
},
|
|
323
506
|
auth_key: {
|
|
324
507
|
type: 'string',
|
|
325
508
|
description: 'Authentication key for the cluster.',
|
|
@@ -336,7 +519,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
336
519
|
kubernetes: {
|
|
337
520
|
type: 'string',
|
|
338
521
|
description: 'Kubernetes version of the cluster.',
|
|
339
|
-
example: '1.
|
|
522
|
+
example: '1.33.7'
|
|
340
523
|
},
|
|
341
524
|
tailscale: {
|
|
342
525
|
type: 'string',
|
|
@@ -354,7 +537,12 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
354
537
|
example: '565.0.0'
|
|
355
538
|
}
|
|
356
539
|
},
|
|
357
|
-
required: [
|
|
540
|
+
required: [
|
|
541
|
+
'kubernetes',
|
|
542
|
+
'tailscale',
|
|
543
|
+
'containerd',
|
|
544
|
+
'nvidia_driver'
|
|
545
|
+
],
|
|
358
546
|
additionalProperties: false,
|
|
359
547
|
description: 'Versions of the different components of the cluster.'
|
|
360
548
|
},
|
|
@@ -377,12 +565,24 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
377
565
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
378
566
|
}
|
|
379
567
|
},
|
|
380
|
-
required: [
|
|
568
|
+
required: [
|
|
569
|
+
'metadata_url',
|
|
570
|
+
'aws_role_arn',
|
|
571
|
+
'gcp_workload_identity_provider'
|
|
572
|
+
],
|
|
381
573
|
additionalProperties: false,
|
|
382
|
-
description:
|
|
574
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
383
575
|
}
|
|
384
576
|
},
|
|
385
|
-
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
|
+
],
|
|
386
586
|
additionalProperties: false
|
|
387
587
|
};
|
|
388
588
|
export const ClusterSchema = {
|
|
@@ -400,21 +600,22 @@ export const ClusterSchema = {
|
|
|
400
600
|
type: 'string',
|
|
401
601
|
description: 'Tier of the cluster.',
|
|
402
602
|
example: 'pro',
|
|
403
|
-
enum: [
|
|
603
|
+
enum: [
|
|
604
|
+
'basic',
|
|
605
|
+
'pro'
|
|
606
|
+
]
|
|
404
607
|
},
|
|
405
608
|
region: {
|
|
406
609
|
type: 'string',
|
|
407
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
|
|
408
|
-
default: 'staging',
|
|
409
|
-
example: 'northamerica-central-
|
|
410
|
-
enum: [
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
default: '1.x.x-cfke.x',
|
|
417
|
-
example: '1.29.x-cfke.x'
|
|
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
|
+
]
|
|
418
619
|
},
|
|
419
620
|
id: {
|
|
420
621
|
type: 'string',
|
|
@@ -426,7 +627,15 @@ export const ClusterSchema = {
|
|
|
426
627
|
type: 'string',
|
|
427
628
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
428
629
|
example: 'active',
|
|
429
|
-
enum: [
|
|
630
|
+
enum: [
|
|
631
|
+
'active',
|
|
632
|
+
'disabled',
|
|
633
|
+
'deleted',
|
|
634
|
+
'creating',
|
|
635
|
+
'deployed',
|
|
636
|
+
'failed',
|
|
637
|
+
'updating'
|
|
638
|
+
]
|
|
430
639
|
},
|
|
431
640
|
endpoint: {
|
|
432
641
|
anyOf: [
|
|
@@ -438,20 +647,21 @@ export const ClusterSchema = {
|
|
|
438
647
|
},
|
|
439
648
|
{
|
|
440
649
|
type: 'string',
|
|
441
|
-
enum: [
|
|
650
|
+
enum: [
|
|
651
|
+
''
|
|
652
|
+
]
|
|
442
653
|
}
|
|
443
654
|
]
|
|
444
655
|
},
|
|
445
656
|
certificate_ca: {
|
|
446
657
|
type: 'string',
|
|
447
658
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
448
|
-
example:
|
|
449
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
659
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
450
660
|
},
|
|
451
661
|
version_current: {
|
|
452
662
|
type: 'string',
|
|
453
663
|
description: 'Current version of the cluster.',
|
|
454
|
-
example: '1.
|
|
664
|
+
example: '1.33.7-cfke.264'
|
|
455
665
|
},
|
|
456
666
|
created_at: {
|
|
457
667
|
type: 'string',
|
|
@@ -467,9 +677,20 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
467
677
|
type: 'boolean',
|
|
468
678
|
description: 'Indicates if the cluster is ready to be used.',
|
|
469
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'
|
|
470
686
|
}
|
|
471
687
|
},
|
|
472
|
-
required: [
|
|
688
|
+
required: [
|
|
689
|
+
'name',
|
|
690
|
+
'tier',
|
|
691
|
+
'id',
|
|
692
|
+
'status'
|
|
693
|
+
],
|
|
473
694
|
additionalProperties: false
|
|
474
695
|
};
|
|
475
696
|
export const ClusterUpdateInputSchema = {
|
|
@@ -487,16 +708,21 @@ export const ClusterUpdateInputSchema = {
|
|
|
487
708
|
type: 'string',
|
|
488
709
|
description: 'Tier of the cluster.',
|
|
489
710
|
example: 'pro',
|
|
490
|
-
enum: [
|
|
711
|
+
enum: [
|
|
712
|
+
'basic',
|
|
713
|
+
'pro'
|
|
714
|
+
]
|
|
491
715
|
},
|
|
492
716
|
version_channel: {
|
|
493
717
|
type: 'string',
|
|
494
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-]+)*))?$',
|
|
495
719
|
description: 'Version of the kubernetes cluster.',
|
|
496
|
-
example: '1.
|
|
720
|
+
example: '1.x.x-cfke.x'
|
|
497
721
|
}
|
|
498
722
|
},
|
|
499
|
-
required: [
|
|
723
|
+
required: [
|
|
724
|
+
'tier'
|
|
725
|
+
],
|
|
500
726
|
additionalProperties: false
|
|
501
727
|
};
|
|
502
728
|
export const FleetCreateInputSchema = {
|
|
@@ -512,7 +738,9 @@ export const FleetCreateInputSchema = {
|
|
|
512
738
|
description: 'CPU limit in cores.'
|
|
513
739
|
}
|
|
514
740
|
},
|
|
515
|
-
required: [
|
|
741
|
+
required: [
|
|
742
|
+
'cpu'
|
|
743
|
+
],
|
|
516
744
|
additionalProperties: false,
|
|
517
745
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
518
746
|
},
|
|
@@ -528,7 +756,9 @@ export const FleetCreateInputSchema = {
|
|
|
528
756
|
description: 'Project GCP Project id to deploy instances into'
|
|
529
757
|
}
|
|
530
758
|
},
|
|
531
|
-
required: [
|
|
759
|
+
required: [
|
|
760
|
+
'project'
|
|
761
|
+
],
|
|
532
762
|
additionalProperties: false
|
|
533
763
|
},
|
|
534
764
|
hetzner: {
|
|
@@ -543,7 +773,9 @@ export const FleetCreateInputSchema = {
|
|
|
543
773
|
description: 'Hetzner Cloud API key with read / write access'
|
|
544
774
|
}
|
|
545
775
|
},
|
|
546
|
-
required: [
|
|
776
|
+
required: [
|
|
777
|
+
'apiKey'
|
|
778
|
+
],
|
|
547
779
|
additionalProperties: false
|
|
548
780
|
},
|
|
549
781
|
aws: {
|
|
@@ -558,7 +790,9 @@ export const FleetCreateInputSchema = {
|
|
|
558
790
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
559
791
|
}
|
|
560
792
|
},
|
|
561
|
-
required: [
|
|
793
|
+
required: [
|
|
794
|
+
'controllerRoleArn'
|
|
795
|
+
],
|
|
562
796
|
additionalProperties: false
|
|
563
797
|
},
|
|
564
798
|
id: {
|
|
@@ -570,7 +804,9 @@ export const FleetCreateInputSchema = {
|
|
|
570
804
|
example: 'new-clouds-fleet'
|
|
571
805
|
}
|
|
572
806
|
},
|
|
573
|
-
required: [
|
|
807
|
+
required: [
|
|
808
|
+
'id'
|
|
809
|
+
],
|
|
574
810
|
additionalProperties: false
|
|
575
811
|
};
|
|
576
812
|
export const FleetSchema = {
|
|
@@ -586,7 +822,9 @@ export const FleetSchema = {
|
|
|
586
822
|
description: 'CPU limit in cores.'
|
|
587
823
|
}
|
|
588
824
|
},
|
|
589
|
-
required: [
|
|
825
|
+
required: [
|
|
826
|
+
'cpu'
|
|
827
|
+
],
|
|
590
828
|
additionalProperties: false,
|
|
591
829
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
592
830
|
},
|
|
@@ -602,7 +840,9 @@ export const FleetSchema = {
|
|
|
602
840
|
description: 'Project GCP Project id to deploy instances into'
|
|
603
841
|
}
|
|
604
842
|
},
|
|
605
|
-
required: [
|
|
843
|
+
required: [
|
|
844
|
+
'project'
|
|
845
|
+
],
|
|
606
846
|
additionalProperties: false
|
|
607
847
|
},
|
|
608
848
|
hetzner: {
|
|
@@ -617,7 +857,9 @@ export const FleetSchema = {
|
|
|
617
857
|
description: 'Hetzner Cloud API key with read / write access'
|
|
618
858
|
}
|
|
619
859
|
},
|
|
620
|
-
required: [
|
|
860
|
+
required: [
|
|
861
|
+
'apiKey'
|
|
862
|
+
],
|
|
621
863
|
additionalProperties: false
|
|
622
864
|
},
|
|
623
865
|
aws: {
|
|
@@ -632,7 +874,9 @@ export const FleetSchema = {
|
|
|
632
874
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
633
875
|
}
|
|
634
876
|
},
|
|
635
|
-
required: [
|
|
877
|
+
required: [
|
|
878
|
+
'controllerRoleArn'
|
|
879
|
+
],
|
|
636
880
|
additionalProperties: false
|
|
637
881
|
},
|
|
638
882
|
id: {
|
|
@@ -644,7 +888,9 @@ export const FleetSchema = {
|
|
|
644
888
|
example: 'new-clouds-fleet'
|
|
645
889
|
}
|
|
646
890
|
},
|
|
647
|
-
required: [
|
|
891
|
+
required: [
|
|
892
|
+
'id'
|
|
893
|
+
],
|
|
648
894
|
additionalProperties: false
|
|
649
895
|
};
|
|
650
896
|
export const FleetUpdateInputSchema = {
|
|
@@ -660,7 +906,9 @@ export const FleetUpdateInputSchema = {
|
|
|
660
906
|
description: 'CPU limit in cores.'
|
|
661
907
|
}
|
|
662
908
|
},
|
|
663
|
-
required: [
|
|
909
|
+
required: [
|
|
910
|
+
'cpu'
|
|
911
|
+
],
|
|
664
912
|
additionalProperties: false,
|
|
665
913
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
666
914
|
},
|
|
@@ -676,7 +924,9 @@ export const FleetUpdateInputSchema = {
|
|
|
676
924
|
description: 'Project GCP Project id to deploy instances into'
|
|
677
925
|
}
|
|
678
926
|
},
|
|
679
|
-
required: [
|
|
927
|
+
required: [
|
|
928
|
+
'project'
|
|
929
|
+
],
|
|
680
930
|
additionalProperties: false
|
|
681
931
|
},
|
|
682
932
|
hetzner: {
|
|
@@ -691,7 +941,9 @@ export const FleetUpdateInputSchema = {
|
|
|
691
941
|
description: 'Hetzner Cloud API key with read / write access'
|
|
692
942
|
}
|
|
693
943
|
},
|
|
694
|
-
required: [
|
|
944
|
+
required: [
|
|
945
|
+
'apiKey'
|
|
946
|
+
],
|
|
695
947
|
additionalProperties: false
|
|
696
948
|
},
|
|
697
949
|
aws: {
|
|
@@ -706,7 +958,9 @@ export const FleetUpdateInputSchema = {
|
|
|
706
958
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
707
959
|
}
|
|
708
960
|
},
|
|
709
|
-
required: [
|
|
961
|
+
required: [
|
|
962
|
+
'controllerRoleArn'
|
|
963
|
+
],
|
|
710
964
|
additionalProperties: false
|
|
711
965
|
}
|
|
712
966
|
},
|
|
@@ -744,7 +998,9 @@ export const InviteSchema = {
|
|
|
744
998
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
745
999
|
}
|
|
746
1000
|
},
|
|
747
|
-
required: [
|
|
1001
|
+
required: [
|
|
1002
|
+
'date_created'
|
|
1003
|
+
],
|
|
748
1004
|
additionalProperties: false
|
|
749
1005
|
};
|
|
750
1006
|
export const InvoiceSchema = {
|
|
@@ -752,23 +1008,18 @@ export const InvoiceSchema = {
|
|
|
752
1008
|
properties: {
|
|
753
1009
|
id: {
|
|
754
1010
|
type: 'string',
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1011
|
+
description: 'Unique identifier of the invoice.',
|
|
1012
|
+
example: 'in_1234567890xCrwxghOTj1234'
|
|
758
1013
|
},
|
|
759
|
-
|
|
760
|
-
type: 'string'
|
|
761
|
-
format: 'uuid',
|
|
762
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
763
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1014
|
+
number: {
|
|
1015
|
+
type: 'string'
|
|
764
1016
|
},
|
|
765
1017
|
status: {
|
|
766
1018
|
type: 'string',
|
|
767
1019
|
description: 'Status of the invoice',
|
|
768
|
-
example: '
|
|
769
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
1020
|
+
example: 'paid'
|
|
770
1021
|
},
|
|
771
|
-
|
|
1022
|
+
total: {
|
|
772
1023
|
type: 'number',
|
|
773
1024
|
format: 'float',
|
|
774
1025
|
description: 'Total amount of the invoice',
|
|
@@ -777,421 +1028,197 @@ export const InvoiceSchema = {
|
|
|
777
1028
|
currency: {
|
|
778
1029
|
type: 'string',
|
|
779
1030
|
description: 'Currency of the invoice',
|
|
780
|
-
example: '
|
|
781
|
-
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']
|
|
782
|
-
},
|
|
783
|
-
creditAdj: {
|
|
784
|
-
type: 'number',
|
|
785
|
-
format: 'float',
|
|
786
|
-
description: 'Total amount of credit adjustments',
|
|
787
|
-
example: 0
|
|
788
|
-
},
|
|
789
|
-
refundAdj: {
|
|
790
|
-
type: 'number',
|
|
791
|
-
format: 'float',
|
|
792
|
-
description: 'Total amount of refund adjustments',
|
|
793
|
-
example: 0
|
|
1031
|
+
example: 'usd'
|
|
794
1032
|
},
|
|
795
|
-
|
|
1033
|
+
created: {
|
|
796
1034
|
type: 'string',
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
targetDate: {
|
|
801
|
-
type: 'string',
|
|
802
|
-
description: 'Target date of the invoice',
|
|
803
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
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'
|
|
804
1038
|
},
|
|
805
|
-
|
|
1039
|
+
period_start: {
|
|
806
1040
|
type: 'string',
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
balance: {
|
|
811
|
-
type: 'number',
|
|
812
|
-
format: 'float',
|
|
813
|
-
description: 'Balance of the invoice',
|
|
814
|
-
example: 100
|
|
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'
|
|
815
1044
|
},
|
|
816
|
-
|
|
1045
|
+
period_end: {
|
|
817
1046
|
type: 'string',
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
credits: {
|
|
822
|
-
type: 'array',
|
|
823
|
-
items: {
|
|
824
|
-
type: 'object',
|
|
825
|
-
properties: {
|
|
826
|
-
id: {
|
|
827
|
-
type: 'string',
|
|
828
|
-
format: 'uuid',
|
|
829
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
830
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
831
|
-
},
|
|
832
|
-
linkedInvoiceItemId: {
|
|
833
|
-
type: 'string',
|
|
834
|
-
format: 'uuid',
|
|
835
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
836
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
837
|
-
},
|
|
838
|
-
productName: {
|
|
839
|
-
type: 'string',
|
|
840
|
-
description: 'Name of the product',
|
|
841
|
-
example: 'Research team'
|
|
842
|
-
},
|
|
843
|
-
planName: {
|
|
844
|
-
type: 'string',
|
|
845
|
-
description: 'Name of the plan',
|
|
846
|
-
example: 'Plan A'
|
|
847
|
-
},
|
|
848
|
-
phaseName: {
|
|
849
|
-
type: 'string',
|
|
850
|
-
description: 'Name of the phase',
|
|
851
|
-
example: 'Phase A'
|
|
852
|
-
},
|
|
853
|
-
usageName: {
|
|
854
|
-
type: 'string',
|
|
855
|
-
description: 'Name of the usage',
|
|
856
|
-
example: 'Usage A'
|
|
857
|
-
},
|
|
858
|
-
prettyProductName: {
|
|
859
|
-
type: 'string',
|
|
860
|
-
description: 'Pretty name of the product',
|
|
861
|
-
example: 'Research team'
|
|
862
|
-
},
|
|
863
|
-
prettyPlanName: {
|
|
864
|
-
type: 'string',
|
|
865
|
-
description: 'Pretty name of the plan',
|
|
866
|
-
example: 'Plan A'
|
|
867
|
-
},
|
|
868
|
-
prettyPhaseName: {
|
|
869
|
-
type: 'string',
|
|
870
|
-
description: 'Pretty name of the phase',
|
|
871
|
-
example: 'Phase A'
|
|
872
|
-
},
|
|
873
|
-
prettyUsageName: {
|
|
874
|
-
type: 'string',
|
|
875
|
-
description: 'Pretty name of the usage',
|
|
876
|
-
example: 'Usage A'
|
|
877
|
-
},
|
|
878
|
-
itemType: {
|
|
879
|
-
type: 'string',
|
|
880
|
-
description: 'Type of the invoice item',
|
|
881
|
-
example: 'EXTERNAL_CHARGE',
|
|
882
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
883
|
-
},
|
|
884
|
-
description: {
|
|
885
|
-
type: 'string',
|
|
886
|
-
description: 'Description of the invoice item',
|
|
887
|
-
example: 'Description of the invoice item'
|
|
888
|
-
},
|
|
889
|
-
startDate: {
|
|
890
|
-
type: 'string',
|
|
891
|
-
description: 'Start date of the invoice item',
|
|
892
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
893
|
-
},
|
|
894
|
-
endDate: {
|
|
895
|
-
type: 'string',
|
|
896
|
-
description: 'End date of the invoice item',
|
|
897
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
898
|
-
},
|
|
899
|
-
amount: {
|
|
900
|
-
type: 'number',
|
|
901
|
-
format: 'float',
|
|
902
|
-
description: 'Amount of the invoice item',
|
|
903
|
-
example: 100
|
|
904
|
-
},
|
|
905
|
-
rate: {
|
|
906
|
-
type: 'number',
|
|
907
|
-
format: 'float',
|
|
908
|
-
description: 'Rate of the invoice item',
|
|
909
|
-
example: 100
|
|
910
|
-
},
|
|
911
|
-
currency: {
|
|
912
|
-
type: 'string',
|
|
913
|
-
description: 'Currency of the invoice item',
|
|
914
|
-
example: 'USD',
|
|
915
|
-
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']
|
|
916
|
-
},
|
|
917
|
-
quantity: {
|
|
918
|
-
type: 'number',
|
|
919
|
-
format: 'float',
|
|
920
|
-
description: 'Quantity of the invoice item',
|
|
921
|
-
example: 1
|
|
922
|
-
},
|
|
923
|
-
itemDetails: {
|
|
924
|
-
type: 'string',
|
|
925
|
-
description: 'Details of the invoice item',
|
|
926
|
-
example: 'Details of the invoice item'
|
|
927
|
-
},
|
|
928
|
-
catalogEffectiveDate: {
|
|
929
|
-
type: 'string',
|
|
930
|
-
description: 'Effective date of the catalog',
|
|
931
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
932
|
-
},
|
|
933
|
-
childItems: {
|
|
934
|
-
type: 'array',
|
|
935
|
-
items: {
|
|
936
|
-
oneOf: [
|
|
937
|
-
{
|
|
938
|
-
type: 'array'
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
type: 'boolean'
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
type: 'number'
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
type: 'object',
|
|
948
|
-
additionalProperties: true
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
type: 'string'
|
|
952
|
-
}
|
|
953
|
-
]
|
|
954
|
-
},
|
|
955
|
-
description: 'Child items of the invoice item'
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
additionalProperties: false
|
|
959
|
-
},
|
|
960
|
-
description: 'Credits of the invoice'
|
|
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'
|
|
961
1050
|
},
|
|
962
|
-
|
|
963
|
-
type: '
|
|
964
|
-
items: {
|
|
965
|
-
type: 'object',
|
|
966
|
-
properties: {
|
|
967
|
-
id: {
|
|
968
|
-
type: 'string',
|
|
969
|
-
format: 'uuid',
|
|
970
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
971
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
972
|
-
},
|
|
973
|
-
linkedInvoiceItemId: {
|
|
974
|
-
type: 'string',
|
|
975
|
-
format: 'uuid',
|
|
976
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
977
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
978
|
-
},
|
|
979
|
-
productName: {
|
|
980
|
-
type: 'string',
|
|
981
|
-
description: 'Name of the product',
|
|
982
|
-
example: 'Research team'
|
|
983
|
-
},
|
|
984
|
-
planName: {
|
|
985
|
-
type: 'string',
|
|
986
|
-
description: 'Name of the plan',
|
|
987
|
-
example: 'Plan A'
|
|
988
|
-
},
|
|
989
|
-
phaseName: {
|
|
990
|
-
type: 'string',
|
|
991
|
-
description: 'Name of the phase',
|
|
992
|
-
example: 'Phase A'
|
|
993
|
-
},
|
|
994
|
-
usageName: {
|
|
995
|
-
type: 'string',
|
|
996
|
-
description: 'Name of the usage',
|
|
997
|
-
example: 'Usage A'
|
|
998
|
-
},
|
|
999
|
-
prettyProductName: {
|
|
1000
|
-
type: 'string',
|
|
1001
|
-
description: 'Pretty name of the product',
|
|
1002
|
-
example: 'Research team'
|
|
1003
|
-
},
|
|
1004
|
-
prettyPlanName: {
|
|
1005
|
-
type: 'string',
|
|
1006
|
-
description: 'Pretty name of the plan',
|
|
1007
|
-
example: 'Plan A'
|
|
1008
|
-
},
|
|
1009
|
-
prettyPhaseName: {
|
|
1010
|
-
type: 'string',
|
|
1011
|
-
description: 'Pretty name of the phase',
|
|
1012
|
-
example: 'Phase A'
|
|
1013
|
-
},
|
|
1014
|
-
prettyUsageName: {
|
|
1015
|
-
type: 'string',
|
|
1016
|
-
description: 'Pretty name of the usage',
|
|
1017
|
-
example: 'Usage A'
|
|
1018
|
-
},
|
|
1019
|
-
itemType: {
|
|
1020
|
-
type: 'string',
|
|
1021
|
-
description: 'Type of the invoice item',
|
|
1022
|
-
example: 'EXTERNAL_CHARGE',
|
|
1023
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1024
|
-
},
|
|
1025
|
-
description: {
|
|
1026
|
-
type: 'string',
|
|
1027
|
-
description: 'Description of the invoice item',
|
|
1028
|
-
example: 'Description of the invoice item'
|
|
1029
|
-
},
|
|
1030
|
-
startDate: {
|
|
1031
|
-
type: 'string',
|
|
1032
|
-
description: 'Start date of the invoice item',
|
|
1033
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1034
|
-
},
|
|
1035
|
-
endDate: {
|
|
1036
|
-
type: 'string',
|
|
1037
|
-
description: 'End date of the invoice item',
|
|
1038
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1039
|
-
},
|
|
1040
|
-
amount: {
|
|
1041
|
-
type: 'number',
|
|
1042
|
-
format: 'float',
|
|
1043
|
-
description: 'Amount of the invoice item',
|
|
1044
|
-
example: 100
|
|
1045
|
-
},
|
|
1046
|
-
rate: {
|
|
1047
|
-
type: 'number',
|
|
1048
|
-
format: 'float',
|
|
1049
|
-
description: 'Rate of the invoice item',
|
|
1050
|
-
example: 100
|
|
1051
|
-
},
|
|
1052
|
-
currency: {
|
|
1053
|
-
type: 'string',
|
|
1054
|
-
description: 'Currency of the invoice item',
|
|
1055
|
-
example: 'USD',
|
|
1056
|
-
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']
|
|
1057
|
-
},
|
|
1058
|
-
quantity: {
|
|
1059
|
-
type: 'number',
|
|
1060
|
-
format: 'float',
|
|
1061
|
-
description: 'Quantity of the invoice item',
|
|
1062
|
-
example: 1
|
|
1063
|
-
},
|
|
1064
|
-
itemDetails: {
|
|
1065
|
-
type: 'string',
|
|
1066
|
-
description: 'Details of the invoice item',
|
|
1067
|
-
example: 'Details of the invoice item'
|
|
1068
|
-
},
|
|
1069
|
-
catalogEffectiveDate: {
|
|
1070
|
-
type: 'string',
|
|
1071
|
-
description: 'Effective date of the catalog',
|
|
1072
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1073
|
-
},
|
|
1074
|
-
childItems: {
|
|
1075
|
-
type: 'array',
|
|
1076
|
-
items: {
|
|
1077
|
-
oneOf: [
|
|
1078
|
-
{
|
|
1079
|
-
type: 'array'
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
type: 'boolean'
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
type: 'number'
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
type: 'object',
|
|
1089
|
-
additionalProperties: true
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
type: 'string'
|
|
1093
|
-
}
|
|
1094
|
-
]
|
|
1095
|
-
},
|
|
1096
|
-
description: 'Child items of the invoice item'
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
additionalProperties: false
|
|
1100
|
-
},
|
|
1101
|
-
description: 'Items of the invoice'
|
|
1051
|
+
invoice_pdf: {
|
|
1052
|
+
type: 'string'
|
|
1102
1053
|
}
|
|
1103
1054
|
},
|
|
1055
|
+
required: [
|
|
1056
|
+
'created',
|
|
1057
|
+
'period_start',
|
|
1058
|
+
'period_end'
|
|
1059
|
+
],
|
|
1104
1060
|
additionalProperties: false
|
|
1105
1061
|
};
|
|
1106
|
-
export const
|
|
1062
|
+
export const MarketplaceListingFilesSchema = {
|
|
1107
1063
|
type: 'object',
|
|
1108
1064
|
properties: {
|
|
1109
|
-
|
|
1110
|
-
type: 'string',
|
|
1111
|
-
maxLength: 63,
|
|
1112
|
-
minLength: 1,
|
|
1113
|
-
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1114
|
-
description: 'Id of the chart listing',
|
|
1115
|
-
example: 'portworx-enterprise-disaster-recovery-baremetal'
|
|
1116
|
-
},
|
|
1117
|
-
name: {
|
|
1118
|
-
type: 'string',
|
|
1119
|
-
description: 'Name of the chart listing',
|
|
1120
|
-
example: 'Portworx Enterprise + Disaster Recovery - Baremetal'
|
|
1121
|
-
},
|
|
1122
|
-
developer: {
|
|
1065
|
+
chartYaml: {
|
|
1123
1066
|
type: 'string',
|
|
1124
|
-
description: '
|
|
1125
|
-
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'
|
|
1126
1069
|
},
|
|
1127
|
-
|
|
1070
|
+
valuesYaml: {
|
|
1128
1071
|
type: 'string',
|
|
1129
|
-
description: '
|
|
1130
|
-
example: '
|
|
1072
|
+
description: 'Raw values.yaml content from the Helm chart',
|
|
1073
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
1131
1074
|
},
|
|
1132
|
-
|
|
1075
|
+
valuesSchemaJson: {
|
|
1133
1076
|
type: 'string',
|
|
1134
|
-
description: '
|
|
1135
|
-
example: '
|
|
1136
|
-
}
|
|
1137
|
-
|
|
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: {
|
|
1138
1087
|
type: 'string',
|
|
1139
|
-
description: '
|
|
1140
|
-
example: '
|
|
1088
|
+
description: 'Name of the chart',
|
|
1089
|
+
example: 'nginx-ingress'
|
|
1141
1090
|
},
|
|
1142
|
-
|
|
1091
|
+
versions: {
|
|
1143
1092
|
type: 'array',
|
|
1144
1093
|
items: {
|
|
1145
1094
|
type: 'string',
|
|
1146
|
-
|
|
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'
|
|
1147
1098
|
},
|
|
1148
|
-
description: '
|
|
1099
|
+
description: 'Available versions of the chart'
|
|
1149
1100
|
},
|
|
1150
1101
|
version_channels: {
|
|
1151
1102
|
type: 'array',
|
|
1152
1103
|
items: {
|
|
1153
1104
|
type: 'string',
|
|
1154
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-]+)*))?$',
|
|
1155
|
-
description: 'Version
|
|
1156
|
-
example: '
|
|
1157
|
-
}
|
|
1106
|
+
description: 'Version channel pattern',
|
|
1107
|
+
example: '1.18.x-cfke.x'
|
|
1108
|
+
},
|
|
1109
|
+
description: 'Version channels for the chart'
|
|
1158
1110
|
},
|
|
1159
|
-
|
|
1160
|
-
type: 'array',
|
|
1161
|
-
items: {
|
|
1162
|
-
type: 'object',
|
|
1163
|
-
properties: {
|
|
1164
|
-
version: {
|
|
1165
|
-
type: 'string',
|
|
1166
|
-
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-]+)*))?$',
|
|
1167
|
-
description: 'Version of the chart.',
|
|
1168
|
-
example: '2.1.1-cfke.123'
|
|
1169
|
-
},
|
|
1170
|
-
schema: {
|
|
1171
|
-
type: 'string',
|
|
1172
|
-
description: 'Schema of the chart values. JSON Schema as string'
|
|
1173
|
-
},
|
|
1174
|
-
placeholder: {
|
|
1175
|
-
type: 'string',
|
|
1176
|
-
description: 'Schema of the chart values',
|
|
1177
|
-
example: `foo: 1
|
|
1178
|
-
bar: example`
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
required: ['version', 'schema', 'placeholder'],
|
|
1182
|
-
additionalProperties: false
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
required: ['id', 'name', 'developer', 'description', 'logoUrl', 'longDescription', 'categories', 'version_channels', 'value_schemas'],
|
|
1187
|
-
additionalProperties: false
|
|
1188
|
-
};
|
|
1189
|
-
export const OrganizationCreateInputSchema = {
|
|
1190
|
-
type: 'object',
|
|
1191
|
-
properties: {
|
|
1192
|
-
email: {
|
|
1111
|
+
latestVersion: {
|
|
1193
1112
|
type: 'string',
|
|
1194
|
-
|
|
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'
|
|
1148
|
+
},
|
|
1149
|
+
description: 'Chart keywords',
|
|
1150
|
+
example: [
|
|
1151
|
+
'ingress',
|
|
1152
|
+
'nginx',
|
|
1153
|
+
'load-balancer'
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
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'
|
|
1170
|
+
},
|
|
1171
|
+
description: 'Chart source URLs',
|
|
1172
|
+
example: [
|
|
1173
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
1174
|
+
]
|
|
1175
|
+
},
|
|
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'
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
required: [
|
|
1209
|
+
'name',
|
|
1210
|
+
'versions',
|
|
1211
|
+
'version_channels',
|
|
1212
|
+
'latestVersion'
|
|
1213
|
+
],
|
|
1214
|
+
additionalProperties: false
|
|
1215
|
+
};
|
|
1216
|
+
export const OrganizationCreateInputSchema = {
|
|
1217
|
+
type: 'object',
|
|
1218
|
+
properties: {
|
|
1219
|
+
email: {
|
|
1220
|
+
type: 'string',
|
|
1221
|
+
format: 'email',
|
|
1195
1222
|
description: 'Email address used for billing as a string.',
|
|
1196
1223
|
example: 'email@example.com'
|
|
1197
1224
|
},
|
|
@@ -1219,7 +1246,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
1219
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.'
|
|
1220
1247
|
}
|
|
1221
1248
|
},
|
|
1222
|
-
required: [
|
|
1249
|
+
required: [
|
|
1250
|
+
'email',
|
|
1251
|
+
'first_name',
|
|
1252
|
+
'last_name',
|
|
1253
|
+
'company_name',
|
|
1254
|
+
'password'
|
|
1255
|
+
],
|
|
1223
1256
|
additionalProperties: false
|
|
1224
1257
|
};
|
|
1225
1258
|
export const OrganizationSchema = {
|
|
@@ -1301,32 +1334,60 @@ export const OrganizationSchema = {
|
|
|
1301
1334
|
id: {
|
|
1302
1335
|
type: 'string',
|
|
1303
1336
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1304
|
-
example: '1.
|
|
1337
|
+
example: '1.33.x-cfke.x'
|
|
1305
1338
|
},
|
|
1306
1339
|
label: {
|
|
1307
1340
|
type: 'string',
|
|
1308
1341
|
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1309
|
-
example: '1.
|
|
1342
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1310
1343
|
}
|
|
1311
1344
|
},
|
|
1312
|
-
required: [
|
|
1345
|
+
required: [
|
|
1346
|
+
'id',
|
|
1347
|
+
'label'
|
|
1348
|
+
],
|
|
1313
1349
|
additionalProperties: false
|
|
1314
1350
|
},
|
|
1315
1351
|
minItems: 1,
|
|
1316
1352
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1353
|
+
},
|
|
1354
|
+
cfcr_storage_gb: {
|
|
1355
|
+
type: 'integer',
|
|
1356
|
+
minimum: -1,
|
|
1357
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1358
|
+
example: 500
|
|
1317
1359
|
}
|
|
1318
1360
|
},
|
|
1319
|
-
required: [
|
|
1361
|
+
required: [
|
|
1362
|
+
'basic_clusters_max',
|
|
1363
|
+
'basic_clusters_available',
|
|
1364
|
+
'pro_clusters_max',
|
|
1365
|
+
'pro_clusters_available',
|
|
1366
|
+
'fleets_max',
|
|
1367
|
+
'cluster_tiers',
|
|
1368
|
+
'regions',
|
|
1369
|
+
'versions',
|
|
1370
|
+
'cfcr_storage_gb'
|
|
1371
|
+
],
|
|
1320
1372
|
additionalProperties: false,
|
|
1321
1373
|
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.'
|
|
1322
1374
|
},
|
|
1323
1375
|
status: {
|
|
1324
1376
|
type: 'string',
|
|
1325
1377
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1326
|
-
enum: [
|
|
1378
|
+
enum: [
|
|
1379
|
+
'active',
|
|
1380
|
+
'closed',
|
|
1381
|
+
'suspended'
|
|
1382
|
+
]
|
|
1327
1383
|
}
|
|
1328
1384
|
},
|
|
1329
|
-
required: [
|
|
1385
|
+
required: [
|
|
1386
|
+
'id',
|
|
1387
|
+
'date_created',
|
|
1388
|
+
'quota',
|
|
1389
|
+
'status'
|
|
1390
|
+
],
|
|
1330
1391
|
additionalProperties: false
|
|
1331
1392
|
};
|
|
1332
1393
|
export const PaymentMethodSchema = {
|
|
@@ -1348,7 +1409,9 @@ export const PaymentMethodSchema = {
|
|
|
1348
1409
|
nullable: true,
|
|
1349
1410
|
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
1350
1411
|
example: 'card',
|
|
1351
|
-
enum: [
|
|
1412
|
+
enum: [
|
|
1413
|
+
'card'
|
|
1414
|
+
]
|
|
1352
1415
|
},
|
|
1353
1416
|
last4: {
|
|
1354
1417
|
type: 'string',
|
|
@@ -1361,14 +1424,14 @@ export const PaymentMethodSchema = {
|
|
|
1361
1424
|
minimum: 1,
|
|
1362
1425
|
maximum: 12,
|
|
1363
1426
|
nullable: true,
|
|
1364
|
-
description:
|
|
1427
|
+
description: 'Two-digit number representing the card\'s expiration month.',
|
|
1365
1428
|
example: '12'
|
|
1366
1429
|
},
|
|
1367
1430
|
exp_year: {
|
|
1368
1431
|
type: 'integer',
|
|
1369
1432
|
minimum: 2024,
|
|
1370
1433
|
nullable: true,
|
|
1371
|
-
description:
|
|
1434
|
+
description: 'Four-digit number representing the card\'s expiration year.',
|
|
1372
1435
|
example: '2028'
|
|
1373
1436
|
},
|
|
1374
1437
|
brand: {
|
|
@@ -1376,10 +1439,873 @@ export const PaymentMethodSchema = {
|
|
|
1376
1439
|
nullable: true,
|
|
1377
1440
|
description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
|
|
1378
1441
|
example: 'visa',
|
|
1379
|
-
enum: [
|
|
1442
|
+
enum: [
|
|
1443
|
+
'amex',
|
|
1444
|
+
'diners',
|
|
1445
|
+
'discover',
|
|
1446
|
+
'eftpos_au',
|
|
1447
|
+
'jcb',
|
|
1448
|
+
'mastercard',
|
|
1449
|
+
'unionpay',
|
|
1450
|
+
'visa',
|
|
1451
|
+
'unknown'
|
|
1452
|
+
]
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
required: [
|
|
1456
|
+
'id',
|
|
1457
|
+
'setup',
|
|
1458
|
+
'type',
|
|
1459
|
+
'last4',
|
|
1460
|
+
'exp_month',
|
|
1461
|
+
'exp_year',
|
|
1462
|
+
'brand'
|
|
1463
|
+
],
|
|
1464
|
+
additionalProperties: false
|
|
1465
|
+
};
|
|
1466
|
+
export const PlatformQuotaSchema = {
|
|
1467
|
+
type: 'object',
|
|
1468
|
+
properties: {
|
|
1469
|
+
basic_clusters_max: {
|
|
1470
|
+
type: 'integer',
|
|
1471
|
+
minimum: 0,
|
|
1472
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
1473
|
+
example: 999
|
|
1474
|
+
},
|
|
1475
|
+
basic_clusters_available: {
|
|
1476
|
+
type: 'integer',
|
|
1477
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
1478
|
+
example: 999
|
|
1479
|
+
},
|
|
1480
|
+
pro_clusters_max: {
|
|
1481
|
+
type: 'integer',
|
|
1482
|
+
minimum: 0,
|
|
1483
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
1484
|
+
example: 999
|
|
1485
|
+
},
|
|
1486
|
+
pro_clusters_available: {
|
|
1487
|
+
type: 'integer',
|
|
1488
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
1489
|
+
example: 999
|
|
1490
|
+
},
|
|
1491
|
+
fleets_max: {
|
|
1492
|
+
type: 'integer',
|
|
1493
|
+
minimum: 0,
|
|
1494
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1495
|
+
example: 999
|
|
1496
|
+
},
|
|
1497
|
+
cluster_tiers: {
|
|
1498
|
+
type: 'array',
|
|
1499
|
+
items: {
|
|
1500
|
+
type: 'string',
|
|
1501
|
+
example: 'basic'
|
|
1502
|
+
},
|
|
1503
|
+
minItems: 0,
|
|
1504
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1505
|
+
},
|
|
1506
|
+
regions: {
|
|
1507
|
+
type: 'array',
|
|
1508
|
+
items: {
|
|
1509
|
+
type: 'string',
|
|
1510
|
+
example: 'northamerica-central-1'
|
|
1511
|
+
},
|
|
1512
|
+
minItems: 1,
|
|
1513
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
1514
|
+
},
|
|
1515
|
+
versions: {
|
|
1516
|
+
type: 'array',
|
|
1517
|
+
items: {
|
|
1518
|
+
type: 'object',
|
|
1519
|
+
properties: {
|
|
1520
|
+
id: {
|
|
1521
|
+
type: 'string',
|
|
1522
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
1523
|
+
example: '1.33.x-cfke.x'
|
|
1524
|
+
},
|
|
1525
|
+
label: {
|
|
1526
|
+
type: 'string',
|
|
1527
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1528
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
required: [
|
|
1532
|
+
'id',
|
|
1533
|
+
'label'
|
|
1534
|
+
],
|
|
1535
|
+
additionalProperties: false
|
|
1536
|
+
},
|
|
1537
|
+
minItems: 1,
|
|
1538
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
1539
|
+
},
|
|
1540
|
+
cfcr_storage_gb: {
|
|
1541
|
+
type: 'integer',
|
|
1542
|
+
minimum: -1,
|
|
1543
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1544
|
+
example: 500
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
required: [
|
|
1548
|
+
'basic_clusters_max',
|
|
1549
|
+
'basic_clusters_available',
|
|
1550
|
+
'pro_clusters_max',
|
|
1551
|
+
'pro_clusters_available',
|
|
1552
|
+
'fleets_max',
|
|
1553
|
+
'cluster_tiers',
|
|
1554
|
+
'regions',
|
|
1555
|
+
'versions',
|
|
1556
|
+
'cfcr_storage_gb'
|
|
1557
|
+
],
|
|
1558
|
+
additionalProperties: false
|
|
1559
|
+
};
|
|
1560
|
+
export const RegistryRepositorySchema = {
|
|
1561
|
+
type: 'object',
|
|
1562
|
+
properties: {
|
|
1563
|
+
name: {
|
|
1564
|
+
type: 'string',
|
|
1565
|
+
description: 'Repository name.',
|
|
1566
|
+
example: 'my-app'
|
|
1567
|
+
},
|
|
1568
|
+
region: {
|
|
1569
|
+
type: 'string',
|
|
1570
|
+
description: 'Registry region.',
|
|
1571
|
+
example: 'northamerica'
|
|
1572
|
+
},
|
|
1573
|
+
uri: {
|
|
1574
|
+
type: 'string',
|
|
1575
|
+
description: 'Full URI of the repository.',
|
|
1576
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
required: [
|
|
1580
|
+
'name',
|
|
1581
|
+
'region',
|
|
1582
|
+
'uri'
|
|
1583
|
+
],
|
|
1584
|
+
additionalProperties: false
|
|
1585
|
+
};
|
|
1586
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
1587
|
+
type: 'object',
|
|
1588
|
+
properties: {
|
|
1589
|
+
name: {
|
|
1590
|
+
type: 'string',
|
|
1591
|
+
description: 'Repository name.',
|
|
1592
|
+
example: 'my-app'
|
|
1593
|
+
},
|
|
1594
|
+
region: {
|
|
1595
|
+
type: 'string',
|
|
1596
|
+
description: 'Registry region.',
|
|
1597
|
+
example: 'northamerica'
|
|
1598
|
+
},
|
|
1599
|
+
uri: {
|
|
1600
|
+
type: 'string',
|
|
1601
|
+
description: 'Full URI of the repository.',
|
|
1602
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1603
|
+
},
|
|
1604
|
+
tags: {
|
|
1605
|
+
type: 'array',
|
|
1606
|
+
items: {
|
|
1607
|
+
type: 'object',
|
|
1608
|
+
properties: {
|
|
1609
|
+
name: {
|
|
1610
|
+
type: 'string',
|
|
1611
|
+
description: 'Tag name.',
|
|
1612
|
+
example: 'latest'
|
|
1613
|
+
},
|
|
1614
|
+
size: {
|
|
1615
|
+
type: 'number',
|
|
1616
|
+
format: 'float',
|
|
1617
|
+
description: 'Size of the tag in bytes.',
|
|
1618
|
+
example: 123456789
|
|
1619
|
+
},
|
|
1620
|
+
mediaType: {
|
|
1621
|
+
type: 'string',
|
|
1622
|
+
description: 'Media type of the manifest.',
|
|
1623
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1624
|
+
},
|
|
1625
|
+
platforms: {
|
|
1626
|
+
type: 'array',
|
|
1627
|
+
items: {
|
|
1628
|
+
type: 'string'
|
|
1629
|
+
},
|
|
1630
|
+
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
1631
|
+
example: [
|
|
1632
|
+
'linux/amd64',
|
|
1633
|
+
'linux/arm64'
|
|
1634
|
+
]
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
required: [
|
|
1638
|
+
'name',
|
|
1639
|
+
'size'
|
|
1640
|
+
],
|
|
1641
|
+
additionalProperties: false
|
|
1642
|
+
},
|
|
1643
|
+
description: 'Array of tags in the repository.'
|
|
1644
|
+
},
|
|
1645
|
+
totalSize: {
|
|
1646
|
+
type: 'number',
|
|
1647
|
+
format: 'float',
|
|
1648
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
1649
|
+
example: 987654321
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
required: [
|
|
1653
|
+
'name',
|
|
1654
|
+
'region',
|
|
1655
|
+
'uri',
|
|
1656
|
+
'tags',
|
|
1657
|
+
'totalSize'
|
|
1658
|
+
],
|
|
1659
|
+
additionalProperties: false
|
|
1660
|
+
};
|
|
1661
|
+
export const RegistryTagSchema = {
|
|
1662
|
+
type: 'object',
|
|
1663
|
+
properties: {
|
|
1664
|
+
name: {
|
|
1665
|
+
type: 'string',
|
|
1666
|
+
description: 'Tag name.',
|
|
1667
|
+
example: 'latest'
|
|
1668
|
+
},
|
|
1669
|
+
digest: {
|
|
1670
|
+
type: 'string',
|
|
1671
|
+
description: 'Manifest digest for pulling by digest.',
|
|
1672
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1673
|
+
},
|
|
1674
|
+
mediaType: {
|
|
1675
|
+
type: 'string',
|
|
1676
|
+
description: 'Media type of the manifest.',
|
|
1677
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1678
|
+
},
|
|
1679
|
+
config: {
|
|
1680
|
+
type: 'object',
|
|
1681
|
+
properties: {
|
|
1682
|
+
size: {
|
|
1683
|
+
type: 'number',
|
|
1684
|
+
format: 'float',
|
|
1685
|
+
description: 'Size of the config in bytes.',
|
|
1686
|
+
example: 1234
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
required: [
|
|
1690
|
+
'size'
|
|
1691
|
+
],
|
|
1692
|
+
additionalProperties: false,
|
|
1693
|
+
description: 'Manifest config metadata.'
|
|
1694
|
+
},
|
|
1695
|
+
layers: {
|
|
1696
|
+
type: 'array',
|
|
1697
|
+
items: {
|
|
1698
|
+
type: 'object',
|
|
1699
|
+
properties: {
|
|
1700
|
+
digest: {
|
|
1701
|
+
type: 'string',
|
|
1702
|
+
description: 'Digest of the layer.',
|
|
1703
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1704
|
+
},
|
|
1705
|
+
size: {
|
|
1706
|
+
type: 'number',
|
|
1707
|
+
format: 'float',
|
|
1708
|
+
description: 'Size of the layer in bytes.',
|
|
1709
|
+
example: 5678
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
required: [
|
|
1713
|
+
'size'
|
|
1714
|
+
],
|
|
1715
|
+
additionalProperties: false
|
|
1716
|
+
},
|
|
1717
|
+
description: 'Array of layer metadata.'
|
|
1718
|
+
},
|
|
1719
|
+
manifests: {
|
|
1720
|
+
type: 'array',
|
|
1721
|
+
items: {
|
|
1722
|
+
type: 'object',
|
|
1723
|
+
properties: {
|
|
1724
|
+
digest: {
|
|
1725
|
+
type: 'string',
|
|
1726
|
+
description: 'Digest of the manifest.',
|
|
1727
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1728
|
+
},
|
|
1729
|
+
platform: {
|
|
1730
|
+
type: 'object',
|
|
1731
|
+
properties: {
|
|
1732
|
+
architecture: {
|
|
1733
|
+
type: 'string',
|
|
1734
|
+
description: 'Architecture of the platform.',
|
|
1735
|
+
example: 'amd64'
|
|
1736
|
+
},
|
|
1737
|
+
os: {
|
|
1738
|
+
type: 'string',
|
|
1739
|
+
description: 'Operating system of the platform.',
|
|
1740
|
+
example: 'linux'
|
|
1741
|
+
},
|
|
1742
|
+
variant: {
|
|
1743
|
+
type: 'string',
|
|
1744
|
+
description: 'Variant of the platform (e.g., v7, v8 for ARM).',
|
|
1745
|
+
example: 'v8'
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1748
|
+
required: [
|
|
1749
|
+
'architecture',
|
|
1750
|
+
'os'
|
|
1751
|
+
],
|
|
1752
|
+
additionalProperties: false,
|
|
1753
|
+
description: 'Platform information for the manifest.'
|
|
1754
|
+
},
|
|
1755
|
+
layers: {
|
|
1756
|
+
type: 'array',
|
|
1757
|
+
items: {
|
|
1758
|
+
type: 'object',
|
|
1759
|
+
properties: {
|
|
1760
|
+
digest: {
|
|
1761
|
+
type: 'string',
|
|
1762
|
+
description: 'Digest of the layer.',
|
|
1763
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1764
|
+
},
|
|
1765
|
+
size: {
|
|
1766
|
+
type: 'number',
|
|
1767
|
+
format: 'float',
|
|
1768
|
+
description: 'Size of the layer in bytes.',
|
|
1769
|
+
example: 5678
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
required: [
|
|
1773
|
+
'size'
|
|
1774
|
+
],
|
|
1775
|
+
additionalProperties: false
|
|
1776
|
+
},
|
|
1777
|
+
description: 'Layers for this platform.'
|
|
1778
|
+
},
|
|
1779
|
+
size: {
|
|
1780
|
+
type: 'number',
|
|
1781
|
+
format: 'float',
|
|
1782
|
+
description: 'Total size of this platform manifest in bytes.',
|
|
1783
|
+
example: 12345678
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
required: [
|
|
1787
|
+
'digest'
|
|
1788
|
+
],
|
|
1789
|
+
additionalProperties: false
|
|
1790
|
+
},
|
|
1791
|
+
description: 'Array of manifests for multi-arch images.'
|
|
1792
|
+
},
|
|
1793
|
+
size: {
|
|
1794
|
+
type: 'number',
|
|
1795
|
+
format: 'float',
|
|
1796
|
+
description: 'Total size of the tag in bytes.',
|
|
1797
|
+
example: 123456789
|
|
1798
|
+
},
|
|
1799
|
+
region: {
|
|
1800
|
+
type: 'string',
|
|
1801
|
+
description: 'Registry region.',
|
|
1802
|
+
example: 'northamerica'
|
|
1803
|
+
},
|
|
1804
|
+
repository: {
|
|
1805
|
+
type: 'string',
|
|
1806
|
+
description: 'Repository name.',
|
|
1807
|
+
example: 'my-app'
|
|
1808
|
+
},
|
|
1809
|
+
uri: {
|
|
1810
|
+
type: 'string',
|
|
1811
|
+
description: 'Full URI of the tag.',
|
|
1812
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
required: [
|
|
1816
|
+
'name',
|
|
1817
|
+
'digest',
|
|
1818
|
+
'size',
|
|
1819
|
+
'region',
|
|
1820
|
+
'repository',
|
|
1821
|
+
'uri'
|
|
1822
|
+
],
|
|
1823
|
+
additionalProperties: false
|
|
1824
|
+
};
|
|
1825
|
+
export const TicketAttachmentSchema = {
|
|
1826
|
+
type: 'object',
|
|
1827
|
+
properties: {
|
|
1828
|
+
id: {
|
|
1829
|
+
type: 'string',
|
|
1830
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
1831
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
1832
|
+
},
|
|
1833
|
+
filename: {
|
|
1834
|
+
type: 'string',
|
|
1835
|
+
description: 'Original filename as uploaded.',
|
|
1836
|
+
example: 'debug.log'
|
|
1837
|
+
},
|
|
1838
|
+
content_type: {
|
|
1839
|
+
type: 'string',
|
|
1840
|
+
description: 'MIME content type of the attachment.',
|
|
1841
|
+
example: 'text/plain'
|
|
1842
|
+
},
|
|
1843
|
+
size: {
|
|
1844
|
+
type: 'integer',
|
|
1845
|
+
description: 'Size of the attachment in bytes.',
|
|
1846
|
+
example: 12345
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
required: [
|
|
1850
|
+
'id',
|
|
1851
|
+
'filename',
|
|
1852
|
+
'content_type',
|
|
1853
|
+
'size'
|
|
1854
|
+
],
|
|
1855
|
+
additionalProperties: false
|
|
1856
|
+
};
|
|
1857
|
+
export const TicketCreateInputSchema = {
|
|
1858
|
+
type: 'object',
|
|
1859
|
+
properties: {
|
|
1860
|
+
category: {
|
|
1861
|
+
type: 'string',
|
|
1862
|
+
description: 'Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.',
|
|
1863
|
+
example: 'technical',
|
|
1864
|
+
enum: [
|
|
1865
|
+
'billing',
|
|
1866
|
+
'technical',
|
|
1867
|
+
'general'
|
|
1868
|
+
]
|
|
1869
|
+
},
|
|
1870
|
+
body: {
|
|
1871
|
+
type: 'string',
|
|
1872
|
+
maxLength: 50000,
|
|
1873
|
+
minLength: 1,
|
|
1874
|
+
pattern: '\\S',
|
|
1875
|
+
description: 'Initial message body in markdown. There is no separate subject — the first message body is the description.',
|
|
1876
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
1877
|
+
},
|
|
1878
|
+
properties: {
|
|
1879
|
+
type: 'object',
|
|
1880
|
+
additionalProperties: true,
|
|
1881
|
+
description: 'Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).',
|
|
1882
|
+
example: {
|
|
1883
|
+
subcategory: 'cluster-question',
|
|
1884
|
+
cluster_id: '60c72b2f9f1b2c001f8e4d3a'
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
required: [
|
|
1889
|
+
'category',
|
|
1890
|
+
'body'
|
|
1891
|
+
],
|
|
1892
|
+
additionalProperties: false
|
|
1893
|
+
};
|
|
1894
|
+
export const TicketListResponseSchema = {
|
|
1895
|
+
type: 'object',
|
|
1896
|
+
properties: {
|
|
1897
|
+
items: {
|
|
1898
|
+
type: 'array',
|
|
1899
|
+
items: {
|
|
1900
|
+
type: 'object',
|
|
1901
|
+
properties: {
|
|
1902
|
+
id: {
|
|
1903
|
+
type: 'string',
|
|
1904
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
1905
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
1906
|
+
},
|
|
1907
|
+
status: {
|
|
1908
|
+
type: 'string',
|
|
1909
|
+
description: 'Current state of the ticket.',
|
|
1910
|
+
example: 'waiting_on_us',
|
|
1911
|
+
enum: [
|
|
1912
|
+
'waiting_on_us',
|
|
1913
|
+
'waiting_on_user',
|
|
1914
|
+
'closed'
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
category: {
|
|
1918
|
+
type: 'string',
|
|
1919
|
+
description: 'Ticket category.',
|
|
1920
|
+
example: 'technical',
|
|
1921
|
+
enum: [
|
|
1922
|
+
'billing',
|
|
1923
|
+
'technical',
|
|
1924
|
+
'general'
|
|
1925
|
+
]
|
|
1926
|
+
},
|
|
1927
|
+
summary: {
|
|
1928
|
+
type: 'string',
|
|
1929
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
1930
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
1931
|
+
},
|
|
1932
|
+
closed_at: {
|
|
1933
|
+
type: 'string',
|
|
1934
|
+
format: 'date-time',
|
|
1935
|
+
nullable: true,
|
|
1936
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
1937
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
1938
|
+
},
|
|
1939
|
+
date_created: {
|
|
1940
|
+
type: 'string',
|
|
1941
|
+
format: 'date-time',
|
|
1942
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
1943
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1944
|
+
},
|
|
1945
|
+
date_updated: {
|
|
1946
|
+
type: 'string',
|
|
1947
|
+
format: 'date-time',
|
|
1948
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
1949
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
1950
|
+
},
|
|
1951
|
+
messages: {
|
|
1952
|
+
type: 'array',
|
|
1953
|
+
items: {
|
|
1954
|
+
type: 'object',
|
|
1955
|
+
properties: {
|
|
1956
|
+
id: {
|
|
1957
|
+
type: 'string',
|
|
1958
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
1959
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
1960
|
+
},
|
|
1961
|
+
type: {
|
|
1962
|
+
type: 'string',
|
|
1963
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
1964
|
+
example: 'customer_reply',
|
|
1965
|
+
enum: [
|
|
1966
|
+
'customer_reply',
|
|
1967
|
+
'agent_reply'
|
|
1968
|
+
]
|
|
1969
|
+
},
|
|
1970
|
+
body: {
|
|
1971
|
+
type: 'string',
|
|
1972
|
+
description: 'Message body in markdown.',
|
|
1973
|
+
example: 'Thanks — that resolved it on my side.'
|
|
1974
|
+
},
|
|
1975
|
+
author_first_name: {
|
|
1976
|
+
type: 'string',
|
|
1977
|
+
nullable: true,
|
|
1978
|
+
description: 'First name of the author. Null when not provided.',
|
|
1979
|
+
example: 'Jane'
|
|
1980
|
+
},
|
|
1981
|
+
author_last_name: {
|
|
1982
|
+
type: 'string',
|
|
1983
|
+
nullable: true,
|
|
1984
|
+
description: 'Last name of the author. Null when not provided.',
|
|
1985
|
+
example: 'Doe'
|
|
1986
|
+
},
|
|
1987
|
+
attachments: {
|
|
1988
|
+
type: 'array',
|
|
1989
|
+
items: {
|
|
1990
|
+
type: 'object',
|
|
1991
|
+
properties: {
|
|
1992
|
+
id: {
|
|
1993
|
+
type: 'string',
|
|
1994
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
1995
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
1996
|
+
},
|
|
1997
|
+
filename: {
|
|
1998
|
+
type: 'string',
|
|
1999
|
+
description: 'Original filename as uploaded.',
|
|
2000
|
+
example: 'debug.log'
|
|
2001
|
+
},
|
|
2002
|
+
content_type: {
|
|
2003
|
+
type: 'string',
|
|
2004
|
+
description: 'MIME content type of the attachment.',
|
|
2005
|
+
example: 'text/plain'
|
|
2006
|
+
},
|
|
2007
|
+
size: {
|
|
2008
|
+
type: 'integer',
|
|
2009
|
+
description: 'Size of the attachment in bytes.',
|
|
2010
|
+
example: 12345
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
required: [
|
|
2014
|
+
'id',
|
|
2015
|
+
'filename',
|
|
2016
|
+
'content_type',
|
|
2017
|
+
'size'
|
|
2018
|
+
],
|
|
2019
|
+
additionalProperties: false
|
|
2020
|
+
},
|
|
2021
|
+
description: 'Attachments associated with this message.',
|
|
2022
|
+
example: []
|
|
2023
|
+
},
|
|
2024
|
+
date_created: {
|
|
2025
|
+
type: 'string',
|
|
2026
|
+
format: 'date-time',
|
|
2027
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
2028
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
required: [
|
|
2032
|
+
'id',
|
|
2033
|
+
'type',
|
|
2034
|
+
'body',
|
|
2035
|
+
'date_created'
|
|
2036
|
+
],
|
|
2037
|
+
additionalProperties: false
|
|
2038
|
+
},
|
|
2039
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
required: [
|
|
2043
|
+
'id',
|
|
2044
|
+
'status',
|
|
2045
|
+
'category',
|
|
2046
|
+
'summary',
|
|
2047
|
+
'date_created',
|
|
2048
|
+
'date_updated'
|
|
2049
|
+
],
|
|
2050
|
+
additionalProperties: false
|
|
2051
|
+
},
|
|
2052
|
+
description: 'Tickets for the organization, ordered newest first. Messages are omitted from list responses.'
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
required: [
|
|
2056
|
+
'items'
|
|
2057
|
+
],
|
|
2058
|
+
additionalProperties: false
|
|
2059
|
+
};
|
|
2060
|
+
export const TicketMessageInputSchema = {
|
|
2061
|
+
type: 'object',
|
|
2062
|
+
properties: {
|
|
2063
|
+
body: {
|
|
2064
|
+
type: 'string',
|
|
2065
|
+
maxLength: 50000,
|
|
2066
|
+
minLength: 1,
|
|
2067
|
+
pattern: '\\S',
|
|
2068
|
+
description: 'Reply body in markdown.',
|
|
2069
|
+
example: 'Thanks — that resolved it on my side.'
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
required: [
|
|
2073
|
+
'body'
|
|
2074
|
+
],
|
|
2075
|
+
additionalProperties: false
|
|
2076
|
+
};
|
|
2077
|
+
export const TicketMessageSchema = {
|
|
2078
|
+
type: 'object',
|
|
2079
|
+
properties: {
|
|
2080
|
+
id: {
|
|
2081
|
+
type: 'string',
|
|
2082
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
2083
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
2084
|
+
},
|
|
2085
|
+
type: {
|
|
2086
|
+
type: 'string',
|
|
2087
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
2088
|
+
example: 'customer_reply',
|
|
2089
|
+
enum: [
|
|
2090
|
+
'customer_reply',
|
|
2091
|
+
'agent_reply'
|
|
2092
|
+
]
|
|
2093
|
+
},
|
|
2094
|
+
body: {
|
|
2095
|
+
type: 'string',
|
|
2096
|
+
description: 'Message body in markdown.',
|
|
2097
|
+
example: 'Thanks — that resolved it on my side.'
|
|
2098
|
+
},
|
|
2099
|
+
author_first_name: {
|
|
2100
|
+
type: 'string',
|
|
2101
|
+
description: 'First name of the author. Null when not provided.',
|
|
2102
|
+
example: 'Jane'
|
|
2103
|
+
},
|
|
2104
|
+
author_last_name: {
|
|
2105
|
+
type: 'string',
|
|
2106
|
+
description: 'Last name of the author. Null when not provided.',
|
|
2107
|
+
example: 'Doe'
|
|
2108
|
+
},
|
|
2109
|
+
attachments: {
|
|
2110
|
+
type: 'array',
|
|
2111
|
+
items: {
|
|
2112
|
+
type: 'object',
|
|
2113
|
+
properties: {
|
|
2114
|
+
id: {
|
|
2115
|
+
type: 'string',
|
|
2116
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
2117
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
2118
|
+
},
|
|
2119
|
+
filename: {
|
|
2120
|
+
type: 'string',
|
|
2121
|
+
description: 'Original filename as uploaded.',
|
|
2122
|
+
example: 'debug.log'
|
|
2123
|
+
},
|
|
2124
|
+
content_type: {
|
|
2125
|
+
type: 'string',
|
|
2126
|
+
description: 'MIME content type of the attachment.',
|
|
2127
|
+
example: 'text/plain'
|
|
2128
|
+
},
|
|
2129
|
+
size: {
|
|
2130
|
+
type: 'integer',
|
|
2131
|
+
description: 'Size of the attachment in bytes.',
|
|
2132
|
+
example: 12345
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
required: [
|
|
2136
|
+
'id',
|
|
2137
|
+
'filename',
|
|
2138
|
+
'content_type',
|
|
2139
|
+
'size'
|
|
2140
|
+
],
|
|
2141
|
+
additionalProperties: false
|
|
2142
|
+
},
|
|
2143
|
+
description: 'Attachments associated with this message.',
|
|
2144
|
+
example: []
|
|
2145
|
+
},
|
|
2146
|
+
date_created: {
|
|
2147
|
+
type: 'string',
|
|
2148
|
+
format: 'date-time',
|
|
2149
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
2150
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
required: [
|
|
2154
|
+
'id',
|
|
2155
|
+
'type',
|
|
2156
|
+
'body',
|
|
2157
|
+
'date_created'
|
|
2158
|
+
],
|
|
2159
|
+
additionalProperties: false
|
|
2160
|
+
};
|
|
2161
|
+
export const TicketSchema = {
|
|
2162
|
+
type: 'object',
|
|
2163
|
+
properties: {
|
|
2164
|
+
id: {
|
|
2165
|
+
type: 'string',
|
|
2166
|
+
description: 'Unique identifier of the ticket (Mongo ObjectId).',
|
|
2167
|
+
example: '60c72b2f9f1b2c001f8e4d3a'
|
|
2168
|
+
},
|
|
2169
|
+
status: {
|
|
2170
|
+
type: 'string',
|
|
2171
|
+
description: 'Current state of the ticket.',
|
|
2172
|
+
example: 'waiting_on_us',
|
|
2173
|
+
enum: [
|
|
2174
|
+
'waiting_on_us',
|
|
2175
|
+
'waiting_on_user',
|
|
2176
|
+
'closed'
|
|
2177
|
+
]
|
|
2178
|
+
},
|
|
2179
|
+
category: {
|
|
2180
|
+
type: 'string',
|
|
2181
|
+
description: 'Ticket category.',
|
|
2182
|
+
example: 'technical',
|
|
2183
|
+
enum: [
|
|
2184
|
+
'billing',
|
|
2185
|
+
'technical',
|
|
2186
|
+
'general'
|
|
2187
|
+
]
|
|
2188
|
+
},
|
|
2189
|
+
summary: {
|
|
2190
|
+
type: 'string',
|
|
2191
|
+
description: 'First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.',
|
|
2192
|
+
example: 'My cluster cannot reach the registry. Logs attached.'
|
|
2193
|
+
},
|
|
2194
|
+
closed_at: {
|
|
2195
|
+
type: 'string',
|
|
2196
|
+
format: 'date-time',
|
|
2197
|
+
description: 'Closure timestamp. Null while the ticket is open.',
|
|
2198
|
+
example: '2026-05-18T16:08:14.338Z'
|
|
2199
|
+
},
|
|
2200
|
+
date_created: {
|
|
2201
|
+
type: 'string',
|
|
2202
|
+
format: 'date-time',
|
|
2203
|
+
description: 'Creation date of the ticket. ISO 8601 UTC.',
|
|
2204
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2205
|
+
},
|
|
2206
|
+
date_updated: {
|
|
2207
|
+
type: 'string',
|
|
2208
|
+
format: 'date-time',
|
|
2209
|
+
description: 'Last update date of the ticket. ISO 8601 UTC.',
|
|
2210
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2211
|
+
},
|
|
2212
|
+
messages: {
|
|
2213
|
+
type: 'array',
|
|
2214
|
+
items: {
|
|
2215
|
+
type: 'object',
|
|
2216
|
+
properties: {
|
|
2217
|
+
id: {
|
|
2218
|
+
type: 'string',
|
|
2219
|
+
description: 'Unique identifier of the message (Mongo ObjectId).',
|
|
2220
|
+
example: '60c72b2f9f1b2c001f8e4d3b'
|
|
2221
|
+
},
|
|
2222
|
+
type: {
|
|
2223
|
+
type: 'string',
|
|
2224
|
+
description: 'Message type. Internal notes are filtered out of customer-facing responses.',
|
|
2225
|
+
example: 'customer_reply',
|
|
2226
|
+
enum: [
|
|
2227
|
+
'customer_reply',
|
|
2228
|
+
'agent_reply'
|
|
2229
|
+
]
|
|
2230
|
+
},
|
|
2231
|
+
body: {
|
|
2232
|
+
type: 'string',
|
|
2233
|
+
description: 'Message body in markdown.',
|
|
2234
|
+
example: 'Thanks — that resolved it on my side.'
|
|
2235
|
+
},
|
|
2236
|
+
author_first_name: {
|
|
2237
|
+
type: 'string',
|
|
2238
|
+
description: 'First name of the author. Null when not provided.',
|
|
2239
|
+
example: 'Jane'
|
|
2240
|
+
},
|
|
2241
|
+
author_last_name: {
|
|
2242
|
+
type: 'string',
|
|
2243
|
+
description: 'Last name of the author. Null when not provided.',
|
|
2244
|
+
example: 'Doe'
|
|
2245
|
+
},
|
|
2246
|
+
attachments: {
|
|
2247
|
+
type: 'array',
|
|
2248
|
+
items: {
|
|
2249
|
+
type: 'object',
|
|
2250
|
+
properties: {
|
|
2251
|
+
id: {
|
|
2252
|
+
type: 'string',
|
|
2253
|
+
description: 'Unique identifier of the attachment (Mongo ObjectId).',
|
|
2254
|
+
example: '60c72b2f9f1b2c001f8e4d3c'
|
|
2255
|
+
},
|
|
2256
|
+
filename: {
|
|
2257
|
+
type: 'string',
|
|
2258
|
+
description: 'Original filename as uploaded.',
|
|
2259
|
+
example: 'debug.log'
|
|
2260
|
+
},
|
|
2261
|
+
content_type: {
|
|
2262
|
+
type: 'string',
|
|
2263
|
+
description: 'MIME content type of the attachment.',
|
|
2264
|
+
example: 'text/plain'
|
|
2265
|
+
},
|
|
2266
|
+
size: {
|
|
2267
|
+
type: 'integer',
|
|
2268
|
+
description: 'Size of the attachment in bytes.',
|
|
2269
|
+
example: 12345
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
required: [
|
|
2273
|
+
'id',
|
|
2274
|
+
'filename',
|
|
2275
|
+
'content_type',
|
|
2276
|
+
'size'
|
|
2277
|
+
],
|
|
2278
|
+
additionalProperties: false
|
|
2279
|
+
},
|
|
2280
|
+
description: 'Attachments associated with this message.',
|
|
2281
|
+
example: []
|
|
2282
|
+
},
|
|
2283
|
+
date_created: {
|
|
2284
|
+
type: 'string',
|
|
2285
|
+
format: 'date-time',
|
|
2286
|
+
description: 'Creation date of the message. ISO 8601 UTC.',
|
|
2287
|
+
example: '2026-05-11T16:08:14.338Z'
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
required: [
|
|
2291
|
+
'id',
|
|
2292
|
+
'type',
|
|
2293
|
+
'body',
|
|
2294
|
+
'date_created'
|
|
2295
|
+
],
|
|
2296
|
+
additionalProperties: false
|
|
2297
|
+
},
|
|
2298
|
+
description: 'Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.'
|
|
1380
2299
|
}
|
|
1381
2300
|
},
|
|
1382
|
-
required: [
|
|
2301
|
+
required: [
|
|
2302
|
+
'id',
|
|
2303
|
+
'status',
|
|
2304
|
+
'category',
|
|
2305
|
+
'summary',
|
|
2306
|
+
'date_created',
|
|
2307
|
+
'date_updated'
|
|
2308
|
+
],
|
|
1383
2309
|
additionalProperties: false
|
|
1384
2310
|
};
|
|
1385
2311
|
export const TokenCreateInputSchema = {
|
|
@@ -1397,10 +2323,16 @@ export const TokenCreateInputSchema = {
|
|
|
1397
2323
|
type: 'string',
|
|
1398
2324
|
description: 'Role assumed by the token.',
|
|
1399
2325
|
example: 'User',
|
|
1400
|
-
enum: [
|
|
2326
|
+
enum: [
|
|
2327
|
+
'Administrator',
|
|
2328
|
+
'User'
|
|
2329
|
+
]
|
|
1401
2330
|
}
|
|
1402
2331
|
},
|
|
1403
|
-
required: [
|
|
2332
|
+
required: [
|
|
2333
|
+
'name',
|
|
2334
|
+
'role'
|
|
2335
|
+
],
|
|
1404
2336
|
additionalProperties: false
|
|
1405
2337
|
};
|
|
1406
2338
|
export const TokenSchema = {
|
|
@@ -1418,7 +2350,10 @@ export const TokenSchema = {
|
|
|
1418
2350
|
type: 'string',
|
|
1419
2351
|
description: 'Role assumed by the token.',
|
|
1420
2352
|
example: 'User',
|
|
1421
|
-
enum: [
|
|
2353
|
+
enum: [
|
|
2354
|
+
'Administrator',
|
|
2355
|
+
'User'
|
|
2356
|
+
]
|
|
1422
2357
|
},
|
|
1423
2358
|
id: {
|
|
1424
2359
|
type: 'string',
|
|
@@ -1437,7 +2372,11 @@ export const TokenSchema = {
|
|
|
1437
2372
|
example: '2023-12-20T13:53:32.000Z'
|
|
1438
2373
|
}
|
|
1439
2374
|
},
|
|
1440
|
-
required: [
|
|
2375
|
+
required: [
|
|
2376
|
+
'name',
|
|
2377
|
+
'role',
|
|
2378
|
+
'date_created'
|
|
2379
|
+
],
|
|
1441
2380
|
additionalProperties: false
|
|
1442
2381
|
};
|
|
1443
2382
|
export const TokenUpdateInputSchema = {
|
|
@@ -1455,9 +2394,127 @@ export const TokenUpdateInputSchema = {
|
|
|
1455
2394
|
type: 'string',
|
|
1456
2395
|
description: 'Role assumed by the token.',
|
|
1457
2396
|
example: 'User',
|
|
1458
|
-
enum: [
|
|
2397
|
+
enum: [
|
|
2398
|
+
'Administrator',
|
|
2399
|
+
'User'
|
|
2400
|
+
]
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
additionalProperties: false
|
|
2404
|
+
};
|
|
2405
|
+
export const UsageFacetsSchema = {
|
|
2406
|
+
type: 'object',
|
|
2407
|
+
properties: {
|
|
2408
|
+
cluster_id: {
|
|
2409
|
+
type: 'array',
|
|
2410
|
+
items: {
|
|
2411
|
+
type: 'string'
|
|
2412
|
+
},
|
|
2413
|
+
description: 'List of unique cluster IDs',
|
|
2414
|
+
example: [
|
|
2415
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2416
|
+
]
|
|
2417
|
+
},
|
|
2418
|
+
product: {
|
|
2419
|
+
type: 'array',
|
|
2420
|
+
items: {
|
|
2421
|
+
type: 'string'
|
|
2422
|
+
},
|
|
2423
|
+
description: 'List of unique products',
|
|
2424
|
+
example: [
|
|
2425
|
+
'cfke_controlplane',
|
|
2426
|
+
'cfke_connected_nodes'
|
|
2427
|
+
]
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
additionalProperties: false
|
|
2431
|
+
};
|
|
2432
|
+
export const UsageResponseSchema = {
|
|
2433
|
+
type: 'object',
|
|
2434
|
+
properties: {
|
|
2435
|
+
data: {
|
|
2436
|
+
type: 'array',
|
|
2437
|
+
items: {
|
|
2438
|
+
type: 'object',
|
|
2439
|
+
properties: {
|
|
2440
|
+
hour: {
|
|
2441
|
+
type: 'string',
|
|
2442
|
+
description: 'Hour of the usage',
|
|
2443
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
2444
|
+
},
|
|
2445
|
+
cluster_id: {
|
|
2446
|
+
type: 'string',
|
|
2447
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
2448
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2449
|
+
},
|
|
2450
|
+
product: {
|
|
2451
|
+
type: 'string',
|
|
2452
|
+
description: 'The product the usage is associated with',
|
|
2453
|
+
example: 'cfke_controlplane'
|
|
2454
|
+
},
|
|
2455
|
+
value: {
|
|
2456
|
+
type: 'number',
|
|
2457
|
+
format: 'float',
|
|
2458
|
+
description: 'Consumption',
|
|
2459
|
+
example: 4
|
|
2460
|
+
},
|
|
2461
|
+
price: {
|
|
2462
|
+
type: 'number',
|
|
2463
|
+
format: 'float',
|
|
2464
|
+
description: 'Price per unit',
|
|
2465
|
+
example: 0.01
|
|
2466
|
+
},
|
|
2467
|
+
total: {
|
|
2468
|
+
type: 'number',
|
|
2469
|
+
format: 'float',
|
|
2470
|
+
description: 'Total cost'
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
required: [
|
|
2474
|
+
'hour',
|
|
2475
|
+
'cluster_id',
|
|
2476
|
+
'product',
|
|
2477
|
+
'value',
|
|
2478
|
+
'price',
|
|
2479
|
+
'total'
|
|
2480
|
+
],
|
|
2481
|
+
additionalProperties: false
|
|
2482
|
+
},
|
|
2483
|
+
description: 'Usage data'
|
|
2484
|
+
},
|
|
2485
|
+
facets: {
|
|
2486
|
+
type: 'object',
|
|
2487
|
+
properties: {
|
|
2488
|
+
cluster_id: {
|
|
2489
|
+
type: 'array',
|
|
2490
|
+
items: {
|
|
2491
|
+
type: 'string'
|
|
2492
|
+
},
|
|
2493
|
+
description: 'List of unique cluster IDs',
|
|
2494
|
+
example: [
|
|
2495
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2496
|
+
]
|
|
2497
|
+
},
|
|
2498
|
+
product: {
|
|
2499
|
+
type: 'array',
|
|
2500
|
+
items: {
|
|
2501
|
+
type: 'string'
|
|
2502
|
+
},
|
|
2503
|
+
description: 'List of unique products',
|
|
2504
|
+
example: [
|
|
2505
|
+
'cfke_controlplane',
|
|
2506
|
+
'cfke_connected_nodes'
|
|
2507
|
+
]
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
additionalProperties: false,
|
|
2511
|
+
description: 'Facets for filtering'
|
|
1459
2512
|
}
|
|
1460
2513
|
},
|
|
2514
|
+
required: [
|
|
2515
|
+
'data',
|
|
2516
|
+
'facets'
|
|
2517
|
+
],
|
|
1461
2518
|
additionalProperties: false
|
|
1462
2519
|
};
|
|
1463
2520
|
export const UsageSchema = {
|
|
@@ -1470,90 +2527,40 @@ export const UsageSchema = {
|
|
|
1470
2527
|
},
|
|
1471
2528
|
cluster_id: {
|
|
1472
2529
|
type: 'string',
|
|
1473
|
-
format: 'uuid',
|
|
1474
2530
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1475
2531
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1476
2532
|
},
|
|
1477
|
-
cluster_tier: {
|
|
1478
|
-
type: 'string',
|
|
1479
|
-
description: 'Tier of the cluster.',
|
|
1480
|
-
example: 'pro',
|
|
1481
|
-
enum: ['basic', 'pro', '']
|
|
1482
|
-
},
|
|
1483
2533
|
product: {
|
|
1484
2534
|
type: 'string',
|
|
1485
2535
|
description: 'The product the usage is associated with',
|
|
1486
|
-
example: 'cfke_controlplane'
|
|
1487
|
-
enum: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
1488
|
-
},
|
|
1489
|
-
node_name: {
|
|
1490
|
-
type: 'string',
|
|
1491
|
-
description: 'Name of the Kubernetes node',
|
|
1492
|
-
example: 'flexible-moth-956037384'
|
|
1493
|
-
},
|
|
1494
|
-
sku: {
|
|
1495
|
-
type: 'string',
|
|
1496
|
-
description: 'SKU of the Kubernetes node',
|
|
1497
|
-
example: 'GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT'
|
|
2536
|
+
example: 'cfke_controlplane'
|
|
1498
2537
|
},
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
description: 'CPU core count of the node',
|
|
1505
|
-
example: 4
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
type: 'string',
|
|
1509
|
-
enum: ['']
|
|
1510
|
-
}
|
|
1511
|
-
]
|
|
2538
|
+
value: {
|
|
2539
|
+
type: 'number',
|
|
2540
|
+
format: 'float',
|
|
2541
|
+
description: 'Consumption',
|
|
2542
|
+
example: 4
|
|
1512
2543
|
},
|
|
1513
2544
|
price: {
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
description: 'Price',
|
|
1519
|
-
example: 4
|
|
1520
|
-
},
|
|
1521
|
-
{
|
|
1522
|
-
type: 'string',
|
|
1523
|
-
enum: ['']
|
|
1524
|
-
}
|
|
1525
|
-
]
|
|
1526
|
-
},
|
|
1527
|
-
value: {
|
|
1528
|
-
anyOf: [
|
|
1529
|
-
{
|
|
1530
|
-
type: 'number',
|
|
1531
|
-
format: 'float',
|
|
1532
|
-
description: 'Value',
|
|
1533
|
-
example: 4
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
type: 'string',
|
|
1537
|
-
enum: ['']
|
|
1538
|
-
}
|
|
1539
|
-
]
|
|
2545
|
+
type: 'number',
|
|
2546
|
+
format: 'float',
|
|
2547
|
+
description: 'Price per unit',
|
|
2548
|
+
example: 0.01
|
|
1540
2549
|
},
|
|
1541
2550
|
total: {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
format: 'float',
|
|
1546
|
-
description: 'Total',
|
|
1547
|
-
example: 4
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
type: 'string',
|
|
1551
|
-
enum: ['']
|
|
1552
|
-
}
|
|
1553
|
-
]
|
|
2551
|
+
type: 'number',
|
|
2552
|
+
format: 'float',
|
|
2553
|
+
description: 'Total cost'
|
|
1554
2554
|
}
|
|
1555
2555
|
},
|
|
1556
|
-
required: [
|
|
2556
|
+
required: [
|
|
2557
|
+
'hour',
|
|
2558
|
+
'cluster_id',
|
|
2559
|
+
'product',
|
|
2560
|
+
'value',
|
|
2561
|
+
'price',
|
|
2562
|
+
'total'
|
|
2563
|
+
],
|
|
1557
2564
|
additionalProperties: false
|
|
1558
2565
|
};
|
|
1559
2566
|
export const UserCreateInputSchema = {
|
|
@@ -1594,16 +2601,28 @@ export const UserCreateInputSchema = {
|
|
|
1594
2601
|
type: 'string',
|
|
1595
2602
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1596
2603
|
example: 'active',
|
|
1597
|
-
enum: [
|
|
2604
|
+
enum: [
|
|
2605
|
+
'active',
|
|
2606
|
+
'inactive'
|
|
2607
|
+
]
|
|
1598
2608
|
},
|
|
1599
2609
|
role: {
|
|
1600
2610
|
type: 'string',
|
|
1601
|
-
description:
|
|
2611
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1602
2612
|
example: 'User',
|
|
1603
|
-
enum: [
|
|
2613
|
+
enum: [
|
|
2614
|
+
'Administrator',
|
|
2615
|
+
'User'
|
|
2616
|
+
]
|
|
1604
2617
|
}
|
|
1605
2618
|
},
|
|
1606
|
-
required: [
|
|
2619
|
+
required: [
|
|
2620
|
+
'email',
|
|
2621
|
+
'first_name',
|
|
2622
|
+
'last_name',
|
|
2623
|
+
'code',
|
|
2624
|
+
'password'
|
|
2625
|
+
],
|
|
1607
2626
|
additionalProperties: false
|
|
1608
2627
|
};
|
|
1609
2628
|
export const UserSchema = {
|
|
@@ -1631,15 +2650,21 @@ export const UserSchema = {
|
|
|
1631
2650
|
},
|
|
1632
2651
|
role: {
|
|
1633
2652
|
type: 'string',
|
|
1634
|
-
description:
|
|
2653
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1635
2654
|
example: 'User',
|
|
1636
|
-
enum: [
|
|
2655
|
+
enum: [
|
|
2656
|
+
'Administrator',
|
|
2657
|
+
'User'
|
|
2658
|
+
]
|
|
1637
2659
|
},
|
|
1638
2660
|
status: {
|
|
1639
2661
|
type: 'string',
|
|
1640
2662
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1641
2663
|
example: 'active',
|
|
1642
|
-
enum: [
|
|
2664
|
+
enum: [
|
|
2665
|
+
'active',
|
|
2666
|
+
'inactive'
|
|
2667
|
+
]
|
|
1643
2668
|
},
|
|
1644
2669
|
id: {
|
|
1645
2670
|
type: 'string',
|
|
@@ -1654,7 +2679,15 @@ export const UserSchema = {
|
|
|
1654
2679
|
example: '2023-11-02T16:08:14.338Z'
|
|
1655
2680
|
}
|
|
1656
2681
|
},
|
|
1657
|
-
required: [
|
|
2682
|
+
required: [
|
|
2683
|
+
'email',
|
|
2684
|
+
'first_name',
|
|
2685
|
+
'last_name',
|
|
2686
|
+
'role',
|
|
2687
|
+
'status',
|
|
2688
|
+
'id',
|
|
2689
|
+
'date_created'
|
|
2690
|
+
],
|
|
1658
2691
|
additionalProperties: false
|
|
1659
2692
|
};
|
|
1660
2693
|
export const UserUpdateInputSchema = {
|
|
@@ -1682,15 +2715,21 @@ export const UserUpdateInputSchema = {
|
|
|
1682
2715
|
},
|
|
1683
2716
|
role: {
|
|
1684
2717
|
type: 'string',
|
|
1685
|
-
description:
|
|
2718
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1686
2719
|
example: 'User',
|
|
1687
|
-
enum: [
|
|
2720
|
+
enum: [
|
|
2721
|
+
'Administrator',
|
|
2722
|
+
'User'
|
|
2723
|
+
]
|
|
1688
2724
|
},
|
|
1689
2725
|
status: {
|
|
1690
2726
|
type: 'string',
|
|
1691
2727
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1692
2728
|
example: 'active',
|
|
1693
|
-
enum: [
|
|
2729
|
+
enum: [
|
|
2730
|
+
'active',
|
|
2731
|
+
'inactive'
|
|
2732
|
+
]
|
|
1694
2733
|
}
|
|
1695
2734
|
},
|
|
1696
2735
|
additionalProperties: false
|