@cloudfleet/sdk 0.0.1-a9e2e9a → 0.0.1-aa1359b

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.
Files changed (54) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/client.gen.js +39 -8
  3. package/dist/client/client.gen.js.map +1 -1
  4. package/dist/client/index.d.ts +1 -1
  5. package/dist/client/index.d.ts.map +1 -1
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/types.gen.d.ts +4 -11
  8. package/dist/client/types.gen.d.ts.map +1 -1
  9. package/dist/client/utils.gen.d.ts +1 -1
  10. package/dist/client/utils.gen.d.ts.map +1 -1
  11. package/dist/client/utils.gen.js +10 -12
  12. package/dist/client/utils.gen.js.map +1 -1
  13. package/dist/client.gen.d.ts.map +1 -1
  14. package/dist/client.gen.js +1 -3
  15. package/dist/client.gen.js.map +1 -1
  16. package/dist/core/auth.gen.d.ts.map +1 -1
  17. package/dist/core/auth.gen.js.map +1 -1
  18. package/dist/core/bodySerializer.gen.d.ts +16 -8
  19. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  20. package/dist/core/bodySerializer.gen.js +1 -1
  21. package/dist/core/bodySerializer.gen.js.map +1 -1
  22. package/dist/core/params.gen.d.ts +10 -0
  23. package/dist/core/params.gen.d.ts.map +1 -1
  24. package/dist/core/params.gen.js +18 -6
  25. package/dist/core/params.gen.js.map +1 -1
  26. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  27. package/dist/core/pathSerializer.gen.js +3 -11
  28. package/dist/core/pathSerializer.gen.js.map +1 -1
  29. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  30. package/dist/core/queryKeySerializer.gen.js +4 -11
  31. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  32. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  33. package/dist/core/serverSentEvents.gen.js +5 -7
  34. package/dist/core/serverSentEvents.gen.js.map +1 -1
  35. package/dist/core/types.gen.d.ts +1 -1
  36. package/dist/core/types.gen.d.ts.map +1 -1
  37. package/dist/core/utils.gen.d.ts.map +1 -1
  38. package/dist/core/utils.gen.js +1 -1
  39. package/dist/core/utils.gen.js.map +1 -1
  40. package/dist/schemas.gen.d.ts +83 -35
  41. package/dist/schemas.gen.d.ts.map +1 -1
  42. package/dist/schemas.gen.js +624 -128
  43. package/dist/schemas.gen.js.map +1 -1
  44. package/dist/sdk.gen.d.ts +13 -4
  45. package/dist/sdk.gen.d.ts.map +1 -1
  46. package/dist/sdk.gen.js +48 -142
  47. package/dist/sdk.gen.js.map +1 -1
  48. package/dist/types.gen.d.ts +79 -22
  49. package/dist/types.gen.d.ts.map +1 -1
  50. package/dist/zod.gen.d.ts +390 -566
  51. package/dist/zod.gen.d.ts.map +1 -1
  52. package/dist/zod.gen.js +265 -494
  53. package/dist/zod.gen.js.map +1 -1
  54. package/package.json +8 -4
@@ -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: ['ad_nrt', 'ae_trn', 'al_tin', 'am_tin', 'ao_tin', 'ar_cuit', 'at_vat', 'au_abn', 'au_arn', 'ba_tin', 'bb_tin', 'be_vat', 'bg_uic', 'bg_vat', 'bh_vat', 'bo_tin', 'br_cnpj', 'br_cpf', 'bs_tin', 'by_tin', 'ca_bn', 'ca_gst_hst', 'ca_pst_bc', 'ca_pst_mb', 'ca_pst_sk', 'ca_qst', 'cd_nif', 'ch_uid', 'ch_vat', 'cl_tin', 'cn_tin', 'co_nit', 'cr_tin', 'cy_vat', 'cz_vat', 'de_stn', 'de_vat', 'dk_vat', 'do_rcn', 'ec_ruc', 'ee_vat', 'eg_tin', 'es_cif', 'es_vat', 'eu_oss_vat', 'fi_vat', 'fr_vat', 'gb_vat', 'ge_vat', 'gn_nif', 'gr_vat', 'hk_br', 'hr_oib', 'hr_vat', 'hu_tin', 'hu_vat', 'id_npwp', 'ie_vat', 'il_vat', 'in_gst', 'is_vat', 'it_vat', 'jp_cn', 'jp_rn', 'jp_trn', 'ke_pin', 'kh_tin', 'kr_brn', 'kz_bin', 'li_uid', 'li_vat', 'lt_vat', 'lu_vat', 'lv_vat', 'ma_vat', 'md_vat', 'me_pib', 'mk_vat', 'mr_nif', 'mt_vat', 'mx_rfc', 'my_frp', 'my_itn', 'my_sst', 'ng_tin', 'nl_vat', 'no_vat', 'no_voec', 'np_pan', 'nz_gst', 'om_vat', 'pe_ruc', 'ph_tin', 'pl_vat', 'pt_vat', 'ro_tin', 'ro_vat', 'rs_pib', 'ru_inn', 'ru_kpp', 'sa_vat', 'se_vat', 'sg_gst', 'sg_uen', 'si_tin', 'si_vat', 'sk_vat', 'sn_ninea', 'sr_fin', 'sv_nit', 'th_vat', 'tj_tin', 'tr_tin', 'tw_vat', 'tz_vat', 'ua_vat', 'ug_tin', 'us_ein', 'uy_ruc', 'uz_tin', 'uz_vat', 've_rif', 'vn_tin', 'xi_vat', 'za_vat', 'zm_tin', 'zw_tin', '']
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: ['email', 'individual_name'],
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: ['credit', 'discount']
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: ['type', 'date_start', 'code', 'value_total'],
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: ['values', 'version_channel', 'name', 'namespace', 'chart'],
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: ['InstallSucceeded', 'InstallFailed', 'UpgradeSucceeded', 'UpgradeFailed', 'TestSucceeded', 'TestFailed', 'RollbackSucceeded', 'RollbackFailed', 'UninstallSucceeded', 'UninstallFailed', 'ArtifactFailed', 'DependencyNotReady', 'Progressing', 'SourceNotReady']
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: ['values', 'version_channel', 'name', 'namespace', 'chart', 'status', 'version_current', 'created_at', 'updated_at', 'ready'],
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: ['values', 'version_channel'],
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: ['basic', 'pro']
450
+ enum: [
451
+ 'basic',
452
+ 'pro'
453
+ ]
276
454
  },
