@cloudfleet/sdk 0.0.1-6a8db0f → 0.0.1-6d7ad01

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 (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +574 -487
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +604 -536
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +134 -69
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +178 -87
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +546 -332
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1785 -2101
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +728 -760
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -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: {
@@ -280,25 +267,26 @@ export declare const ClusterCreateInputSchema: {
280
267
  readonly description: "Name of the cluster.";
281
268
  readonly example: "production-cluster";
282
269
  };
283
- readonly region: {
284
- readonly type: "string";
285
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
286
- readonly default: "staging";
287
- readonly example: "northamerica-central-1";
288
- readonly enum: readonly ["staging", "northamerica-central-1"];
289
- };
290
270
  readonly tier: {
291
271
  readonly type: "string";
292
272
  readonly description: "Tier of the cluster.";
293
273
  readonly example: "pro";
294
274
  readonly enum: readonly ["basic", "pro"];
295
275
  };
276
+ readonly region: {
277
+ readonly type: "string";
278
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
+ readonly default: "staging";
280
+ readonly example: "northamerica-central-1a";
281
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
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"];
@@ -334,7 +322,7 @@ export declare const ClusterJoinInformationSchema: {
334
322
  readonly kubernetes: {
335
323
  readonly type: "string";
336
324
  readonly description: "Kubernetes version of the cluster.";
337
- readonly example: "1.29.3";
325
+ readonly example: "1.33.7";
338
326
  };
339
327
  readonly tailscale: {
340
328
  readonly type: "string";
@@ -346,8 +334,13 @@ export declare const ClusterJoinInformationSchema: {
346
334
  readonly description: "Containerd version of the cluster.";
347
335
  readonly example: "1.7.19";
348
336
  };
337
+ readonly nvidia_driver: {
338
+ readonly type: "string";
339
+ readonly description: "NVIDIA driver version of the cluster.";
340
+ readonly example: "565.0.0";
341
+ };
349
342
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
343
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
344
  readonly additionalProperties: false;
352
345
  readonly description: "Versions of the different components of the cluster.";
353
346
  };
@@ -389,25 +382,18 @@ export declare const ClusterSchema: {
389
382
  readonly description: "Name of the cluster.";
390
383
  readonly example: "production-cluster";
391
384
  };
392
- readonly region: {
393
- readonly type: "string";
394
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
395
- readonly default: "staging";
396
- readonly example: "northamerica-central-1";
397
- readonly enum: readonly ["staging", "northamerica-central-1"];
398
- };
399
385
  readonly tier: {
400
386
  readonly type: "string";
401
387
  readonly description: "Tier of the cluster.";
402
388
  readonly example: "pro";
403
389
  readonly enum: readonly ["basic", "pro"];
404
390
  };
405
- readonly version_channel: {
391
+ readonly region: {
406
392
  readonly type: "string";
407
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
408
- readonly description: "Version of the kubernetes cluster.";
409
- readonly default: "1.x.x-cfke.x";
410
- readonly example: "1.29.x-cfke.x";
393
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
394
+ readonly default: "staging";
395
+ readonly example: "northamerica-central-1a";
396
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
411
397
  };
412
398
  readonly id: {
413
399
  readonly type: "string";
@@ -419,7 +405,7 @@ export declare const ClusterSchema: {
419
405
  readonly type: "string";
420
406
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
421
407
  readonly example: "active";
422
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
408
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
423
409
  };
424
410
  readonly endpoint: {
425
411
  readonly anyOf: readonly [{
@@ -440,7 +426,7 @@ export declare const ClusterSchema: {
440
426
  readonly version_current: {
441
427
  readonly type: "string";
442
428
  readonly description: "Current version of the cluster.";
443
- readonly example: "1.29.3-cfke.52";
429
+ readonly example: "1.33.7-cfke.264";
444
430
  };
445
431
  readonly created_at: {
446
432
  readonly type: "string";
@@ -457,6 +443,12 @@ export declare const ClusterSchema: {
457
443
  readonly description: "Indicates if the cluster is ready to be used.";
458
444
  readonly example: true;
459
445
  };
446
+ readonly version_channel: {
447
+ readonly type: "string";
448
+ 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-]+)*))?$";
449
+ readonly description: "Version of the kubernetes cluster.";
450
+ readonly example: "1.x.x-cfke.x";
451
+ };
460
452
  };
461
453
  readonly required: readonly ["name", "tier", "id", "status"];
462
454
  readonly additionalProperties: false;
@@ -472,13 +464,20 @@ export declare const ClusterUpdateInputSchema: {
472
464
  readonly description: "Name of the cluster.";
473
465
  readonly example: "production-cluster";
474
466
  };
467
+ readonly tier: {
468
+ readonly type: "string";
469
+ readonly description: "Tier of the cluster.";
470
+ readonly example: "pro";
471
+ readonly enum: readonly ["basic", "pro"];
472
+ };
475
473
  readonly version_channel: {
476
474
  readonly type: "string";
477
475
  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-]+)*))?$";
478
476
  readonly description: "Version of the kubernetes cluster.";
479
- readonly example: "1.29.x-cfke.x";
477
+ readonly example: "1.x.x-cfke.x";
480
478
  };
481
479
  };
480
+ readonly required: readonly ["tier"];
482
481
  readonly additionalProperties: false;
483
482
  };
