@cloudfleet/sdk 0.0.1-90edb44 → 0.0.1-958f27d

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 (64) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1149 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1165 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts.map +1 -1
  6. package/dist/client/client.gen.js +167 -96
  7. package/dist/client/client.gen.js.map +1 -1
  8. package/dist/client/index.d.ts +2 -1
  9. package/dist/client/index.d.ts.map +1 -1
  10. package/dist/client/index.js +1 -0
  11. package/dist/client/index.js.map +1 -1
  12. package/dist/client/types.gen.d.ts +16 -18
  13. package/dist/client/types.gen.d.ts.map +1 -1
  14. package/dist/client/utils.gen.d.ts +13 -21
  15. package/dist/client/utils.gen.d.ts.map +1 -1
  16. package/dist/client/utils.gen.js +58 -115
  17. package/dist/client/utils.gen.js.map +1 -1
  18. package/dist/client.gen.d.ts +3 -3
  19. package/dist/client.gen.d.ts.map +1 -1
  20. package/dist/client.gen.js +1 -3
  21. package/dist/client.gen.js.map +1 -1
  22. package/dist/core/auth.gen.d.ts.map +1 -1
  23. package/dist/core/auth.gen.js.map +1 -1
  24. package/dist/core/bodySerializer.gen.d.ts +16 -8
  25. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  26. package/dist/core/bodySerializer.gen.js +4 -1
  27. package/dist/core/bodySerializer.gen.js.map +1 -1
  28. package/dist/core/params.gen.d.ts +10 -0
  29. package/dist/core/params.gen.d.ts.map +1 -1
  30. package/dist/core/params.gen.js +18 -6
  31. package/dist/core/params.gen.js.map +1 -1
  32. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  33. package/dist/core/pathSerializer.gen.js +3 -11
  34. package/dist/core/pathSerializer.gen.js.map +1 -1
  35. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  36. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.js +93 -0
  38. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  39. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  40. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  41. package/dist/core/serverSentEvents.gen.js +133 -0
  42. package/dist/core/serverSentEvents.gen.js.map +1 -0
  43. package/dist/core/types.gen.d.ts +13 -13
  44. package/dist/core/types.gen.d.ts.map +1 -1
  45. package/dist/core/utils.gen.d.ts +20 -0
  46. package/dist/core/utils.gen.d.ts.map +1 -0
  47. package/dist/core/utils.gen.js +88 -0
  48. package/dist/core/utils.gen.js.map +1 -0
  49. package/dist/schemas.gen.d.ts +1346 -589
  50. package/dist/schemas.gen.d.ts.map +1 -1
  51. package/dist/schemas.gen.js +2664 -693
  52. package/dist/schemas.gen.js.map +1 -1
  53. package/dist/sdk.gen.d.ts +153 -31
  54. package/dist/sdk.gen.d.ts.map +1 -1
  55. package/dist/sdk.gen.js +242 -173
  56. package/dist/sdk.gen.js.map +1 -1
  57. package/dist/services/kubernetes/api.d.ts +20 -20
  58. package/dist/types.gen.d.ts +1189 -389
  59. package/dist/types.gen.d.ts.map +1 -1
  60. package/dist/zod.gen.d.ts +2789 -2023
  61. package/dist/zod.gen.d.ts.map +1 -1
  62. package/dist/zod.gen.js +1251 -1129
  63. package/dist/zod.gen.js.map +1 -1
  64. package/package.json +29 -6
@@ -1,6 +1,12 @@
1
1
  export declare const BillingContactSchema: {
2
2
  readonly type: "object";
3
3
  readonly properties: {
4
+ readonly type: {
5
+ readonly type: "string";
6
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
7
+ readonly example: "business";
8
+ readonly enum: readonly ["business", "personal"];
9
+ };
4
10
  readonly company: {
5
11
  readonly type: "string";
6
12
  readonly maxLength: 120;
@@ -57,15 +63,10 @@ export declare const BillingContactSchema: {
57
63
  readonly description: "Email address used for billing as a string.";
58
64
  readonly example: "email@example.com";
59
65
  };
60
- readonly first_name: {
61
- readonly type: "string";
62
- readonly description: "First name of the billing contact person.";
63
- readonly example: "John";
64
- };
65
- readonly last_name: {
66
+ readonly individual_name: {
66
67
  readonly type: "string";
67
- readonly description: "Last name of the billing contact person.";
68
- readonly example: "Doe";
68
+ readonly description: "Name of the billing contact person.";
69
+ readonly example: "John Doe";
69
70
  };
70
71
  readonly tax_id: {
71
72
  readonly type: "string";
@@ -81,7 +82,7 @@ export declare const BillingContactSchema: {
81
82
  readonly enum: readonly ["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", ""];
82
83
  };
83
84
  };
84
- readonly required: readonly ["email", "first_name", "last_name"];
85
+ readonly required: readonly ["type", "email", "individual_name"];
85
86
  readonly additionalProperties: false;
86
87
  };
87
88
  export declare const BillingCreditsSchema: {
@@ -92,10 +93,22 @@ export declare const BillingCreditsSchema: {
92
93
  readonly description: "Generated unique identifier of the promotional code.";
93
94
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
94
95
  };
95
- readonly date_created: {
96
+ readonly type: {
97
+ readonly type: "string";
98
+ readonly description: "Type of the promotional code.";
99
+ readonly example: "credit";
100
+ readonly enum: readonly ["credit", "discount"];
101
+ };
102
+ readonly date_start: {
103
+ readonly type: "string";
104
+ readonly format: "date-time";
105
+ readonly description: "Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.";
106
+ readonly example: "2023-12-20T13:53:32.000Z";
107
+ };
108
+ readonly date_end: {
96
109
  readonly type: "string";
97
110
  readonly format: "date-time";
98
- readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
111
+ readonly description: "Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.";
99
112
  readonly example: "2023-12-20T13:53:32.000Z";
100
113
  };
101
114
  readonly code: {
@@ -108,40 +121,20 @@ export declare const BillingCreditsSchema: {
108
121
  readonly description: "Description of the promotional code.";
109
122
  readonly example: "10% off on all products";
110
123
  };
111
- readonly products: {
112
- readonly type: "array";
113
- readonly items: {
114
- readonly type: "string";
115
- };
116
- readonly description: "List of product SKUs that the promotional code can be used on.";
117
- readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
118
- };
119
- readonly type: {
120
- readonly type: "string";
121
- readonly description: "Type of the promotional code.";
122
- readonly example: "credit";
123
- readonly enum: readonly ["credit", "discount"];
124
- };
125
- readonly value: {
124
+ readonly value_total: {
126
125
  readonly type: "number";
127
126
  readonly format: "float";
128
- readonly description: "Value of the promotional code.";
127
+ readonly description: "Total value of the promotional code.";
129
128
  readonly example: 10;
130
129
  };
131
- readonly billing_period: {
132
- readonly type: "string";
133
- readonly format: "date-time";
134
- readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
135
- readonly example: "2023-12-20T13:53:32.000Z";
136
- };
137
130
  readonly value_remaining: {
138
131
  readonly type: "number";
139
132
  readonly format: "float";
140
- readonly description: "Value of the promotional code.";
141
- readonly example: 10;
133
+ readonly description: "Remaining value of the promotional code.";
134
+ readonly example: 8;
142
135
  };
143
136
  };
144
- readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
137
+ readonly required: readonly ["type", "date_start", "code", "value_total"];
145
138
  readonly additionalProperties: false;
146
139
  };
147
140
  export declare const ChartCreateInputSchema: {
@@ -224,9 +217,8 @@ export declare const ChartSchema: {
224
217
  };
225
218
  readonly status: {
226
219
  readonly type: "string";
227
- readonly description: "Status of the chart deployment.";
228
- readonly example: "active";
229
- readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
220
+ readonly description: "Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).";
221
+ readonly example: "InstallSucceeded";
230
222
  };
231
223
  readonly version_current: {
232
224
  readonly type: "string";
@@ -288,20 +280,18 @@ export declare const ClusterCreateInputSchema: {
288
280
  };
289
281
  readonly region: {
290
282
  readonly type: "string";
291
- readonly 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.";
292
- readonly default: "staging";
293
- readonly example: "northamerica-central-1a";
294
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
283
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
284
+ readonly example: "europe-central-1a";
295
285
  };
296
286
  readonly version_channel: {
297
287
  readonly type: "string";
298
288
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
299
289
  readonly description: "Version of the kubernetes cluster.";
300
290
  readonly default: "1.x.x-cfke.x";
301
- readonly example: "1.29.x-cfke.x";
291
+ readonly example: "1.x.x-cfke.x";
302
292
  };
303
293
  };
304
- readonly required: readonly ["name", "tier"];
294
+ readonly required: readonly ["name", "tier", "region"];
305
295
  readonly additionalProperties: false;
306
296
  };
307
297
  export declare const ClusterJoinInformationSchema: {
@@ -318,6 +308,16 @@ export declare const ClusterJoinInformationSchema: {
318
308
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
319
309
  readonly example: "https://10.31.64.7:6443";
320
310
  };
311
+ readonly cluster_dns: {
312
+ readonly type: "string";
313
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
314
+ readonly example: "10.96.0.10";
315
+ };
316
+ readonly pod_cidr: {
317
+ readonly type: "string";
318
+ readonly description: "Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.";
319
+ readonly example: "10.244.0.0/16";
320
+ };
321
321
  readonly auth_key: {
322
322
  readonly type: "string";
323
323
  readonly description: "Authentication key for the cluster.";
@@ -334,7 +334,7 @@ export declare const ClusterJoinInformationSchema: {
334
334
  readonly kubernetes: {
335
335
  readonly type: "string";
336
336
  readonly description: "Kubernetes version of the cluster.";
337
- readonly example: "1.29.3";
337
+ readonly example: "1.33.7";
338
338
  };
339
339
  readonly tailscale: {
340
340
  readonly type: "string";
@@ -380,7 +380,7 @@ export declare const ClusterJoinInformationSchema: {
380
380
  readonly description: "OIDC Information for hosts to access to third party API's.";
381
381
  };
382
382
  };
383
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
383
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "pod_cidr", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
384
384
  readonly additionalProperties: false;
385
385
  };
386
386
  export declare const ClusterSchema: {
@@ -402,17 +402,8 @@ export declare const ClusterSchema: {
402
402
  };
403
403
  readonly region: {
404
404
  readonly type: "string";
405
- readonly 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.";
406
- readonly default: "staging";
407
- readonly example: "northamerica-central-1a";
408
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
409
- };
410
- readonly version_channel: {
411
- readonly type: "string";
412
- readonly 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-]+)*))?$";
413
- readonly description: "Version of the kubernetes cluster.";
414
- readonly default: "1.x.x-cfke.x";
415
- readonly example: "1.29.x-cfke.x";
405
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
406
+ readonly example: "europe-central-1a";
416
407
  };
417
408
  readonly id: {
418
409
  readonly type: "string";
@@ -424,19 +415,30 @@ export declare const ClusterSchema: {
424
415
  readonly type: "string";
425
416
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
426
417
  readonly example: "active";
427
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
418
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
428
419
  };
429
420
  readonly endpoint: {
430
421
  readonly anyOf: readonly [{
431
422
  readonly type: "string";
432
423
  readonly format: "uri";
433
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
424
+ readonly description: "URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)";
434
425
  readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
435
426
  }, {
436
427
  readonly type: "string";
437
428
  readonly enum: readonly [""];
438
429
  }];
439
430
  };
431
+ readonly endpoint_public: {
432
+ readonly anyOf: readonly [{
433
+ readonly type: "string";
434
+ readonly format: "uri";
435
+ readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
436
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
437
+ }, {
438
+ readonly type: "string";
439
+ readonly enum: readonly [""];
440
+ }];
441
+ };
440
442
  readonly certificate_ca: {
441
443
  readonly type: "string";
442
444
  readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
@@ -445,7 +447,7 @@ export declare const ClusterSchema: {
445
447
  readonly version_current: {
446
448
  readonly type: "string";
447
449
  readonly description: "Current version of the cluster.";
448
- readonly example: "1.29.3-cfke.52";
450
+ readonly example: "1.33.7-cfke.264";
449
451
  };
450
452
  readonly created_at: {
451
453
  readonly type: "string";
@@ -462,8 +464,14 @@ export declare const ClusterSchema: {
462
464
  readonly description: "Indicates if the cluster is ready to be used.";
463
465
  readonly example: true;
464
466
  };
467
+ readonly version_channel: {
468
+ readonly type: "string";
469
+ readonly 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-]+)*))?$";
470
+ readonly description: "Version of the kubernetes cluster.";
471
+ readonly example: "1.x.x-cfke.x";
472
+ };
465
473
  };
466
- readonly required: readonly ["name", "tier", "id", "status"];
474
+ readonly required: readonly ["name", "tier", "region", "id", "status"];
467
475
  readonly additionalProperties: false;
468
476
  };
469
477
  export declare const ClusterUpdateInputSchema: {
@@ -487,7 +495,7 @@ export declare const ClusterUpdateInputSchema: {
487
495
  readonly type: "string";
488
496
  readonly 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-]+)*))?$";