277
455
  region: {
278
456
  type: 'string',
279
- description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
280
- default: 'staging',
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',
281
459
  example: 'northamerica-central-1a',
282
- enum: ['staging', 'northamerica-central-1', 'europe-central-1a', 'northamerica-central-1a']
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: ['1.x.x-cfke.x', '1.31.x-cfke.x', '1.32.x-cfke.x', '1.33.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
+ ]
291
479
  }
292
480
  },
293
- required: ['name', 'tier'],
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: `-----BEGIN CERTIFICATE-----
303
- MIIC0DCCAbigAwIBAgI...`
493
+ example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
304
494
  },
305
495
  endpoint: {
306
496
  type: 'string',
@@ -308,6 +498,11 @@ MIIC0DCCAbigAwIBAgI...`
308
498
  description: 'Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.',
309
499
  example: 'https://10.31.64.7:6443'
310
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
+ },
311
506
  auth_key: {
312
507
  type: 'string',
313
508
  description: 'Authentication key for the cluster.',
@@ -342,7 +537,12 @@ MIIC0DCCAbigAwIBAgI...`
342
537
  example: '565.0.0'
343
538
  }
344
539
  },
345
- required: ['kubernetes', 'tailscale', 'containerd', 'nvidia_driver'],
540
+ required: [
541
+ 'kubernetes',
542
+ 'tailscale',
543
+ 'containerd',
544
+ 'nvidia_driver'
545
+ ],
346
546
  additionalProperties: false,
347
547
  description: 'Versions of the different components of the cluster.'
348
548
  },
@@ -365,12 +565,24 @@ MIIC0DCCAbigAwIBAgI...`
365
565
  example: '//iam.googleapis.com/projects/89014267864/locations/global/workloadIdentityPools/cfke/providers/oidc'
366
566
  }
367
567
  },
368
- required: ['metadata_url', 'aws_role_arn', 'gcp_workload_identity_provider'],
568
+ required: [
569
+ 'metadata_url',
570
+ 'aws_role_arn',
571
+ 'gcp_workload_identity_provider'
572
+ ],
369
573
  additionalProperties: false,
370
- description: "OIDC Information for hosts to access to third party API's."
574
+ description: 'OIDC Information for hosts to access to third party API\'s.'
371
575
  }
372
576
  },
373
- required: ['certificate_authority', 'endpoint', 'auth_key', 'bootstrap_token', 'versions', 'third_party_api_access_config'],
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
+ ],
374
586
  additionalProperties: false
375
587
  };
376
588
  export const ClusterSchema = {
@@ -388,14 +600,22 @@ export const ClusterSchema = {
388
600
  type: 'string',
389
601
  description: 'Tier of the cluster.',
390
602
  example: 'pro',
391
- enum: ['basic', 'pro']
603
+ enum: [
604
+ 'basic',
605
+ 'pro'
606
+ ]
392
607
  },
393
608
  region: {
394
609
  type: 'string',
395
- description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.',
396
- default: 'staging',
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',
397
612
  example: 'northamerica-central-1a',
398
- enum: ['staging', 'northamerica-central-1', 'europe-central-1a', 'northamerica-central-1a']
613
+ enum: [
614
+ 'staging-1a',
615
+ 'northamerica-central-1',
616
+ 'europe-central-1a',
617
+ 'northamerica-central-1a'
618
+ ]
399
619
  },
400
620
  id: {
401
621
  type: 'string',
@@ -407,7 +627,15 @@ export const ClusterSchema = {
407
627
  type: 'string',
408
628
  description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
409
629
  example: 'active',
410
- enum: ['active', 'disabled', 'deleted', 'creating', 'deployed', 'failed', 'updating']
630
+ enum: [
631
+ 'active',
632
+ 'disabled',
633
+ 'deleted',
634
+ 'creating',
635
+ 'deployed',
636
+ 'failed',
637
+ 'updating'
638
+ ]
411
639
  },
412
640
  endpoint: {
413
641
  anyOf: [
@@ -419,15 +647,16 @@ export const ClusterSchema = {
419
647
  },
420
648
  {
421
649
  type: 'string',
422
- enum: ['']
650
+ enum: [
651
+ ''
652
+ ]
423
653
  }
424
654
  ]
425
655
  },
426
656
  certificate_ca: {
427
657
  type: 'string',
428
658
  description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
429
- example: `-----BEGIN CERTIFICATE-----
430
- MIIC0DCCAbigAwIBAgI...`
659
+ example: '-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgI...'
431
660
  },
432
661
  version_current: {
433
662
  type: 'string',
@@ -456,7 +685,12 @@ MIIC0DCCAbigAwIBAgI...`
456
685
  example: '1.x.x-cfke.x'
