@cloudfleet/sdk 0.0.1-ac7f6c7 → 0.0.1-aca000f

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 (72) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +4 -4
  22. package/dist/client.gen.d.ts.map +1 -1
  23. package/dist/client.gen.js +2 -4
  24. package/dist/client.gen.js.map +1 -1
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/schemas.gen.d.ts +1321 -599
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +2652 -688
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +172 -62
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +217 -164
  64. package/dist/sdk.gen.js.map +1 -1
  65. package/dist/services/kubernetes/api.d.ts +20 -20
  66. package/dist/types.gen.d.ts +1052 -360
  67. package/dist/types.gen.d.ts.map +1 -1
  68. package/dist/zod.gen.d.ts +3510 -2588
  69. package/dist/zod.gen.d.ts.map +1 -1
  70. package/dist/zod.gen.js +1213 -926
  71. package/dist/zod.gen.js.map +1 -1
  72. package/package.json +29 -7
@@ -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: {
@@ -288,17 +281,18 @@ export declare const ClusterCreateInputSchema: {
288
281
  };
289
282
  readonly region: {
290
283
  readonly type: "string";
291
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
292
- readonly default: "staging";
293
- readonly example: "northamerica-central-1";
294
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
284
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
285
+ readonly default: "staging-1a";
286
+ readonly example: "northamerica-central-1a";
287
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
295
288
  };
296
289
  readonly version_channel: {
297
290
  readonly type: "string";
298
291
  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
292
  readonly description: "Version of the kubernetes cluster.";
300
293
  readonly default: "1.x.x-cfke.x";
301
- readonly example: "1.29.x-cfke.x";
294
+ readonly example: "1.x.x-cfke.x";
295
+ readonly enum: readonly ["1.x.x-cfke.x", "1.31.x-cfke.x", "1.32.x-cfke.x", "1.33.x-cfke.x"];
302
296
  };
303
297
  };
304
298
  readonly required: readonly ["name", "tier"];
@@ -318,6 +312,11 @@ export declare const ClusterJoinInformationSchema: {
318
312
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
319
313
  readonly example: "https://10.31.64.7:6443";
320
314
  };
315
+ readonly cluster_dns: {
316
+ readonly type: "string";
317
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
318
+ readonly example: "10.96.0.10";
319
+ };
321
320
  readonly auth_key: {
322
321
  readonly type: "string";
323
322
  readonly description: "Authentication key for the cluster.";
@@ -334,7 +333,7 @@ export declare const ClusterJoinInformationSchema: {
334
333
  readonly kubernetes: {
335
334
  readonly type: "string";
336
335
  readonly description: "Kubernetes version of the cluster.";
337
- readonly example: "1.29.3";
336
+ readonly example: "1.33.7";
338
337
  };
339
338
  readonly tailscale: {
340
339
  readonly type: "string";
@@ -346,8 +345,13 @@ export declare const ClusterJoinInformationSchema: {
346
345
  readonly description: "Containerd version of the cluster.";
347
346
  readonly example: "1.7.19";
348
347
  };
348
+ readonly nvidia_driver: {
349
+ readonly type: "string";
350
+ readonly description: "NVIDIA driver version of the cluster.";
351
+ readonly example: "565.0.0";
352
+ };
349
353
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
354
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
355
  readonly additionalProperties: false;
352
356
  readonly description: "Versions of the different components of the cluster.";
353
357
  };
@@ -375,7 +379,7 @@ export declare const ClusterJoinInformationSchema: {
375
379
  readonly description: "OIDC Information for hosts to access to third party API's.";
376
380
  };
377
381
  };
378
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
382
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
379
383
  readonly additionalProperties: false;
380
384
  };
381
385
  export declare const ClusterSchema: {
@@ -397,17 +401,10 @@ export declare const ClusterSchema: {
397
401
  };
398
402
  readonly region: {
399
403
  readonly type: "string";
400
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
401
- readonly default: "staging";
402
- readonly example: "northamerica-central-1";
403
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
404
- };
405
- readonly version_channel: {
406
- readonly type: "string";
407
- 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-]+)*))?$";
408
- readonly description: "Version of the kubernetes cluster.";
409
- readonly default: "1.x.x-cfke.x";
410
- readonly example: "1.29.x-cfke.x";
404
+ readonly description: "Cloudfleet control plane region. One of \"staging-1a\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
405
+ readonly default: "staging-1a";
406
+ readonly example: "northamerica-central-1a";
407
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
411
408
  };
412
409
  readonly id: {
413
410
  readonly type: "string";
@@ -419,19 +416,30 @@ export declare const ClusterSchema: {
419
416
  readonly type: "string";
420
417
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
421
418
  readonly example: "active";
422
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
419
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
423
420
  };
424
421
  readonly endpoint: {
425
422
  readonly anyOf: readonly [{
426
423
  readonly type: "string";
427
424
  readonly format: "uri";
428
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
425
+ 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)";
429
426
  readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
430
427
  }, {
431
428
  readonly type: "string";
432
429
  readonly enum: readonly [""];
433
430
  }];
434
431
  };
432
+ readonly endpoint_public: {
433
+ readonly anyOf: readonly [{
434
+ readonly type: "string";
435
+ readonly format: "uri";
436
+ 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.";
437
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
438
+ }, {
439
+ readonly type: "string";
440
+ readonly enum: readonly [""];
441
+ }];
442
+ };
435
443
  readonly certificate_ca: {
436
444
  readonly type: "string";
437
445
  readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
@@ -440,7 +448,7 @@ export declare const ClusterSchema: {
440
448
  readonly version_current: {
441
449
  readonly type: "string";
442
450
  readonly description: "Current version of the cluster.";
443
- readonly example: "1.29.3-cfke.52";
451
+ readonly example: "1.33.7-cfke.264";
444
452
  };
445
453
  readonly created_at: {
446
454
  readonly type: "string";
@@ -457,6 +465,12 @@ export declare const ClusterSchema: {
457
465
  readonly description: "Indicates if the cluster is ready to be used.";
458
466
  readonly example: true;
459
467
  };
468
+ readonly version_channel: {
469
+ readonly type: "string";
470
+ 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-]+)*))?$";
471
+ readonly description: "Version of the kubernetes cluster.";
472
+ readonly example: "1.x.x-cfke.x";
473
+ };
460
474
  };
461
475
  readonly required: readonly ["name", "tier", "id", "status"];
462
476
  readonly additionalProperties: false;
@@ -482,7 +496,7 @@ export declare const ClusterUpdateInputSchema: {
482
496
  readonly type: "string";
483
497
  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-]+)*))?$";
484
498
  readonly description: "Version of the kubernetes cluster.";
485
- readonly example: "1.29.x-cfke.x";
499
+ readonly example: "1.x.x-cfke.x";
486
500
  };
487
501
  };
488
502
  readonly required: readonly ["tier"];
@@ -495,13 +509,12 @@ export declare const FleetCreateInputSchema: {
495
509
  readonly type: "object";
496
510
  readonly properties: {
497
511
  readonly cpu: {
498
- readonly type: "number";
499
- readonly format: "float";
512
+ readonly type: "integer";
500
513
  readonly minimum: 0;
501
- readonly description: "CPU limit in cores.";
514
+ readonly maximum: 100000;
515
+ readonly description: "CPU limit in cores. Maximum 100,000.";
502
516
  };
503
517
  };
504
- readonly required: readonly ["cpu"];
505
518
  readonly additionalProperties: false;
506
519
  readonly description: "Limits define a set of bounds for provisioning capacity.";
507
520
  };
@@ -510,14 +523,15 @@ export declare const FleetCreateInputSchema: {
510
523
  readonly properties: {
511
524
  readonly enabled: {
512
525
  readonly type: "boolean";
513
- readonly default: true;
514
526
  };
515
527
  readonly project: {
516
528
  readonly type: "string";
517
- readonly description: "Project GCP Project id to deploy instances into";
529
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
530
+ 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.";
531
+ readonly example: "my-cloudfleet-project";
518
532
  };
519
533
  };
520
- readonly required: readonly ["project"];
534
+ readonly required: readonly ["enabled"];
521
535
  readonly additionalProperties: false;
522
536
  };