489
497
  readonly description: "Version of the kubernetes cluster.";
490
- readonly example: "1.29.x-cfke.x";
498
+ readonly example: "1.x.x-cfke.x";
491
499
  };
492
500
  };
493
501
  readonly required: readonly ["tier"];
@@ -500,13 +508,12 @@ export declare const FleetCreateInputSchema: {
500
508
  readonly type: "object";
501
509
  readonly properties: {
502
510
  readonly cpu: {
503
- readonly type: "number";
504
- readonly format: "float";
511
+ readonly type: "integer";
505
512
  readonly minimum: 0;
506
- readonly description: "CPU limit in cores.";
513
+ readonly maximum: 100000;
514
+ readonly description: "CPU limit in cores. Maximum 100,000.";
507
515
  };
508
516
  };
509
- readonly required: readonly ["cpu"];
510
517
  readonly additionalProperties: false;
511
518
  readonly description: "Limits define a set of bounds for provisioning capacity.";
512
519
  };
@@ -515,14 +522,15 @@ export declare const FleetCreateInputSchema: {
515
522
  readonly properties: {
516
523
  readonly enabled: {
517
524
  readonly type: "boolean";
518
- readonly default: true;
519
525
  };
520
526
  readonly project: {
521
527
  readonly type: "string";
522
- readonly description: "Project GCP Project id to deploy instances into";
528
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
529
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
530
+ readonly example: "my-cloudfleet-project";
523
531
  };
524
532
  };
525
- readonly required: readonly ["project"];
533
+ readonly required: readonly ["enabled"];
526
534
  readonly additionalProperties: false;
527
535
  };