457
686
  }
458
687
  },
459
- required: ['name', 'tier', 'id', 'status'],
688
+ required: [
689
+ 'name',
690
+ 'tier',
691
+ 'id',
692
+ 'status'
693
+ ],
460
694
  additionalProperties: false
461
695
  };
462
696
  export const ClusterUpdateInputSchema = {
@@ -474,7 +708,10 @@ export const ClusterUpdateInputSchema = {
474
708
  type: 'string',
475
709
  description: 'Tier of the cluster.',
476
710
  example: 'pro',
477
- enum: ['basic', 'pro']
711
+ enum: [
712
+ 'basic',
713
+ 'pro'
714
+ ]
478
715
  },
479
716
  version_channel: {
480
717
  type: 'string',
@@ -483,7 +720,9 @@ export const ClusterUpdateInputSchema = {
483
720
  example: '1.x.x-cfke.x'
484
721
  }
485
722
  },
486
- required: ['tier'],
723
+ required: [
724
+ 'tier'
725
+ ],
487
726
  additionalProperties: false
488
727
  };
489
728
  export const FleetCreateInputSchema = {
@@ -499,7 +738,9 @@ export const FleetCreateInputSchema = {
499
738
  description: 'CPU limit in cores.'
500
739
  }
501
740
  },
502
- required: ['cpu'],
741
+ required: [
742
+ 'cpu'
743
+ ],
503
744
  additionalProperties: false,
504
745
  description: 'Limits define a set of bounds for provisioning capacity.'
505
746
  },
@@ -515,7 +756,9 @@ export const FleetCreateInputSchema = {
515
756
  description: 'Project GCP Project id to deploy instances into'
516
757
  }
517
758
  },
518
- required: ['project'],
759
+ required: [
760
+ 'project'
761
+ ],
519
762
  additionalProperties: false
520
763
  },
521
764
  hetzner: {
@@ -530,7 +773,9 @@ export const FleetCreateInputSchema = {
530
773
  description: 'Hetzner Cloud API key with read / write access'
531
774
  }
532
775
  },
533
- required: ['apiKey'],
776
+ required: [
777
+ 'apiKey'
778
+ ],
534
779
  additionalProperties: false
535
780
  },
536
781
  aws: {
@@ -545,7 +790,9 @@ export const FleetCreateInputSchema = {
545
790
  description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
546
791
  }
547
792
  },
548
- required: ['controllerRoleArn'],
793
+ required: [
794
+ 'controllerRoleArn'
795
+ ],
549
796
  additionalProperties: false
550
797
  },
551
798
  id: {
@@ -557,7 +804,9 @@ export const FleetCreateInputSchema = {
557
804
  example: 'new-clouds-fleet'
558
805
  }
559
806
  },
560
- required: ['id'],
807
+ required: [
808
+ 'id'
809
+ ],
561
810
  additionalProperties: false
562
811
  };
563
812
  export const FleetSchema = {
@@ -573,7 +822,9 @@ export const FleetSchema = {
573
822
  description: 'CPU limit in cores.'
574
823
  }
575
824
  },
576
- required: ['cpu'],
825
+ required: [
826
+ 'cpu'
827
+ ],
577
828
  additionalProperties: false,
578
829
  description: 'Limits define a set of bounds for provisioning capacity.'
579
830
  },
@@ -589,7 +840,9 @@ export const FleetSchema = {
589
840
  description: 'Project GCP Project id to deploy instances into'
590
841
  }
591
842
  },
592
- required: ['project'],
843
+ required: [
844
+ 'project'
845
+ ],
593
846
  additionalProperties: false
594
847
  },
595
848
  hetzner: {
@@ -604,7 +857,9 @@ export const FleetSchema = {
604
857
  description: 'Hetzner Cloud API key with read / write access'
605
858
  }
606
859
  },
607
- required: ['apiKey'],
860
+ required: [
861
+ 'apiKey'
862
+ ],
608
863
  additionalProperties: false
609
864
  },
610
865
  aws: {
@@ -619,7 +874,9 @@ export const FleetSchema = {
619
874
  description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
620
875
  }
621
876
  },
622
- required: ['controllerRoleArn'],
877
+ required: [
878
+ 'controllerRoleArn'
879
+ ],
623
880
  additionalProperties: false
624
881
  },
625
882
  id: {
@@ -631,7 +888,9 @@ export const FleetSchema = {
631
888
  example: 'new-clouds-fleet'
632
889
  }
633
890
  },
634
- required: ['id'],
891
+ required: [
892
+ 'id'
893
+ ],
635
894
  additionalProperties: false