484
483
  export declare const FleetCreateInputSchema: {
@@ -734,23 +733,18 @@ export declare const InvoiceSchema: {
734
733
  readonly properties: {
735
734
  readonly id: {
736
735
  readonly type: "string";
737
- readonly format: "uuid";
738
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
739
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
736
+ readonly description: "Unique identifier of the invoice.";
737
+ readonly example: "in_1234567890xCrwxghOTj1234";
740
738
  };
741
- readonly organizationId: {
739
+ readonly number: {
742
740
  readonly type: "string";
743
- readonly format: "uuid";
744
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
745
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
746
741
  };
747
742
  readonly status: {
748
743
  readonly type: "string";
749
744
  readonly description: "Status of the invoice";
750
- readonly example: "DRAFT";
751
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
745
+ readonly example: "paid";
752
746
  };
753
- readonly amount: {
747
+ readonly total: {
754
748
  readonly type: "number";
755
749
  readonly format: "float";
756
750
  readonly description: "Total amount of the invoice";
@@ -759,400 +753,164 @@ export declare const InvoiceSchema: {
759
753
  readonly currency: {
760
754
  readonly type: "string";
761
755
  readonly description: "Currency of the invoice";
762
- readonly example: "USD";
763
- 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"];
764
- };
765
- readonly creditAdj: {
766
- readonly type: "number";
767
- readonly format: "float";
768
- readonly description: "Total amount of credit adjustments";
769
- readonly example: 0;
770
- };
771
- readonly refundAdj: {
772
- readonly type: "number";
773
- readonly format: "float";
774
- readonly description: "Total amount of refund adjustments";
775
- readonly example: 0;
756
+ readonly example: "usd";
776
757
  };
777
- readonly invoiceDate: {
758
+ readonly created: {
778
759
  readonly type: "string";
779
- readonly description: "Date of the invoice";
780
- readonly example: "2019-01-01T00:00:00.000Z";
760
+ readonly format: "date-time";
761
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
762
+ readonly example: "2023-12-20T13:53:32.000Z";
781
763
  };
782
- readonly targetDate: {
764
+ readonly period_start: {
783
765
  readonly type: "string";
784
- readonly description: "Target date of the invoice";
785
- readonly example: "2019-01-01T00:00:00.000Z";
766
+ readonly format: "date-time";
767
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
768
+ readonly example: "2023-12-20T13:53:32.000Z";
786
769
  };
787
- readonly invoiceNumber: {
770
+ readonly period_end: {
788
771
  readonly type: "string";
789
- readonly description: "Number of the invoice";
790
- readonly example: "INV-0001";
791
- };
792
- readonly balance: {
793
- readonly type: "number";
794
- readonly format: "float";
795
- readonly description: "Balance of the invoice";
796
- readonly example: 100;
772
+ readonly format: "date-time";
773
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
774
+ readonly example: "2023-12-20T13:53:32.000Z";
797
775
  };
798
- readonly bundleKeys: {
776
+ readonly invoice_pdf: {
799
777
  readonly type: "string";
800
- readonly description: "Bundle keys of the invoice";
801
- readonly example: "bundleKey1,bundleKey2";
802
- };
803
- readonly credits: {
804
- readonly type: "array";
805
- readonly items: {
806
- readonly type: "object";
807
- readonly properties: {
808
- readonly id: {
809
- readonly type: "string";
810
- readonly format: "uuid";
811
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
812
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
813
- };
814
- readonly linkedInvoiceItemId: {
815
- readonly type: "string";
816
- readonly format: "uuid";
817
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
818
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
819
- };
820
- readonly productName: {
821
- readonly type: "string";
822
- readonly description: "Name of the product";
823
- readonly example: "Research team";
824
- };
825
- readonly planName: {
826
- readonly type: "string";
827
- readonly description: "Name of the plan";
828
- readonly example: "Plan A";
829
- };
830
- readonly phaseName: {
831
- readonly type: "string";
832
- readonly description: "Name of the phase";
833
- readonly example: "Phase A";
834
- };
835
- readonly usageName: {
836
- readonly type: "string";
837
- readonly description: "Name of the usage";
838
- readonly example: "Usage A";
839
- };
840
- readonly prettyProductName: {
841
- readonly type: "string";
842
- readonly description: "Pretty name of the product";
843
- readonly example: "Research team";
844
- };
845
- readonly prettyPlanName: {
846
- readonly type: "string";
847
- readonly description: "Pretty name of the plan";
848
- readonly example: "Plan A";
849
- };
850
- readonly prettyPhaseName: {
851
- readonly type: "string";
852
- readonly description: "Pretty name of the phase";
853
- readonly example: "Phase A";
854
- };
855
- readonly prettyUsageName: {
856
- readonly type: "string";
857
- readonly description: "Pretty name of the usage";
858
- readonly example: "Usage A";
859
- };
860
- readonly itemType: {
861
- readonly type: "string";
862
- readonly description: "Type of the invoice item";
863
- readonly example: "EXTERNAL_CHARGE";
864
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
865
- };
866
- readonly description: {
867
- readonly type: "string";
868
- readonly description: "Description of the invoice item";
869
- readonly example: "Description of the invoice item";
870
- };
871
- readonly startDate: {
872
- readonly type: "string";
873
- readonly description: "Start date of the invoice item";
874
- readonly example: "2019-01-01T00:00:00.000Z";
875
- };
876
- readonly endDate: {
877
- readonly type: "string";
878
- readonly description: "End date of the invoice item";
879
- readonly example: "2019-01-01T00:00:00.000Z";
880
- };
881
- readonly amount: {
882
- readonly type: "number";
883
- readonly format: "float";
884
- readonly description: "Amount of the invoice item";
885
- readonly example: 100;
886
- };
887
- readonly rate: {
888
- readonly type: "number";
889
- readonly format: "float";
890
- readonly description: "Rate of the invoice item";
891
- readonly example: 100;
892
- };
893
- readonly currency: {
894
- readonly type: "string";
895
- readonly description: "Currency of the invoice item";
896
- readonly example: "USD";
897
- 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"];
898
- };
899
- readonly quantity: {
900
- readonly type: "number";
901
- readonly format: "float";
902
- readonly description: "Quantity of the invoice item";
903
- readonly example: 1;
904
- };
905
- readonly itemDetails: {
906
- readonly type: "string";
907
- readonly description: "Details of the invoice item";
908
- readonly example: "Details of the invoice item";
909
- };
910
- readonly catalogEffectiveDate: {
911
- readonly type: "string";
912
- readonly description: "Effective date of the catalog";
913
- readonly example: "2019-01-01T00:00:00.000Z";
914
- };
915
- readonly childItems: {
916
- readonly type: "array";
917
- readonly items: {
918
- readonly oneOf: readonly [{
919
- readonly type: "array";
920
- }, {
921
- readonly type: "boolean";
922
- }, {
923
- readonly type: "number";
924
- }, {
925
- readonly type: "object";
926
- readonly additionalProperties: true;
927
- }, {
928
- readonly type: "string";
929
- }];
930
- };
931
- readonly description: "Child items of the invoice item";
932
- };
933
- };
934
- readonly additionalProperties: false;
935
- };
936
- readonly description: "Credits of the invoice";
937
- };
938
- readonly items: {
939
- readonly type: "array";
940
- readonly items: {
941
- readonly type: "object";
942
- readonly properties: {
943
- readonly id: {
944
- readonly type: "string";
945
- readonly format: "uuid";
946
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
947
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
948
- };
949
- readonly linkedInvoiceItemId: {
950
- readonly type: "string";
951
- readonly format: "uuid";
952
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
953
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
954
- };
955
- readonly productName: {
956
- readonly type: "string";
957
- readonly description: "Name of the product";
958
- readonly example: "Research team";
959
- };
960
- readonly planName: {
961
- readonly type: "string";
962
- readonly description: "Name of the plan";
963
- readonly example: "Plan A";
964
- };
965
- readonly phaseName: {
966
- readonly type: "string";
967
- readonly description: "Name of the phase";
968
- readonly example: "Phase A";
969
- };
970
- readonly usageName: {
971
- readonly type: "string";
972
- readonly description: "Name of the usage";
973
- readonly example: "Usage A";
974
- };
975
- readonly prettyProductName: {
976
- readonly type: "string";
977
- readonly description: "Pretty name of the product";
978
- readonly example: "Research team";
979
- };
980
- readonly prettyPlanName: {
981
- readonly type: "string";
982
- readonly description: "Pretty name of the plan";
983
- readonly example: "Plan A";
984
- };
985
- readonly prettyPhaseName: {
986
- readonly type: "string";
987
- readonly description: "Pretty name of the phase";
988
- readonly example: "Phase A";
989
- };
990
- readonly prettyUsageName: {
991
- readonly type: "string";
992
- readonly description: "Pretty name of the usage";
993
- readonly example: "Usage A";
994
- };
995
- readonly itemType: {
996
- readonly type: "string";
997
- readonly description: "Type of the invoice item";
998
- readonly example: "EXTERNAL_CHARGE";
999
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1000
- };
1001
- readonly description: {
1002
- readonly type: "string";
1003
- readonly description: "Description of the invoice item";
1004
- readonly example: "Description of the invoice item";
1005
- };
1006
- readonly startDate: {
1007
- readonly type: "string";
1008
- readonly description: "Start date of the invoice item";
1009
- readonly example: "2019-01-01T00:00:00.000Z";
1010
- };
1011
- readonly endDate: {
1012
- readonly type: "string";
1013
- readonly description: "End date of the invoice item";
1014
- readonly example: "2019-01-01T00:00:00.000Z";
1015
- };
1016
- readonly amount: {
1017
- readonly type: "number";
1018
- readonly format: "float";
1019
- readonly description: "Amount of the invoice item";
1020
- readonly example: 100;
1021
- };
1022
- readonly rate: {
1023
- readonly type: "number";
1024
- readonly format: "float";
1025
- readonly description: "Rate of the invoice item";
1026
- readonly example: 100;
1027
- };
1028
- readonly currency: {
1029
- readonly type: "string";
1030
- readonly description: "Currency of the invoice item";
1031
- readonly example: "USD";
1032
- 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"];
1033
- };
1034
- readonly quantity: {
1035
- readonly type: "number";
1036
- readonly format: "float";
1037
- readonly description: "Quantity of the invoice item";
1038
- readonly example: 1;
1039
- };
1040
- readonly itemDetails: {
1041
- readonly type: "string";
1042
- readonly description: "Details of the invoice item";
1043
- readonly example: "Details of the invoice item";
1044
- };
1045
- readonly catalogEffectiveDate: {
1046
- readonly type: "string";
1047
- readonly description: "Effective date of the catalog";
1048
- readonly example: "2019-01-01T00:00:00.000Z";
1049
- };
1050
- readonly childItems: {
1051
- readonly type: "array";
1052
- readonly items: {
1053
- readonly oneOf: readonly [{
1054
- readonly type: "array";
1055
- }, {
1056
- readonly type: "boolean";
1057
- }, {
1058
- readonly type: "number";
1059
- }, {
1060
- readonly type: "object";
1061
- readonly additionalProperties: true;
1062
- }, {
1063
- readonly type: "string";
1064
- }];
1065
- };
1066
- readonly description: "Child items of the invoice item";
1067
- };
1068
- };
1069
- readonly additionalProperties: false;
1070
- };
1071
- readonly description: "Items of the invoice";
1072
778
  };
1073
779
  };
780
+ readonly required: readonly ["created", "period_start", "period_end"];
1074
781
  readonly additionalProperties: false;
1075
782
  };
1076
- export declare const MarketplaceListingSchema: {
783
+ export declare const MarketplaceListingFilesSchema: {
1077
784
  readonly type: "object";
1078
785
  readonly properties: {
1079
- readonly id: {
1080
- readonly type: "string";
1081
- readonly maxLength: 63;
1082
- readonly minLength: 1;
1083
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1084
- readonly description: "Id of the chart listing";
1085
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1086
- };
1087
- readonly name: {
1088
- readonly type: "string";
1089
- readonly description: "Name of the chart listing";
1090
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
1091
- };
1092
- readonly developer: {
786
+ readonly chartYaml: {
1093
787
  readonly type: "string";
1094
- readonly description: "Author of the chart listing";
1095
- readonly example: "Portworx";
788
+ readonly description: "Raw Chart.yaml content from the Helm chart";
789
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
1096
790
  };
1097
- readonly description: {
791
+ readonly valuesYaml: {
1098
792
  readonly type: "string";
1099
- readonly description: "Short description of the chart listing";
1100
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
793
+ readonly description: "Raw values.yaml content from the Helm chart";
794
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
1101
795
  };
1102
- readonly logoUrl: {
796
+ readonly valuesSchemaJson: {
1103
797
  readonly type: "string";
1104
- readonly description: "Logo of the chart listing";
1105
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
798
+ readonly description: "JSON schema for values.yaml as a string";
799
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
1106
800
  };
1107
- readonly longDescription: {
801
+ };
802
+ readonly additionalProperties: false;
803
+ };
804
+ export declare const MarketplaceListingSchema: {
805
+ readonly type: "object";
806
+ readonly properties: {
807
+ readonly name: {
1108
808
  readonly type: "string";
1109
- readonly description: "Long description of the chart listing";
1110
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
809
+ readonly description: "Name of the chart";
810
+ readonly example: "nginx-ingress";
1111
811
  };
1112
- readonly categories: {
812
+ readonly versions: {
1113
813
  readonly type: "array";
1114
814
  readonly items: {
1115
815
  readonly type: "string";
1116
- readonly example: "AI & Machine Learning";
816
+ 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-]+)*))?$";
817
+ readonly description: "Specific version of the chart";
818
+ readonly example: "1.18.2-cfke.45";
1117
819
  };
1118
- readonly description: "Tags of the chart";
820
+ readonly description: "Available versions of the chart";
1119
821
  };
1120
822
  readonly version_channels: {
1121
823
  readonly type: "array";
1122
824
  readonly items: {
1123
825
  readonly type: "string";
1124
826
  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-]+)*))?$";
1125
- readonly description: "Version of the chart.";
1126
- readonly example: "2.x.x-cfke.x";
827
+ readonly description: "Version channel pattern";
828
+ readonly example: "1.18.x-cfke.x";
1127
829
  };
830
+ readonly description: "Version channels for the chart";
1128
831
  };
1129
- readonly value_schemas: {
1130
- readonly type: "array";
1131
- readonly items: {
1132
- readonly type: "object";
1133
- readonly properties: {
1134
- readonly version: {
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.1.1-cfke.123";
1139
- };
1140
- readonly schema: {
832
+ readonly latestVersion: {
833
+ readonly type: "string";
834
+ readonly description: "Latest version of the chart";
835
+ readonly example: "1.18.2-cfke.45";
836
+ };
837
+ readonly metadata: {
838
+ readonly type: "object";
839
+ readonly properties: {
840
+ readonly name: {
841
+ readonly type: "string";
842
+ readonly description: "Chart name from metadata";
843
+ readonly example: "nginx-ingress";
844
+ };
845
+ readonly version: {
846
+ readonly type: "string";
847
+ readonly description: "Chart version from metadata";
848
+ readonly example: "1.18.2-cfke.45";
849
+ };
850
+ readonly description: {
851
+ readonly type: "string";
852
+ readonly description: "Chart description";
853
+ readonly example: "NGINX Ingress Controller for Kubernetes";
854
+ };
855
+ readonly appVersion: {
856
+ readonly type: "string";
857
+ readonly description: "Application version";
858
+ readonly example: "1.9.4";
859
+ };
860
+ readonly apiVersion: {
861
+ readonly type: "string";
862
+ readonly description: "Helm API version";
863
+ readonly example: "v2";
864
+ };
865
+ readonly keywords: {
866
+ readonly type: "array";
867
+ readonly items: {
1141
868
  readonly type: "string";
1142
- readonly description: "Schema of the chart values. JSON Schema as string";
1143
869
  };
1144
- readonly placeholder: {
870
+ readonly description: "Chart keywords";
871
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
872
+ };
873
+ readonly home: {
874
+ readonly type: "string";
875
+ readonly description: "Chart home URL";
876
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
877
+ };
878
+ readonly sources: {
879
+ readonly type: "array";
880
+ readonly items: {
1145
881
  readonly type: "string";
1146
- readonly description: "Schema of the chart values";
1147
- readonly example: "foo: 1\nbar: example";
1148
882
  };
883
+ readonly description: "Chart source URLs";
884
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1149
885
  };
1150
- readonly required: readonly ["version", "schema", "placeholder"];
1151
- readonly additionalProperties: false;
1152
- };
1153
- };
1154
- };
1155
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
886
+ readonly maintainers: {
887
+ readonly type: "array";
888
+ readonly items: {
889
+ readonly type: "object";
890
+ readonly properties: {
891
+ readonly name: {
892
+ readonly type: "string";
893
+ readonly description: "Maintainer name";
894
+ readonly example: "NGINX Team";
895
+ };
896
+ readonly email: {
897
+ readonly type: "string";
898
+ readonly description: "Maintainer email";
899
+ readonly example: "support@nginx.org";
900
+ };
901
+ };
902
+ readonly required: readonly ["name"];
903
+ readonly additionalProperties: false;
904
+ };
905
+ readonly description: "Chart maintainers";
906
+ };
907
+ };
908
+ readonly required: readonly ["name", "version"];
909
+ readonly additionalProperties: false;
910
+ readonly description: "Chart metadata";
911
+ };
912
+ };
913
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1156
914
  readonly additionalProperties: false;
1157
915
  };
1158
916
  export declare const OrganizationCreateInputSchema: {
@@ -1270,12 +1028,12 @@ export declare const OrganizationSchema: {
1270
1028
  readonly id: {
1271
1029
  readonly type: "string";
1272
1030
  readonly description: "Id of the control plane version. Used in API calls.";
1273
- readonly example: "1.29.x-cfke.x";
1031
+ readonly example: "1.33.x-cfke.x";
1274
1032
  };
1275
1033
  readonly label: {
1276
1034
  readonly type: "string";
1277
1035
  readonly description: "Label of the control plane version. Used in frontent UI.";
1278
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1036
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1279
1037
  };
1280
1038
  };
1281
1039
  readonly required: readonly ["id", "label"];
@@ -1284,8 +1042,20 @@ export declare const OrganizationSchema: {
1284
1042
  readonly minItems: 1;
1285
1043
  readonly description: "List of CFKE control plane versions available for the organization.";
1286
1044
  };
1045
+ readonly copilot_user_hourly_tokens: {
1046
+ readonly type: "integer";
1047
+ readonly minimum: 0;
1048
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1049
+ readonly example: 42000;
1050
+ };
1051
+ readonly copilot_organization_hourly_tokens: {
1052
+ readonly type: "integer";
1053
+ readonly minimum: 0;
1054
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1055
+ readonly example: 242000;
1056
+ };
1287
1057
  };
1288
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1058
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
1289
1059
  readonly additionalProperties: false;
1290
1060
  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.";
1291
1061
  };
@@ -1351,6 +1121,273 @@ export declare const PaymentMethodSchema: {
1351
1121
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1352
1122
  readonly additionalProperties: false;
1353
1123
  };
1124
+ export declare const PlatformQuotaSchema: {
1125
+ readonly type: "object";
1126
+ readonly properties: {
1127
+ readonly basic_clusters_max: {
1128
+ readonly type: "integer";
1129
+ readonly minimum: 0;
1130
+ readonly description: "Maximum number of Basic clusters that can be created.";
1131
+ readonly example: 999;
1132
+ };
1133
+ readonly basic_clusters_available: {
1134
+ readonly type: "integer";
1135
+ readonly description: "Available number of Basic clusters that can be created.";
1136
+ readonly example: 999;
1137
+ };
1138
+ readonly pro_clusters_max: {
1139
+ readonly type: "integer";
1140
+ readonly minimum: 0;
1141
+ readonly description: "Maximum number of Pro clusters that can be created.";
1142
+ readonly example: 999;
1143
+ };
1144
+ readonly pro_clusters_available: {
1145
+ readonly type: "integer";
1146
+ readonly description: "Available number of Pro clusters that can be created.";
1147
+ readonly example: 999;
1148
+ };
1149
+ readonly fleets_max: {
1150
+ readonly type: "integer";
1151
+ readonly minimum: 0;
1152
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1153
+ readonly example: 999;
1154
+ };
1155
+ readonly cluster_tiers: {
1156
+ readonly type: "array";
1157
+ readonly items: {
1158
+ readonly type: "string";
1159
+ readonly example: "basic";
1160
+ };
1161
+ readonly minItems: 0;
1162
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1163
+ };
1164
+ readonly regions: {
1165
+ readonly type: "array";
1166
+ readonly items: {
1167
+ readonly type: "string";
1168
+ readonly example: "northamerica-central-1";
1169
+ };
1170
+ readonly minItems: 1;
1171
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1172
+ };
1173
+ readonly versions: {
1174
+ readonly type: "array";
1175
+ readonly items: {
1176
+ readonly type: "object";
1177
+ readonly properties: {
1178
+ readonly id: {
1179
+ readonly type: "string";
1180
+ readonly description: "Id of the control plane version. Used in API calls.";
1181
+ readonly example: "1.33.x-cfke.x";
1182
+ };
1183
+ readonly label: {
1184
+ readonly type: "string";
1185
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1186
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1187
+ };
1188
+ };
1189
+ readonly required: readonly ["id", "label"];
1190
+ readonly additionalProperties: false;
1191
+ };
1192
+ readonly minItems: 1;
1193
+ readonly description: "List of CFKE control plane versions available for the organization.";
1194
+ };
1195
+ readonly copilot_user_hourly_tokens: {
1196
+ readonly type: "integer";
1197
+ readonly minimum: 0;
1198
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1199
+ readonly example: 42000;
1200
+ };
1201
+ readonly copilot_organization_hourly_tokens: {
1202
+ readonly type: "integer";
1203
+ readonly minimum: 0;
1204
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1205
+ readonly example: 242000;
1206
+ };
1207
+ };
1208
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
1209
+ readonly additionalProperties: false;
1210
+ };
1211
+ export declare const RegistryRepositorySchema: {
1212
+ readonly type: "object";
1213
+ readonly properties: {
1214
+ readonly name: {
1215
+ readonly type: "string";
1216
+ readonly description: "Repository name.";
1217
+ readonly example: "my-app";
1218
+ };
1219
+ readonly region: {
1220
+ readonly type: "string";
1221
+ readonly description: "Registry region.";
1222
+ readonly example: "northamerica";
1223
+ };
1224
+ readonly uri: {
1225
+ readonly type: "string";
1226
+ readonly description: "Full URI of the repository.";
1227
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1228
+ };
1229
+ };
1230
+ readonly required: readonly ["name", "region", "uri"];
1231
+ readonly additionalProperties: false;
1232
+ };
1233
+ export declare const RegistryRepositoryWithTagsSchema: {
1234
+ readonly type: "object";
1235
+ readonly properties: {
1236
+ readonly name: {
1237
+ readonly type: "string";
1238
+ readonly description: "Repository name.";
1239
+ readonly example: "my-app";
1240
+ };
1241
+ readonly region: {
1242
+ readonly type: "string";
1243
+ readonly description: "Registry region.";
1244
+ readonly example: "northamerica";
1245
+ };
1246
+ readonly uri: {
1247
+ readonly type: "string";
1248
+ readonly description: "Full URI of the repository.";
1249
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1250
+ };
1251
+ readonly tags: {
1252
+ readonly type: "array";
1253
+ readonly items: {
1254
+ readonly type: "object";
1255
+ readonly properties: {
1256
+ readonly name: {
1257
+ readonly type: "string";
1258
+ readonly description: "Tag name.";
1259
+ readonly example: "latest";
1260
+ };
1261
+ readonly size: {
1262
+ readonly type: "number";
1263
+ readonly format: "float";
1264
+ readonly description: "Size of the tag in bytes.";
1265
+ readonly example: 123456789;
1266
+ };
1267
+ readonly mediaType: {
1268
+ readonly type: "string";
1269
+ readonly description: "Media type of the manifest.";
1270
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1271
+ };
1272
+ };
1273
+ readonly required: readonly ["name", "size"];
1274
+ readonly additionalProperties: false;
1275
+ };
1276
+ readonly description: "Array of tags in the repository.";
1277
+ };
1278
+ readonly totalSize: {
1279
+ readonly type: "number";
1280
+ readonly format: "float";
1281
+ readonly description: "Total size of all tags in the repository in bytes.";
1282
+ readonly example: 987654321;
1283
+ };
1284
+ };
1285
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1286
+ readonly additionalProperties: false;
1287
+ };
1288
+ export declare const RegistryTagSchema: {
1289
+ readonly type: "object";
1290
+ readonly properties: {
1291
+ readonly name: {
1292
+ readonly type: "string";
1293
+ readonly description: "Tag name.";
1294
+ readonly example: "latest";
1295
+ };
1296
+ readonly mediaType: {
1297
+ readonly type: "string";
1298
+ readonly description: "Media type of the manifest.";
1299
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1300
+ };
1301
+ readonly config: {
1302
+ readonly type: "object";
1303
+ readonly properties: {
1304
+ readonly size: {
1305
+ readonly type: "number";
1306
+ readonly format: "float";
1307
+ readonly description: "Size of the config in bytes.";
1308
+ readonly example: 1234;
1309
+ };
1310
+ };
1311
+ readonly required: readonly ["size"];
1312
+ readonly additionalProperties: false;
1313
+ readonly description: "Manifest config metadata.";
1314
+ };
1315
+ readonly layers: {
1316
+ readonly type: "array";
1317
+ readonly items: {
1318
+ readonly type: "object";
1319
+ readonly properties: {
1320
+ readonly size: {
1321
+ readonly type: "number";
1322
+ readonly format: "float";
1323
+ readonly description: "Size of the layer in bytes.";
1324
+ readonly example: 5678;
1325
+ };
1326
+ };
1327
+ readonly required: readonly ["size"];
1328
+ readonly additionalProperties: false;
1329
+ };
1330
+ readonly description: "Array of layer metadata.";
1331
+ };
1332
+ readonly manifests: {
1333
+ readonly type: "array";
1334
+ readonly items: {
1335
+ readonly type: "object";
1336
+ readonly properties: {
1337
+ readonly digest: {
1338
+ readonly type: "string";
1339
+ readonly description: "Digest of the manifest.";
1340
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1341
+ };
1342
+ readonly platform: {
1343
+ readonly type: "object";
1344
+ readonly properties: {
1345
+ readonly architecture: {
1346
+ readonly type: "string";
1347
+ readonly description: "Architecture of the platform.";
1348
+ readonly example: "amd64";
1349
+ };
1350
+ readonly os: {
1351
+ readonly type: "string";
1352
+ readonly description: "Operating system of the platform.";
1353
+ readonly example: "linux";
1354
+ };
1355
+ };
1356
+ readonly required: readonly ["architecture", "os"];
1357
+ readonly additionalProperties: false;
1358
+ readonly description: "Platform information for the manifest.";
1359
+ };
1360
+ };
1361
+ readonly required: readonly ["digest"];
1362
+ readonly additionalProperties: false;
1363
+ };
1364
+ readonly description: "Array of manifests for multi-arch images.";
1365
+ };
1366
+ readonly size: {
1367
+ readonly type: "number";
1368
+ readonly format: "float";
1369
+ readonly description: "Total size of the tag in bytes.";
1370
+ readonly example: 123456789;
1371
+ };
1372
+ readonly region: {
1373
+ readonly type: "string";
1374
+ readonly description: "Registry region.";
1375
+ readonly example: "northamerica";
1376
+ };
1377
+ readonly repository: {
1378
+ readonly type: "string";
1379
+ readonly description: "Repository name.";
1380
+ readonly example: "my-app";
1381
+ };
1382
+ readonly uri: {
1383
+ readonly type: "string";
1384
+ readonly description: "Full URI of the tag.";
1385
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1386
+ };
1387
+ };
1388
+ readonly required: readonly ["name", "size", "region", "repository", "uri"];
1389
+ readonly additionalProperties: false;
1390
+ };
1354
1391
  export declare const TokenCreateInputSchema: {
1355
1392
  readonly type: "object";
1356
1393
  readonly properties: {
@@ -1429,6 +1466,101 @@ export declare const TokenUpdateInputSchema: {
1429
1466
  };
1430
1467
  readonly additionalProperties: false;
1431
1468
  };
1469
+ export declare const UsageFacetsSchema: {
1470
+ readonly type: "object";
1471
+ readonly properties: {
1472
+ readonly cluster_id: {
1473
+ readonly type: "array";
1474
+ readonly items: {
1475
+ readonly type: "string";
1476
+ };
1477
+ readonly description: "List of unique cluster IDs";
1478
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1479
+ };
1480
+ readonly product: {
1481
+ readonly type: "array";
1482
+ readonly items: {
1483
+ readonly type: "string";
1484
+ };
1485
+ readonly description: "List of unique products";
1486
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1487
+ };
1488
+ };
1489
+ readonly additionalProperties: false;
1490
+ };
1491
+ export declare const UsageResponseSchema: {
1492
+ readonly type: "object";
1493
+ readonly properties: {
1494
+ readonly data: {
1495
+ readonly type: "array";
1496
+ readonly items: {
1497
+ readonly type: "object";
1498
+ readonly properties: {
1499
+ readonly hour: {
1500
+ readonly type: "string";
1501
+ readonly description: "Hour of the usage";
1502
+ readonly example: "2019-01-01T00:00:00.000Z";
1503
+ };
1504
+ readonly cluster_id: {
1505
+ readonly type: "string";
1506
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1507
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1508
+ };
1509
+ readonly product: {
1510
+ readonly type: "string";
1511
+ readonly description: "The product the usage is associated with";
1512
+ readonly example: "cfke_controlplane";
1513
+ };
1514
+ readonly value: {
1515
+ readonly type: "number";
1516
+ readonly format: "float";
1517
+ readonly description: "Consumption";
1518
+ readonly example: 4;
1519
+ };
1520
+ readonly price: {
1521
+ readonly type: "number";
1522
+ readonly format: "float";
1523
+ readonly description: "Price per unit";
1524
+ readonly example: 0.01;
1525
+ };
1526
+ readonly total: {
1527
+ readonly type: "number";
1528
+ readonly format: "float";
1529
+ readonly description: "Total cost";
1530
+ };
1531
+ };
1532
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1533
+ readonly additionalProperties: false;
1534
+ };
1535
+ readonly description: "Usage data";
1536
+ };
1537
+ readonly facets: {
1538
+ readonly type: "object";
1539
+ readonly properties: {
1540
+ readonly cluster_id: {
1541
+ readonly type: "array";
1542
+ readonly items: {
1543
+ readonly type: "string";
1544
+ };
1545
+ readonly description: "List of unique cluster IDs";
1546
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1547
+ };
1548
+ readonly product: {
1549
+ readonly type: "array";
1550
+ readonly items: {
1551
+ readonly type: "string";
1552
+ };
1553
+ readonly description: "List of unique products";
1554
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1555
+ };
1556
+ };
1557
+ readonly additionalProperties: false;
1558
+ readonly description: "Facets for filtering";
1559
+ };
1560
+ };
1561
+ readonly required: readonly ["data", "facets"];
1562
+ readonly additionalProperties: false;
1563
+ };
1432
1564
  export declare const UsageSchema: {
1433
1565
  readonly type: "object";
1434
1566
  readonly properties: {
@@ -1439,78 +1571,33 @@ export declare const UsageSchema: {
1439
1571
  };
1440
1572
  readonly cluster_id: {
1441
1573
  readonly type: "string";
1442
- readonly format: "uuid";
1443
1574
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1444
1575
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1445
1576
  };
1446
- readonly cluster_tier: {
1447
- readonly type: "string";
1448
- readonly description: "Tier of the cluster.";
1449
- readonly example: "pro";
1450
- readonly enum: readonly ["basic", "pro", ""];
1451
- };
1452
1577
  readonly product: {
1453
1578
  readonly type: "string";
1454
1579
  readonly description: "The product the usage is associated with";
1455
1580
  readonly example: "cfke_controlplane";
1456
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1457
1581
  };
1458
- readonly node_name: {
1459
- readonly type: "string";
1460
- readonly description: "Name of the Kubernetes node";
1461
- readonly example: "flexible-moth-956037384";
1462
- };
1463
- readonly sku: {
1464
- readonly type: "string";
1465
- readonly description: "SKU of the Kubernetes node";
1466
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1467
- };
1468
- readonly cpu: {
1469
- readonly anyOf: readonly [{
1470
- readonly type: "number";
1471
- readonly format: "float";
1472
- readonly description: "CPU core count of the node";
1473
- readonly example: 4;
1474
- }, {
1475
- readonly type: "string";
1476
- readonly enum: readonly [""];
1477
- }];
1582
+ readonly value: {
1583
+ readonly type: "number";
1584
+ readonly format: "float";
1585
+ readonly description: "Consumption";
1586
+ readonly example: 4;
1478
1587
  };
1479
1588
  readonly price: {
1480
- readonly anyOf: readonly [{
1481
- readonly type: "number";
1482
- readonly format: "float";
1483
- readonly description: "Price";
1484
- readonly example: 4;
1485
- }, {
1486
- readonly type: "string";
1487
- readonly enum: readonly [""];
1488
- }];
1489
- };
1490
- readonly value: {
1491
- readonly anyOf: readonly [{
1492
- readonly type: "number";
1493
- readonly format: "float";
1494
- readonly description: "Value";
1495
- readonly example: 4;
1496
- }, {
1497
- readonly type: "string";
1498
- readonly enum: readonly [""];
1499
- }];
1589
+ readonly type: "number";
1590
+ readonly format: "float";
1591
+ readonly description: "Price per unit";
1592
+ readonly example: 0.01;
1500
1593
  };
1501
1594
  readonly total: {
1502
- readonly anyOf: readonly [{
1503
- readonly type: "number";
1504
- readonly format: "float";
1505
- readonly description: "Total";
1506
- readonly example: 4;
1507
- }, {
1508
- readonly type: "string";
1509
- readonly enum: readonly [""];
1510
- }];
1595
+ readonly type: "number";
1596
+ readonly format: "float";
1597
+ readonly description: "Total cost";
1511
1598
  };
1512
1599
  };
1513
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1600
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1514
1601
  readonly additionalProperties: false;
1515
1602
  };
1516
1603
  export declare const UserCreateInputSchema: {