@cloudfleet/sdk 0.8.22 → 0.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +34 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +4 -11
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +1 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +9 -11
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +1 -1
- 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.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +12 -4
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +5 -7
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +14 -2
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +565 -101
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +35 -140
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +8 -0
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +4 -1
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +264 -305
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -4
package/dist/schemas.gen.js
CHANGED
|
@@ -74,10 +74,142 @@ export const BillingContactSchema = {
|
|
|
74
74
|
nullable: true,
|
|
75
75
|
description: 'Type of the tax ID.',
|
|
76
76
|
example: 'de_vat',
|
|
77
|
-
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
|
+
]
|
|
78
207
|
}
|
|
79
208
|
},
|
|
80
|
-
required: [
|
|
209
|
+
required: [
|
|
210
|
+
'email',
|
|
211
|
+
'individual_name'
|
|
212
|
+
],
|
|
81
213
|
additionalProperties: false
|
|
82
214
|
};
|
|
83
215
|
export const BillingCreditsSchema = {
|
|
@@ -92,7 +224,10 @@ export const BillingCreditsSchema = {
|
|
|
92
224
|
type: 'string',
|
|
93
225
|
description: 'Type of the promotional code.',
|
|
94
226
|
example: 'credit',
|
|
95
|
-
enum: [
|
|
227
|
+
enum: [
|
|
228
|
+
'credit',
|
|
229
|
+
'discount'
|
|
230
|
+
]
|
|
96
231
|
},
|
|
97
232
|
date_start: {
|
|
98
233
|
type: 'string',
|
|
@@ -129,7 +264,12 @@ export const BillingCreditsSchema = {
|
|
|
129
264
|
example: 8
|
|
130
265
|
}
|
|
131
266
|
},
|
|
132
|
-
required: [
|
|
267
|
+
required: [
|
|
268
|
+
'type',
|
|
269
|
+
'date_start',
|
|
270
|
+
'code',
|
|
271
|
+
'value_total'
|
|
272
|
+
],
|
|
133
273
|
additionalProperties: false
|
|
134
274
|
};
|
|
135
275
|
export const ChartCreateInputSchema = {
|
|
@@ -170,7 +310,13 @@ export const ChartCreateInputSchema = {
|
|
|
170
310
|
example: 'postgresql'
|
|
171
311
|
}
|
|
172
312
|
},
|
|
173
|
-
required: [
|
|
313
|
+
required: [
|
|
314
|
+
'values',
|
|
315
|
+
'version_channel',
|
|
316
|
+
'name',
|
|
317
|
+
'namespace',
|
|
318
|
+
'chart'
|
|
319
|
+
],
|
|
174
320
|
additionalProperties: false
|
|
175
321
|
};
|
|
176
322
|
export const ChartSchema = {
|
|
@@ -214,7 +360,22 @@ export const ChartSchema = {
|
|
|
214
360
|
type: 'string',
|
|
215
361
|
description: 'Status of the chart deployment.',
|
|
216
362
|
example: 'active',
|
|
217
|
-
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
|
+
]
|
|
218
379
|
},
|
|
219
380
|
version_current: {
|
|
220
381
|
type: 'string',
|
|
@@ -237,7 +398,18 @@ export const ChartSchema = {
|
|
|
237
398
|
example: true
|
|
238
399
|
}
|
|
239
400
|
},
|
|
240
|
-
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
|
+
],
|
|
241
413
|
additionalProperties: false
|
|
242
414
|
};
|
|
243
415
|
export const ChartUpdateInputSchema = {
|
|
@@ -254,7 +426,10 @@ export const ChartUpdateInputSchema = {
|
|
|
254
426
|
example: '2.x.x-cfke.x'
|
|
255
427
|
}
|
|
256
428
|
},
|
|
257
|
-
required: [
|
|
429
|
+
required: [
|
|
430
|
+
'values',
|
|
431
|
+
'version_channel'
|
|
432
|
+
],
|
|
258
433
|
additionalProperties: false
|
|
259
434
|
};
|
|
260
435
|
export const ClusterCreateInputSchema = {
|
|
@@ -272,14 +447,22 @@ export const ClusterCreateInputSchema = {
|
|
|
272
447
|
type: 'string',
|
|
273
448
|
description: 'Tier of the cluster.',
|
|
274
449
|
example: 'pro',
|
|
275
|
-
enum: [
|
|
450
|
+
enum: [
|
|
451
|
+
'basic',
|
|
452
|
+
'pro'
|
|
453
|
+
]
|
|
276
454
|
},
|
|
277
455
|
region: {
|
|
278
456
|
type: 'string',
|
|
279
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.',
|
|
280
458
|
default: 'staging-1a',
|
|
281
459
|
example: 'northamerica-central-1a',
|
|
282
|
-
enum: [
|
|
460
|
+
enum: [
|
|
461
|
+
'staging-1a',
|
|
462
|
+
'northamerica-central-1',
|
|
463
|
+
'europe-central-1a',
|
|
464
|
+
'northamerica-central-1a'
|
|
465
|
+
]
|
|
283
466
|
},
|
|
284
467
|
version_channel: {
|
|
285
468
|
type: 'string',
|
|
@@ -287,10 +470,18 @@ export const ClusterCreateInputSchema = {
|
|
|
287
470
|
description: 'Version of the kubernetes cluster.',
|
|
288
471
|
default: '1.x.x-cfke.x',
|
|
289
472
|
example: '1.x.x-cfke.x',
|
|
290
|
-
enum: [
|
|
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
|
+
]
|
|
291
479
|
}
|
|
292
480
|
},
|
|
293
|
-
required: [
|
|
481
|
+
required: [
|
|
482
|
+
'name',
|
|
483
|
+
'tier'
|
|
484
|
+
],
|
|
294
485
|
additionalProperties: false
|
|
295
486
|
};
|
|
296
487
|
export const ClusterJoinInformationSchema = {
|
|
@@ -299,8 +490,7 @@ export const ClusterJoinInformationSchema = {
|
|
|
299
490
|
certificate_authority: {
|
|
300
491
|
type: 'string',
|
|
301
492
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
302
|
-
example:
|
|
303
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
493
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
304
494
|
},
|
|
305
495
|
endpoint: {
|
|
306
496
|
type: 'string',
|
|
@@ -347,7 +537,12 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
347
537
|
example: '565.0.0'
|
|
348
538
|
}
|
|
349
539
|
},
|
|
350
|
-
required: [
|
|
540
|
+
required: [
|
|
541
|
+
'kubernetes',
|
|
542
|
+
'tailscale',
|
|
543
|
+
'containerd',
|
|
544
|
+
'nvidia_driver'
|
|
545
|
+
],
|
|
351
546
|
additionalProperties: false,
|
|
352
547
|
description: 'Versions of the different components of the cluster.'
|
|
353
548
|
},
|
|
@@ -370,12 +565,24 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
370
565
|
example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
|
|
371
566
|
}
|
|
372
567
|
},
|
|
373
|
-
required: [
|
|
568
|
+
required: [
|
|
569
|
+
'metadata_url',
|
|
570
|
+
'aws_role_arn',
|
|
571
|
+
'gcp_workload_identity_provider'
|
|
572
|
+
],
|
|
374
573
|
additionalProperties: false,
|
|
375
|
-
description:
|
|
574
|
+
description: 'OIDC Information for hosts to access to third party API\'s.'
|
|
376
575
|
}
|
|
377
576
|
},
|
|
378
|
-
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
|
+
],
|
|
379
586
|
additionalProperties: false
|
|
380
587
|
};
|
|
381
588
|
export const ClusterSchema = {
|
|
@@ -393,14 +600,22 @@ export const ClusterSchema = {
|
|
|
393
600
|
type: 'string',
|
|
394
601
|
description: 'Tier of the cluster.',
|
|
395
602
|
example: 'pro',
|
|
396
|
-
enum: [
|
|
603
|
+
enum: [
|
|
604
|
+
'basic',
|
|
605
|
+
'pro'
|
|
606
|
+
]
|
|
397
607
|
},
|
|
398
608
|
region: {
|
|
399
609
|
type: 'string',
|
|
400
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.',
|
|
401
611
|
default: 'staging-1a',
|
|
402
612
|
example: 'northamerica-central-1a',
|
|
403
|
-
enum: [
|
|
613
|
+
enum: [
|
|
614
|
+
'staging-1a',
|
|
615
|
+
'northamerica-central-1',
|
|
616
|
+
'europe-central-1a',
|
|
617
|
+
'northamerica-central-1a'
|
|
618
|
+
]
|
|
404
619
|
},
|
|
405
620
|
id: {
|
|
406
621
|
type: 'string',
|
|
@@ -412,7 +627,15 @@ export const ClusterSchema = {
|
|
|
412
627
|
type: 'string',
|
|
413
628
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
414
629
|
example: 'active',
|
|
415
|
-
enum: [
|
|
630
|
+
enum: [
|
|
631
|
+
'active',
|
|
632
|
+
'disabled',
|
|
633
|
+
'deleted',
|
|
634
|
+
'creating',
|
|
635
|
+
'deployed',
|
|
636
|
+
'failed',
|
|
637
|
+
'updating'
|
|
638
|
+
]
|
|
416
639
|
},
|
|
417
640
|
endpoint: {
|
|
418
641
|
anyOf: [
|
|
@@ -424,15 +647,16 @@ export const ClusterSchema = {
|
|
|
424
647
|
},
|
|
425
648
|
{
|
|
426
649
|
type: 'string',
|
|
427
|
-
enum: [
|
|
650
|
+
enum: [
|
|
651
|
+
''
|
|
652
|
+
]
|
|
428
653
|
}
|
|
429
654
|
]
|
|
430
655
|
},
|
|
431
656
|
certificate_ca: {
|
|
432
657
|
type: 'string',
|
|
433
658
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
434
|
-
example:
|
|
435
|
-
MIIC0DCCAbigAwIBAgI...`
|
|
659
|
+
example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
|
|
436
660
|
},
|
|
437
661
|
version_current: {
|
|
438
662
|
type: 'string',
|
|
@@ -461,7 +685,12 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
461
685
|
example: '1.x.x-cfke.x'
|
|
462
686
|
}
|
|
463
687
|
},
|
|
464
|
-
required: [
|
|
688
|
+
required: [
|
|
689
|
+
'name',
|
|
690
|
+
'tier',
|
|
691
|
+
'id',
|
|
692
|
+
'status'
|
|
693
|
+
],
|
|
465
694
|
additionalProperties: false
|
|
466
695
|
};
|
|
467
696
|
export const ClusterUpdateInputSchema = {
|
|
@@ -479,7 +708,10 @@ export const ClusterUpdateInputSchema = {
|
|
|
479
708
|
type: 'string',
|
|
480
709
|
description: 'Tier of the cluster.',
|
|
481
710
|
example: 'pro',
|
|
482
|
-
enum: [
|
|
711
|
+
enum: [
|
|
712
|
+
'basic',
|
|
713
|
+
'pro'
|
|
714
|
+
]
|
|
483
715
|
},
|
|
484
716
|
version_channel: {
|
|
485
717
|
type: 'string',
|
|
@@ -488,7 +720,9 @@ export const ClusterUpdateInputSchema = {
|
|
|
488
720
|
example: '1.x.x-cfke.x'
|
|
489
721
|
}
|
|
490
722
|
},
|
|
491
|
-
required: [
|
|
723
|
+
required: [
|
|
724
|
+
'tier'
|
|
725
|
+
],
|
|
492
726
|
additionalProperties: false
|
|
493
727
|
};
|
|
494
728
|
export const FleetCreateInputSchema = {
|
|
@@ -504,7 +738,9 @@ export const FleetCreateInputSchema = {
|
|
|
504
738
|
description: 'CPU limit in cores.'
|
|
505
739
|
}
|
|
506
740
|
},
|
|
507
|
-
required: [
|
|
741
|
+
required: [
|
|
742
|
+
'cpu'
|
|
743
|
+
],
|
|
508
744
|
additionalProperties: false,
|
|
509
745
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
510
746
|
},
|
|
@@ -520,7 +756,9 @@ export const FleetCreateInputSchema = {
|
|
|
520
756
|
description: 'Project GCP Project id to deploy instances into'
|
|
521
757
|
}
|
|
522
758
|
},
|
|
523
|
-
required: [
|
|
759
|
+
required: [
|
|
760
|
+
'project'
|
|
761
|
+
],
|
|
524
762
|
additionalProperties: false
|
|
525
763
|
},
|
|
526
764
|
hetzner: {
|
|
@@ -535,7 +773,9 @@ export const FleetCreateInputSchema = {
|
|
|
535
773
|
description: 'Hetzner Cloud API key with read / write access'
|
|
536
774
|
}
|
|
537
775
|
},
|
|
538
|
-
required: [
|
|
776
|
+
required: [
|
|
777
|
+
'apiKey'
|
|
778
|
+
],
|
|
539
779
|
additionalProperties: false
|
|
540
780
|
},
|
|
541
781
|
aws: {
|
|
@@ -550,7 +790,9 @@ export const FleetCreateInputSchema = {
|
|
|
550
790
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
551
791
|
}
|
|
552
792
|
},
|
|
553
|
-
required: [
|
|
793
|
+
required: [
|
|
794
|
+
'controllerRoleArn'
|
|
795
|
+
],
|
|
554
796
|
additionalProperties: false
|
|
555
797
|
},
|
|
556
798
|
id: {
|
|
@@ -562,7 +804,9 @@ export const FleetCreateInputSchema = {
|
|
|
562
804
|
example: 'new-clouds-fleet'
|
|
563
805
|
}
|
|
564
806
|
},
|
|
565
|
-
required: [
|
|
807
|
+
required: [
|
|
808
|
+
'id'
|
|
809
|
+
],
|
|
566
810
|
additionalProperties: false
|
|
567
811
|
};
|
|
568
812
|
export const FleetSchema = {
|
|
@@ -578,7 +822,9 @@ export const FleetSchema = {
|
|
|
578
822
|
description: 'CPU limit in cores.'
|
|
579
823
|
}
|
|
580
824
|
},
|
|
581
|
-
required: [
|
|
825
|
+
required: [
|
|
826
|
+
'cpu'
|
|
827
|
+
],
|
|
582
828
|
additionalProperties: false,
|
|
583
829
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
584
830
|
},
|
|
@@ -594,7 +840,9 @@ export const FleetSchema = {
|
|
|
594
840
|
description: 'Project GCP Project id to deploy instances into'
|
|
595
841
|
}
|
|
596
842
|
},
|
|
597
|
-
required: [
|
|
843
|
+
required: [
|
|
844
|
+
'project'
|
|
845
|
+
],
|
|
598
846
|
additionalProperties: false
|
|
599
847
|
},
|
|
600
848
|
hetzner: {
|
|
@@ -609,7 +857,9 @@ export const FleetSchema = {
|
|
|
609
857
|
description: 'Hetzner Cloud API key with read / write access'
|
|
610
858
|
}
|
|
611
859
|
},
|
|
612
|
-
required: [
|
|
860
|
+
required: [
|
|
861
|
+
'apiKey'
|
|
862
|
+
],
|
|
613
863
|
additionalProperties: false
|
|
614
864
|
},
|
|
615
865
|
aws: {
|
|
@@ -624,7 +874,9 @@ export const FleetSchema = {
|
|
|
624
874
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
625
875
|
}
|
|
626
876
|
},
|
|
627
|
-
required: [
|
|
877
|
+
required: [
|
|
878
|
+
'controllerRoleArn'
|
|
879
|
+
],
|
|
628
880
|
additionalProperties: false
|
|
629
881
|
},
|
|
630
882
|
id: {
|
|
@@ -636,7 +888,9 @@ export const FleetSchema = {
|
|
|
636
888
|
example: 'new-clouds-fleet'
|
|
637
889
|
}
|
|
638
890
|
},
|
|
639
|
-
required: [
|
|
891
|
+
required: [
|
|
892
|
+
'id'
|
|
893
|
+
],
|
|
640
894
|
additionalProperties: false
|
|
641
895
|
};
|
|
642
896
|
export const FleetUpdateInputSchema = {
|
|
@@ -652,7 +906,9 @@ export const FleetUpdateInputSchema = {
|
|
|
652
906
|
description: 'CPU limit in cores.'
|
|
653
907
|
}
|
|
654
908
|
},
|
|
655
|
-
required: [
|
|
909
|
+
required: [
|
|
910
|
+
'cpu'
|
|
911
|
+
],
|
|
656
912
|
additionalProperties: false,
|
|
657
913
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
658
914
|
},
|
|
@@ -668,7 +924,9 @@ export const FleetUpdateInputSchema = {
|
|
|
668
924
|
description: 'Project GCP Project id to deploy instances into'
|
|
669
925
|
}
|
|
670
926
|
},
|
|
671
|
-
required: [
|
|
927
|
+
required: [
|
|
928
|
+
'project'
|
|
929
|
+
],
|
|
672
930
|
additionalProperties: false
|
|
673
931
|
},
|
|
674
932
|
hetzner: {
|
|
@@ -683,7 +941,9 @@ export const FleetUpdateInputSchema = {
|
|
|
683
941
|
description: 'Hetzner Cloud API key with read / write access'
|
|
684
942
|
}
|
|
685
943
|
},
|
|
686
|
-
required: [
|
|
944
|
+
required: [
|
|
945
|
+
'apiKey'
|
|
946
|
+
],
|
|
687
947
|
additionalProperties: false
|
|
688
948
|
},
|
|
689
949
|
aws: {
|
|
@@ -698,7 +958,9 @@ export const FleetUpdateInputSchema = {
|
|
|
698
958
|
description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
|
|
699
959
|
}
|
|
700
960
|
},
|
|
701
|
-
required: [
|
|
961
|
+
required: [
|
|
962
|
+
'controllerRoleArn'
|
|
963
|
+
],
|
|
702
964
|
additionalProperties: false
|
|
703
965
|
}
|
|
704
966
|
},
|
|
@@ -736,7 +998,9 @@ export const InviteSchema = {
|
|
|
736
998
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
737
999
|
}
|
|
738
1000
|
},
|
|
739
|
-
required: [
|
|
1001
|
+
required: [
|
|
1002
|
+
'date_created'
|
|
1003
|
+
],
|
|
740
1004
|
additionalProperties: false
|
|
741
1005
|
};
|
|
742
1006
|
export const InvoiceSchema = {
|
|
@@ -788,7 +1052,11 @@ export const InvoiceSchema = {
|
|
|
788
1052
|
type: 'string'
|
|
789
1053
|
}
|
|
790
1054
|
},
|
|
791
|
-
required: [
|
|
1055
|
+
required: [
|
|
1056
|
+
'created',
|
|
1057
|
+
'period_start',
|
|
1058
|
+
'period_end'
|
|
1059
|
+
],
|
|
792
1060
|
additionalProperties: false
|
|
793
1061
|
};
|
|
794
1062
|
export const MarketplaceListingFilesSchema = {
|
|
@@ -797,18 +1065,12 @@ export const MarketplaceListingFilesSchema = {
|
|
|
797
1065
|
chartYaml: {
|
|
798
1066
|
type: 'string',
|
|
799
1067
|
description: 'Raw Chart.yaml content from the Helm chart',
|
|
800
|
-
example:
|
|
801
|
-
name: nginx-ingress
|
|
802
|
-
version: 1.18.2-cfke.45
|
|
803
|
-
appVersion: 1.9.4`
|
|
1068
|
+
example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
|
|
804
1069
|
},
|
|
805
1070
|
valuesYaml: {
|
|
806
1071
|
type: 'string',
|
|
807
1072
|
description: 'Raw values.yaml content from the Helm chart',
|
|
808
|
-
example:
|
|
809
|
-
image:
|
|
810
|
-
repository: nginx
|
|
811
|
-
tag: latest`
|
|
1073
|
+
example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
|
|
812
1074
|
},
|
|
813
1075
|
valuesSchemaJson: {
|
|
814
1076
|
type: 'string',
|
|
@@ -885,7 +1147,11 @@ export const MarketplaceListingSchema = {
|
|
|
885
1147
|
type: 'string'
|
|
886
1148
|
},
|
|
887
1149
|
description: 'Chart keywords',
|
|
888
|
-
example: [
|
|
1150
|
+
example: [
|
|
1151
|
+
'ingress',
|
|
1152
|
+
'nginx',
|
|
1153
|
+
'load-balancer'
|
|
1154
|
+
]
|
|
889
1155
|
},
|
|
890
1156
|
home: {
|
|
891
1157
|
type: 'string',
|
|
@@ -903,7 +1169,9 @@ export const MarketplaceListingSchema = {
|
|
|
903
1169
|
type: 'string'
|
|
904
1170
|
},
|
|
905
1171
|
description: 'Chart source URLs',
|
|
906
|
-
example: [
|
|
1172
|
+
example: [
|
|
1173
|
+
'https://github.com/kubernetes/ingress-nginx'
|
|
1174
|
+
]
|
|
907
1175
|
},
|
|
908
1176
|
maintainers: {
|
|
909
1177
|
type: 'array',
|
|
@@ -921,18 +1189,28 @@ export const MarketplaceListingSchema = {
|
|
|
921
1189
|
example: 'support@nginx.org'
|
|
922
1190
|
}
|
|
923
1191
|
},
|
|
924
|
-
required: [
|
|
1192
|
+
required: [
|
|
1193
|
+
'name'
|
|
1194
|
+
],
|
|
925
1195
|
additionalProperties: false
|
|
926
1196
|
},
|
|
927
1197
|
description: 'Chart maintainers'
|
|
928
1198
|
}
|
|
929
1199
|
},
|
|
930
|
-
required: [
|
|
1200
|
+
required: [
|
|
1201
|
+
'name',
|
|
1202
|
+
'version'
|
|
1203
|
+
],
|
|
931
1204
|
additionalProperties: false,
|
|
932
1205
|
description: 'Chart metadata'
|
|
933
1206
|
}
|
|
934
1207
|
},
|
|
935
|
-
required: [
|
|
1208
|
+
required: [
|
|
1209
|
+
'name',
|
|
1210
|
+
'versions',
|
|
1211
|
+
'version_channels',
|
|
1212
|
+
'latestVersion'
|
|
1213
|
+
],
|
|
936
1214
|
additionalProperties: false
|
|
937
1215
|
};
|
|
938
1216
|
export const OrganizationCreateInputSchema = {
|
|
@@ -968,7 +1246,13 @@ export const OrganizationCreateInputSchema = {
|
|
|
968
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.'
|
|
969
1247
|
}
|
|
970
1248
|
},
|
|
971
|
-
required: [
|
|
1249
|
+
required: [
|
|
1250
|
+
'email',
|
|
1251
|
+
'first_name',
|
|
1252
|
+
'last_name',
|
|
1253
|
+
'company_name',
|
|
1254
|
+
'password'
|
|
1255
|
+
],
|
|
972
1256
|
additionalProperties: false
|
|
973
1257
|
};
|
|
974
1258
|
export const OrganizationSchema = {
|
|
@@ -1058,7 +1342,10 @@ export const OrganizationSchema = {
|
|
|
1058
1342
|
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1059
1343
|
}
|
|
1060
1344
|
},
|
|
1061
|
-
required: [
|
|
1345
|
+
required: [
|
|
1346
|
+
'id',
|
|
1347
|
+
'label'
|
|
1348
|
+
],
|
|
1062
1349
|
additionalProperties: false
|
|
1063
1350
|
},
|
|
1064
1351
|
minItems: 1,
|
|
@@ -1075,19 +1362,46 @@ export const OrganizationSchema = {
|
|
|
1075
1362
|
minimum: 0,
|
|
1076
1363
|
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1077
1364
|
example: 242000
|
|
1365
|
+
},
|
|
1366
|
+
cfcr_storage_gb: {
|
|
1367
|
+
type: 'integer',
|
|
1368
|
+
minimum: -1,
|
|
1369
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1370
|
+
example: 500
|
|
1078
1371
|
}
|
|
1079
1372
|
},
|
|
1080
|
-
required: [
|
|
1373
|
+
required: [
|
|
1374
|
+
'basic_clusters_max',
|
|
1375
|
+
'basic_clusters_available',
|
|
1376
|
+
'pro_clusters_max',
|
|
1377
|
+
'pro_clusters_available',
|
|
1378
|
+
'fleets_max',
|
|
1379
|
+
'cluster_tiers',
|
|
1380
|
+
'regions',
|
|
1381
|
+
'versions',
|
|
1382
|
+
'copilot_user_hourly_tokens',
|
|
1383
|
+
'copilot_organization_hourly_tokens',
|
|
1384
|
+
'cfcr_storage_gb'
|
|
1385
|
+
],
|
|
1081
1386
|
additionalProperties: false,
|
|
1082
1387
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1083
1388
|
},
|
|
1084
1389
|
status: {
|
|
1085
1390
|
type: 'string',
|
|
1086
1391
|
description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
|
|
1087
|
-
enum: [
|
|
1392
|
+
enum: [
|
|
1393
|
+
'active',
|
|
1394
|
+
'closed',
|
|
1395
|
+
'suspended'
|
|
1396
|
+
]
|
|
1088
1397
|
}
|
|
1089
1398
|
},
|
|
1090
|
-
required: [
|
|
1399
|
+
required: [
|
|
1400
|
+
'id',
|
|
1401
|
+
'date_created',
|
|
1402
|
+
'quota',
|
|
1403
|
+
'status'
|
|
1404
|
+
],
|
|
1091
1405
|
additionalProperties: false
|
|
1092
1406
|
};
|
|
1093
1407
|
export const PaymentMethodSchema = {
|
|
@@ -1109,7 +1423,9 @@ export const PaymentMethodSchema = {
|
|
|
1109
1423
|
nullable: true,
|
|
1110
1424
|
description: 'Payment method type type. Only `card` payments supported at the moment.',
|
|
1111
1425
|
example: 'card',
|
|
1112
|
-
enum: [
|
|
1426
|
+
enum: [
|
|
1427
|
+
'card'
|
|
1428
|
+
]
|
|
1113
1429
|
},
|
|
1114
1430
|
last4: {
|
|
1115
1431
|
type: 'string',
|
|
@@ -1122,14 +1438,14 @@ export const PaymentMethodSchema = {
|
|
|
1122
1438
|
minimum: 1,
|
|
1123
1439
|
maximum: 12,
|
|
1124
1440
|
nullable: true,
|
|
1125
|
-
description:
|
|
1441
|
+
description: 'Two-digit number representing the card\'s expiration month.',
|
|
1126
1442
|
example: '12'
|
|
1127
1443
|
},
|
|
1128
1444
|
exp_year: {
|
|
1129
1445
|
type: 'integer',
|
|
1130
1446
|
minimum: 2024,
|
|
1131
1447
|
nullable: true,
|
|
1132
|
-
description:
|
|
1448
|
+
description: 'Four-digit number representing the card\'s expiration year.',
|
|
1133
1449
|
example: '2028'
|
|
1134
1450
|
},
|
|
1135
1451
|
brand: {
|
|
@@ -1137,10 +1453,28 @@ export const PaymentMethodSchema = {
|
|
|
1137
1453
|
nullable: true,
|
|
1138
1454
|
description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
|
|
1139
1455
|
example: 'visa',
|
|
1140
|
-
enum: [
|
|
1456
|
+
enum: [
|
|
1457
|
+
'amex',
|
|
1458
|
+
'diners',
|
|
1459
|
+
'discover',
|
|
1460
|
+
'eftpos_au',
|
|
1461
|
+
'jcb',
|
|
1462
|
+
'mastercard',
|
|
1463
|
+
'unionpay',
|
|
1464
|
+
'visa',
|
|
1465
|
+
'unknown'
|
|
1466
|
+
]
|
|
1141
1467
|
}
|
|
1142
1468
|
},
|
|
1143
|
-
required: [
|
|
1469
|
+
required: [
|
|
1470
|
+
'id',
|
|
1471
|
+
'setup',
|
|
1472
|
+
'type',
|
|
1473
|
+
'last4',
|
|
1474
|
+
'exp_month',
|
|
1475
|
+
'exp_year',
|
|
1476
|
+
'brand'
|
|
1477
|
+
],
|
|
1144
1478
|
additionalProperties: false
|
|
1145
1479
|
};
|
|
1146
1480
|
export const PlatformQuotaSchema = {
|
|
@@ -1208,7 +1542,10 @@ export const PlatformQuotaSchema = {
|
|
|
1208
1542
|
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1209
1543
|
}
|
|
1210
1544
|
},
|
|
1211
|
-
required: [
|
|
1545
|
+
required: [
|
|
1546
|
+
'id',
|
|
1547
|
+
'label'
|
|
1548
|
+
],
|
|
1212
1549
|
additionalProperties: false
|
|
1213
1550
|
},
|
|
1214
1551
|
minItems: 1,
|
|
@@ -1225,9 +1562,27 @@ export const PlatformQuotaSchema = {
|
|
|
1225
1562
|
minimum: 0,
|
|
1226
1563
|
description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
|
|
1227
1564
|
example: 242000
|
|
1565
|
+
},
|
|
1566
|
+
cfcr_storage_gb: {
|
|
1567
|
+
type: 'integer',
|
|
1568
|
+
minimum: -1,
|
|
1569
|
+
description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
|
|
1570
|
+
example: 500
|
|
1228
1571
|
}
|
|
1229
1572
|
},
|
|
1230
|
-
required: [
|
|
1573
|
+
required: [
|
|
1574
|
+
'basic_clusters_max',
|
|
1575
|
+
'basic_clusters_available',
|
|
1576
|
+
'pro_clusters_max',
|
|
1577
|
+
'pro_clusters_available',
|
|
1578
|
+
'fleets_max',
|
|
1579
|
+
'cluster_tiers',
|
|
1580
|
+
'regions',
|
|
1581
|
+
'versions',
|
|
1582
|
+
'copilot_user_hourly_tokens',
|
|
1583
|
+
'copilot_organization_hourly_tokens',
|
|
1584
|
+
'cfcr_storage_gb'
|
|
1585
|
+
],
|
|
1231
1586
|
additionalProperties: false
|
|
1232
1587
|
};
|
|
1233
1588
|
export const RegistryRepositorySchema = {
|
|
@@ -1249,7 +1604,11 @@ export const RegistryRepositorySchema = {
|
|
|
1249
1604
|
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
|
|
1250
1605
|
}
|
|
1251
1606
|
},
|
|
1252
|
-
required: [
|
|
1607
|
+
required: [
|
|
1608
|
+
'name',
|
|
1609
|
+
'region',
|
|
1610
|
+
'uri'
|
|
1611
|
+
],
|
|
1253
1612
|
additionalProperties: false
|
|
1254
1613
|
};
|
|
1255
1614
|
export const RegistryRepositoryWithTagsSchema = {
|
|
@@ -1297,10 +1656,16 @@ export const RegistryRepositoryWithTagsSchema = {
|
|
|
1297
1656
|
type: 'string'
|
|
1298
1657
|
},
|
|
1299
1658
|
description: 'Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).',
|
|
1300
|
-
example: [
|
|
1659
|
+
example: [
|
|
1660
|
+
'linux/amd64',
|
|
1661
|
+
'linux/arm64'
|
|
1662
|
+
]
|
|
1301
1663
|
}
|
|
1302
1664
|
},
|
|
1303
|
-
required: [
|
|
1665
|
+
required: [
|
|
1666
|
+
'name',
|
|
1667
|
+
'size'
|
|
1668
|
+
],
|
|
1304
1669
|
additionalProperties: false
|
|
1305
1670
|
},
|
|
1306
1671
|
description: 'Array of tags in the repository.'
|
|
@@ -1312,7 +1677,13 @@ export const RegistryRepositoryWithTagsSchema = {
|
|
|
1312
1677
|
example: 987654321
|
|
1313
1678
|
}
|
|
1314
1679
|
},
|
|
1315
|
-
required: [
|
|
1680
|
+
required: [
|
|
1681
|
+
'name',
|
|
1682
|
+
'region',
|
|
1683
|
+
'uri',
|
|
1684
|
+
'tags',
|
|
1685
|
+
'totalSize'
|
|
1686
|
+
],
|
|
1316
1687
|
additionalProperties: false
|
|
1317
1688
|
};
|
|
1318
1689
|
export const RegistryTagSchema = {
|
|
@@ -1343,7 +1714,9 @@ export const RegistryTagSchema = {
|
|
|
1343
1714
|
example: 1234
|
|
1344
1715
|
}
|
|
1345
1716
|
},
|
|
1346
|
-
required: [
|
|
1717
|
+
required: [
|
|
1718
|
+
'size'
|
|
1719
|
+
],
|
|
1347
1720
|
additionalProperties: false,
|
|
1348
1721
|
description: 'Manifest config metadata.'
|
|
1349
1722
|
},
|
|
@@ -1364,7 +1737,9 @@ export const RegistryTagSchema = {
|
|
|
1364
1737
|
example: 5678
|
|
1365
1738
|
}
|
|
1366
1739
|
},
|
|
1367
|
-
required: [
|
|
1740
|
+
required: [
|
|
1741
|
+
'size'
|
|
1742
|
+
],
|
|
1368
1743
|
additionalProperties: false
|
|
1369
1744
|
},
|
|
1370
1745
|
description: 'Array of layer metadata.'
|
|
@@ -1398,7 +1773,10 @@ export const RegistryTagSchema = {
|
|
|
1398
1773
|
example: 'v8'
|
|
1399
1774
|
}
|
|
1400
1775
|
},
|
|
1401
|
-
required: [
|
|
1776
|
+
required: [
|
|
1777
|
+
'architecture',
|
|
1778
|
+
'os'
|
|
1779
|
+
],
|
|
1402
1780
|
additionalProperties: false,
|
|
1403
1781
|
description: 'Platform information for the manifest.'
|
|
1404
1782
|
},
|
|
@@ -1419,7 +1797,9 @@ export const RegistryTagSchema = {
|
|
|
1419
1797
|
example: 5678
|
|
1420
1798
|
}
|
|
1421
1799
|
},
|
|
1422
|
-
required: [
|
|
1800
|
+
required: [
|
|
1801
|
+
'size'
|
|
1802
|
+
],
|
|
1423
1803
|
additionalProperties: false
|
|
1424
1804
|
},
|
|
1425
1805
|
description: 'Layers for this platform.'
|
|
@@ -1431,7 +1811,9 @@ export const RegistryTagSchema = {
|
|
|
1431
1811
|
example: 12345678
|
|
1432
1812
|
}
|
|
1433
1813
|
},
|
|
1434
|
-
required: [
|
|
1814
|
+
required: [
|
|
1815
|
+
'digest'
|
|
1816
|
+
],
|
|
1435
1817
|
additionalProperties: false
|
|
1436
1818
|
},
|
|
1437
1819
|
description: 'Array of manifests for multi-arch images.'
|
|
@@ -1458,7 +1840,14 @@ export const RegistryTagSchema = {
|
|
|
1458
1840
|
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
1459
1841
|
}
|
|
1460
1842
|
},
|
|
1461
|
-
required: [
|
|
1843
|
+
required: [
|
|
1844
|
+
'name',
|
|
1845
|
+
'digest',
|
|
1846
|
+
'size',
|
|
1847
|
+
'region',
|
|
1848
|
+
'repository',
|
|
1849
|
+
'uri'
|
|
1850
|
+
],
|
|
1462
1851
|
additionalProperties: false
|
|
1463
1852
|
};
|
|
1464
1853
|
export const TokenCreateInputSchema = {
|
|
@@ -1476,10 +1865,16 @@ export const TokenCreateInputSchema = {
|
|
|
1476
1865
|
type: 'string',
|
|
1477
1866
|
description: 'Role assumed by the token.',
|
|
1478
1867
|
example: 'User',
|
|
1479
|
-
enum: [
|
|
1868
|
+
enum: [
|
|
1869
|
+
'Administrator',
|
|
1870
|
+
'User'
|
|
1871
|
+
]
|
|
1480
1872
|
}
|
|
1481
1873
|
},
|
|
1482
|
-
required: [
|
|
1874
|
+
required: [
|
|
1875
|
+
'name',
|
|
1876
|
+
'role'
|
|
1877
|
+
],
|
|
1483
1878
|
additionalProperties: false
|
|
1484
1879
|
};
|
|
1485
1880
|
export const TokenSchema = {
|
|
@@ -1497,7 +1892,10 @@ export const TokenSchema = {
|
|
|
1497
1892
|
type: 'string',
|
|
1498
1893
|
description: 'Role assumed by the token.',
|
|
1499
1894
|
example: 'User',
|
|
1500
|
-
enum: [
|
|
1895
|
+
enum: [
|
|
1896
|
+
'Administrator',
|
|
1897
|
+
'User'
|
|
1898
|
+
]
|
|
1501
1899
|
},
|
|
1502
1900
|
id: {
|
|
1503
1901
|
type: 'string',
|
|
@@ -1516,7 +1914,11 @@ export const TokenSchema = {
|
|
|
1516
1914
|
example: '2023-12-20T13:53:32.000Z'
|
|
1517
1915
|
}
|
|
1518
1916
|
},
|
|
1519
|
-
required: [
|
|
1917
|
+
required: [
|
|
1918
|
+
'name',
|
|
1919
|
+
'role',
|
|
1920
|
+
'date_created'
|
|
1921
|
+
],
|
|
1520
1922
|
additionalProperties: false
|
|
1521
1923
|
};
|
|
1522
1924
|
export const TokenUpdateInputSchema = {
|
|
@@ -1534,7 +1936,10 @@ export const TokenUpdateInputSchema = {
|
|
|
1534
1936
|
type: 'string',
|
|
1535
1937
|
description: 'Role assumed by the token.',
|
|
1536
1938
|
example: 'User',
|
|
1537
|
-
enum: [
|
|
1939
|
+
enum: [
|
|
1940
|
+
'Administrator',
|
|
1941
|
+
'User'
|
|
1942
|
+
]
|
|
1538
1943
|
}
|
|
1539
1944
|
},
|
|
1540
1945
|
additionalProperties: false
|
|
@@ -1548,7 +1953,9 @@ export const UsageFacetsSchema = {
|
|
|
1548
1953
|
type: 'string'
|
|
1549
1954
|
},
|
|
1550
1955
|
description: 'List of unique cluster IDs',
|
|
1551
|
-
example: [
|
|
1956
|
+
example: [
|
|
1957
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1958
|
+
]
|
|
1552
1959
|
},
|
|
1553
1960
|
product: {
|
|
1554
1961
|
type: 'array',
|
|
@@ -1556,7 +1963,10 @@ export const UsageFacetsSchema = {
|
|
|
1556
1963
|
type: 'string'
|
|
1557
1964
|
},
|
|
1558
1965
|
description: 'List of unique products',
|
|
1559
|
-
example: [
|
|
1966
|
+
example: [
|
|
1967
|
+
'cfke_controlplane',
|
|
1968
|
+
'cfke_connected_nodes'
|
|
1969
|
+
]
|
|
1560
1970
|
}
|
|
1561
1971
|
},
|
|
1562
1972
|
additionalProperties: false
|
|
@@ -1602,7 +2012,14 @@ export const UsageResponseSchema = {
|
|
|
1602
2012
|
description: 'Total cost'
|
|
1603
2013
|
}
|
|
1604
2014
|
},
|
|
1605
|
-
required: [
|
|
2015
|
+
required: [
|
|
2016
|
+
'hour',
|
|
2017
|
+
'cluster_id',
|
|
2018
|
+
'product',
|
|
2019
|
+
'value',
|
|
2020
|
+
'price',
|
|
2021
|
+
'total'
|
|
2022
|
+
],
|
|
1606
2023
|
additionalProperties: false
|
|
1607
2024
|
},
|
|
1608
2025
|
description: 'Usage data'
|
|
@@ -1616,7 +2033,9 @@ export const UsageResponseSchema = {
|
|
|
1616
2033
|
type: 'string'
|
|
1617
2034
|
},
|
|
1618
2035
|
description: 'List of unique cluster IDs',
|
|
1619
|
-
example: [
|
|
2036
|
+
example: [
|
|
2037
|
+
'6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
2038
|
+
]
|
|
1620
2039
|
},
|
|
1621
2040
|
product: {
|
|
1622
2041
|
type: 'array',
|
|
@@ -1624,14 +2043,20 @@ export const UsageResponseSchema = {
|
|
|
1624
2043
|
type: 'string'
|
|
1625
2044
|
},
|
|
1626
2045
|
description: 'List of unique products',
|
|
1627
|
-
example: [
|
|
2046
|
+
example: [
|
|
2047
|
+
'cfke_controlplane',
|
|
2048
|
+
'cfke_connected_nodes'
|
|
2049
|
+
]
|
|
1628
2050
|
}
|
|
1629
2051
|
},
|
|
1630
2052
|
additionalProperties: false,
|
|
1631
2053
|
description: 'Facets for filtering'
|
|
1632
2054
|
}
|
|
1633
2055
|
},
|
|
1634
|
-
required: [
|
|
2056
|
+
required: [
|
|
2057
|
+
'data',
|
|
2058
|
+
'facets'
|
|
2059
|
+
],
|
|
1635
2060
|
additionalProperties: false
|
|
1636
2061
|
};
|
|
1637
2062
|
export const UsageSchema = {
|
|
@@ -1670,7 +2095,14 @@ export const UsageSchema = {
|
|
|
1670
2095
|
description: 'Total cost'
|
|
1671
2096
|
}
|
|
1672
2097
|
},
|
|
1673
|
-
required: [
|
|
2098
|
+
required: [
|
|
2099
|
+
'hour',
|
|
2100
|
+
'cluster_id',
|
|
2101
|
+
'product',
|
|
2102
|
+
'value',
|
|
2103
|
+
'price',
|
|
2104
|
+
'total'
|
|
2105
|
+
],
|
|
1674
2106
|
additionalProperties: false
|
|
1675
2107
|
};
|
|
1676
2108
|
export const UserCreateInputSchema = {
|
|
@@ -1711,16 +2143,28 @@ export const UserCreateInputSchema = {
|
|
|
1711
2143
|
type: 'string',
|
|
1712
2144
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1713
2145
|
example: 'active',
|
|
1714
|
-
enum: [
|
|
2146
|
+
enum: [
|
|
2147
|
+
'active',
|
|
2148
|
+
'inactive'
|
|
2149
|
+
]
|
|
1715
2150
|
},
|
|
1716
2151
|
role: {
|
|
1717
2152
|
type: 'string',
|
|
1718
|
-
description:
|
|
2153
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1719
2154
|
example: 'User',
|
|
1720
|
-
enum: [
|
|
2155
|
+
enum: [
|
|
2156
|
+
'Administrator',
|
|
2157
|
+
'User'
|
|
2158
|
+
]
|
|
1721
2159
|
}
|
|
1722
2160
|
},
|
|
1723
|
-
required: [
|
|
2161
|
+
required: [
|
|
2162
|
+
'email',
|
|
2163
|
+
'first_name',
|
|
2164
|
+
'last_name',
|
|
2165
|
+
'code',
|
|
2166
|
+
'password'
|
|
2167
|
+
],
|
|
1724
2168
|
additionalProperties: false
|
|
1725
2169
|
};
|
|
1726
2170
|
export const UserSchema = {
|
|
@@ -1748,15 +2192,21 @@ export const UserSchema = {
|
|
|
1748
2192
|
},
|
|
1749
2193
|
role: {
|
|
1750
2194
|
type: 'string',
|
|
1751
|
-
description:
|
|
2195
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1752
2196
|
example: 'User',
|
|
1753
|
-
enum: [
|
|
2197
|
+
enum: [
|
|
2198
|
+
'Administrator',
|
|
2199
|
+
'User'
|
|
2200
|
+
]
|
|
1754
2201
|
},
|
|
1755
2202
|
status: {
|
|
1756
2203
|
type: 'string',
|
|
1757
2204
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1758
2205
|
example: 'active',
|
|
1759
|
-
enum: [
|
|
2206
|
+
enum: [
|
|
2207
|
+
'active',
|
|
2208
|
+
'inactive'
|
|
2209
|
+
]
|
|
1760
2210
|
},
|
|
1761
2211
|
id: {
|
|
1762
2212
|
type: 'string',
|
|
@@ -1771,7 +2221,15 @@ export const UserSchema = {
|
|
|
1771
2221
|
example: '2023-11-02T16:08:14.338Z'
|
|
1772
2222
|
}
|
|
1773
2223
|
},
|
|
1774
|
-
required: [
|
|
2224
|
+
required: [
|
|
2225
|
+
'email',
|
|
2226
|
+
'first_name',
|
|
2227
|
+
'last_name',
|
|
2228
|
+
'role',
|
|
2229
|
+
'status',
|
|
2230
|
+
'id',
|
|
2231
|
+
'date_created'
|
|
2232
|
+
],
|
|
1775
2233
|
additionalProperties: false
|
|
1776
2234
|
};
|
|
1777
2235
|
export const UserUpdateInputSchema = {
|
|
@@ -1799,15 +2257,21 @@ export const UserUpdateInputSchema = {
|
|
|
1799
2257
|
},
|
|
1800
2258
|
role: {
|
|
1801
2259
|
type: 'string',
|
|
1802
|
-
description:
|
|
2260
|
+
description: 'User role. Can be \'Administrator\', \'User\'.',
|
|
1803
2261
|
example: 'User',
|
|
1804
|
-
enum: [
|
|
2262
|
+
enum: [
|
|
2263
|
+
'Administrator',
|
|
2264
|
+
'User'
|
|
2265
|
+
]
|
|
1805
2266
|
},
|
|
1806
2267
|
status: {
|
|
1807
2268
|
type: 'string',
|
|
1808
2269
|
description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
|
|
1809
2270
|
example: 'active',
|
|
1810
|
-
enum: [
|
|
2271
|
+
enum: [
|
|
2272
|
+
'active',
|
|
2273
|
+
'inactive'
|
|
2274
|
+
]
|
|
1811
2275
|
}
|
|
1812
2276
|
},
|
|
1813
2277
|
additionalProperties: false
|