636
895
  };
637
896
  export const FleetUpdateInputSchema = {
@@ -647,7 +906,9 @@ export const FleetUpdateInputSchema = {
647
906
  description: 'CPU limit in cores.'
648
907
  }
649
908
  },
650
- required: ['cpu'],
909
+ required: [
910
+ 'cpu'
911
+ ],
651
912
  additionalProperties: false,
652
913
  description: 'Limits define a set of bounds for provisioning capacity.'
653
914
  },
@@ -663,7 +924,9 @@ export const FleetUpdateInputSchema = {
663
924
  description: 'Project GCP Project id to deploy instances into'
664
925
  }
665
926
  },
666
- required: ['project'],
927
+ required: [
928
+ 'project'
929
+ ],
667
930
  additionalProperties: false
668
931
  },
669
932
  hetzner: {
@@ -678,7 +941,9 @@ export const FleetUpdateInputSchema = {
678
941
  description: 'Hetzner Cloud API key with read / write access'
679
942
  }
680
943
  },
681
- required: ['apiKey'],
944
+ required: [
945
+ 'apiKey'
946
+ ],
682
947
  additionalProperties: false
683
948
  },
684
949
  aws: {
@@ -693,7 +958,9 @@ export const FleetUpdateInputSchema = {
693
958
  description: 'ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.'
694
959
  }
695
960
  },
696
- required: ['controllerRoleArn'],
961
+ required: [
962
+ 'controllerRoleArn'
963
+ ],
697
964
  additionalProperties: false
698
965
  }
699
966
  },
@@ -731,7 +998,9 @@ export const InviteSchema = {
731
998
  example: '7kUZnH7nnKUFfvc4NK2KQF'
732
999
  }
733
1000
  },
734
- required: ['date_created'],
1001
+ required: [
1002
+ 'date_created'
1003
+ ],
735
1004
  additionalProperties: false
736
1005
  };
737
1006
  export const InvoiceSchema = {
@@ -739,9 +1008,8 @@ export const InvoiceSchema = {
739
1008
  properties: {
740
1009
  id: {
741
1010
  type: 'string',
742
- format: 'uuid',
743
- description: 'Unique identifier of the invoice. UUID v4 string in canonical form',
744
- example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
1011
+ description: 'Unique identifier of the invoice.',
1012
+ example: 'in_1234567890xCrwxghOTj1234'
745
1013
  },
746
1014
  number: {
747
1015
  type: 'string'
@@ -784,7 +1052,11 @@ export const InvoiceSchema = {
784
1052
  type: 'string'
785
1053
  }
786
1054
  },
787
- required: ['created', 'period_start', 'period_end'],
1055
+ required: [
1056
+ 'created',
1057
+ 'period_start',
1058
+ 'period_end'
1059
+ ],
788
1060
  additionalProperties: false
789
1061
  };
790
1062
  export const MarketplaceListingFilesSchema = {
@@ -793,18 +1065,12 @@ export const MarketplaceListingFilesSchema = {
793
1065
  chartYaml: {
794
1066
  type: 'string',
795
1067
  description: 'Raw Chart.yaml content from the Helm chart',
796
- example: `apiVersion: v2
797
- name: nginx-ingress
798
- version: 1.18.2-cfke.45
799
- appVersion: 1.9.4`
1068
+ example: 'apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4'
800
1069
  },
801
1070
  valuesYaml: {
802
1071
  type: 'string',
803
1072
  description: 'Raw values.yaml content from the Helm chart',
804
- example: `replicaCount: 1
805
- image:
806
- repository: nginx
807
- tag: latest`
1073
+ example: 'replicaCount: 1\nimage:\n repository: nginx\n tag: latest'
808
1074
  },
809
1075
  valuesSchemaJson: {
810
1076
  type: 'string',
@@ -881,20 +1147,31 @@ export const MarketplaceListingSchema = {
881
1147
  type: 'string'
882
1148
  },
883
1149
  description: 'Chart keywords',
884
- example: ['ingress', 'nginx', 'load-balancer']
1150
+ example: [
1151
+ 'ingress',
1152
+ 'nginx',
1153
+ 'load-balancer'
1154
+ ]
885
1155
  },
886
1156
  home: {
887
1157
  type: 'string',
888
1158
  description: 'Chart home URL',
889
1159
  example: 'https://kubernetes.github.io/ingress-nginx/'
890
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
+ },
891
1166
  sources: {
892
1167
  type: 'array',
893
1168
  items: {
894
1169
  type: 'string'
895
1170
  },
896
1171
  description: 'Chart source URLs',
897
- example: ['https://github.com/kubernetes/ingress-nginx']
1172
+ example: [
1173
+ 'https://github.com/kubernetes/ingress-nginx'
1174
+ ]
898
1175
  },
899
1176
  maintainers: {
900
1177
  type: 'array',
@@ -912,18 +1189,28 @@ export const MarketplaceListingSchema = {
912
1189
  example: 'support@nginx.org'
913
1190
  }
914
1191
  },
915
- required: ['name'],
1192
+ required: [
1193
+ 'name'
1194
+ ],
916
1195
  additionalProperties: false
917
1196
  },
918
1197
  description: 'Chart maintainers'
919
1198
  }
920
1199
  },
921
- required: ['name', 'version'],
1200
+ required: [
1201
+ 'name',
1202
+ 'version'
1203
+ ],
922
1204
  additionalProperties: false,
923
1205
  description: 'Chart metadata'
924
1206
  }
