@cloudfleet/sdk 0.0.1-08e325d → 0.0.1-0cf5cae

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