523
537
  readonly hetzner: {
@@ -525,14 +539,16 @@ export declare const FleetCreateInputSchema: {
525
539
  readonly properties: {
526
540
  readonly enabled: {
527
541
  readonly type: "boolean";
528
- readonly default: true;
529
542
  };
530
543
  readonly apiKey: {
531
544
  readonly type: "string";
532
- readonly description: "Hetzner Cloud API key with read / write access";
545
+ readonly maxLength: 64;
546
+ readonly minLength: 64;
547
+ readonly pattern: "^[A-Za-z0-9]+$";
548
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
533
549
  };
534
550
  };
535
- readonly required: readonly ["apiKey"];
551
+ readonly required: readonly ["enabled"];
536
552
  readonly additionalProperties: false;
537
553
  };
538
554
  readonly aws: {
@@ -540,15 +556,66 @@ export declare const FleetCreateInputSchema: {
540
556
  readonly properties: {
541
557
  readonly enabled: {
542
558
  readonly type: "boolean";
543
- readonly default: true;
544
559
  };
545
560
  readonly controllerRoleArn: {
546
561
  readonly type: "string";
547
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
562
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
563
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
564
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
565
+ };
566
+ };
567
+ readonly required: readonly ["enabled"];
568
+ readonly additionalProperties: false;
569
+ };
570
+ readonly constraints: {
571
+ readonly type: "object";
572
+ readonly properties: {
573
+ readonly 'karpenter.sh/capacity-type': {
574
+ readonly type: "array";
575
+ readonly items: {
576
+ readonly type: "string";
577
+ readonly enum: readonly ["on-demand", "spot"];
578
+ };
579
+ readonly minItems: 1;
580
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
581
+ readonly default: readonly ["on-demand", "spot"];
582
+ };
583
+ readonly 'kubernetes.io/arch': {
584
+ readonly type: "array";
585
+ readonly items: {
586
+ readonly type: "string";
587
+ readonly enum: readonly ["amd64", "arm64"];
588
+ };
589
+ readonly minItems: 1;
590
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
591
+ readonly default: readonly ["amd64"];
592
+ };
593
+ readonly 'cfke.io/instance-family': {
594
+ readonly type: "array";
595
+ readonly items: {
596
+ readonly type: "string";
597
+ 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"];
598
+ };
599
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
600
+ };
601
+ readonly 'topology.kubernetes.io/region': {
602
+ readonly type: "array";
603
+ readonly items: {
604
+ readonly type: "string";
605
+ 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"];
606
+ };
607
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
548
608
  };
549
609
  };
550
- readonly required: readonly ["controllerRoleArn"];
551
610
  readonly additionalProperties: false;
611
+ 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.";
612
+ };
613
+ readonly scalingProfile: {
614
+ readonly type: "string";
615
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
616
+ readonly default: "conservative";
617
+ readonly example: "conservative";
618
+ readonly enum: readonly ["aggressive", "conservative"];
552
619
  };
553
620
  readonly id: {
554
621
  readonly type: "string";
@@ -569,13 +636,12 @@ export declare const FleetSchema: {
569
636
  readonly type: "object";
570
637
  readonly properties: {
571
638
  readonly cpu: {
572
- readonly type: "number";
573
- readonly format: "float";
639
+ readonly type: "integer";
574
640
  readonly minimum: 0;
575
- readonly description: "CPU limit in cores.";
641
+ readonly maximum: 100000;
642
+ readonly description: "CPU limit in cores. Maximum 100,000.";
576
643
  };
577
644
  };
578
- readonly required: readonly ["cpu"];
579
645
  readonly additionalProperties: false;
580
646
  readonly description: "Limits define a set of bounds for provisioning capacity.";
581
647
  };
@@ -584,14 +650,15 @@ export declare const FleetSchema: {
584
650
  readonly properties: {
585
651
  readonly enabled: {
586
652
  readonly type: "boolean";
587
- readonly default: true;
588
653
  };
589
654
  readonly project: {
590
655
  readonly type: "string";
591
- readonly description: "Project GCP Project id to deploy instances into";
656
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
657
+ 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.";
658
+ readonly example: "my-cloudfleet-project";
592
659
  };
593
660
  };
594
- readonly required: readonly ["project"];
661
+ readonly required: readonly ["enabled"];
595
662
  readonly additionalProperties: false;
596
663
  };
597
664
  readonly hetzner: {
@@ -599,14 +666,14 @@ export declare const FleetSchema: {
599
666
  readonly properties: {
600
667
  readonly enabled: {
601
668
  readonly type: "boolean";
602
- readonly default: true;
603
669
  };
604
670
  readonly apiKey: {
605
671
  readonly type: "string";
606
- readonly description: "Hetzner Cloud API key with read / write access";
672
+ readonly pattern: "^\\*{64}$";
673
+ 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.";
607
674
  };
608
675
  };
609
- readonly required: readonly ["apiKey"];
676
+ readonly required: readonly ["enabled"];
610
677
  readonly additionalProperties: false;
611
678
  };
612
679
  readonly aws: {
@@ -614,15 +681,66 @@ export declare const FleetSchema: {
614
681
  readonly properties: {
615
682
  readonly enabled: {
616
683
  readonly type: "boolean";
617
- readonly default: true;
618
684
  };
619
685
  readonly controllerRoleArn: {
620
686
  readonly type: "string";
621
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
687
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
688
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
689
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
690
+ };
691
+ };
692
+ readonly required: readonly ["enabled"];
693
+ readonly additionalProperties: false;
694
+ };
695
+ readonly constraints: {
696
+ readonly type: "object";
697
+ readonly properties: {
698
+ readonly 'karpenter.sh/capacity-type': {
699
+ readonly type: "array";
700
+ readonly items: {
701
+ readonly type: "string";
702
+ readonly enum: readonly ["on-demand", "spot"];
703
+ };
704
+ readonly minItems: 1;
705
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
706
+ readonly default: readonly ["on-demand", "spot"];
707
+ };
708
+ readonly 'kubernetes.io/arch': {
709
+ readonly type: "array";
710
+ readonly items: {
711
+ readonly type: "string";
712
+ readonly enum: readonly ["amd64", "arm64"];
713
+ };
714
+ readonly minItems: 1;
715
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
716
+ readonly default: readonly ["amd64"];
717
+ };
718
+ readonly 'cfke.io/instance-family': {
719
+ readonly type: "array";
720
+ readonly items: {
721
+ readonly type: "string";
722
+ 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"];
723
+ };
724
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
725
+ };
726
+ readonly 'topology.kubernetes.io/region': {
727
+ readonly type: "array";
728
+ readonly items: {
729
+ readonly type: "string";
730
+ 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"];
731
+ };
732
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
622
733
  };
623
734
  };
624
- readonly required: readonly ["controllerRoleArn"];
625
735
  readonly additionalProperties: false;
736
+ 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.";
737
+ };
738
+ readonly scalingProfile: {
739
+ readonly type: "string";
740
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
741
+ readonly default: "conservative";
742
+ readonly example: "conservative";
743
+ readonly enum: readonly ["aggressive", "conservative"];
626
744
  };
627
745
  readonly id: {
628
746
  readonly type: "string";
@@ -633,7 +751,7 @@ export declare const FleetSchema: {
633
751
  readonly example: "new-clouds-fleet";
634
752
  };
635
753
  };
636
- readonly required: readonly ["id"];
754
+ readonly required: readonly ["scalingProfile", "id"];
637
755
  readonly additionalProperties: false;
638
756
  };
639
757
  export declare const FleetUpdateInputSchema: {
@@ -643,13 +761,12 @@ export declare const FleetUpdateInputSchema: {
643
761
  readonly type: "object";
644
762
  readonly properties: {
645
763
  readonly cpu: {
646
- readonly type: "number";
647
- readonly format: "float";
764
+ readonly type: "integer";
648
765
  readonly minimum: 0;
649
- readonly description: "CPU limit in cores.";
766
+ readonly maximum: 100000;
767
+ readonly description: "CPU limit in cores. Maximum 100,000.";
650
768
  };
651
769
  };
652
- readonly required: readonly ["cpu"];
653
770
  readonly additionalProperties: false;
654
771
  readonly description: "Limits define a set of bounds for provisioning capacity.";
655
772
  };
@@ -658,14 +775,15 @@ export declare const FleetUpdateInputSchema: {
658
775
  readonly properties: {
659
776
  readonly enabled: {
660
777
  readonly type: "boolean";
661
- readonly default: true;
662
778
  };
663
779
  readonly project: {
664
780
  readonly type: "string";
665
- readonly description: "Project GCP Project id to deploy instances into";
781
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
782
+ 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.";
783
+ readonly example: "my-cloudfleet-project";
666
784
  };
667
785
  };
668
- readonly required: readonly ["project"];
786
+ readonly required: readonly ["enabled"];
669
787
  readonly additionalProperties: false;
670
788
  };
671
789
  readonly hetzner: {
@@ -673,14 +791,16 @@ export declare const FleetUpdateInputSchema: {
673
791
  readonly properties: {
674
792
  readonly enabled: {
675
793
  readonly type: "boolean";
676
- readonly default: true;
677
794
  };
678
795
  readonly apiKey: {
679
796
  readonly type: "string";
680
- readonly description: "Hetzner Cloud API key with read / write access";
797
+ readonly maxLength: 64;
798
+ readonly minLength: 64;
799
+ readonly pattern: "^[A-Za-z0-9]+$";
800
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
681
801
  };
682
802
  };
683
- readonly required: readonly ["apiKey"];
803
+ readonly required: readonly ["enabled"];
684
804
  readonly additionalProperties: false;
685
805
  };
686
806
  readonly aws: {
@@ -688,17 +808,66 @@ export declare const FleetUpdateInputSchema: {
688
808
  readonly properties: {
689
809
  readonly enabled: {
690
810
  readonly type: "boolean";
691
- readonly default: true;
692
811
  };
693
812
  readonly controllerRoleArn: {
694
813
  readonly type: "string";
695
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
814
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
815
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
816
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
817
+ };
818
+ };
819
+ readonly required: readonly ["enabled"];
820
+ readonly additionalProperties: false;
821
+ };
822
+ readonly constraints: {
823
+ readonly type: "object";
824
+ readonly properties: {
825
+ readonly 'karpenter.sh/capacity-type': {
826
+ readonly type: "array";
827
+ readonly items: {
828
+ readonly type: "string";
829
+ readonly enum: readonly ["on-demand", "spot"];
830
+ };
831
+ readonly minItems: 1;
832
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
833
+ };
834
+ readonly 'kubernetes.io/arch': {
835
+ readonly type: "array";
836
+ readonly items: {
837
+ readonly type: "string";
838
+ readonly enum: readonly ["amd64", "arm64"];
839
+ };
840
+ readonly minItems: 1;
841
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
842
+ };
843
+ readonly 'cfke.io/instance-family': {
844
+ readonly type: "array";
845
+ readonly items: {
846
+ readonly type: "string";
847
+ 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"];
848
+ };
849
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
850
+ };
851
+ readonly 'topology.kubernetes.io/region': {
852
+ readonly type: "array";
853
+ readonly items: {
854
+ readonly type: "string";
855
+ 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"];
856
+ };
857
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
696
858
  };
697
859
  };
698
- readonly required: readonly ["controllerRoleArn"];
699
860
  readonly additionalProperties: false;
861
+ 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.";
862
+ };
863
+ readonly scalingProfile: {
864
+ readonly type: "string";
865
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
866
+ readonly example: "conservative";
867
+ readonly enum: readonly ["aggressive", "conservative"];
700
868
  };
701
869
  };
870
+ readonly required: readonly ["scalingProfile"];
702
871
  readonly additionalProperties: false;
703
872
  };
704
873
  export declare const InviteSchema: {
@@ -741,23 +910,18 @@ export declare const InvoiceSchema: {
741
910
  readonly properties: {
742
911
  readonly id: {
743
912
  readonly type: "string";
744
- readonly format: "uuid";
745
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
746
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
913
+ readonly description: "Unique identifier of the invoice.";
914
+ readonly example: "in_1234567890xCrwxghOTj1234";
747
915
  };
748
- readonly organizationId: {
916
+ readonly number: {
749
917
  readonly type: "string";
750
- readonly format: "uuid";
751
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
752
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
753
918
  };
754
919
  readonly status: {
755
920
  readonly type: "string";
756
921
  readonly description: "Status of the invoice";
757
- readonly example: "DRAFT";
758
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
922
+ readonly example: "paid";
759
923
  };
760
- readonly amount: {
924
+ readonly total: {
761
925
  readonly type: "number";
762
926
  readonly format: "float";
763
927
  readonly description: "Total amount of the invoice";
@@ -766,405 +930,180 @@ export declare const InvoiceSchema: {
766
930
  readonly currency: {
767
931
  readonly type: "string";
768
932
  readonly description: "Currency of the invoice";
769
- readonly example: "USD";
770
- 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"];
933
+ readonly example: "usd";
771
934
  };
772
- readonly creditAdj: {
773
- readonly type: "number";
774
- readonly format: "float";
775
- readonly description: "Total amount of credit adjustments";
776
- readonly example: 0;
935
+ readonly created: {
936
+ readonly type: "string";
937
+ readonly format: "date-time";
938
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
939
+ readonly example: "2023-12-20T13:53:32.000Z";
777
940
  };
778
- readonly refundAdj: {
779
- readonly type: "number";
780
- readonly format: "float";
781
- readonly description: "Total amount of refund adjustments";
782
- readonly example: 0;
941
+ readonly period_start: {
942
+ readonly type: "string";
943
+ readonly format: "date-time";
944
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
945
+ readonly example: "2023-12-20T13:53:32.000Z";
783
946
  };
784
- readonly invoiceDate: {
947
+ readonly period_end: {
785
948
  readonly type: "string";
786
- readonly description: "Date of the invoice";
787
- readonly example: "2019-01-01T00:00:00.000Z";
949
+ readonly format: "date-time";
950
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
951
+ readonly example: "2023-12-20T13:53:32.000Z";
788
952
  };
789
- readonly targetDate: {
953
+ readonly invoice_pdf: {
790
954
  readonly type: "string";
791
- readonly description: "Target date of the invoice";
792
- readonly example: "2019-01-01T00:00:00.000Z";
793
955
  };
794
- readonly invoiceNumber: {
956
+ };
957
+ readonly required: readonly ["created", "period_start", "period_end"];
958
+ readonly additionalProperties: false;
959
+ };
960
+ export declare const MarketplaceListingFilesSchema: {
961
+ readonly type: "object";
962
+ readonly properties: {
963
+ readonly chartYaml: {
795
964
  readonly type: "string";
796
- readonly description: "Number of the invoice";
797
- readonly example: "INV-0001";
965
+ readonly description: "Raw Chart.yaml content from the Helm chart";
966
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
798
967
  };
799
- readonly balance: {
800
- readonly type: "number";
801
- readonly format: "float";
802
- readonly description: "Balance of the invoice";
803
- readonly example: 100;
968
+ readonly valuesYaml: {
969
+ readonly type: "string";
970
+ readonly description: "Raw values.yaml content from the Helm chart";
971
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
972
+ };
973
+ readonly valuesSchemaJson: {
974
+ readonly type: "string";
975
+ readonly description: "JSON schema for values.yaml as a string";
976
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
804
977
  };
805
- readonly bundleKeys: {
978
+ };
979
+ readonly additionalProperties: false;
980
+ };
981
+ export declare const MarketplaceListingSchema: {
982
+ readonly type: "object";
983
+ readonly properties: {
984
+ readonly name: {
806
985
  readonly type: "string";
807
- readonly description: "Bundle keys of the invoice";
808
- readonly example: "bundleKey1,bundleKey2";
986
+ readonly description: "Name of the chart";
987
+ readonly example: "nginx-ingress";
809
988
  };
810
- readonly credits: {
989
+ readonly versions: {
811
990
  readonly type: "array";
812
991
  readonly items: {
813
- readonly type: "object";
814
- readonly properties: {
815
- readonly id: {
816
- readonly type: "string";
817
- readonly format: "uuid";
818
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
819
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
820
- };
821
- readonly linkedInvoiceItemId: {
822
- readonly type: "string";
823
- readonly format: "uuid";
824
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
825
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
826
- };
827
- readonly productName: {
828
- readonly type: "string";
829
- readonly description: "Name of the product";
830
- readonly example: "Research team";
831
- };
832
- readonly planName: {
833
- readonly type: "string";
834
- readonly description: "Name of the plan";
835
- readonly example: "Plan A";
836
- };
837
- readonly phaseName: {
838
- readonly type: "string";
839
- readonly description: "Name of the phase";
840
- readonly example: "Phase A";
841
- };
842
- readonly usageName: {
843
- readonly type: "string";
844
- readonly description: "Name of the usage";
845
- readonly example: "Usage A";
846
- };
847
- readonly prettyProductName: {
992
+ readonly type: "string";
993
+ 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-]+)*))?$";
994
+ readonly description: "Specific version of the chart";
995
+ readonly example: "1.18.2-cfke.45";
996
+ };
997
+ readonly description: "Available versions of the chart";
998
+ };
999
+ readonly version_channels: {
1000
+ readonly type: "array";
1001
+ readonly items: {
1002
+ readonly type: "string";
1003
+ 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-]+)*))?$";
1004
+ readonly description: "Version channel pattern";
1005
+ readonly example: "1.18.x-cfke.x";
1006
+ };
1007
+ readonly description: "Version channels for the chart";
1008
+ };
1009
+ readonly latestVersion: {
1010
+ readonly type: "string";
1011
+ readonly description: "Latest version of the chart";
1012
+ readonly example: "1.18.2-cfke.45";
1013
+ };
1014
+ readonly metadata: {
1015
+ readonly type: "object";
1016
+ readonly properties: {
1017
+ readonly name: {
1018
+ readonly type: "string";
1019
+ readonly description: "Chart name from metadata";
1020
+ readonly example: "nginx-ingress";
1021
+ };
1022
+ readonly version: {
1023
+ readonly type: "string";
1024
+ readonly description: "Chart version from metadata";
1025
+ readonly example: "1.18.2-cfke.45";
1026
+ };
1027
+ readonly description: {
1028
+ readonly type: "string";
1029
+ readonly description: "Chart description";
1030
+ readonly example: "NGINX Ingress Controller for Kubernetes";
1031
+ };
1032
+ readonly appVersion: {
1033
+ readonly type: "string";
1034
+ readonly description: "Application version";
1035
+ readonly example: "1.9.4";
1036
+ };
1037
+ readonly apiVersion: {
1038
+ readonly type: "string";
1039
+ readonly description: "Helm API version";
1040
+ readonly example: "v2";
1041
+ };
1042
+ readonly keywords: {
1043
+ readonly type: "array";
1044
+ readonly items: {
848
1045
  readonly type: "string";
849
- readonly description: "Pretty name of the product";
850
- readonly example: "Research team";
851
1046
  };
852
- readonly prettyPlanName: {
1047
+ readonly description: "Chart keywords";
1048
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
1049
+ };
1050
+ readonly home: {
1051
+ readonly type: "string";
1052
+ readonly description: "Chart home URL";
1053
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
1054
+ };
1055
+ readonly icon: {
1056
+ readonly type: "string";
1057
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
1058
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1059
+ };
1060
+ readonly sources: {
1061
+ readonly type: "array";
1062
+ readonly items: {
853
1063
  readonly type: "string";
854
- readonly description: "Pretty name of the plan";
855
- readonly example: "Plan A";
856
1064
  };
857
- readonly prettyPhaseName: {
858
- readonly type: "string";
859
- readonly description: "Pretty name of the phase";
860
- readonly example: "Phase A";
861
- };
862
- readonly prettyUsageName: {
863
- readonly type: "string";
864
- readonly description: "Pretty name of the usage";
865
- readonly example: "Usage A";
866
- };
867
- readonly itemType: {
868
- readonly type: "string";
869
- readonly description: "Type of the invoice item";
870
- readonly example: "EXTERNAL_CHARGE";
871
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
872
- };
873
- readonly description: {
874
- readonly type: "string";
875
- readonly description: "Description of the invoice item";
876
- readonly example: "Description of the invoice item";
877
- };
878
- readonly startDate: {
879
- readonly type: "string";
880
- readonly description: "Start date of the invoice item";
881
- readonly example: "2019-01-01T00:00:00.000Z";
882
- };
883
- readonly endDate: {
884
- readonly type: "string";
885
- readonly description: "End date of the invoice item";
886
- readonly example: "2019-01-01T00:00:00.000Z";
887
- };
888
- readonly amount: {
889
- readonly type: "number";
890
- readonly format: "float";
891
- readonly description: "Amount of the invoice item";
892
- readonly example: 100;
893
- };
894
- readonly rate: {
895
- readonly type: "number";
896
- readonly format: "float";
897
- readonly description: "Rate of the invoice item";
898
- readonly example: 100;
899
- };
900
- readonly currency: {
901
- readonly type: "string";
902
- readonly description: "Currency of the invoice item";
903
- readonly example: "USD";
904
- 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"];
905
- };
906
- readonly quantity: {
907
- readonly type: "number";
908
- readonly format: "float";
909
- readonly description: "Quantity of the invoice item";
910
- readonly example: 1;
911
- };
912
- readonly itemDetails: {
913
- readonly type: "string";
914
- readonly description: "Details of the invoice item";
915
- readonly example: "Details of the invoice item";
916
- };
917
- readonly catalogEffectiveDate: {
918
- readonly type: "string";
919
- readonly description: "Effective date of the catalog";
920
- readonly example: "2019-01-01T00:00:00.000Z";
921
- };
922
- readonly childItems: {
923
- readonly type: "array";
924
- readonly items: {
925
- readonly oneOf: readonly [{
926
- readonly type: "array";
927
- }, {
928
- readonly type: "boolean";
929
- }, {
930
- readonly type: "number";
931
- }, {
932
- readonly type: "object";
933
- readonly additionalProperties: true;
934
- }, {
935
- readonly type: "string";
936
- }];
937
- };
938
- readonly description: "Child items of the invoice item";
939
- };
940
- };
941
- readonly additionalProperties: false;
942
- };
943
- readonly description: "Credits of the invoice";
944
- };
945
- readonly items: {
946
- readonly type: "array";
947
- readonly items: {
948
- readonly type: "object";
949
- readonly properties: {
950
- readonly id: {
951
- readonly type: "string";
952
- readonly format: "uuid";
953
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
954
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
955
- };
956
- readonly linkedInvoiceItemId: {
957
- readonly type: "string";
958
- readonly format: "uuid";
959
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
960
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
961
- };
962
- readonly productName: {
963
- readonly type: "string";
964
- readonly description: "Name of the product";
965
- readonly example: "Research team";
966
- };
967
- readonly planName: {
968
- readonly type: "string";
969
- readonly description: "Name of the plan";
970
- readonly example: "Plan A";
971
- };
972
- readonly phaseName: {
973
- readonly type: "string";
974
- readonly description: "Name of the phase";
975
- readonly example: "Phase A";
976
- };
977
- readonly usageName: {
978
- readonly type: "string";
979
- readonly description: "Name of the usage";
980
- readonly example: "Usage A";
981
- };
982
- readonly prettyProductName: {
983
- readonly type: "string";
984
- readonly description: "Pretty name of the product";
985
- readonly example: "Research team";
986
- };
987
- readonly prettyPlanName: {
988
- readonly type: "string";
989
- readonly description: "Pretty name of the plan";
990
- readonly example: "Plan A";
991
- };
992
- readonly prettyPhaseName: {
993
- readonly type: "string";
994
- readonly description: "Pretty name of the phase";
995
- readonly example: "Phase A";
996
- };
997
- readonly prettyUsageName: {
998
- readonly type: "string";
999
- readonly description: "Pretty name of the usage";
1000
- readonly example: "Usage A";
1001
- };
1002
- readonly itemType: {
1003
- readonly type: "string";
1004
- readonly description: "Type of the invoice item";
1005
- readonly example: "EXTERNAL_CHARGE";
1006
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1007
- };
1008
- readonly description: {
1009
- readonly type: "string";
1010
- readonly description: "Description of the invoice item";
1011
- readonly example: "Description of the invoice item";
1012
- };
1013
- readonly startDate: {
1014
- readonly type: "string";
1015
- readonly description: "Start date of the invoice item";
1016
- readonly example: "2019-01-01T00:00:00.000Z";
1017
- };
1018
- readonly endDate: {
1019
- readonly type: "string";
1020
- readonly description: "End date of the invoice item";
1021
- readonly example: "2019-01-01T00:00:00.000Z";
1022
- };
1023
- readonly amount: {
1024
- readonly type: "number";
1025
- readonly format: "float";
1026
- readonly description: "Amount of the invoice item";
1027
- readonly example: 100;
1028
- };
1029
- readonly rate: {
1030
- readonly type: "number";
1031
- readonly format: "float";
1032
- readonly description: "Rate of the invoice item";
1033
- readonly example: 100;
1034
- };
1035
- readonly currency: {
1036
- readonly type: "string";
1037
- readonly description: "Currency of the invoice item";
1038
- readonly example: "USD";
1039
- 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"];
1040
- };
1041
- readonly quantity: {
1042
- readonly type: "number";
1043
- readonly format: "float";
1044
- readonly description: "Quantity of the invoice item";
1045
- readonly example: 1;
1046
- };
1047
- readonly itemDetails: {
1048
- readonly type: "string";
1049
- readonly description: "Details of the invoice item";
1050
- readonly example: "Details of the invoice item";
1051
- };
1052
- readonly catalogEffectiveDate: {
1053
- readonly type: "string";
1054
- readonly description: "Effective date of the catalog";
1055
- readonly example: "2019-01-01T00:00:00.000Z";
1056
- };
1057
- readonly childItems: {
1058
- readonly type: "array";
1059
- readonly items: {
1060
- readonly oneOf: readonly [{
1061
- readonly type: "array";
1062
- }, {
1063
- readonly type: "boolean";
1064
- }, {
1065
- readonly type: "number";
1066
- }, {
1067
- readonly type: "object";
1068
- readonly additionalProperties: true;
1069
- }, {
1070
- readonly type: "string";
1071
- }];
1072
- };
1073
- readonly description: "Child items of the invoice item";
1065
+ readonly description: "Chart source URLs";
1066
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1067
+ };
1068
+ readonly maintainers: {
1069
+ readonly type: "array";
1070
+ readonly items: {
1071
+ readonly type: "object";
1072
+ readonly properties: {
1073
+ readonly name: {
1074
+ readonly type: "string";
1075
+ readonly description: "Maintainer name";
1076
+ readonly example: "NGINX Team";
1077
+ };
1078
+ readonly email: {
1079
+ readonly type: "string";
1080
+ readonly description: "Maintainer email";
1081
+ readonly example: "support@nginx.org";
1082
+ };
1083
+ };
1084
+ readonly required: readonly ["name"];
1085
+ readonly additionalProperties: false;
1074
1086
  };
1087
+ readonly description: "Chart maintainers";
1075
1088
  };
1076
- readonly additionalProperties: false;
1077
1089
  };
1078
- readonly description: "Items of the invoice";
1090
+ readonly required: readonly ["name", "version"];
1091
+ readonly additionalProperties: false;
1092
+ readonly description: "Chart metadata";
1079
1093
  };
1080
1094
  };
1095
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1081
1096
  readonly additionalProperties: false;
1082
1097
  };
1083
- export declare const MarketplaceListingSchema: {
1098
+ export declare const OrganizationCreateInputSchema: {
1084
1099
  readonly type: "object";
1085
1100
  readonly properties: {
1086
- readonly id: {
1087
- readonly type: "string";
1088
- readonly maxLength: 63;
1089
- readonly minLength: 1;
1090
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1091
- readonly description: "Id of the chart listing";
1092
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1093
- };
1094
- readonly name: {
1095
- readonly type: "string";
1096
- readonly description: "Name of the chart listing";
1097
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1098
- };
1099
- readonly developer: {
1100
- readonly type: "string";
1101
- readonly description: "Author of the chart listing";
1102
- readonly example: "Portworx";
1103
- };
1104
- readonly description: {
1105
- readonly type: "string";
1106
- readonly description: "Short description of the chart listing";
1107
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
1108
- };
1109
- readonly logoUrl: {
1110
- readonly type: "string";
1111
- readonly description: "Logo of the chart listing";
1112
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1113
- };
1114
- readonly longDescription: {
1101
+ readonly type: {
1115
1102
  readonly type: "string";
1116
- readonly description: "Long description of the chart listing";
1117
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
1118
- };
1119
- readonly categories: {
1120
- readonly type: "array";
1121
- readonly items: {
1122
- readonly type: "string";
1123
- readonly example: "AI & Machine Learning";
1124
- };
1125
- readonly description: "Tags of the chart";
1126
- };
1127
- readonly version_channels: {
1128
- readonly type: "array";
1129
- readonly items: {
1130
- readonly type: "string";
1131
- 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-]+)*))?$";
1132
- readonly description: "Version of the chart.";
1133
- readonly example: "2.x.x-cfke.x";
1134
- };
1103
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1104
+ readonly example: "business";
1105
+ readonly enum: readonly ["business", "personal"];
1135
1106
  };
1136
- readonly value_schemas: {
1137
- readonly type: "array";
1138
- readonly items: {
1139
- readonly type: "object";
1140
- readonly properties: {
1141
- readonly version: {
1142
- readonly type: "string";
1143
- 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-]+)*))?$";
1144
- readonly description: "Version of the chart.";
1145
- readonly example: "2.1.1-cfke.123";
1146
- };
1147
- readonly schema: {
1148
- readonly type: "string";
1149
- readonly description: "Schema of the chart values. JSON Schema as string";
1150
- };
1151
- readonly placeholder: {
1152
- readonly type: "string";
1153
- readonly description: "Schema of the chart values";
1154
- readonly example: "foo: 1\nbar: example";
1155
- };
1156
- };
1157
- readonly required: readonly ["version", "schema", "placeholder"];
1158
- readonly additionalProperties: false;
1159
- };
1160
- };
1161
- };
1162
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1163
- readonly additionalProperties: false;
1164
- };
1165
- export declare const OrganizationCreateInputSchema: {
1166
- readonly type: "object";
1167
- readonly properties: {
1168
1107
  readonly email: {
1169
1108
  readonly type: "string";
1170
1109
  readonly format: "email";
@@ -1173,11 +1112,13 @@ export declare const OrganizationCreateInputSchema: {
1173
1112
  };
1174
1113
  readonly first_name: {
1175
1114
  readonly type: "string";
1115
+ readonly minLength: 1;
1176
1116
  readonly description: "First name of the billing contact person.";
1177
1117
  readonly example: "John";
1178
1118
  };
1179
1119
  readonly last_name: {
1180
1120
  readonly type: "string";
1121
+ readonly minLength: 1;
1181
1122
  readonly description: "Last name of the billing contact person.";
1182
1123
  readonly example: "Doe";
1183
1124
  };
@@ -1195,7 +1136,7 @@ export declare const OrganizationCreateInputSchema: {
1195
1136
  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.";
1196
1137
  };
1197
1138
  };
1198
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1139
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1199
1140
  readonly additionalProperties: false;
1200
1141
  };
1201
1142
  export declare const OrganizationSchema: {
@@ -1214,6 +1155,12 @@ export declare const OrganizationSchema: {
1214
1155
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1215
1156
  readonly example: "ACME Corp.";
1216
1157
  };
1158
+ readonly type: {
1159
+ readonly type: "string";
1160
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1161
+ readonly example: "business";
1162
+ readonly enum: readonly ["business", "personal"];
1163
+ };
1217
1164
  readonly date_created: {
1218
1165
  readonly type: "string";
1219
1166
  readonly format: "date-time";
@@ -1277,12 +1224,12 @@ export declare const OrganizationSchema: {
1277
1224
  readonly id: {
1278
1225
  readonly type: "string";
1279
1226
  readonly description: "Id of the control plane version. Used in API calls.";
1280
- readonly example: "1.29.x-cfke.x";
1227
+ readonly example: "1.33.x-cfke.x";
1281
1228
  };
1282
1229
  readonly label: {
1283
1230
  readonly type: "string";
1284
1231
  readonly description: "Label of the control plane version. Used in frontent UI.";
1285
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1232
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1286
1233
  };
1287
1234
  };
1288
1235
  readonly required: readonly ["id", "label"];
@@ -1291,8 +1238,14 @@ export declare const OrganizationSchema: {
1291
1238
  readonly minItems: 1;
1292
1239
  readonly description: "List of CFKE control plane versions available for the organization.";
1293
1240
  };
1241
+ readonly cfcr_storage_gb: {
1242
+ readonly type: "integer";
1243
+ readonly minimum: -1;
1244
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1245
+ readonly example: 500;
1246
+ };
1294
1247
  };
1295
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1248
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1296
1249
  readonly additionalProperties: false;
1297
1250
  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.";
1298
1251
  };
@@ -1301,8 +1254,14 @@ export declare const OrganizationSchema: {
1301
1254
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1302
1255
  readonly enum: readonly ["active", "closed", "suspended"];
1303
1256
  };
1257
+ readonly verification: {
1258
+ readonly type: "string";
1259
+ 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.";
1260
+ readonly example: "verified";
1261
+ readonly enum: readonly ["none", "submitted", "verified"];
1262
+ };
1304
1263
  };
1305
- readonly required: readonly ["id", "date_created", "quota", "status"];
1264
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1306
1265
  readonly additionalProperties: false;
1307
1266
  };
1308
1267
  export declare const PaymentMethodSchema: {
@@ -1358,166 +1317,929 @@ export declare const PaymentMethodSchema: {
1358
1317
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1359
1318
  readonly additionalProperties: false;
1360
1319
  };
1361
- export declare const TokenCreateInputSchema: {
1320
+ export declare const PlatformQuotaSchema: {
1362
1321
  readonly type: "object";
1363
1322
  readonly properties: {
1364
- readonly name: {
1365
- readonly type: "string";
1366
- readonly maxLength: 63;
1367
- readonly minLength: 1;
1368
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1369
- readonly description: "Human readable access token name.";
1370
- readonly example: "deployment-token";
1323
+ readonly basic_clusters_max: {
1324
+ readonly type: "integer";
1325
+ readonly minimum: 0;
1326
+ readonly description: "Maximum number of Basic clusters that can be created.";
1327
+ readonly example: 999;
1371
1328
  };
1372
- readonly role: {
1373
- readonly type: "string";
1374
- readonly description: "Role assumed by the token.";
1375
- readonly example: "User";
1376
- readonly enum: readonly ["Administrator", "User"];
1329
+ readonly basic_clusters_available: {
1330
+ readonly type: "integer";
1331
+ readonly description: "Available number of Basic clusters that can be created.";
1332
+ readonly example: 999;
1377
1333
  };
1378
- };
1379
- readonly required: readonly ["name", "role"];
1380
- readonly additionalProperties: false;
1381
- };
1382
- export declare const TokenSchema: {
1383
- readonly type: "object";
1384
- readonly properties: {
1385
- readonly name: {
1386
- readonly type: "string";
1387
- readonly maxLength: 63;
1388
- readonly minLength: 1;
1389
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1390
- readonly description: "Human readable access token name.";
1391
- readonly example: "deployment-token";
1334
+ readonly pro_clusters_max: {
1335
+ readonly type: "integer";
1336
+ readonly minimum: 0;
1337
+ readonly description: "Maximum number of Pro clusters that can be created.";
1338
+ readonly example: 999;
1392
1339
  };
1393
- readonly role: {
1394
- readonly type: "string";
1395
- readonly description: "Role assumed by the token.";
1396
- readonly example: "User";
1397
- readonly enum: readonly ["Administrator", "User"];
1340
+ readonly pro_clusters_available: {
1341
+ readonly type: "integer";
1342
+ readonly description: "Available number of Pro clusters that can be created.";
1343
+ readonly example: 999;
1398
1344
  };
1399
- readonly id: {
1400
- readonly type: "string";
1401
- readonly description: "Generated unique identifier of the access token.";
1402
- readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1345
+ readonly fleets_max: {
1346
+ readonly type: "integer";
1347
+ readonly minimum: 0;
1348
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1349
+ readonly example: 999;
1403
1350
  };
1404
- readonly secret: {
1405
- readonly type: "string";
1406
- readonly description: "Access token secret. Unmasked only during creation.";
1407
- readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
1351
+ readonly cluster_tiers: {
1352
+ readonly type: "array";
1353
+ readonly items: {
1354
+ readonly type: "string";
1355
+ readonly example: "basic";
1356
+ };
1357
+ readonly minItems: 0;
1358
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1408
1359
  };
1409
- readonly date_created: {
1410
- readonly type: "string";
1411
- readonly format: "date-time";
1412
- readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
1413
- readonly example: "2023-12-20T13:53:32.000Z";
1360
+ readonly regions: {
1361
+ readonly type: "array";
1362
+ readonly items: {
1363
+ readonly type: "string";
1364
+ readonly example: "northamerica-central-1";
1365
+ };
1366
+ readonly minItems: 1;
1367
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1368
+ };
1369
+ readonly versions: {
1370
+ readonly type: "array";
1371
+ readonly items: {
1372
+ readonly type: "object";
1373
+ readonly properties: {
1374
+ readonly id: {
1375
+ readonly type: "string";
1376
+ readonly description: "Id of the control plane version. Used in API calls.";
1377
+ readonly example: "1.33.x-cfke.x";
1378
+ };
1379
+ readonly label: {
1380
+ readonly type: "string";
1381
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1382
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1383
+ };
1384
+ };
1385
+ readonly required: readonly ["id", "label"];
1386
+ readonly additionalProperties: false;
1387
+ };
1388
+ readonly minItems: 1;
1389
+ readonly description: "List of CFKE control plane versions available for the organization.";
1390
+ };
1391
+ readonly cfcr_storage_gb: {
1392
+ readonly type: "integer";
1393
+ readonly minimum: -1;
1394
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1395
+ readonly example: 500;
1414
1396
  };
1415
1397
  };
1416
- readonly required: readonly ["name", "role", "date_created"];
1398
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1417
1399
  readonly additionalProperties: false;
1418
1400
  };
1419
- export declare const TokenUpdateInputSchema: {
1401
+ export declare const RegistryRepositorySchema: {
1420
1402
  readonly type: "object";
1421
1403
  readonly properties: {
1422
1404
  readonly name: {
1423
1405
  readonly type: "string";
1424
- readonly maxLength: 63;
1425
- readonly minLength: 1;
1426
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1427
- readonly description: "Human readable access token name.";
1428
- readonly example: "deployment-token";
1406
+ readonly description: "Repository name.";
1407
+ readonly example: "my-app";
1429
1408
  };
1430
- readonly role: {
1409
+ readonly region: {
1431
1410
  readonly type: "string";
1432
- readonly description: "Role assumed by the token.";
1433
- readonly example: "User";
1434
- readonly enum: readonly ["Administrator", "User"];
1411
+ readonly description: "Registry region.";
1412
+ readonly example: "northamerica";
1413
+ };
1414
+ readonly uri: {
1415
+ readonly type: "string";
1416
+ readonly description: "Full URI of the repository.";
1417
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1435
1418
  };
1436
1419
  };
1420
+ readonly required: readonly ["name", "region", "uri"];
1437
1421
  readonly additionalProperties: false;
1438
1422
  };
1439
- export declare const UsageSchema: {
1423
+ export declare const RegistryRepositoryWithTagsSchema: {
1440
1424
  readonly type: "object";
1441
1425
  readonly properties: {
1442
- readonly hour: {
1426
+ readonly name: {
1443
1427
  readonly type: "string";
1444
- readonly description: "Hour of the usage";
1445
- readonly example: "2019-01-01T00:00:00.000Z";
1428
+ readonly description: "Repository name.";
1429
+ readonly example: "my-app";
1446
1430
  };
1447
- readonly cluster_id: {
1431
+ readonly region: {
1448
1432
  readonly type: "string";
1449
- readonly format: "uuid";
1450
- readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1451
- readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1433
+ readonly description: "Registry region.";
1434
+ readonly example: "northamerica";
1452
1435
  };
1453
- readonly cluster_tier: {
1436
+ readonly uri: {
1454
1437
  readonly type: "string";
1455
- readonly description: "Tier of the cluster.";
1456
- readonly example: "pro";
1457
- readonly enum: readonly ["basic", "pro", ""];
1438
+ readonly description: "Full URI of the repository.";
1439
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1458
1440
  };
1459
- readonly product: {
1441
+ readonly tags: {
1442
+ readonly type: "array";
1443
+ readonly items: {
1444
+ readonly type: "object";
1445
+ readonly properties: {
1446
+ readonly name: {
1447
+ readonly type: "string";
1448
+ readonly description: "Tag name.";
1449
+ readonly example: "latest";
1450
+ };
1451
+ readonly size: {
1452
+ readonly type: "number";
1453
+ readonly format: "float";
1454
+ readonly description: "Size of the tag in bytes.";
1455
+ readonly example: 123456789;
1456
+ };
1457
+ readonly mediaType: {
1458
+ readonly type: "string";
1459
+ readonly description: "Media type of the manifest.";
1460
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1461
+ };
1462
+ readonly platforms: {
1463
+ readonly type: "array";
1464
+ readonly items: {
1465
+ readonly type: "string";
1466
+ };
1467
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1468
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1469
+ };
1470
+ };
1471
+ readonly required: readonly ["name", "size"];
1472
+ readonly additionalProperties: false;
1473
+ };
1474
+ readonly description: "Array of tags in the repository.";
1475
+ };
1476
+ readonly totalSize: {
1477
+ readonly type: "number";
1478
+ readonly format: "float";
1479
+ readonly description: "Total size of all tags in the repository in bytes.";
1480
+ readonly example: 987654321;
1481
+ };
1482
+ };
1483
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1484
+ readonly additionalProperties: false;
1485
+ };
1486
+ export declare const RegistryTagSchema: {
1487
+ readonly type: "object";
1488
+ readonly properties: {
1489
+ readonly name: {
1460
1490
  readonly type: "string";
1461
- readonly description: "The product the usage is associated with";
1462
- readonly example: "cfke_controlplane";
1463
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1491
+ readonly description: "Tag name.";
1492
+ readonly example: "latest";
1464
1493
  };
1465
- readonly node_name: {
1494
+ readonly digest: {
1466
1495
  readonly type: "string";
1467
- readonly description: "Name of the Kubernetes node";
1468
- readonly example: "flexible-moth-956037384";
1496
+ readonly description: "Manifest digest for pulling by digest.";
1497
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1469
1498
  };
1470
- readonly sku: {
1499
+ readonly mediaType: {
1471
1500
  readonly type: "string";
1472
- readonly description: "SKU of the Kubernetes node";
1473
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1501
+ readonly description: "Media type of the manifest.";
1502
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1474
1503
  };
1475
- readonly cpu: {
1476
- readonly anyOf: readonly [{
1477
- readonly type: "number";
1478
- readonly format: "float";
1479
- readonly description: "CPU core count of the node";
1480
- readonly example: 4;
1481
- }, {
1504
+ readonly config: {
1505
+ readonly type: "object";
1506
+ readonly properties: {
1507
+ readonly size: {
1508
+ readonly type: "number";
1509
+ readonly format: "float";
1510
+ readonly description: "Size of the config in bytes.";
1511
+ readonly example: 1234;
1512
+ };
1513
+ };
1514
+ readonly required: readonly ["size"];
1515
+ readonly additionalProperties: false;
1516
+ readonly description: "Manifest config metadata.";
1517
+ };
1518
+ readonly layers: {
1519
+ readonly type: "array";
1520
+ readonly items: {
1521
+ readonly type: "object";
1522
+ readonly properties: {
1523
+ readonly digest: {
1524
+ readonly type: "string";
1525
+ readonly description: "Digest of the layer.";
1526
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1527
+ };
1528
+ readonly size: {
1529
+ readonly type: "number";
1530
+ readonly format: "float";
1531
+ readonly description: "Size of the layer in bytes.";
1532
+ readonly example: 5678;
1533
+ };
1534
+ };
1535
+ readonly required: readonly ["size"];
1536
+ readonly additionalProperties: false;
1537
+ };
1538
+ readonly description: "Array of layer metadata.";
1539
+ };
1540
+ readonly manifests: {
1541
+ readonly type: "array";
1542
+ readonly items: {
1543
+ readonly type: "object";
1544
+ readonly properties: {
1545
+ readonly digest: {
1546
+ readonly type: "string";
1547
+ readonly description: "Digest of the manifest.";
1548
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1549
+ };
1550
+ readonly platform: {
1551
+ readonly type: "object";
1552
+ readonly properties: {
1553
+ readonly architecture: {
1554
+ readonly type: "string";
1555
+ readonly description: "Architecture of the platform.";
1556
+ readonly example: "amd64";
1557
+ };
1558
+ readonly os: {
1559
+ readonly type: "string";
1560
+ readonly description: "Operating system of the platform.";
1561
+ readonly example: "linux";
1562
+ };
1563
+ readonly variant: {
1564
+ readonly type: "string";
1565
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1566
+ readonly example: "v8";
1567
+ };
1568
+ };
1569
+ readonly required: readonly ["architecture", "os"];
1570
+ readonly additionalProperties: false;
1571
+ readonly description: "Platform information for the manifest.";
1572
+ };
1573
+ readonly layers: {
1574
+ readonly type: "array";
1575
+ readonly items: {
1576
+ readonly type: "object";
1577
+ readonly properties: {
1578
+ readonly digest: {
1579
+ readonly type: "string";
1580
+ readonly description: "Digest of the layer.";
1581
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1582
+ };
1583
+ readonly size: {
1584
+ readonly type: "number";
1585
+ readonly format: "float";
1586
+ readonly description: "Size of the layer in bytes.";
1587
+ readonly example: 5678;
1588
+ };
1589
+ };
1590
+ readonly required: readonly ["size"];
1591
+ readonly additionalProperties: false;
1592
+ };
1593
+ readonly description: "Layers for this platform.";
1594
+ };
1595
+ readonly size: {
1596
+ readonly type: "number";
1597
+ readonly format: "float";
1598
+ readonly description: "Total size of this platform manifest in bytes.";
1599
+ readonly example: 12345678;
1600
+ };
1601
+ };
1602
+ readonly required: readonly ["digest"];
1603
+ readonly additionalProperties: false;
1604
+ };
1605
+ readonly description: "Array of manifests for multi-arch images.";
1606
+ };
1607
+ readonly size: {
1608
+ readonly type: "number";
1609
+ readonly format: "float";
1610
+ readonly description: "Total size of the tag in bytes.";
1611
+ readonly example: 123456789;
1612
+ };
1613
+ readonly region: {
1614
+ readonly type: "string";
1615
+ readonly description: "Registry region.";
1616
+ readonly example: "northamerica";
1617
+ };
1618
+ readonly repository: {
1619
+ readonly type: "string";
1620
+ readonly description: "Repository name.";
1621
+ readonly example: "my-app";
1622
+ };
1623
+ readonly uri: {
1624
+ readonly type: "string";
1625
+ readonly description: "Full URI of the tag.";
1626
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1627
+ };
1628
+ };
1629
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1630
+ readonly additionalProperties: false;
1631
+ };
1632
+ export declare const TicketAttachmentSchema: {
1633
+ readonly type: "object";
1634
+ readonly properties: {
1635
+ readonly id: {
1636
+ readonly type: "string";
1637
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1638
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1639
+ };
1640
+ readonly filename: {
1641
+ readonly type: "string";
1642
+ readonly description: "Original filename as uploaded.";
1643
+ readonly example: "debug.log";
1644
+ };
1645
+ readonly content_type: {
1646
+ readonly type: "string";
1647
+ readonly description: "MIME content type of the attachment.";
1648
+ readonly example: "text/plain";
1649
+ };
1650
+ readonly size: {
1651
+ readonly type: "integer";
1652
+ readonly description: "Size of the attachment in bytes.";
1653
+ readonly example: 12345;
1654
+ };
1655
+ };
1656
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1657
+ readonly additionalProperties: false;
1658
+ };
1659
+ export declare const TicketCreateInputSchema: {
1660
+ readonly type: "object";
1661
+ readonly properties: {
1662
+ readonly category: {
1663
+ readonly type: "string";
1664
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1665
+ readonly example: "technical";
1666
+ readonly enum: readonly ["billing", "technical", "general"];
1667
+ };
1668
+ readonly body: {
1669
+ readonly type: "string";
1670
+ readonly maxLength: 50000;
1671
+ readonly minLength: 1;
1672
+ readonly pattern: "\\S";
1673
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1674
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1675
+ };
1676
+ readonly properties: {
1677
+ readonly type: "object";
1678
+ readonly additionalProperties: true;
1679
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1680
+ readonly example: {
1681
+ readonly subcategory: "cluster-question";
1682
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1683
+ };
1684
+ };
1685
+ };
1686
+ readonly required: readonly ["category", "body"];
1687
+ readonly additionalProperties: false;
1688
+ };
1689
+ export declare const TicketListResponseSchema: {
1690
+ readonly type: "object";
1691
+ readonly properties: {
1692
+ readonly items: {
1693
+ readonly type: "array";
1694
+ readonly items: {
1695
+ readonly type: "object";
1696
+ readonly properties: {
1697
+ readonly id: {
1698
+ readonly type: "string";
1699
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1700
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1701
+ };
1702
+ readonly status: {
1703
+ readonly type: "string";
1704
+ readonly description: "Current state of the ticket.";
1705
+ readonly example: "waiting_on_us";
1706
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1707
+ };
1708
+ readonly category: {
1709
+ readonly type: "string";
1710
+ readonly description: "Ticket category.";
1711
+ readonly example: "technical";
1712
+ readonly enum: readonly ["billing", "technical", "general"];
1713
+ };
1714
+ readonly summary: {
1715
+ readonly type: "string";
1716
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1717
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1718
+ };
1719
+ readonly closed_at: {
1720
+ readonly type: "string";
1721
+ readonly format: "date-time";
1722
+ readonly nullable: true;
1723
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1724
+ readonly example: "2026-05-18T16:08:14.338Z";
1725
+ };
1726
+ readonly date_created: {
1727
+ readonly type: "string";
1728
+ readonly format: "date-time";
1729
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1730
+ readonly example: "2026-05-11T16:08:14.338Z";
1731
+ };
1732
+ readonly date_updated: {
1733
+ readonly type: "string";
1734
+ readonly format: "date-time";
1735
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1736
+ readonly example: "2026-05-11T16:08:14.338Z";
1737
+ };
1738
+ readonly messages: {
1739
+ readonly type: "array";
1740
+ readonly items: {
1741
+ readonly type: "object";
1742
+ readonly properties: {
1743
+ readonly id: {
1744
+ readonly type: "string";
1745
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1746
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1747
+ };
1748
+ readonly type: {
1749
+ readonly type: "string";
1750
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1751
+ readonly example: "customer_reply";
1752
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1753
+ };
1754
+ readonly body: {
1755
+ readonly type: "string";
1756
+ readonly description: "Message body in markdown.";
1757
+ readonly example: "Thanks — that resolved it on my side.";
1758
+ };
1759
+ readonly author_first_name: {
1760
+ readonly type: "string";
1761
+ readonly nullable: true;
1762
+ readonly description: "First name of the author. Null when not provided.";
1763
+ readonly example: "Jane";
1764
+ };
1765
+ readonly author_last_name: {
1766
+ readonly type: "string";
1767
+ readonly nullable: true;
1768
+ readonly description: "Last name of the author. Null when not provided.";
1769
+ readonly example: "Doe";
1770
+ };
1771
+ readonly attachments: {
1772
+ readonly type: "array";
1773
+ readonly items: {
1774
+ readonly type: "object";
1775
+ readonly properties: {
1776
+ readonly id: {
1777
+ readonly type: "string";
1778
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1779
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1780
+ };
1781
+ readonly filename: {
1782
+ readonly type: "string";
1783
+ readonly description: "Original filename as uploaded.";
1784
+ readonly example: "debug.log";
1785
+ };
1786
+ readonly content_type: {
1787
+ readonly type: "string";
1788
+ readonly description: "MIME content type of the attachment.";
1789
+ readonly example: "text/plain";
1790
+ };
1791
+ readonly size: {
1792
+ readonly type: "integer";
1793
+ readonly description: "Size of the attachment in bytes.";
1794
+ readonly example: 12345;
1795
+ };
1796
+ };
1797
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1798
+ readonly additionalProperties: false;
1799
+ };
1800
+ readonly description: "Attachments associated with this message.";
1801
+ readonly example: readonly [];
1802
+ };
1803
+ readonly date_created: {
1804
+ readonly type: "string";
1805
+ readonly format: "date-time";
1806
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1807
+ readonly example: "2026-05-11T16:08:14.338Z";
1808
+ };
1809
+ };
1810
+ readonly required: readonly ["id", "type", "body", "date_created"];
1811
+ readonly additionalProperties: false;
1812
+ };
1813
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1814
+ };
1815
+ };
1816
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1817
+ readonly additionalProperties: false;
1818
+ };
1819
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1820
+ };
1821
+ };
1822
+ readonly required: readonly ["items"];
1823
+ readonly additionalProperties: false;
1824
+ };
1825
+ export declare const TicketMessageInputSchema: {
1826
+ readonly type: "object";
1827
+ readonly properties: {
1828
+ readonly body: {
1829
+ readonly type: "string";
1830
+ readonly maxLength: 50000;
1831
+ readonly minLength: 1;
1832
+ readonly pattern: "\\S";
1833
+ readonly description: "Reply body in markdown.";
1834
+ readonly example: "Thanks — that resolved it on my side.";
1835
+ };
1836
+ };
1837
+ readonly required: readonly ["body"];
1838
+ readonly additionalProperties: false;
1839
+ };
1840
+ export declare const TicketMessageSchema: {
1841
+ readonly type: "object";
1842
+ readonly properties: {
1843
+ readonly id: {
1844
+ readonly type: "string";
1845
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1846
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1847
+ };
1848
+ readonly type: {
1849
+ readonly type: "string";
1850
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1851
+ readonly example: "customer_reply";
1852
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1853
+ };
1854
+ readonly body: {
1855
+ readonly type: "string";
1856
+ readonly description: "Message body in markdown.";
1857
+ readonly example: "Thanks — that resolved it on my side.";
1858
+ };
1859
+ readonly author_first_name: {
1860
+ readonly type: "string";
1861
+ readonly description: "First name of the author. Null when not provided.";
1862
+ readonly example: "Jane";
1863
+ };
1864
+ readonly author_last_name: {
1865
+ readonly type: "string";
1866
+ readonly description: "Last name of the author. Null when not provided.";
1867
+ readonly example: "Doe";
1868
+ };
1869
+ readonly attachments: {
1870
+ readonly type: "array";
1871
+ readonly items: {
1872
+ readonly type: "object";
1873
+ readonly properties: {
1874
+ readonly id: {
1875
+ readonly type: "string";
1876
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1877
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1878
+ };
1879
+ readonly filename: {
1880
+ readonly type: "string";
1881
+ readonly description: "Original filename as uploaded.";
1882
+ readonly example: "debug.log";
1883
+ };
1884
+ readonly content_type: {
1885
+ readonly type: "string";
1886
+ readonly description: "MIME content type of the attachment.";
1887
+ readonly example: "text/plain";
1888
+ };
1889
+ readonly size: {
1890
+ readonly type: "integer";
1891
+ readonly description: "Size of the attachment in bytes.";
1892
+ readonly example: 12345;
1893
+ };
1894
+ };
1895
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1896
+ readonly additionalProperties: false;
1897
+ };
1898
+ readonly description: "Attachments associated with this message.";
1899
+ readonly example: readonly [];
1900
+ };
1901
+ readonly date_created: {
1902
+ readonly type: "string";
1903
+ readonly format: "date-time";
1904
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1905
+ readonly example: "2026-05-11T16:08:14.338Z";
1906
+ };
1907
+ };
1908
+ readonly required: readonly ["id", "type", "body", "date_created"];
1909
+ readonly additionalProperties: false;
1910
+ };
1911
+ export declare const TicketSchema: {
1912
+ readonly type: "object";
1913
+ readonly properties: {
1914
+ readonly id: {
1915
+ readonly type: "string";
1916
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1917
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1918
+ };
1919
+ readonly status: {
1920
+ readonly type: "string";
1921
+ readonly description: "Current state of the ticket.";
1922
+ readonly example: "waiting_on_us";
1923
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1924
+ };
1925
+ readonly category: {
1926
+ readonly type: "string";
1927
+ readonly description: "Ticket category.";
1928
+ readonly example: "technical";
1929
+ readonly enum: readonly ["billing", "technical", "general"];
1930
+ };
1931
+ readonly summary: {
1932
+ readonly type: "string";
1933
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1934
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1935
+ };
1936
+ readonly closed_at: {
1937
+ readonly type: "string";
1938
+ readonly format: "date-time";
1939
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1940
+ readonly example: "2026-05-18T16:08:14.338Z";
1941
+ };
1942
+ readonly date_created: {
1943
+ readonly type: "string";
1944
+ readonly format: "date-time";
1945
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1946
+ readonly example: "2026-05-11T16:08:14.338Z";
1947
+ };
1948
+ readonly date_updated: {
1949
+ readonly type: "string";
1950
+ readonly format: "date-time";
1951
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1952
+ readonly example: "2026-05-11T16:08:14.338Z";
1953
+ };
1954
+ readonly messages: {
1955
+ readonly type: "array";
1956
+ readonly items: {
1957
+ readonly type: "object";
1958
+ readonly properties: {
1959
+ readonly id: {
1960
+ readonly type: "string";
1961
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1962
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1963
+ };
1964
+ readonly type: {
1965
+ readonly type: "string";
1966
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1967
+ readonly example: "customer_reply";
1968
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1969
+ };
1970
+ readonly body: {
1971
+ readonly type: "string";
1972
+ readonly description: "Message body in markdown.";
1973
+ readonly example: "Thanks — that resolved it on my side.";
1974
+ };
1975
+ readonly author_first_name: {
1976
+ readonly type: "string";
1977
+ readonly description: "First name of the author. Null when not provided.";
1978
+ readonly example: "Jane";
1979
+ };
1980
+ readonly author_last_name: {
1981
+ readonly type: "string";
1982
+ readonly description: "Last name of the author. Null when not provided.";
1983
+ readonly example: "Doe";
1984
+ };
1985
+ readonly attachments: {
1986
+ readonly type: "array";
1987
+ readonly items: {
1988
+ readonly type: "object";
1989
+ readonly properties: {
1990
+ readonly id: {
1991
+ readonly type: "string";
1992
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1993
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1994
+ };
1995
+ readonly filename: {
1996
+ readonly type: "string";
1997
+ readonly description: "Original filename as uploaded.";
1998
+ readonly example: "debug.log";
1999
+ };
2000
+ readonly content_type: {
2001
+ readonly type: "string";
2002
+ readonly description: "MIME content type of the attachment.";
2003
+ readonly example: "text/plain";
2004
+ };
2005
+ readonly size: {
2006
+ readonly type: "integer";
2007
+ readonly description: "Size of the attachment in bytes.";
2008
+ readonly example: 12345;
2009
+ };
2010
+ };
2011
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2012
+ readonly additionalProperties: false;
2013
+ };
2014
+ readonly description: "Attachments associated with this message.";
2015
+ readonly example: readonly [];
2016
+ };
2017
+ readonly date_created: {
2018
+ readonly type: "string";
2019
+ readonly format: "date-time";
2020
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2021
+ readonly example: "2026-05-11T16:08:14.338Z";
2022
+ };
2023
+ };
2024
+ readonly required: readonly ["id", "type", "body", "date_created"];
2025
+ readonly additionalProperties: false;
2026
+ };
2027
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
2028
+ };
2029
+ };
2030
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
2031
+ readonly additionalProperties: false;
2032
+ };
2033
+ export declare const TokenCreateInputSchema: {
2034
+ readonly type: "object";
2035
+ readonly properties: {
2036
+ readonly name: {
2037
+ readonly type: "string";
2038
+ readonly maxLength: 63;
2039
+ readonly minLength: 1;
2040
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2041
+ readonly description: "Human readable access token name.";
2042
+ readonly example: "deployment-token";
2043
+ };
2044
+ readonly role: {
2045
+ readonly type: "string";
2046
+ readonly description: "Role assumed by the token.";
2047
+ readonly example: "User";
2048
+ readonly enum: readonly ["Administrator", "User"];
2049
+ };
2050
+ };
2051
+ readonly required: readonly ["name", "role"];
2052
+ readonly additionalProperties: false;
2053
+ };
2054
+ export declare const TokenSchema: {
2055
+ readonly type: "object";
2056
+ readonly properties: {
2057
+ readonly name: {
2058
+ readonly type: "string";
2059
+ readonly maxLength: 63;
2060
+ readonly minLength: 1;
2061
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2062
+ readonly description: "Human readable access token name.";
2063
+ readonly example: "deployment-token";
2064
+ };
2065
+ readonly role: {
2066
+ readonly type: "string";
2067
+ readonly description: "Role assumed by the token.";
2068
+ readonly example: "User";
2069
+ readonly enum: readonly ["Administrator", "User"];
2070
+ };
2071
+ readonly id: {
2072
+ readonly type: "string";
2073
+ readonly description: "Generated unique identifier of the access token.";
2074
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
2075
+ };
2076
+ readonly secret: {
2077
+ readonly type: "string";
2078
+ readonly description: "Access token secret. Unmasked only during creation.";
2079
+ readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
2080
+ };
2081
+ readonly date_created: {
2082
+ readonly type: "string";
2083
+ readonly format: "date-time";
2084
+ readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
2085
+ readonly example: "2023-12-20T13:53:32.000Z";
2086
+ };
2087
+ };
2088
+ readonly required: readonly ["name", "role", "date_created"];
2089
+ readonly additionalProperties: false;
2090
+ };
2091
+ export declare const TokenUpdateInputSchema: {
2092
+ readonly type: "object";
2093
+ readonly properties: {
2094
+ readonly name: {
2095
+ readonly type: "string";
2096
+ readonly maxLength: 63;
2097
+ readonly minLength: 1;
2098
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2099
+ readonly description: "Human readable access token name.";
2100
+ readonly example: "deployment-token";
2101
+ };
2102
+ readonly role: {
2103
+ readonly type: "string";
2104
+ readonly description: "Role assumed by the token.";
2105
+ readonly example: "User";
2106
+ readonly enum: readonly ["Administrator", "User"];
2107
+ };
2108
+ };
2109
+ readonly additionalProperties: false;
2110
+ };
2111
+ export declare const UsageFacetsSchema: {
2112
+ readonly type: "object";
2113
+ readonly properties: {
2114
+ readonly cluster_id: {
2115
+ readonly type: "array";
2116
+ readonly items: {
1482
2117
  readonly type: "string";
1483
- readonly enum: readonly [""];
1484
- }];
2118
+ };
2119
+ readonly description: "List of unique cluster IDs";
2120
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1485
2121
  };
1486
- readonly price: {
1487
- readonly anyOf: readonly [{
1488
- readonly type: "number";
1489
- readonly format: "float";
1490
- readonly description: "Price";
1491
- readonly example: 4;
1492
- }, {
2122
+ readonly product: {
2123
+ readonly type: "array";
2124
+ readonly items: {
1493
2125
  readonly type: "string";
1494
- readonly enum: readonly [""];
1495
- }];
2126
+ };
2127
+ readonly description: "List of unique products";
2128
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2129
+ };
2130
+ };
2131
+ readonly additionalProperties: false;
2132
+ };
2133
+ export declare const UsageResponseSchema: {
2134
+ readonly type: "object";
2135
+ readonly properties: {
2136
+ readonly data: {
2137
+ readonly type: "array";
2138
+ readonly items: {
2139
+ readonly type: "object";
2140
+ readonly properties: {
2141
+ readonly hour: {
2142
+ readonly type: "string";
2143
+ readonly description: "Hour of the usage";
2144
+ readonly example: "2019-01-01T00:00:00.000Z";
2145
+ };
2146
+ readonly cluster_id: {
2147
+ readonly type: "string";
2148
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2149
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2150
+ };
2151
+ readonly product: {
2152
+ readonly type: "string";
2153
+ readonly description: "The product the usage is associated with";
2154
+ readonly example: "cfke_controlplane";
2155
+ };
2156
+ readonly value: {
2157
+ readonly type: "number";
2158
+ readonly format: "float";
2159
+ readonly description: "Consumption";
2160
+ readonly example: 4;
2161
+ };
2162
+ readonly price: {
2163
+ readonly type: "number";
2164
+ readonly format: "float";
2165
+ readonly description: "Price per unit";
2166
+ readonly example: 0.01;
2167
+ };
2168
+ readonly total: {
2169
+ readonly type: "number";
2170
+ readonly format: "float";
2171
+ readonly description: "Total cost";
2172
+ };
2173
+ };
2174
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2175
+ readonly additionalProperties: false;
2176
+ };
2177
+ readonly description: "Usage data";
2178
+ };
2179
+ readonly facets: {
2180
+ readonly type: "object";
2181
+ readonly properties: {
2182
+ readonly cluster_id: {
2183
+ readonly type: "array";
2184
+ readonly items: {
2185
+ readonly type: "string";
2186
+ };
2187
+ readonly description: "List of unique cluster IDs";
2188
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2189
+ };
2190
+ readonly product: {
2191
+ readonly type: "array";
2192
+ readonly items: {
2193
+ readonly type: "string";
2194
+ };
2195
+ readonly description: "List of unique products";
2196
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2197
+ };
2198
+ };
2199
+ readonly additionalProperties: false;
2200
+ readonly description: "Facets for filtering";
2201
+ };
2202
+ };
2203
+ readonly required: readonly ["data", "facets"];
2204
+ readonly additionalProperties: false;
2205
+ };
2206
+ export declare const UsageSchema: {
2207
+ readonly type: "object";
2208
+ readonly properties: {
2209
+ readonly hour: {
2210
+ readonly type: "string";
2211
+ readonly description: "Hour of the usage";
2212
+ readonly example: "2019-01-01T00:00:00.000Z";
2213
+ };
2214
+ readonly cluster_id: {
2215
+ readonly type: "string";
2216
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2217
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2218
+ };
2219
+ readonly product: {
2220
+ readonly type: "string";
2221
+ readonly description: "The product the usage is associated with";
2222
+ readonly example: "cfke_controlplane";
1496
2223
  };
1497
2224
  readonly value: {
1498
- readonly anyOf: readonly [{
1499
- readonly type: "number";
1500
- readonly format: "float";
1501
- readonly description: "Value";
1502
- readonly example: 4;
1503
- }, {
1504
- readonly type: "string";
1505
- readonly enum: readonly [""];
1506
- }];
2225
+ readonly type: "number";
2226
+ readonly format: "float";
2227
+ readonly description: "Consumption";
2228
+ readonly example: 4;
2229
+ };
2230
+ readonly price: {
2231
+ readonly type: "number";
2232
+ readonly format: "float";
2233
+ readonly description: "Price per unit";
2234
+ readonly example: 0.01;
1507
2235
  };
1508
2236
  readonly total: {
1509
- readonly anyOf: readonly [{
1510
- readonly type: "number";
1511
- readonly format: "float";
1512
- readonly description: "Total";
1513
- readonly example: 4;
1514
- }, {
1515
- readonly type: "string";
1516
- readonly enum: readonly [""];
1517
- }];
2237
+ readonly type: "number";
2238
+ readonly format: "float";
2239
+ readonly description: "Total cost";
1518
2240
  };
1519
2241
  };
1520
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2242
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1521
2243
  readonly additionalProperties: false;
1522
2244
  };
1523
2245
  export declare const UserCreateInputSchema: {