925
1207
  },
926
- required: ['name', 'versions', 'version_channels', 'latestVersion'],
1208
+ required: [
1209
+ 'name',
1210
+ 'versions',
1211
+ 'version_channels',
1212
+ 'latestVersion'
1213
+ ],
927
1214
  additionalProperties: false
928
1215
  };
929
1216
  export const OrganizationCreateInputSchema = {
@@ -959,7 +1246,13 @@ export const OrganizationCreateInputSchema = {
959
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.'
960
1247
  }
961
1248
  },
962
- required: ['email', 'first_name', 'last_name', 'company_name', 'password'],
1249
+ required: [
1250
+ 'email',
1251
+ 'first_name',
1252
+ 'last_name',
1253
+ 'company_name',
1254
+ 'password'
1255
+ ],
963
1256
  additionalProperties: false
964
1257
  };
965
1258
  export const OrganizationSchema = {
@@ -1049,36 +1342,52 @@ export const OrganizationSchema = {
1049
1342
  example: '1.33.x (Always latest 1.33 patch version)'
1050
1343
  }
1051
1344
  },
1052
- required: ['id', 'label'],
1345
+ required: [
1346
+ 'id',
1347
+ 'label'
1348
+ ],
1053
1349
  additionalProperties: false
1054
1350
  },
1055
1351
  minItems: 1,
1056
1352
  description: 'List of CFKE control plane versions available for the organization.'
1057
1353
  },
1058
- copilot_user_hourly_tokens: {
1059
- type: 'integer',
1060
- minimum: 0,
1061
- description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
1062
- example: 42000
1063
- },
1064
- copilot_organization_hourly_tokens: {
1354
+ cfcr_storage_gb: {
1065
1355
  type: 'integer',
1066
- minimum: 0,
1067
- description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
1068
- example: 242000
1356
+ minimum: -1,
1357
+ description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
1358
+ example: 500
1069
1359
  }
1070
1360
  },
1071
- required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions', 'copilot_user_hourly_tokens', 'copilot_organization_hourly_tokens'],
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
+ ],
1072
1372
  additionalProperties: false,
1073
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.'
1074
1374
  },
1075
1375
  status: {
1076
1376
  type: 'string',
1077
1377
  description: 'Status of the organization. Can be `active` or `closed`, or `suspended`.',
1078
- enum: ['active', 'closed', 'suspended']
1378
+ enum: [
1379
+ 'active',
1380
+ 'closed',
1381
+ 'suspended'
1382
+ ]
1079
1383
  }
1080
1384
  },
1081
- required: ['id', 'date_created', 'quota', 'status'],
1385
+ required: [
1386
+ 'id',
1387
+ 'date_created',
1388
+ 'quota',
1389
+ 'status'
1390
+ ],
1082
1391
  additionalProperties: false
1083
1392
  };
1084
1393
  export const PaymentMethodSchema = {
@@ -1100,7 +1409,9 @@ export const PaymentMethodSchema = {
1100
1409
  nullable: true,
1101
1410
  description: 'Payment method type type. Only `card` payments supported at the moment.',
1102
1411
  example: 'card',
1103
- enum: ['card']
1412
+ enum: [
1413
+ 'card'
1414
+ ]
1104
1415
  },
1105
1416
  last4: {
1106
1417
  type: 'string',
@@ -1113,14 +1424,14 @@ export const PaymentMethodSchema = {
1113
1424
  minimum: 1,
1114
1425
  maximum: 12,
1115
1426
  nullable: true,
1116
- description: "Two-digit number representing the card's expiration month.",
1427
+ description: 'Two-digit number representing the card\'s expiration month.',
1117
1428
  example: '12'
1118
1429
  },
1119
1430
  exp_year: {
1120
1431
  type: 'integer',
1121
1432
  minimum: 2024,
1122
1433
  nullable: true,
1123
- description: "Four-digit number representing the card's expiration year.",
1434
+ description: 'Four-digit number representing the card\'s expiration year.',
1124
1435
  example: '2028'
1125
1436
  },
1126
1437
  brand: {
@@ -1128,10 +1439,28 @@ export const PaymentMethodSchema = {
1128
1439
  nullable: true,
1129
1440
  description: 'Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.',
1130
1441
  example: 'visa',
1131
- enum: ['amex', 'diners', 'discover', 'eftpos_au', 'jcb', 'mastercard', 'unionpay', 'visa', 'unknown']
1442
+ enum: [
1443
+ 'amex',
1444
+ 'diners',
1445
+ 'discover',
1446
+ 'eftpos_au',
1447
+ 'jcb',
1448
+ 'mastercard',
1449
+ 'unionpay',
1450
+ 'visa',
1451
+ 'unknown'
1452
+ ]
1132
1453
  }
1133
1454
  },
1134
- required: ['id', 'setup', 'type', 'last4', 'exp_month', 'exp_year', 'brand'],
1455
+ required: [
1456
+ 'id',
1457
+ 'setup',
1458
+ 'type',
1459
+ 'last4',
1460
+ 'exp_month',
1461
+ 'exp_year',
1462
+ 'brand'
1463
+ ],
1135
1464
  additionalProperties: false
1136
1465
  };
1137
1466
  export const PlatformQuotaSchema = {
@@ -1199,26 +1528,33 @@ export const PlatformQuotaSchema = {
1199
1528
  example: '1.33.x (Always latest 1.33 patch version)'
1200
1529
  }
1201
1530
  },
1202
- required: ['id', 'label'],
1531
+ required: [
1532
+ 'id',
1533
+ 'label'
1534
+ ],
1203
1535
  additionalProperties: false
1204
1536
  },