528
536
  readonly hetzner: {
@@ -530,14 +538,16 @@ export declare const FleetCreateInputSchema: {
530
538
  readonly properties: {
531
539
  readonly enabled: {
532
540
  readonly type: "boolean";
533
- readonly default: true;
534
541
  };
535
542
  readonly apiKey: {
536
543
  readonly type: "string";
537
- readonly description: "Hetzner Cloud API key with read / write access";
544
+ readonly maxLength: 64;
545
+ readonly minLength: 64;
546
+ readonly pattern: "^[A-Za-z0-9]+$";
547
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
538
548
  };
539
549
  };
540
- readonly required: readonly ["apiKey"];
550
+ readonly required: readonly ["enabled"];
541
551
  readonly additionalProperties: false;
542
552
  };
543
553
  readonly aws: {
@@ -545,15 +555,66 @@ export declare const FleetCreateInputSchema: {
545
555
  readonly properties: {
546
556
  readonly enabled: {
547
557
  readonly type: "boolean";
548
- readonly default: true;
549
558
  };
550
559
  readonly controllerRoleArn: {
551
560
  readonly type: "string";
552
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
561
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
562
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
563
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
564
+ };
565
+ };
566
+ readonly required: readonly ["enabled"];
567
+ readonly additionalProperties: false;
568
+ };
569
+ readonly constraints: {
570
+ readonly type: "object";
571
+ readonly properties: {
572
+ readonly 'karpenter.sh/capacity-type': {
573
+ readonly type: "array";
574
+ readonly items: {
575
+ readonly type: "string";
576
+ readonly enum: readonly ["on-demand", "spot"];
577
+ };
578
+ readonly minItems: 1;
579
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
580
+ readonly default: readonly ["on-demand", "spot"];
581
+ };
582
+ readonly 'kubernetes.io/arch': {
583
+ readonly type: "array";
584
+ readonly items: {
585
+ readonly type: "string";
586
+ readonly enum: readonly ["amd64", "arm64"];
587
+ };
588
+ readonly minItems: 1;
589
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
590
+ readonly default: readonly ["amd64"];
591
+ };
592
+ readonly 'cfke.io/instance-family': {
593
+ readonly type: "array";
594
+ readonly items: {
595
+ readonly type: "string";
596
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
597
+ };
598
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
599
+ };
600
+ readonly 'topology.kubernetes.io/region': {
601
+ readonly type: "array";
602
+ readonly items: {
603
+ readonly type: "string";
604
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
605
+ };
606
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
553
607
  };
554
608
  };
555
- readonly required: readonly ["controllerRoleArn"];
556
609
  readonly additionalProperties: false;
610
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
611
+ };
612
+ readonly scalingProfile: {
613
+ readonly type: "string";
614
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
615
+ readonly default: "conservative";
616
+ readonly example: "conservative";
617
+ readonly enum: readonly ["aggressive", "conservative"];
557
618
  };
558
619
  readonly id: {
559
620
  readonly type: "string";
@@ -574,13 +635,12 @@ export declare const FleetSchema: {
574
635
  readonly type: "object";
575
636
  readonly properties: {
576
637
  readonly cpu: {
577
- readonly type: "number";
578
- readonly format: "float";
638
+ readonly type: "integer";
579
639
  readonly minimum: 0;
580
- readonly description: "CPU limit in cores.";
640
+ readonly maximum: 100000;
641
+ readonly description: "CPU limit in cores. Maximum 100,000.";
581
642
  };
582
643
  };
583
- readonly required: readonly ["cpu"];
584
644
  readonly additionalProperties: false;
585
645
  readonly description: "Limits define a set of bounds for provisioning capacity.";
586
646
  };
@@ -589,14 +649,15 @@ export declare const FleetSchema: {
589
649
  readonly properties: {
590
650
  readonly enabled: {
591
651
  readonly type: "boolean";
592
- readonly default: true;
593
652
  };
594
653
  readonly project: {
595
654
  readonly type: "string";
596
- readonly description: "Project GCP Project id to deploy instances into";
655
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
656
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
657
+ readonly example: "my-cloudfleet-project";
597
658
  };
598
659
  };
599
- readonly required: readonly ["project"];
660
+ readonly required: readonly ["enabled"];
600
661
  readonly additionalProperties: false;
601
662
  };
602
663
  readonly hetzner: {
@@ -604,14 +665,14 @@ export declare const FleetSchema: {
604
665
  readonly properties: {
605
666
  readonly enabled: {
606
667
  readonly type: "boolean";
607
- readonly default: true;
608
668
  };
609
669
  readonly apiKey: {
610
670
  readonly type: "string";
611
- readonly description: "Hetzner Cloud API key with read / write access";
671
+ readonly pattern: "^\\*{64}$";
672
+ readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
612
673
  };
613
674
  };
614
- readonly required: readonly ["apiKey"];
675
+ readonly required: readonly ["enabled"];
615
676
  readonly additionalProperties: false;
616
677
  };
617
678
  readonly aws: {
@@ -619,15 +680,66 @@ export declare const FleetSchema: {
619
680
  readonly properties: {
620
681
  readonly enabled: {
621
682
  readonly type: "boolean";
622
- readonly default: true;
623
683
  };
624
684
  readonly controllerRoleArn: {
625
685
  readonly type: "string";
626
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
686
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
687
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
688
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
689
+ };
690
+ };
691
+ readonly required: readonly ["enabled"];
692
+ readonly additionalProperties: false;
693
+ };
694
+ readonly constraints: {
695
+ readonly type: "object";
696
+ readonly properties: {
697
+ readonly 'karpenter.sh/capacity-type': {
698
+ readonly type: "array";
699
+ readonly items: {
700
+ readonly type: "string";
701
+ readonly enum: readonly ["on-demand", "spot"];
702
+ };
703
+ readonly minItems: 1;
704
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
705
+ readonly default: readonly ["on-demand", "spot"];
706
+ };
707
+ readonly 'kubernetes.io/arch': {
708
+ readonly type: "array";
709
+ readonly items: {
710
+ readonly type: "string";
711
+ readonly enum: readonly ["amd64", "arm64"];
712
+ };
713
+ readonly minItems: 1;
714
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
715
+ readonly default: readonly ["amd64"];
716
+ };
717
+ readonly 'cfke.io/instance-family': {
718
+ readonly type: "array";
719
+ readonly items: {
720
+ readonly type: "string";
721
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
722
+ };
723
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
724
+ };
725
+ readonly 'topology.kubernetes.io/region': {
726
+ readonly type: "array";
727
+ readonly items: {
728
+ readonly type: "string";
729
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
730
+ };
731
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
627
732
  };
628
733
  };
629
- readonly required: readonly ["controllerRoleArn"];
630
734
  readonly additionalProperties: false;
735
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
736
+ };
737
+ readonly scalingProfile: {
738
+ readonly type: "string";
739
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
740
+ readonly default: "conservative";
741
+ readonly example: "conservative";
742
+ readonly enum: readonly ["aggressive", "conservative"];
631
743
  };
632
744
  readonly id: {
633
745
  readonly type: "string";
@@ -638,7 +750,7 @@ export declare const FleetSchema: {
638
750
  readonly example: "new-clouds-fleet";
639
751
  };
640
752
  };
641
- readonly required: readonly ["id"];
753
+ readonly required: readonly ["scalingProfile", "id"];
642
754
  readonly additionalProperties: false;
643
755
  };
644
756
  export declare const FleetUpdateInputSchema: {
@@ -648,13 +760,12 @@ export declare const FleetUpdateInputSchema: {
648
760
  readonly type: "object";
649
761
  readonly properties: {
650
762
  readonly cpu: {
651
- readonly type: "number";
652
- readonly format: "float";
763
+ readonly type: "integer";
653
764
  readonly minimum: 0;
654
- readonly description: "CPU limit in cores.";
765
+ readonly maximum: 100000;
766
+ readonly description: "CPU limit in cores. Maximum 100,000.";
655
767
  };
656
768
  };
657
- readonly required: readonly ["cpu"];
658
769
  readonly additionalProperties: false;
659
770
  readonly description: "Limits define a set of bounds for provisioning capacity.";
660
771
  };
@@ -663,14 +774,15 @@ export declare const FleetUpdateInputSchema: {
663
774
  readonly properties: {
664
775
  readonly enabled: {
665
776
  readonly type: "boolean";
666
- readonly default: true;
667
777
  };
668
778
  readonly project: {
669
779
  readonly type: "string";
670
- readonly description: "Project GCP Project id to deploy instances into";
780
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
781
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
782
+ readonly example: "my-cloudfleet-project";
671
783
  };
672
784
  };
673
- readonly required: readonly ["project"];
785
+ readonly required: readonly ["enabled"];
674
786
  readonly additionalProperties: false;
675
787
  };
676
788
  readonly hetzner: {
@@ -678,14 +790,16 @@ export declare const FleetUpdateInputSchema: {
678
790
  readonly properties: {
679
791
  readonly enabled: {
680
792
  readonly type: "boolean";
681
- readonly default: true;
682
793
  };
683
794
  readonly apiKey: {
684
795
  readonly type: "string";
685
- readonly description: "Hetzner Cloud API key with read / write access";
796
+ readonly maxLength: 64;
797
+ readonly minLength: 64;
798
+ readonly pattern: "^[A-Za-z0-9]+$";
799
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
686
800
  };
687
801
  };
688
- readonly required: readonly ["apiKey"];
802
+ readonly required: readonly ["enabled"];
689
803
  readonly additionalProperties: false;
690
804
  };
691
805
  readonly aws: {
@@ -693,17 +807,86 @@ export declare const FleetUpdateInputSchema: {
693
807
  readonly properties: {
694
808
  readonly enabled: {
695
809
  readonly type: "boolean";
696
- readonly default: true;
697
810
  };
698
811
  readonly controllerRoleArn: {
699
812
  readonly type: "string";
700
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
813
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
814
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
815
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
816
+ };
817
+ };
818
+ readonly required: readonly ["enabled"];
819
+ readonly additionalProperties: false;
820
+ };
821
+ readonly constraints: {
822
+ readonly type: "object";
823
+ readonly properties: {
824
+ readonly 'karpenter.sh/capacity-type': {
825
+ readonly type: "array";
826
+ readonly items: {
827
+ readonly type: "string";
828
+ readonly enum: readonly ["on-demand", "spot"];
829
+ };
830
+ readonly minItems: 1;
831
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
832
+ };
833
+ readonly 'kubernetes.io/arch': {
834
+ readonly type: "array";
835
+ readonly items: {
836
+ readonly type: "string";
837
+ readonly enum: readonly ["amd64", "arm64"];
838
+ };
839
+ readonly minItems: 1;
840
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
841
+ };
842
+ readonly 'cfke.io/instance-family': {
843
+ readonly type: "array";
844
+ readonly items: {
845
+ readonly type: "string";
846
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
847
+ };
848
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
849
+ };
850
+ readonly 'topology.kubernetes.io/region': {
851
+ readonly type: "array";
852
+ readonly items: {
853
+ readonly type: "string";
854
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
855
+ };
856
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
701
857
  };
702
858
  };
703
- readonly required: readonly ["controllerRoleArn"];
704
859
  readonly additionalProperties: false;
860
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
861
+ };
862
+ readonly scalingProfile: {
863
+ readonly type: "string";
864
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
865
+ readonly example: "conservative";
866
+ readonly enum: readonly ["aggressive", "conservative"];
705
867
  };
706
868
  };
869
+ readonly required: readonly ["scalingProfile"];
870
+ readonly additionalProperties: false;
871
+ };
872
+ export declare const InviteCreateInputSchema: {
873
+ readonly type: "object";
874
+ readonly properties: {
875
+ readonly email: {
876
+ readonly type: "string";
877
+ readonly format: "email";
878
+ readonly description: "Email address of the user to invite.";
879
+ readonly example: "email@example.com";
880
+ };
881
+ readonly role: {
882
+ readonly type: "string";
883
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
884
+ readonly default: "User";
885
+ readonly example: "User";
886
+ readonly enum: readonly ["Administrator", "User"];
887
+ };
888
+ };
889
+ readonly required: readonly ["email"];
707
890
  readonly additionalProperties: false;
708
891
  };
709
892
  export declare const InviteSchema: {
@@ -737,6 +920,13 @@ export declare const InviteSchema: {
737
920
  readonly description: "Generated unique invite code.";
738
921
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
739
922
  };
923
+ readonly role: {
924
+ readonly type: "string";
925
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
926
+ readonly default: "User";
927
+ readonly example: "User";
928
+ readonly enum: readonly ["Administrator", "User"];
929
+ };
740
930
  };
741
931
  readonly required: readonly ["date_created"];
742
932
  readonly additionalProperties: false;
@@ -746,23 +936,18 @@ export declare const InvoiceSchema: {
746
936
  readonly properties: {
747
937
  readonly id: {
748
938
  readonly type: "string";
749
- readonly format: "uuid";
750
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
751
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
939
+ readonly description: "Unique identifier of the invoice.";
940
+ readonly example: "in_1234567890xCrwxghOTj1234";
752
941
  };
753
- readonly organizationId: {
942
+ readonly number: {
754
943
  readonly type: "string";
755
- readonly format: "uuid";
756
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
757
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
758
944
  };
759
945
  readonly status: {
760
946
  readonly type: "string";
761
947
  readonly description: "Status of the invoice";
762
- readonly example: "DRAFT";
763
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
948
+ readonly example: "paid";
764
949
  };
765
- readonly amount: {
950
+ readonly total: {
766
951
  readonly type: "number";
767
952
  readonly format: "float";
768
953
  readonly description: "Total amount of the invoice";
@@ -771,405 +956,180 @@ export declare const InvoiceSchema: {
771
956
  readonly currency: {
772
957
  readonly type: "string";
773
958
  readonly description: "Currency of the invoice";
774
- readonly example: "USD";
775
- readonly enum: readonly ["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"];
959
+ readonly example: "usd";
776
960
  };
777
- readonly creditAdj: {
778
- readonly type: "number";
779
- readonly format: "float";
780
- readonly description: "Total amount of credit adjustments";
781
- readonly example: 0;
961
+ readonly created: {
962
+ readonly type: "string";
963
+ readonly format: "date-time";
964
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
965
+ readonly example: "2023-12-20T13:53:32.000Z";
782
966
  };
783
- readonly refundAdj: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "Total amount of refund adjustments";
787
- readonly example: 0;
967
+ readonly period_start: {
968
+ readonly type: "string";
969
+ readonly format: "date-time";
970
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
971
+ readonly example: "2023-12-20T13:53:32.000Z";
788
972
  };
789
- readonly invoiceDate: {
973
+ readonly period_end: {
790
974
  readonly type: "string";
791
- readonly description: "Date of the invoice";
792
- readonly example: "2019-01-01T00:00:00.000Z";
975
+ readonly format: "date-time";
976
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
977
+ readonly example: "2023-12-20T13:53:32.000Z";
793
978
  };
794
- readonly targetDate: {
979
+ readonly invoice_pdf: {
795
980
  readonly type: "string";
796
- readonly description: "Target date of the invoice";
797
- readonly example: "2019-01-01T00:00:00.000Z";
798
981
  };
799
- readonly invoiceNumber: {
982
+ };
983
+ readonly required: readonly ["created", "period_start", "period_end"];
984
+ readonly additionalProperties: false;
985
+ };
986
+ export declare const MarketplaceListingFilesSchema: {
987
+ readonly type: "object";
988
+ readonly properties: {
989
+ readonly chartYaml: {
990
+ readonly type: "string";
991
+ readonly description: "Raw Chart.yaml content from the Helm chart";
992
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
993
+ };
994
+ readonly valuesYaml: {
800
995
  readonly type: "string";
801
- readonly description: "Number of the invoice";
802
- readonly example: "INV-0001";
996
+ readonly description: "Raw values.yaml content from the Helm chart";
997
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
803
998
  };
804
- readonly balance: {
805
- readonly type: "number";
806
- readonly format: "float";
807
- readonly description: "Balance of the invoice";
808
- readonly example: 100;
999
+ readonly valuesSchemaJson: {
1000
+ readonly type: "string";
1001
+ readonly description: "JSON schema for values.yaml as a string";
1002
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
809
1003
  };
810
- readonly bundleKeys: {
1004
+ };
1005
+ readonly additionalProperties: false;
1006
+ };
1007
+ export declare const MarketplaceListingSchema: {
1008
+ readonly type: "object";
1009
+ readonly properties: {
1010
+ readonly name: {
811
1011
  readonly type: "string";
812
- readonly description: "Bundle keys of the invoice";
813
- readonly example: "bundleKey1,bundleKey2";
1012
+ readonly description: "Name of the chart";
1013
+ readonly example: "nginx-ingress";
814
1014
  };
815
- readonly credits: {
1015
+ readonly versions: {
816
1016
  readonly type: "array";
817
1017
  readonly items: {
818
- readonly type: "object";
819
- readonly properties: {
820
- readonly id: {
821
- readonly type: "string";
822
- readonly format: "uuid";
823
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
824
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
825
- };
826
- readonly linkedInvoiceItemId: {
1018
+ readonly type: "string";
1019
+ readonly 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-]+)*))?$";
1020
+ readonly description: "Specific version of the chart";
1021
+ readonly example: "1.18.2-cfke.45";
1022
+ };
1023
+ readonly description: "Available versions of the chart";
1024
+ };
1025
+ readonly version_channels: {
1026
+ readonly type: "array";
1027
+ readonly items: {
1028
+ readonly type: "string";
1029
+ readonly 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-]+)*))?$";
1030
+ readonly description: "Version channel pattern";
1031
+ readonly example: "1.18.x-cfke.x";
1032
+ };
1033
+ readonly description: "Version channels for the chart";
1034
+ };
1035
+ readonly latestVersion: {
1036
+ readonly type: "string";
1037
+ readonly description: "Latest version of the chart";
1038
+ readonly example: "1.18.2-cfke.45";
1039
+ };
1040
+ readonly metadata: {
1041
+ readonly type: "object";
1042
+ readonly properties: {
1043
+ readonly name: {
1044
+ readonly type: "string";
1045
+ readonly description: "Chart name from metadata";
1046
+ readonly example: "nginx-ingress";
1047
+ };
1048
+ readonly version: {
1049
+ readonly type: "string";
1050
+ readonly description: "Chart version from metadata";
1051
+ readonly example: "1.18.2-cfke.45";
1052
+ };
1053
+ readonly description: {
1054
+ readonly type: "string";
1055
+ readonly description: "Chart description";
1056
+ readonly example: "NGINX Ingress Controller for Kubernetes";
1057
+ };
1058
+ readonly appVersion: {
1059
+ readonly type: "string";
1060
+ readonly description: "Application version";
1061
+ readonly example: "1.9.4";
1062
+ };
1063
+ readonly apiVersion: {
1064
+ readonly type: "string";
1065
+ readonly description: "Helm API version";
1066
+ readonly example: "v2";
1067
+ };
1068
+ readonly keywords: {
1069
+ readonly type: "array";
1070
+ readonly items: {
827
1071
  readonly type: "string";
828
- readonly format: "uuid";
829
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
830
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
831
1072
  };
832
- readonly productName: {
1073
+ readonly description: "Chart keywords";
1074
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
1075
+ };
1076
+ readonly home: {
1077
+ readonly type: "string";
1078
+ readonly description: "Chart home URL";
1079
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
1080
+ };
1081
+ readonly icon: {
1082
+ readonly type: "string";
1083
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
1084
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1085
+ };
1086
+ readonly sources: {
1087
+ readonly type: "array";
1088
+ readonly items: {
833
1089
  readonly type: "string";
834
- readonly description: "Name of the product";
835
- readonly example: "Research team";
836
- };
837
- readonly planName: {
838
- readonly type: "string";
839
- readonly description: "Name of the plan";
840
- readonly example: "Plan A";
841
- };
842
- readonly phaseName: {
843
- readonly type: "string";
844
- readonly description: "Name of the phase";
845
- readonly example: "Phase A";
846
- };
847
- readonly usageName: {
848
- readonly type: "string";
849
- readonly description: "Name of the usage";
850
- readonly example: "Usage A";
851
- };
852
- readonly prettyProductName: {
853
- readonly type: "string";
854
- readonly description: "Pretty name of the product";
855
- readonly example: "Research team";
856
- };
857
- readonly prettyPlanName: {
858
- readonly type: "string";
859
- readonly description: "Pretty name of the plan";
860
- readonly example: "Plan A";
861
- };
862
- readonly prettyPhaseName: {
863
- readonly type: "string";
864
- readonly description: "Pretty name of the phase";
865
- readonly example: "Phase A";
866
- };
867
- readonly prettyUsageName: {
868
- readonly type: "string";
869
- readonly description: "Pretty name of the usage";
870
- readonly example: "Usage A";
871
- };
872
- readonly itemType: {
873
- readonly type: "string";
874
- readonly description: "Type of the invoice item";
875
- readonly example: "EXTERNAL_CHARGE";
876
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
877
- };
878
- readonly description: {
879
- readonly type: "string";
880
- readonly description: "Description of the invoice item";
881
- readonly example: "Description of the invoice item";
882
- };
883
- readonly startDate: {
884
- readonly type: "string";
885
- readonly description: "Start date of the invoice item";
886
- readonly example: "2019-01-01T00:00:00.000Z";
887
- };
888
- readonly endDate: {
889
- readonly type: "string";
890
- readonly description: "End date of the invoice item";
891
- readonly example: "2019-01-01T00:00:00.000Z";
892
- };
893
- readonly amount: {
894
- readonly type: "number";
895
- readonly format: "float";
896
- readonly description: "Amount of the invoice item";
897
- readonly example: 100;
898
- };
899
- readonly rate: {
900
- readonly type: "number";
901
- readonly format: "float";
902
- readonly description: "Rate of the invoice item";
903
- readonly example: 100;
904
- };
905
- readonly currency: {
906
- readonly type: "string";
907
- readonly description: "Currency of the invoice item";
908
- readonly example: "USD";
909
- readonly enum: readonly ["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"];
910
- };
911
- readonly quantity: {
912
- readonly type: "number";
913
- readonly format: "float";
914
- readonly description: "Quantity of the invoice item";
915
- readonly example: 1;
916
- };
917
- readonly itemDetails: {
918
- readonly type: "string";
919
- readonly description: "Details of the invoice item";
920
- readonly example: "Details of the invoice item";
921
- };
922
- readonly catalogEffectiveDate: {
923
- readonly type: "string";
924
- readonly description: "Effective date of the catalog";
925
- readonly example: "2019-01-01T00:00:00.000Z";
926
- };
927
- readonly childItems: {
928
- readonly type: "array";
929
- readonly items: {
930
- readonly oneOf: readonly [{
931
- readonly type: "array";
932
- }, {
933
- readonly type: "boolean";
934
- }, {
935
- readonly type: "number";
936
- }, {
937
- readonly type: "object";
938
- readonly additionalProperties: true;
939
- }, {
940
- readonly type: "string";
941
- }];
942
- };
943
- readonly description: "Child items of the invoice item";
944
1090
  };
1091
+ readonly description: "Chart source URLs";
1092
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
945
1093
  };
946
- readonly additionalProperties: false;
947
- };
948
- readonly description: "Credits of the invoice";
949
- };
950
- readonly items: {
951
- readonly type: "array";
952
- readonly items: {
953
- readonly type: "object";
954
- readonly properties: {
955
- readonly id: {
956
- readonly type: "string";
957
- readonly format: "uuid";
958
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
959
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
960
- };
961
- readonly linkedInvoiceItemId: {
962
- readonly type: "string";
963
- readonly format: "uuid";
964
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
965
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
966
- };
967
- readonly productName: {
968
- readonly type: "string";
969
- readonly description: "Name of the product";
970
- readonly example: "Research team";
971
- };
972
- readonly planName: {
973
- readonly type: "string";
974
- readonly description: "Name of the plan";
975
- readonly example: "Plan A";
976
- };
977
- readonly phaseName: {
978
- readonly type: "string";
979
- readonly description: "Name of the phase";
980
- readonly example: "Phase A";
981
- };
982
- readonly usageName: {
983
- readonly type: "string";
984
- readonly description: "Name of the usage";
985
- readonly example: "Usage A";
986
- };
987
- readonly prettyProductName: {
988
- readonly type: "string";
989
- readonly description: "Pretty name of the product";
990
- readonly example: "Research team";
991
- };
992
- readonly prettyPlanName: {
993
- readonly type: "string";
994
- readonly description: "Pretty name of the plan";
995
- readonly example: "Plan A";
996
- };
997
- readonly prettyPhaseName: {
998
- readonly type: "string";
999
- readonly description: "Pretty name of the phase";
1000
- readonly example: "Phase A";
1001
- };
1002
- readonly prettyUsageName: {
1003
- readonly type: "string";
1004
- readonly description: "Pretty name of the usage";
1005
- readonly example: "Usage A";
1006
- };
1007
- readonly itemType: {
1008
- readonly type: "string";
1009
- readonly description: "Type of the invoice item";
1010
- readonly example: "EXTERNAL_CHARGE";
1011
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1012
- };
1013
- readonly description: {
1014
- readonly type: "string";
1015
- readonly description: "Description of the invoice item";
1016
- readonly example: "Description of the invoice item";
1017
- };
1018
- readonly startDate: {
1019
- readonly type: "string";
1020
- readonly description: "Start date of the invoice item";
1021
- readonly example: "2019-01-01T00:00:00.000Z";
1022
- };
1023
- readonly endDate: {
1024
- readonly type: "string";
1025
- readonly description: "End date of the invoice item";
1026
- readonly example: "2019-01-01T00:00:00.000Z";
1027
- };
1028
- readonly amount: {
1029
- readonly type: "number";
1030
- readonly format: "float";
1031
- readonly description: "Amount of the invoice item";
1032
- readonly example: 100;
1033
- };
1034
- readonly rate: {
1035
- readonly type: "number";
1036
- readonly format: "float";
1037
- readonly description: "Rate of the invoice item";
1038
- readonly example: 100;
1039
- };
1040
- readonly currency: {
1041
- readonly type: "string";
1042
- readonly description: "Currency of the invoice item";
1043
- readonly example: "USD";
1044
- readonly enum: readonly ["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"];
1045
- };
1046
- readonly quantity: {
1047
- readonly type: "number";
1048
- readonly format: "float";
1049
- readonly description: "Quantity of the invoice item";
1050
- readonly example: 1;
1051
- };
1052
- readonly itemDetails: {
1053
- readonly type: "string";
1054
- readonly description: "Details of the invoice item";
1055
- readonly example: "Details of the invoice item";
1056
- };
1057
- readonly catalogEffectiveDate: {
1058
- readonly type: "string";
1059
- readonly description: "Effective date of the catalog";
1060
- readonly example: "2019-01-01T00:00:00.000Z";
1061
- };
1062
- readonly childItems: {
1063
- readonly type: "array";
1064
- readonly items: {
1065
- readonly oneOf: readonly [{
1066
- readonly type: "array";
1067
- }, {
1068
- readonly type: "boolean";
1069
- }, {
1070
- readonly type: "number";
1071
- }, {
1072
- readonly type: "object";
1073
- readonly additionalProperties: true;
1074
- }, {
1094
+ readonly maintainers: {
1095
+ readonly type: "array";
1096
+ readonly items: {
1097
+ readonly type: "object";
1098
+ readonly properties: {
1099
+ readonly name: {
1100
+ readonly type: "string";
1101
+ readonly description: "Maintainer name";
1102
+ readonly example: "NGINX Team";
1103
+ };
1104
+ readonly email: {
1075
1105
  readonly type: "string";
1076
- }];
1106
+ readonly description: "Maintainer email";
1107
+ readonly example: "support@nginx.org";
1108
+ };
1077
1109
  };
1078
- readonly description: "Child items of the invoice item";
1110
+ readonly required: readonly ["name"];
1111
+ readonly additionalProperties: false;
1079
1112
  };
1113
+ readonly description: "Chart maintainers";
1080
1114
  };
1081
- readonly additionalProperties: false;
1082
1115
  };
1083
- readonly description: "Items of the invoice";
1116
+ readonly required: readonly ["name", "version"];
1117
+ readonly additionalProperties: false;
1118
+ readonly description: "Chart metadata";
1084
1119
  };
1085
1120
  };
1121
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1086
1122
  readonly additionalProperties: false;
1087
1123
  };
1088
- export declare const MarketplaceListingSchema: {
1124
+ export declare const OrganizationCreateInputSchema: {
1089
1125
  readonly type: "object";
1090
1126
  readonly properties: {
1091
- readonly id: {
1092
- readonly type: "string";
1093
- readonly maxLength: 63;
1094
- readonly minLength: 1;
1095
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1096
- readonly description: "Id of the chart listing";
1097
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1098
- };
1099
- readonly name: {
1100
- readonly type: "string";
1101
- readonly description: "Name of the chart listing";
1102
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1103
- };
1104
- readonly developer: {
1105
- readonly type: "string";
1106
- readonly description: "Author of the chart listing";
1107
- readonly example: "Portworx";
1108
- };
1109
- readonly description: {
1110
- readonly type: "string";
1111
- readonly description: "Short description of the chart listing";
1112
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1113
- };
1114
- readonly logoUrl: {
1115
- readonly type: "string";
1116
- readonly description: "Logo of the chart listing";
1117
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1118
- };
1119
- readonly longDescription: {
1127
+ readonly type: {
1120
1128
  readonly type: "string";
1121
- readonly description: "Long description of the chart listing";
1122
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1123
- };
1124
- readonly categories: {
1125
- readonly type: "array";
1126
- readonly items: {
1127
- readonly type: "string";
1128
- readonly example: "AI & Machine Learning";
1129
- };
1130
- readonly description: "Tags of the chart";
1131
- };
1132
- readonly version_channels: {
1133
- readonly type: "array";
1134
- readonly items: {
1135
- readonly type: "string";
1136
- readonly 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-]+)*))?$";
1137
- readonly description: "Version of the chart.";
1138
- readonly example: "2.x.x-cfke.x";
1139
- };
1140
- };
1141
- readonly value_schemas: {
1142
- readonly type: "array";
1143
- readonly items: {
1144
- readonly type: "object";
1145
- readonly properties: {
1146
- readonly version: {
1147
- readonly type: "string";
1148
- readonly 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-]+)*))?$";
1149
- readonly description: "Version of the chart.";
1150
- readonly example: "2.1.1-cfke.123";
1151
- };
1152
- readonly schema: {
1153
- readonly type: "string";
1154
- readonly description: "Schema of the chart values. JSON Schema as string";
1155
- };
1156
- readonly placeholder: {
1157
- readonly type: "string";
1158
- readonly description: "Schema of the chart values";
1159
- readonly example: "foo: 1\nbar: example";
1160
- };
1161
- };
1162
- readonly required: readonly ["version", "schema", "placeholder"];
1163
- readonly additionalProperties: false;
1164
- };
1129
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1130
+ readonly example: "business";
1131
+ readonly enum: readonly ["business", "personal"];
1165
1132
  };
1166
- };
1167
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1168
- readonly additionalProperties: false;
1169
- };
1170
- export declare const OrganizationCreateInputSchema: {
1171
- readonly type: "object";
1172
- readonly properties: {
1173
1133
  readonly email: {
1174
1134
  readonly type: "string";
1175
1135
  readonly format: "email";
@@ -1178,11 +1138,13 @@ export declare const OrganizationCreateInputSchema: {
1178
1138
  };
1179
1139
  readonly first_name: {
1180
1140
  readonly type: "string";
1141
+ readonly minLength: 1;
1181
1142
  readonly description: "First name of the billing contact person.";
1182
1143
  readonly example: "John";
1183
1144
  };
1184
1145
  readonly last_name: {
1185
1146
  readonly type: "string";
1147
+ readonly minLength: 1;
1186
1148
  readonly description: "Last name of the billing contact person.";
1187
1149
  readonly example: "Doe";
1188
1150
  };
@@ -1200,7 +1162,19 @@ export declare const OrganizationCreateInputSchema: {
1200
1162
  readonly 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.";
1201
1163
  };
1202
1164
  };
1203
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1165
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1166
+ readonly additionalProperties: false;
1167
+ };
1168
+ export declare const OrganizationCreateOutputSchema: {
1169
+ readonly type: "object";
1170
+ readonly properties: {
1171
+ readonly id: {
1172
+ readonly type: "string";
1173
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1174
+ readonly example: "organization-id";
1175
+ };
1176
+ };
1177
+ readonly required: readonly ["id"];
1204
1178
  readonly additionalProperties: false;
1205
1179
  };
1206
1180
  export declare const OrganizationSchema: {
@@ -1219,6 +1193,12 @@ export declare const OrganizationSchema: {
1219
1193
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1220
1194
  readonly example: "ACME Corp.";
1221
1195
  };
1196
+ readonly type: {
1197
+ readonly type: "string";
1198
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1199
+ readonly example: "business";
1200
+ readonly enum: readonly ["business", "personal"];
1201
+ };
1222
1202
  readonly date_created: {
1223
1203
  readonly type: "string";
1224
1204
  readonly format: "date-time";
@@ -1269,7 +1249,7 @@ export declare const OrganizationSchema: {
1269
1249
  readonly type: "array";
1270
1250
  readonly items: {
1271
1251
  readonly type: "string";
1272
- readonly example: "northamerica-central-1";
1252
+ readonly example: "northamerica-central-1a";
1273
1253
  };
1274
1254
  readonly minItems: 1;
1275
1255
  readonly description: "List of Cloudfleet control plane regions available for the organization.";
@@ -1282,12 +1262,12 @@ export declare const OrganizationSchema: {
1282
1262
  readonly id: {
1283
1263
  readonly type: "string";
1284
1264
  readonly description: "Id of the control plane version. Used in API calls.";
1285
- readonly example: "1.29.x-cfke.x";
1265
+ readonly example: "1.33.x-cfke.x";
1286
1266
  };
1287
1267
  readonly label: {
1288
1268
  readonly type: "string";
1289
1269
  readonly description: "Label of the control plane version. Used in frontent UI.";
1290
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1270
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1291
1271
  };
1292
1272
  };
1293
1273
  readonly required: readonly ["id", "label"];
@@ -1296,8 +1276,14 @@ export declare const OrganizationSchema: {
1296
1276
  readonly minItems: 1;
1297
1277
  readonly description: "List of CFKE control plane versions available for the organization.";
1298
1278
  };
1279
+ readonly cfcr_storage_gb: {
1280
+ readonly type: "integer";
1281
+ readonly minimum: -1;
1282
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1283
+ readonly example: 500;
1284
+ };
1299
1285
  };
1300
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1286
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1301
1287
  readonly additionalProperties: false;
1302
1288
  readonly 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.";
1303
1289
  };
@@ -1306,8 +1292,14 @@ export declare const OrganizationSchema: {
1306
1292
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1307
1293
  readonly enum: readonly ["active", "closed", "suspended"];
1308
1294
  };
1295
+ readonly verification: {
1296
+ readonly type: "string";
1297
+ readonly description: "Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.";
1298
+ readonly example: "verified";
1299
+ readonly enum: readonly ["none", "submitted", "verified"];
1300
+ };
1309
1301
  };
1310
- readonly required: readonly ["id", "date_created", "quota", "status"];
1302
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1311
1303
  readonly additionalProperties: false;
1312
1304
  };
1313
1305
  export declare const PaymentMethodSchema: {
@@ -1315,26 +1307,19 @@ export declare const PaymentMethodSchema: {
1315
1307
  readonly properties: {
1316
1308
  readonly id: {
1317
1309
  readonly type: "string";
1318
- readonly format: "uuid";
1319
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1320
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1321
- };
1322
- readonly setup: {
1323
- readonly type: "boolean";
1324
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1325
- readonly example: true;
1310
+ readonly description: "Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.";
1311
+ readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
1326
1312
  };
1327
1313
  readonly type: {
1328
1314
  readonly type: "string";
1329
- readonly nullable: true;
1330
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1315
+ readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
1331
1316
  readonly example: "card";
1332
- readonly enum: readonly ["card"];
1317
+ readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
1333
1318
  };
1334
1319
  readonly last4: {
1335
1320
  readonly type: "string";
1336
1321
  readonly nullable: true;
1337
- readonly description: "Last 4 digits of the payment card number.";
1322
+ readonly description: "Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.";
1338
1323
  readonly example: "4242";
1339
1324
  };
1340
1325
  readonly exp_month: {
@@ -1342,54 +1327,788 @@ export declare const PaymentMethodSchema: {
1342
1327
  readonly minimum: 1;
1343
1328
  readonly maximum: 12;
1344
1329
  readonly nullable: true;
1345
- readonly description: "Two-digit number representing the card's expiration month.";
1346
- readonly example: "12";
1330
+ readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
1331
+ readonly example: 12;
1347
1332
  };
1348
1333
  readonly exp_year: {
1349
1334
  readonly type: "integer";
1350
- readonly minimum: 2024;
1351
1335
  readonly nullable: true;
1352
- readonly description: "Four-digit number representing the card's expiration year.";
1353
- readonly example: "2028";
1336
+ readonly description: "Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.";
1337
+ readonly example: 2028;
1354
1338
  };
1355
1339
  readonly brand: {
1356
1340
  readonly type: "string";
1357
1341
  readonly nullable: true;
1358
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1342
+ readonly description: "Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.";
1359
1343
  readonly example: "visa";
1360
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1344
+ };
1345
+ readonly iban: {
1346
+ readonly type: "string";
1347
+ readonly nullable: true;
1348
+ readonly description: "Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.";
1349
+ readonly example: "DE11243015658023127510";
1350
+ };
1351
+ readonly bic: {
1352
+ readonly type: "string";
1353
+ readonly nullable: true;
1354
+ readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
1355
+ readonly example: "SOGEDEFFXXX";
1356
+ };
1357
+ readonly account_holder_name: {
1358
+ readonly type: "string";
1359
+ readonly nullable: true;
1360
+ readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
1361
+ readonly example: "Cloudfleet GmbH";
1362
+ };
1363
+ readonly is_default: {
1364
+ readonly type: "boolean";
1365
+ readonly description: "Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).";
1366
+ readonly example: true;
1361
1367
  };
1362
1368
  };
1363
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1369
+ readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
1364
1370
  readonly additionalProperties: false;
1365
1371
  };
1366
- export declare const TokenCreateInputSchema: {
1372
+ export declare const PlatformQuotaSchema: {
1373
+ readonly type: "object";
1374
+ readonly properties: {
1375
+ readonly basic_clusters_max: {
1376
+ readonly type: "integer";
1377
+ readonly minimum: 0;
1378
+ readonly description: "Maximum number of Basic clusters that can be created.";
1379
+ readonly example: 999;
1380
+ };
1381
+ readonly basic_clusters_available: {
1382
+ readonly type: "integer";
1383
+ readonly description: "Available number of Basic clusters that can be created.";
1384
+ readonly example: 999;
1385
+ };
1386
+ readonly pro_clusters_max: {
1387
+ readonly type: "integer";
1388
+ readonly minimum: 0;
1389
+ readonly description: "Maximum number of Pro clusters that can be created.";
1390
+ readonly example: 999;
1391
+ };
1392
+ readonly pro_clusters_available: {
1393
+ readonly type: "integer";
1394
+ readonly description: "Available number of Pro clusters that can be created.";
1395
+ readonly example: 999;
1396
+ };
1397
+ readonly fleets_max: {
1398
+ readonly type: "integer";
1399
+ readonly minimum: 0;
1400
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1401
+ readonly example: 999;
1402
+ };
1403
+ readonly cluster_tiers: {
1404
+ readonly type: "array";
1405
+ readonly items: {
1406
+ readonly type: "string";
1407
+ readonly example: "basic";
1408
+ };
1409
+ readonly minItems: 0;
1410
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1411
+ };
1412
+ readonly regions: {
1413
+ readonly type: "array";
1414
+ readonly items: {
1415
+ readonly type: "string";
1416
+ readonly example: "northamerica-central-1a";
1417
+ };
1418
+ readonly minItems: 1;
1419
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1420
+ };
1421
+ readonly versions: {
1422
+ readonly type: "array";
1423
+ readonly items: {
1424
+ readonly type: "object";
1425
+ readonly properties: {
1426
+ readonly id: {
1427
+ readonly type: "string";
1428
+ readonly description: "Id of the control plane version. Used in API calls.";
1429
+ readonly example: "1.33.x-cfke.x";
1430
+ };
1431
+ readonly label: {
1432
+ readonly type: "string";
1433
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1434
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1435
+ };
1436
+ };
1437
+ readonly required: readonly ["id", "label"];
1438
+ readonly additionalProperties: false;
1439
+ };
1440
+ readonly minItems: 1;
1441
+ readonly description: "List of CFKE control plane versions available for the organization.";
1442
+ };
1443
+ readonly cfcr_storage_gb: {
1444
+ readonly type: "integer";
1445
+ readonly minimum: -1;
1446
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1447
+ readonly example: 500;
1448
+ };
1449
+ };
1450
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1451
+ readonly additionalProperties: false;
1452
+ };
1453
+ export declare const RegistryRepositorySchema: {
1367
1454
  readonly type: "object";
1368
1455
  readonly properties: {
1369
1456
  readonly name: {
1370
1457
  readonly type: "string";
1371
- readonly maxLength: 63;
1372
- readonly minLength: 1;
1373
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1374
- readonly description: "Human readable access token name.";
1375
- readonly example: "deployment-token";
1458
+ readonly description: "Repository name.";
1459
+ readonly example: "my-app";
1376
1460
  };
1377
- readonly role: {
1461
+ readonly region: {
1378
1462
  readonly type: "string";
1379
- readonly description: "Role assumed by the token.";
1380
- readonly example: "User";
1381
- readonly enum: readonly ["Administrator", "User"];
1463
+ readonly description: "Registry region.";
1464
+ readonly example: "northamerica";
1465
+ };
1466
+ readonly uri: {
1467
+ readonly type: "string";
1468
+ readonly description: "Full URI of the repository.";
1469
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1382
1470
  };
1383
1471
  };
1384
- readonly required: readonly ["name", "role"];
1472
+ readonly required: readonly ["name", "region", "uri"];
1385
1473
  readonly additionalProperties: false;
1386
1474
  };
1387
- export declare const TokenSchema: {
1475
+ export declare const RegistryRepositoryWithTagsSchema: {
1388
1476
  readonly type: "object";
1389
1477
  readonly properties: {
1390
1478
  readonly name: {
1391
1479
  readonly type: "string";
1392
- readonly maxLength: 63;
1480
+ readonly description: "Repository name.";
1481
+ readonly example: "my-app";
1482
+ };
1483
+ readonly region: {
1484
+ readonly type: "string";
1485
+ readonly description: "Registry region.";
1486
+ readonly example: "northamerica";
1487
+ };
1488
+ readonly uri: {
1489
+ readonly type: "string";
1490
+ readonly description: "Full URI of the repository.";
1491
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1492
+ };
1493
+ readonly tags: {
1494
+ readonly type: "array";
1495
+ readonly items: {
1496
+ readonly type: "object";
1497
+ readonly properties: {
1498
+ readonly name: {
1499
+ readonly type: "string";
1500
+ readonly description: "Tag name.";
1501
+ readonly example: "latest";
1502
+ };
1503
+ readonly size: {
1504
+ readonly type: "number";
1505
+ readonly format: "float";
1506
+ readonly description: "Size of the tag in bytes.";
1507
+ readonly example: 123456789;
1508
+ };
1509
+ readonly mediaType: {
1510
+ readonly type: "string";
1511
+ readonly description: "Media type of the manifest.";
1512
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1513
+ };
1514
+ readonly platforms: {
1515
+ readonly type: "array";
1516
+ readonly items: {
1517
+ readonly type: "string";
1518
+ };
1519
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1520
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1521
+ };
1522
+ };
1523
+ readonly required: readonly ["name", "size"];
1524
+ readonly additionalProperties: false;
1525
+ };
1526
+ readonly description: "Array of tags in the repository.";
1527
+ };
1528
+ readonly totalSize: {
1529
+ readonly type: "number";
1530
+ readonly format: "float";
1531
+ readonly description: "Total size of all tags in the repository in bytes.";
1532
+ readonly example: 987654321;
1533
+ };
1534
+ };
1535
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1536
+ readonly additionalProperties: false;
1537
+ };
1538
+ export declare const RegistryTagSchema: {
1539
+ readonly type: "object";
1540
+ readonly properties: {
1541
+ readonly name: {
1542
+ readonly type: "string";
1543
+ readonly description: "Tag name.";
1544
+ readonly example: "latest";
1545
+ };
1546
+ readonly digest: {
1547
+ readonly type: "string";
1548
+ readonly description: "Manifest digest for pulling by digest.";
1549
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1550
+ };
1551
+ readonly mediaType: {
1552
+ readonly type: "string";
1553
+ readonly description: "Media type of the manifest.";
1554
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1555
+ };
1556
+ readonly config: {
1557
+ readonly type: "object";
1558
+ readonly properties: {
1559
+ readonly size: {
1560
+ readonly type: "number";
1561
+ readonly format: "float";
1562
+ readonly description: "Size of the config in bytes.";
1563
+ readonly example: 1234;
1564
+ };
1565
+ };
1566
+ readonly required: readonly ["size"];
1567
+ readonly additionalProperties: false;
1568
+ readonly description: "Manifest config metadata.";
1569
+ };
1570
+ readonly layers: {
1571
+ readonly type: "array";
1572
+ readonly items: {
1573
+ readonly type: "object";
1574
+ readonly properties: {
1575
+ readonly digest: {
1576
+ readonly type: "string";
1577
+ readonly description: "Digest of the layer.";
1578
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1579
+ };
1580
+ readonly size: {
1581
+ readonly type: "number";
1582
+ readonly format: "float";
1583
+ readonly description: "Size of the layer in bytes.";
1584
+ readonly example: 5678;
1585
+ };
1586
+ };
1587
+ readonly required: readonly ["size"];
1588
+ readonly additionalProperties: false;
1589
+ };
1590
+ readonly description: "Array of layer metadata.";
1591
+ };
1592
+ readonly manifests: {
1593
+ readonly type: "array";
1594
+ readonly items: {
1595
+ readonly type: "object";
1596
+ readonly properties: {
1597
+ readonly digest: {
1598
+ readonly type: "string";
1599
+ readonly description: "Digest of the manifest.";
1600
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1601
+ };
1602
+ readonly platform: {
1603
+ readonly type: "object";
1604
+ readonly properties: {
1605
+ readonly architecture: {
1606
+ readonly type: "string";
1607
+ readonly description: "Architecture of the platform.";
1608
+ readonly example: "amd64";
1609
+ };
1610
+ readonly os: {
1611
+ readonly type: "string";
1612
+ readonly description: "Operating system of the platform.";
1613
+ readonly example: "linux";
1614
+ };
1615
+ readonly variant: {
1616
+ readonly type: "string";
1617
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1618
+ readonly example: "v8";
1619
+ };
1620
+ };
1621
+ readonly required: readonly ["architecture", "os"];
1622
+ readonly additionalProperties: false;
1623
+ readonly description: "Platform information for the manifest.";
1624
+ };
1625
+ readonly layers: {
1626
+ readonly type: "array";
1627
+ readonly items: {
1628
+ readonly type: "object";
1629
+ readonly properties: {
1630
+ readonly digest: {
1631
+ readonly type: "string";
1632
+ readonly description: "Digest of the layer.";
1633
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1634
+ };
1635
+ readonly size: {
1636
+ readonly type: "number";
1637
+ readonly format: "float";
1638
+ readonly description: "Size of the layer in bytes.";
1639
+ readonly example: 5678;
1640
+ };
1641
+ };
1642
+ readonly required: readonly ["size"];
1643
+ readonly additionalProperties: false;
1644
+ };
1645
+ readonly description: "Layers for this platform.";
1646
+ };
1647
+ readonly size: {
1648
+ readonly type: "number";
1649
+ readonly format: "float";
1650
+ readonly description: "Total size of this platform manifest in bytes.";
1651
+ readonly example: 12345678;
1652
+ };
1653
+ };
1654
+ readonly required: readonly ["digest"];
1655
+ readonly additionalProperties: false;
1656
+ };
1657
+ readonly description: "Array of manifests for multi-arch images.";
1658
+ };
1659
+ readonly size: {
1660
+ readonly type: "number";
1661
+ readonly format: "float";
1662
+ readonly description: "Total size of the tag in bytes.";
1663
+ readonly example: 123456789;
1664
+ };
1665
+ readonly region: {
1666
+ readonly type: "string";
1667
+ readonly description: "Registry region.";
1668
+ readonly example: "northamerica";
1669
+ };
1670
+ readonly repository: {
1671
+ readonly type: "string";
1672
+ readonly description: "Repository name.";
1673
+ readonly example: "my-app";
1674
+ };
1675
+ readonly uri: {
1676
+ readonly type: "string";
1677
+ readonly description: "Full URI of the tag.";
1678
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1679
+ };
1680
+ };
1681
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1682
+ readonly additionalProperties: false;
1683
+ };
1684
+ export declare const TicketAttachmentSchema: {
1685
+ readonly type: "object";
1686
+ readonly properties: {
1687
+ readonly id: {
1688
+ readonly type: "string";
1689
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1690
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1691
+ };
1692
+ readonly filename: {
1693
+ readonly type: "string";
1694
+ readonly description: "Original filename as uploaded.";
1695
+ readonly example: "debug.log";
1696
+ };
1697
+ readonly content_type: {
1698
+ readonly type: "string";
1699
+ readonly description: "MIME content type of the attachment.";
1700
+ readonly example: "text/plain";
1701
+ };
1702
+ readonly size: {
1703
+ readonly type: "integer";
1704
+ readonly description: "Size of the attachment in bytes.";
1705
+ readonly example: 12345;
1706
+ };
1707
+ };
1708
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1709
+ readonly additionalProperties: false;
1710
+ };
1711
+ export declare const TicketCreateInputSchema: {
1712
+ readonly type: "object";
1713
+ readonly properties: {
1714
+ readonly category: {
1715
+ readonly type: "string";
1716
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1717
+ readonly example: "technical";
1718
+ readonly enum: readonly ["billing", "technical", "general"];
1719
+ };
1720
+ readonly body: {
1721
+ readonly type: "string";
1722
+ readonly maxLength: 50000;
1723
+ readonly minLength: 1;
1724
+ readonly pattern: "\\S";
1725
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1726
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1727
+ };
1728
+ readonly properties: {
1729
+ readonly type: "object";
1730
+ readonly additionalProperties: true;
1731
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1732
+ readonly example: {
1733
+ readonly subcategory: "cluster-question";
1734
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1735
+ };
1736
+ };
1737
+ };
1738
+ readonly required: readonly ["category", "body"];
1739
+ readonly additionalProperties: false;
1740
+ };
1741
+ export declare const TicketListResponseSchema: {
1742
+ readonly type: "object";
1743
+ readonly properties: {
1744
+ readonly items: {
1745
+ readonly type: "array";
1746
+ readonly items: {
1747
+ readonly type: "object";
1748
+ readonly properties: {
1749
+ readonly id: {
1750
+ readonly type: "string";
1751
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1752
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1753
+ };
1754
+ readonly status: {
1755
+ readonly type: "string";
1756
+ readonly description: "Current state of the ticket.";
1757
+ readonly example: "waiting_on_us";
1758
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1759
+ };
1760
+ readonly category: {
1761
+ readonly type: "string";
1762
+ readonly description: "Ticket category.";
1763
+ readonly example: "technical";
1764
+ readonly enum: readonly ["billing", "technical", "general"];
1765
+ };
1766
+ readonly summary: {
1767
+ readonly type: "string";
1768
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1769
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1770
+ };
1771
+ readonly closed_at: {
1772
+ readonly type: "string";
1773
+ readonly format: "date-time";
1774
+ readonly nullable: true;
1775
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1776
+ readonly example: "2026-05-18T16:08:14.338Z";
1777
+ };
1778
+ readonly date_created: {
1779
+ readonly type: "string";
1780
+ readonly format: "date-time";
1781
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1782
+ readonly example: "2026-05-11T16:08:14.338Z";
1783
+ };
1784
+ readonly date_updated: {
1785
+ readonly type: "string";
1786
+ readonly format: "date-time";
1787
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1788
+ readonly example: "2026-05-11T16:08:14.338Z";
1789
+ };
1790
+ readonly messages: {
1791
+ readonly type: "array";
1792
+ readonly items: {
1793
+ readonly type: "object";
1794
+ readonly properties: {
1795
+ readonly id: {
1796
+ readonly type: "string";
1797
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1798
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1799
+ };
1800
+ readonly type: {
1801
+ readonly type: "string";
1802
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1803
+ readonly example: "customer_reply";
1804
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1805
+ };
1806
+ readonly body: {
1807
+ readonly type: "string";
1808
+ readonly description: "Message body in markdown.";
1809
+ readonly example: "Thanks — that resolved it on my side.";
1810
+ };
1811
+ readonly author_first_name: {
1812
+ readonly type: "string";
1813
+ readonly nullable: true;
1814
+ readonly description: "First name of the author. Null when not provided.";
1815
+ readonly example: "Jane";
1816
+ };
1817
+ readonly author_last_name: {
1818
+ readonly type: "string";
1819
+ readonly nullable: true;
1820
+ readonly description: "Last name of the author. Null when not provided.";
1821
+ readonly example: "Doe";
1822
+ };
1823
+ readonly attachments: {
1824
+ readonly type: "array";
1825
+ readonly items: {
1826
+ readonly type: "object";
1827
+ readonly properties: {
1828
+ readonly id: {
1829
+ readonly type: "string";
1830
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1831
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1832
+ };
1833
+ readonly filename: {
1834
+ readonly type: "string";
1835
+ readonly description: "Original filename as uploaded.";
1836
+ readonly example: "debug.log";
1837
+ };
1838
+ readonly content_type: {
1839
+ readonly type: "string";
1840
+ readonly description: "MIME content type of the attachment.";
1841
+ readonly example: "text/plain";
1842
+ };
1843
+ readonly size: {
1844
+ readonly type: "integer";
1845
+ readonly description: "Size of the attachment in bytes.";
1846
+ readonly example: 12345;
1847
+ };
1848
+ };
1849
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1850
+ readonly additionalProperties: false;
1851
+ };
1852
+ readonly description: "Attachments associated with this message.";
1853
+ readonly example: readonly [];
1854
+ };
1855
+ readonly date_created: {
1856
+ readonly type: "string";
1857
+ readonly format: "date-time";
1858
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1859
+ readonly example: "2026-05-11T16:08:14.338Z";
1860
+ };
1861
+ };
1862
+ readonly required: readonly ["id", "type", "body", "date_created"];
1863
+ readonly additionalProperties: false;
1864
+ };
1865
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1866
+ };
1867
+ };
1868
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1869
+ readonly additionalProperties: false;
1870
+ };
1871
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1872
+ };
1873
+ };
1874
+ readonly required: readonly ["items"];
1875
+ readonly additionalProperties: false;
1876
+ };
1877
+ export declare const TicketMessageInputSchema: {
1878
+ readonly type: "object";
1879
+ readonly properties: {
1880
+ readonly body: {
1881
+ readonly type: "string";
1882
+ readonly maxLength: 50000;
1883
+ readonly minLength: 1;
1884
+ readonly pattern: "\\S";
1885
+ readonly description: "Reply body in markdown.";
1886
+ readonly example: "Thanks — that resolved it on my side.";
1887
+ };
1888
+ };
1889
+ readonly required: readonly ["body"];
1890
+ readonly additionalProperties: false;
1891
+ };
1892
+ export declare const TicketMessageSchema: {
1893
+ readonly type: "object";
1894
+ readonly properties: {
1895
+ readonly id: {
1896
+ readonly type: "string";
1897
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1898
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1899
+ };
1900
+ readonly type: {
1901
+ readonly type: "string";
1902
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1903
+ readonly example: "customer_reply";
1904
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1905
+ };
1906
+ readonly body: {
1907
+ readonly type: "string";
1908
+ readonly description: "Message body in markdown.";
1909
+ readonly example: "Thanks — that resolved it on my side.";
1910
+ };
1911
+ readonly author_first_name: {
1912
+ readonly type: "string";
1913
+ readonly description: "First name of the author. Null when not provided.";
1914
+ readonly example: "Jane";
1915
+ };
1916
+ readonly author_last_name: {
1917
+ readonly type: "string";
1918
+ readonly description: "Last name of the author. Null when not provided.";
1919
+ readonly example: "Doe";
1920
+ };
1921
+ readonly attachments: {
1922
+ readonly type: "array";
1923
+ readonly items: {
1924
+ readonly type: "object";
1925
+ readonly properties: {
1926
+ readonly id: {
1927
+ readonly type: "string";
1928
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1929
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1930
+ };
1931
+ readonly filename: {
1932
+ readonly type: "string";
1933
+ readonly description: "Original filename as uploaded.";
1934
+ readonly example: "debug.log";
1935
+ };
1936
+ readonly content_type: {
1937
+ readonly type: "string";
1938
+ readonly description: "MIME content type of the attachment.";
1939
+ readonly example: "text/plain";
1940
+ };
1941
+ readonly size: {
1942
+ readonly type: "integer";
1943
+ readonly description: "Size of the attachment in bytes.";
1944
+ readonly example: 12345;
1945
+ };
1946
+ };
1947
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1948
+ readonly additionalProperties: false;
1949
+ };
1950
+ readonly description: "Attachments associated with this message.";
1951
+ readonly example: readonly [];
1952
+ };
1953
+ readonly date_created: {
1954
+ readonly type: "string";
1955
+ readonly format: "date-time";
1956
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1957
+ readonly example: "2026-05-11T16:08:14.338Z";
1958
+ };
1959
+ };
1960
+ readonly required: readonly ["id", "type", "body", "date_created"];
1961
+ readonly additionalProperties: false;
1962
+ };
1963
+ export declare const TicketSchema: {
1964
+ readonly type: "object";
1965
+ readonly properties: {
1966
+ readonly id: {
1967
+ readonly type: "string";
1968
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1969
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1970
+ };
1971
+ readonly status: {
1972
+ readonly type: "string";
1973
+ readonly description: "Current state of the ticket.";
1974
+ readonly example: "waiting_on_us";
1975
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1976
+ };
1977
+ readonly category: {
1978
+ readonly type: "string";
1979
+ readonly description: "Ticket category.";
1980
+ readonly example: "technical";
1981
+ readonly enum: readonly ["billing", "technical", "general"];
1982
+ };
1983
+ readonly summary: {
1984
+ readonly type: "string";
1985
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1986
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1987
+ };
1988
+ readonly closed_at: {
1989
+ readonly type: "string";
1990
+ readonly format: "date-time";
1991
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1992
+ readonly example: "2026-05-18T16:08:14.338Z";
1993
+ };
1994
+ readonly date_created: {
1995
+ readonly type: "string";
1996
+ readonly format: "date-time";
1997
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1998
+ readonly example: "2026-05-11T16:08:14.338Z";
1999
+ };
2000
+ readonly date_updated: {
2001
+ readonly type: "string";
2002
+ readonly format: "date-time";
2003
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
2004
+ readonly example: "2026-05-11T16:08:14.338Z";
2005
+ };
2006
+ readonly messages: {
2007
+ readonly type: "array";
2008
+ readonly items: {
2009
+ readonly type: "object";
2010
+ readonly properties: {
2011
+ readonly id: {
2012
+ readonly type: "string";
2013
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
2014
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
2015
+ };
2016
+ readonly type: {
2017
+ readonly type: "string";
2018
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
2019
+ readonly example: "customer_reply";
2020
+ readonly enum: readonly ["customer_reply", "agent_reply"];
2021
+ };
2022
+ readonly body: {
2023
+ readonly type: "string";
2024
+ readonly description: "Message body in markdown.";
2025
+ readonly example: "Thanks — that resolved it on my side.";
2026
+ };
2027
+ readonly author_first_name: {
2028
+ readonly type: "string";
2029
+ readonly description: "First name of the author. Null when not provided.";
2030
+ readonly example: "Jane";
2031
+ };
2032
+ readonly author_last_name: {
2033
+ readonly type: "string";
2034
+ readonly description: "Last name of the author. Null when not provided.";
2035
+ readonly example: "Doe";
2036
+ };
2037
+ readonly attachments: {
2038
+ readonly type: "array";
2039
+ readonly items: {
2040
+ readonly type: "object";
2041
+ readonly properties: {
2042
+ readonly id: {
2043
+ readonly type: "string";
2044
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2045
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2046
+ };
2047
+ readonly filename: {
2048
+ readonly type: "string";
2049
+ readonly description: "Original filename as uploaded.";
2050
+ readonly example: "debug.log";
2051
+ };
2052
+ readonly content_type: {
2053
+ readonly type: "string";
2054
+ readonly description: "MIME content type of the attachment.";
2055
+ readonly example: "text/plain";
2056
+ };
2057
+ readonly size: {
2058
+ readonly type: "integer";
2059
+ readonly description: "Size of the attachment in bytes.";
2060
+ readonly example: 12345;
2061
+ };
2062
+ };
2063
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2064
+ readonly additionalProperties: false;
2065
+ };
2066
+ readonly description: "Attachments associated with this message.";
2067
+ readonly example: readonly [];
2068
+ };
2069
+ readonly date_created: {
2070
+ readonly type: "string";
2071
+ readonly format: "date-time";
2072
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2073
+ readonly example: "2026-05-11T16:08:14.338Z";
2074
+ };
2075
+ };
2076
+ readonly required: readonly ["id", "type", "body", "date_created"];
2077
+ readonly additionalProperties: false;
2078
+ };
2079
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
2080
+ };
2081
+ };
2082
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
2083
+ readonly additionalProperties: false;
2084
+ };
2085
+ export declare const TokenCreateInputSchema: {
2086
+ readonly type: "object";
2087
+ readonly properties: {
2088
+ readonly name: {
2089
+ readonly type: "string";
2090
+ readonly maxLength: 63;
2091
+ readonly minLength: 1;
2092
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2093
+ readonly description: "Human readable access token name.";
2094
+ readonly example: "deployment-token";
2095
+ };
2096
+ readonly role: {
2097
+ readonly type: "string";
2098
+ readonly description: "Role assumed by the token.";
2099
+ readonly example: "User";
2100
+ readonly enum: readonly ["Administrator", "User"];
2101
+ };
2102
+ };
2103
+ readonly required: readonly ["name", "role"];
2104
+ readonly additionalProperties: false;
2105
+ };
2106
+ export declare const TokenSchema: {
2107
+ readonly type: "object";
2108
+ readonly properties: {
2109
+ readonly name: {
2110
+ readonly type: "string";
2111
+ readonly maxLength: 63;
1393
2112
  readonly minLength: 1;
1394
2113
  readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1395
2114
  readonly description: "Human readable access token name.";
@@ -1441,6 +2160,101 @@ export declare const TokenUpdateInputSchema: {
1441
2160
  };
1442
2161
  readonly additionalProperties: false;
1443
2162
  };
2163
+ export declare const UsageFacetsSchema: {
2164
+ readonly type: "object";
2165
+ readonly properties: {
2166
+ readonly cluster_id: {
2167
+ readonly type: "array";
2168
+ readonly items: {
2169
+ readonly type: "string";
2170
+ };
2171
+ readonly description: "List of unique cluster IDs";
2172
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2173
+ };
2174
+ readonly product: {
2175
+ readonly type: "array";
2176
+ readonly items: {
2177
+ readonly type: "string";
2178
+ };
2179
+ readonly description: "List of unique products";
2180
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2181
+ };
2182
+ };
2183
+ readonly additionalProperties: false;
2184
+ };
2185
+ export declare const UsageResponseSchema: {
2186
+ readonly type: "object";
2187
+ readonly properties: {
2188
+ readonly data: {
2189
+ readonly type: "array";
2190
+ readonly items: {
2191
+ readonly type: "object";
2192
+ readonly properties: {
2193
+ readonly hour: {
2194
+ readonly type: "string";
2195
+ readonly description: "Hour of the usage";
2196
+ readonly example: "2019-01-01T00:00:00.000Z";
2197
+ };
2198
+ readonly cluster_id: {
2199
+ readonly type: "string";
2200
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2201
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2202
+ };
2203
+ readonly product: {
2204
+ readonly type: "string";
2205
+ readonly description: "The product the usage is associated with";
2206
+ readonly example: "cfke_controlplane";
2207
+ };
2208
+ readonly value: {
2209
+ readonly type: "number";
2210
+ readonly format: "float";
2211
+ readonly description: "Consumption";
2212
+ readonly example: 4;
2213
+ };
2214
+ readonly price: {
2215
+ readonly type: "number";
2216
+ readonly format: "float";
2217
+ readonly description: "Price per unit";
2218
+ readonly example: 0.01;
2219
+ };
2220
+ readonly total: {
2221
+ readonly type: "number";
2222
+ readonly format: "float";
2223
+ readonly description: "Total cost";
2224
+ };
2225
+ };
2226
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2227
+ readonly additionalProperties: false;
2228
+ };
2229
+ readonly description: "Usage data";
2230
+ };
2231
+ readonly facets: {
2232
+ readonly type: "object";
2233
+ readonly properties: {
2234
+ readonly cluster_id: {
2235
+ readonly type: "array";
2236
+ readonly items: {
2237
+ readonly type: "string";
2238
+ };
2239
+ readonly description: "List of unique cluster IDs";
2240
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2241
+ };
2242
+ readonly product: {
2243
+ readonly type: "array";
2244
+ readonly items: {
2245
+ readonly type: "string";
2246
+ };
2247
+ readonly description: "List of unique products";
2248
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2249
+ };
2250
+ };
2251
+ readonly additionalProperties: false;
2252
+ readonly description: "Facets for filtering";
2253
+ };
2254
+ };
2255
+ readonly required: readonly ["data", "facets"];
2256
+ readonly additionalProperties: false;
2257
+ };
1444
2258
  export declare const UsageSchema: {
1445
2259
  readonly type: "object";
1446
2260
  readonly properties: {
@@ -1451,78 +2265,33 @@ export declare const UsageSchema: {
1451
2265
  };
1452
2266
  readonly cluster_id: {
1453
2267
  readonly type: "string";
1454
- readonly format: "uuid";
1455
2268
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1456
2269
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1457
2270
  };
1458
- readonly cluster_tier: {
1459
- readonly type: "string";
1460
- readonly description: "Tier of the cluster.";
1461
- readonly example: "pro";
1462
- readonly enum: readonly ["basic", "pro", ""];
1463
- };
1464
2271
  readonly product: {
1465
2272
  readonly type: "string";
1466
2273
  readonly description: "The product the usage is associated with";
1467
2274
  readonly example: "cfke_controlplane";
1468
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1469
2275
  };
1470
- readonly node_name: {
1471
- readonly type: "string";
1472
- readonly description: "Name of the Kubernetes node";
1473
- readonly example: "flexible-moth-956037384";
1474
- };
1475
- readonly sku: {
1476
- readonly type: "string";
1477
- readonly description: "SKU of the Kubernetes node";
1478
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1479
- };
1480
- readonly cpu: {
1481
- readonly anyOf: readonly [{
1482
- readonly type: "number";
1483
- readonly format: "float";
1484
- readonly description: "CPU core count of the node";
1485
- readonly example: 4;
1486
- }, {
1487
- readonly type: "string";
1488
- readonly enum: readonly [""];
1489
- }];
2276
+ readonly value: {
2277
+ readonly type: "number";
2278
+ readonly format: "float";
2279
+ readonly description: "Consumption";
2280
+ readonly example: 4;
1490
2281
  };
1491
2282
  readonly price: {
1492
- readonly anyOf: readonly [{
1493
- readonly type: "number";
1494
- readonly format: "float";
1495
- readonly description: "Price";
1496
- readonly example: 4;
1497
- }, {
1498
- readonly type: "string";
1499
- readonly enum: readonly [""];
1500
- }];
1501
- };
1502
- readonly value: {
1503
- readonly anyOf: readonly [{
1504
- readonly type: "number";
1505
- readonly format: "float";
1506
- readonly description: "Value";
1507
- readonly example: 4;
1508
- }, {
1509
- readonly type: "string";
1510
- readonly enum: readonly [""];
1511
- }];
2283
+ readonly type: "number";
2284
+ readonly format: "float";
2285
+ readonly description: "Price per unit";
2286
+ readonly example: 0.01;
1512
2287
  };
1513
2288
  readonly total: {
1514
- readonly anyOf: readonly [{
1515
- readonly type: "number";
1516
- readonly format: "float";
1517
- readonly description: "Total";
1518
- readonly example: 4;
1519
- }, {
1520
- readonly type: "string";
1521
- readonly enum: readonly [""];
1522
- }];
2289
+ readonly type: "number";
2290
+ readonly format: "float";
2291
+ readonly description: "Total cost";
1523
2292
  };
1524
2293
  };
1525
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2294
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1526
2295
  readonly additionalProperties: false;
1527
2296
  };
1528
2297
  export declare const UserCreateInputSchema: {
@@ -1559,18 +2328,6 @@ export declare const UserCreateInputSchema: {
1559
2328
  readonly minLength: 8;
1560
2329
  readonly description: "User password. Must be at least 8 characters long.";
1561
2330
  };
1562
- readonly status: {
1563
- readonly type: "string";
1564
- readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
1565
- readonly example: "active";
1566
- readonly enum: readonly ["active", "inactive"];
1567
- };
1568
- readonly role: {
1569
- readonly type: "string";
1570
- readonly description: "User role. Can be 'Administrator', 'User'.";
1571
- readonly example: "User";
1572
- readonly enum: readonly ["Administrator", "User"];
1573
- };
1574
2331
  };
1575
2332
  readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
1576
2333
  readonly additionalProperties: false;