1205
1537
  minItems: 1,
1206
1538
  description: 'List of CFKE control plane versions available for the organization.'
1207
1539
  },
1208
- copilot_user_hourly_tokens: {
1209
- type: 'integer',
1210
- minimum: 0,
1211
- description: 'User-level maximum number of tokens Cloudfleet Copilot can process per hour.',
1212
- example: 42000
1213
- },
1214
- copilot_organization_hourly_tokens: {
1540
+ cfcr_storage_gb: {
1215
1541
  type: 'integer',
1216
- minimum: 0,
1217
- description: 'Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.',
1218
- example: 242000
1542
+ minimum: -1,
1543
+ description: 'Organization-level maximum CFCR storage volume in GB. -1 means no limit.',
1544
+ example: 500
1219
1545
  }
1220
1546
  },
1221
- required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions', 'copilot_user_hourly_tokens', 'copilot_organization_hourly_tokens'],
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
+ ],
1222
1558
  additionalProperties: false
1223
1559
  };
1224
1560
  export const RegistryRepositorySchema = {
@@ -1237,10 +1573,14 @@ export const RegistryRepositorySchema = {
1237
1573
  uri: {
1238
1574
  type: 'string',
1239
1575
  description: 'Full URI of the repository.',
1240
- example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app'
1576
+ example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
1241
1577
  }
1242
1578
  },
1243
- required: ['name', 'region', 'uri'],
1579
+ required: [
1580
+ 'name',
1581
+ 'region',
1582
+ 'uri'
1583
+ ],
1244
1584
  additionalProperties: false
1245
1585
  };
1246
1586
  export const RegistryRepositoryWithTagsSchema = {
@@ -1259,7 +1599,7 @@ export const RegistryRepositoryWithTagsSchema = {
1259
1599
  uri: {
1260
1600
  type: 'string',
1261
1601
  description: 'Full URI of the repository.',
1262
- example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app'
1602
+ example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app'
1263
1603
  },
1264
1604
  tags: {
1265
1605
  type: 'array',
@@ -1281,9 +1621,23 @@ export const RegistryRepositoryWithTagsSchema = {
1281
1621
  type: 'string',
1282
1622
  description: 'Media type of the manifest.',
1283
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
+ ]
1284
1635
  }
1285
1636
  },
1286
- required: ['name', 'size'],
1637
+ required: [
1638
+ 'name',
1639
+ 'size'
1640
+ ],
1287
1641
  additionalProperties: false
1288
1642
  },
1289
1643
  description: 'Array of tags in the repository.'
@@ -1295,7 +1649,13 @@ export const RegistryRepositoryWithTagsSchema = {
1295
1649
  example: 987654321
1296
1650
  }
1297
1651
  },
1298
- required: ['name', 'region', 'uri', 'tags', 'totalSize'],
1652
+ required: [
1653
+ 'name',
1654
+ 'region',
1655
+ 'uri',
1656
+ 'tags',
1657
+ 'totalSize'
1658
+ ],
1299
1659
  additionalProperties: false
1300
1660
  };
1301
1661
  export const RegistryTagSchema = {
@@ -1306,6 +1666,11 @@ export const RegistryTagSchema = {
1306
1666
  description: 'Tag name.',
1307
1667
  example: 'latest'
1308
1668
  },
1669
+ digest: {
1670
+ type: 'string',
1671
+ description: 'Manifest digest for pulling by digest.',
1672
+ example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
1673
+ },
1309
1674
  mediaType: {
1310
1675
  type: 'string',
1311
1676
  description: 'Media type of the manifest.',
@@ -1321,7 +1686,9 @@ export const RegistryTagSchema = {
1321
1686
  example: 1234
1322
1687
  }
1323
1688
  },
1324
- required: ['size'],
1689
+ required: [
1690
+ 'size'
1691
+ ],
1325
1692
  additionalProperties: false,
1326
1693
  description: 'Manifest config metadata.'
1327
1694
  },
@@ -1330,6 +1697,11 @@ export const RegistryTagSchema = {
1330
1697
  items: {
1331
1698
  type: 'object',
1332
1699
  properties: {
1700
+ digest: {
1701
+ type: 'string',
1702
+ description: 'Digest of the layer.',
1703
+ example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
1704
+ },
1333
1705
  size: {
1334
1706
  type: 'number',
1335
1707
  format: 'float',
@@ -1337,7 +1709,9 @@ export const RegistryTagSchema = {
1337
1709
  example: 5678
1338
1710
  }
1339
1711
  },
1340
- required: ['size'],
1712
+ required: [
1713
+ 'size'
1714
+ ],
1341
1715
  additionalProperties: false
1342
1716
  },
1343
1717
  description: 'Array of layer metadata.'
@@ -1364,14 +1738,54 @@ export const RegistryTagSchema = {
1364
1738
  type: 'string',
1365
1739
  description: 'Operating system of the platform.',
1366
1740
  example: 'linux'
1741
+ },
1742
+ variant: {
1743
+ type: 'string',
1744
+ description: 'Variant of the platform (e.g., v7, v8 for ARM).',
1745
+ example: 'v8'
1367
1746
  }
1368
1747
  },
1369
- required: ['architecture', 'os'],
1748
+ required: [
1749
+ 'architecture',
1750
+ 'os'
1751
+ ],
1370
1752
  additionalProperties: false,
1371
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
1372
1784
  }
1373
1785
  },
1374
- required: ['digest'],
1786
+ required: [
1787
+ 'digest'
1788
+ ],
1375
1789
  additionalProperties: false
1376
1790
  },
1377
1791
  description: 'Array of manifests for multi-arch images.'
@@ -1398,7 +1812,14 @@ export const RegistryTagSchema = {
1398
1812
  example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
1399
1813
  }
1400
1814
  },
1401
- required: ['name', 'size', 'region', 'repository', 'uri'],
1815
+ required: [
1816
+ 'name',
1817
+ 'digest',
1818
+ 'size',
1819
+ 'region',
1820
+ 'repository',
1821
+ 'uri'
1822
+ ],
1402
1823
  additionalProperties: false
1403
1824
  };
1404
1825
  export const TokenCreateInputSchema = {
@@ -1416,10 +1837,16 @@ export const TokenCreateInputSchema = {
1416
1837
  type: 'string',
1417
1838
  description: 'Role assumed by the token.',
1418
1839
  example: 'User',
1419
- enum: ['Administrator', 'User']
1840
+ enum: [
1841
+ 'Administrator',
1842
+ 'User'
1843
+ ]
1420
1844
  }
1421
1845
  },
1422
- required: ['name', 'role'],
1846
+ required: [
1847
+ 'name',
1848
+ 'role'
1849
+ ],
1423
1850
  additionalProperties: false
1424
1851
  };
1425
1852
  export const TokenSchema = {
@@ -1437,7 +1864,10 @@ export const TokenSchema = {
1437
1864
  type: 'string',
1438
1865
  description: 'Role assumed by the token.',
1439
1866
  example: 'User',
1440
- enum: ['Administrator', 'User']
1867
+ enum: [
1868
+ 'Administrator',
1869
+ 'User'
1870
+ ]
1441
1871
  },
1442
1872
  id: {
1443
1873
  type: 'string',
@@ -1456,7 +1886,11 @@ export const TokenSchema = {
1456
1886
  example: '2023-12-20T13:53:32.000Z'
1457
1887
  }
1458
1888
  },
1459
- required: ['name', 'role', 'date_created'],
1889
+ required: [
1890
+ 'name',
1891
+ 'role',
1892
+ 'date_created'
1893
+ ],
1460
1894
  additionalProperties: false
1461
1895
  };
1462
1896
  export const TokenUpdateInputSchema = {
@@ -1474,7 +1908,10 @@ export const TokenUpdateInputSchema = {
1474
1908
  type: 'string',
1475
1909
  description: 'Role assumed by the token.',
1476
1910
  example: 'User',
1477
- enum: ['Administrator', 'User']
1911
+ enum: [
1912
+ 'Administrator',
1913
+ 'User'
1914
+ ]
1478
1915
  }
1479
1916
  },
1480
1917
  additionalProperties: false
@@ -1488,7 +1925,9 @@ export const UsageFacetsSchema = {
1488
1925
  type: 'string'
1489
1926
  },
1490
1927
  description: 'List of unique cluster IDs',
1491
- example: ['6b5439b1-923a-4f2b-a371-d554e5ea23fa']
1928
+ example: [
1929
+ '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
1930
+ ]
1492
1931
  },
1493
1932
  product: {
1494
1933
  type: 'array',
@@ -1496,7 +1935,10 @@ export const UsageFacetsSchema = {
1496
1935
  type: 'string'
1497
1936
  },
1498
1937
  description: 'List of unique products',
1499
- example: ['cfke_controlplane', 'cfke_connected_nodes']
1938
+ example: [
1939
+ 'cfke_controlplane',
1940
+ 'cfke_connected_nodes'
1941
+ ]
1500
1942
  }
1501
1943
  },
1502
1944
  additionalProperties: false
@@ -1542,7 +1984,14 @@ export const UsageResponseSchema = {
1542
1984
  description: 'Total cost'
1543
1985
  }
1544
1986
  },
1545
- required: ['hour', 'cluster_id', 'product', 'value', 'price', 'total'],
1987
+ required: [
1988
+ 'hour',
1989
+ 'cluster_id',
1990
+ 'product',
1991
+ 'value',
1992
+ 'price',
1993
+ 'total'
1994
+ ],
1546
1995
  additionalProperties: false
1547
1996
  },
1548
1997
  description: 'Usage data'
@@ -1556,7 +2005,9 @@ export const UsageResponseSchema = {
1556
2005
  type: 'string'
1557
2006
  },
1558
2007
  description: 'List of unique cluster IDs',
1559
- example: ['6b5439b1-923a-4f2b-a371-d554e5ea23fa']
2008
+ example: [
2009
+ '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
2010
+ ]
1560
2011
  },
1561
2012
  product: {
1562
2013
  type: 'array',
@@ -1564,14 +2015,20 @@ export const UsageResponseSchema = {
1564
2015
  type: 'string'
1565
2016
  },
1566
2017
  description: 'List of unique products',
1567
- example: ['cfke_controlplane', 'cfke_connected_nodes']
2018
+ example: [
2019
+ 'cfke_controlplane',
2020
+ 'cfke_connected_nodes'
2021
+ ]
1568
2022
  }
1569
2023
  },
1570
2024
  additionalProperties: false,
1571
2025
  description: 'Facets for filtering'
1572
2026
  }
1573
2027
  },
1574
- required: ['data', 'facets'],
2028
+ required: [
2029
+ 'data',
2030
+ 'facets'
2031
+ ],
1575
2032
  additionalProperties: false
1576
2033
  };
1577
2034
  export const UsageSchema = {
@@ -1610,7 +2067,14 @@ export const UsageSchema = {
1610
2067
  description: 'Total cost'
1611
2068
  }
1612
2069
  },
1613
- required: ['hour', 'cluster_id', 'product', 'value', 'price', 'total'],
2070
+ required: [
2071
+ 'hour',
2072
+ 'cluster_id',
2073
+ 'product',
2074
+ 'value',
2075
+ 'price',
2076
+ 'total'
2077
+ ],
1614
2078
  additionalProperties: false
1615
2079
  };
1616
2080
  export const UserCreateInputSchema = {
@@ -1651,16 +2115,28 @@ export const UserCreateInputSchema = {
1651
2115
  type: 'string',
1652
2116
  description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
1653
2117
  example: 'active',
1654
- enum: ['active', 'inactive']
2118
+ enum: [
2119
+ 'active',
2120
+ 'inactive'
2121
+ ]
1655
2122
  },
1656
2123
  role: {
1657
2124
  type: 'string',
1658
- description: "User role. Can be 'Administrator', 'User'.",
2125
+ description: 'User role. Can be \'Administrator\', \'User\'.',
1659
2126
  example: 'User',
1660
- enum: ['Administrator', 'User']
2127
+ enum: [
2128
+ 'Administrator',
2129
+ 'User'
2130
+ ]
1661
2131
  }
1662
2132
  },
1663
- required: ['email', 'first_name', 'last_name', 'code', 'password'],
2133
+ required: [
2134
+ 'email',
2135
+ 'first_name',
2136
+ 'last_name',
2137
+ 'code',
2138
+ 'password'
2139
+ ],
1664
2140
  additionalProperties: false
1665
2141
  };
1666
2142
  export const UserSchema = {
@@ -1688,15 +2164,21 @@ export const UserSchema = {
1688
2164
  },
1689
2165
  role: {
1690
2166
  type: 'string',
1691
- description: "User role. Can be 'Administrator', 'User'.",
2167
+ description: 'User role. Can be \'Administrator\', \'User\'.',
1692
2168
  example: 'User',
1693
- enum: ['Administrator', 'User']
2169
+ enum: [
2170
+ 'Administrator',
2171
+ 'User'
2172
+ ]
1694
2173
  },
1695
2174
  status: {
1696
2175
  type: 'string',
1697
2176
  description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
1698
2177
  example: 'active',
1699
- enum: ['active', 'inactive']
2178
+ enum: [
2179
+ 'active',
2180
+ 'inactive'
2181
+ ]
1700
2182
  },
1701
2183
  id: {
1702
2184
  type: 'string',
@@ -1711,7 +2193,15 @@ export const UserSchema = {
1711
2193
  example: '2023-11-02T16:08:14.338Z'
1712
2194
  }
1713
2195
  },
1714
- required: ['email', 'first_name', 'last_name', 'role', 'status', 'id', 'date_created'],
2196
+ required: [
2197
+ 'email',
2198
+ 'first_name',
2199
+ 'last_name',
2200
+ 'role',
2201
+ 'status',
2202
+ 'id',
2203
+ 'date_created'
2204
+ ],
1715
2205
  additionalProperties: false
1716
2206
  };
1717
2207
  export const UserUpdateInputSchema = {
@@ -1739,15 +2229,21 @@ export const UserUpdateInputSchema = {
1739
2229
  },
1740
2230
  role: {
1741
2231
  type: 'string',
1742
- description: "User role. Can be 'Administrator', 'User'.",
2232
+ description: 'User role. Can be \'Administrator\', \'User\'.',
1743
2233
  example: 'User',
1744
- enum: ['Administrator', 'User']
2234
+ enum: [
2235
+ 'Administrator',
2236
+ 'User'
2237
+ ]
1745
2238
  },
1746
2239
  status: {
1747
2240
  type: 'string',
1748
2241
  description: 'Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.',
1749
2242
  example: 'active',
1750
- enum: ['active', 'inactive']
2243
+ enum: [
2244
+ 'active',
2245
+ 'inactive'
2246
+ ]
1751
2247
  }
1752
2248
  },
1753
2249
  additionalProperties: false