@cloudfleet/sdk 0.0.1-f1d40ff → 0.0.1-fd8cadf

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 (86) 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.js → client.gen.js} +86 -25
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -7
  6. package/dist/client/index.d.ts.map +1 -1
  7. package/dist/client/index.js +6 -4
  8. package/dist/client/index.js.map +1 -1
  9. package/dist/client/{types.d.ts → types.gen.d.ts} +19 -14
  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.d.ts → utils.gen.d.ts} +9 -21
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/{utils.js → utils.gen.js} +56 -110
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +3 -3
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js.map +1 -1
  20. package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  21. package/dist/core/auth.gen.d.ts.map +1 -0
  22. package/dist/core/{auth.js → auth.gen.js} +2 -1
  23. package/dist/core/auth.gen.js.map +1 -0
  24. package/dist/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
  25. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  26. package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +5 -1
  27. package/dist/core/bodySerializer.gen.js.map +1 -0
  28. package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
  29. package/dist/core/params.gen.d.ts.map +1 -0
  30. package/dist/core/{params.js → params.gen.js} +2 -1
  31. package/dist/core/params.gen.js.map +1 -0
  32. package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
  33. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  34. package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
  35. package/dist/core/pathSerializer.gen.js.map +1 -0
  36. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  38. package/dist/core/queryKeySerializer.gen.js +100 -0
  39. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  40. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  41. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  42. package/dist/core/serverSentEvents.gen.js +136 -0
  43. package/dist/core/serverSentEvents.gen.js.map +1 -0
  44. package/dist/core/{types.d.ts → types.gen.d.ts} +20 -15
  45. package/dist/core/types.gen.d.ts.map +1 -0
  46. package/dist/core/types.gen.js +3 -0
  47. package/dist/core/types.gen.js.map +1 -0
  48. package/dist/core/utils.gen.d.ts +20 -0
  49. package/dist/core/utils.gen.d.ts.map +1 -0
  50. package/dist/core/utils.gen.js +88 -0
  51. package/dist/core/utils.gen.js.map +1 -0
  52. package/dist/schemas.gen.d.ts +518 -466
  53. package/dist/schemas.gen.d.ts.map +1 -1
  54. package/dist/schemas.gen.js +533 -500
  55. package/dist/schemas.gen.js.map +1 -1
  56. package/dist/sdk.gen.d.ts +90 -20
  57. package/dist/sdk.gen.d.ts.map +1 -1
  58. package/dist/sdk.gen.js +162 -73
  59. package/dist/sdk.gen.js.map +1 -1
  60. package/dist/services/kubernetes/api.d.ts +12 -12
  61. package/dist/types.gen.d.ts +513 -323
  62. package/dist/types.gen.d.ts.map +1 -1
  63. package/dist/zod.gen.d.ts +1369 -3308
  64. package/dist/zod.gen.d.ts.map +1 -1
  65. package/dist/zod.gen.js +401 -890
  66. package/dist/zod.gen.js.map +1 -1
  67. package/package.json +4 -4
  68. package/dist/client/client.d.ts +0 -3
  69. package/dist/client/client.d.ts.map +0 -1
  70. package/dist/client/client.js.map +0 -1
  71. package/dist/client/types.d.ts.map +0 -1
  72. package/dist/client/types.js +0 -2
  73. package/dist/client/types.js.map +0 -1
  74. package/dist/client/utils.d.ts.map +0 -1
  75. package/dist/client/utils.js.map +0 -1
  76. package/dist/core/auth.d.ts.map +0 -1
  77. package/dist/core/auth.js.map +0 -1
  78. package/dist/core/bodySerializer.d.ts.map +0 -1
  79. package/dist/core/bodySerializer.js.map +0 -1
  80. package/dist/core/params.d.ts.map +0 -1
  81. package/dist/core/params.js.map +0 -1
  82. package/dist/core/pathSerializer.d.ts.map +0 -1
  83. package/dist/core/pathSerializer.js.map +0 -1
  84. package/dist/core/types.d.ts.map +0 -1
  85. package/dist/core/types.js +0 -2
  86. 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: {
96
97
  readonly type: "string";
97
98
  readonly format: "date-time";
98
- readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
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: {
103
+ readonly type: "string";
104
+ readonly format: "date-time";
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,17 @@ 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.";
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.";
292
279
  readonly default: "staging";
293
- readonly example: "northamerica-central-1";
294
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
280
+ readonly example: "northamerica-central-1a";
281
+ readonly enum: readonly ["staging", "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.33.x-cfke.x";
302
289
  };
303
290
  };
304
291
  readonly required: readonly ["name", "tier"];
@@ -334,7 +321,7 @@ export declare const ClusterJoinInformationSchema: {
334
321
  readonly kubernetes: {
335
322
  readonly type: "string";
336
323
  readonly description: "Kubernetes version of the cluster.";
337
- readonly example: "1.29.3";
324
+ readonly example: "1.33.7";
338
325
  };
339
326
  readonly tailscale: {
340
327
  readonly type: "string";
@@ -402,17 +389,17 @@ export declare const ClusterSchema: {
402
389
  };
403
390
  readonly region: {
404
391
  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.";
392
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
406
393
  readonly default: "staging";
407
- readonly example: "northamerica-central-1";
408
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
394
+ readonly example: "northamerica-central-1a";
395
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
409
396
  };
410
397
  readonly version_channel: {
411
398
  readonly type: "string";
412
399
  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
400
  readonly description: "Version of the kubernetes cluster.";
414
401
  readonly default: "1.x.x-cfke.x";
415
- readonly example: "1.29.x-cfke.x";
402
+ readonly example: "1.33.x-cfke.x";
416
403
  };
417
404
  readonly id: {
418
405
  readonly type: "string";
@@ -424,7 +411,7 @@ export declare const ClusterSchema: {
424
411
  readonly type: "string";
425
412
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
426
413
  readonly example: "active";
427
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
414
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
428
415
  };
429
416
  readonly endpoint: {
430
417
  readonly anyOf: readonly [{
@@ -445,7 +432,7 @@ export declare const ClusterSchema: {
445
432
  readonly version_current: {
446
433
  readonly type: "string";
447
434
  readonly description: "Current version of the cluster.";
448
- readonly example: "1.29.3-cfke.52";
435
+ readonly example: "1.33.7-cfke.264";
449
436
  };
450
437
  readonly created_at: {
451
438
  readonly type: "string";
@@ -487,7 +474,7 @@ export declare const ClusterUpdateInputSchema: {
487
474
  readonly type: "string";
488
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-]+)*))?$";
489
476
  readonly description: "Version of the kubernetes cluster.";
490
- readonly example: "1.29.x-cfke.x";
477
+ readonly example: "1.33.x-cfke.x";
491
478
  };
492
479
  };
493
480
  readonly required: readonly ["tier"];
@@ -750,19 +737,15 @@ export declare const InvoiceSchema: {
750
737
  readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
751
738
  readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
752
739
  };
753
- readonly organizationId: {
740
+ readonly number: {
754
741
  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
742
  };
759
743
  readonly status: {
760
744
  readonly type: "string";
761
745
  readonly description: "Status of the invoice";
762
- readonly example: "DRAFT";
763
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
746
+ readonly example: "paid";
764
747
  };
765
- readonly amount: {
748
+ readonly total: {
766
749
  readonly type: "number";
767
750
  readonly format: "float";
768
751
  readonly description: "Total amount of the invoice";
@@ -771,400 +754,164 @@ export declare const InvoiceSchema: {
771
754
  readonly currency: {
772
755
  readonly type: "string";
773
756
  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"];
776
- };
777
- readonly creditAdj: {
778
- readonly type: "number";
779
- readonly format: "float";
780
- readonly description: "Total amount of credit adjustments";
781
- readonly example: 0;
782
- };
783
- readonly refundAdj: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "Total amount of refund adjustments";
787
- readonly example: 0;
757
+ readonly example: "usd";
788
758
  };
789
- readonly invoiceDate: {
759
+ readonly created: {
790
760
  readonly type: "string";
791
- readonly description: "Date of the invoice";
792
- readonly example: "2019-01-01T00:00:00.000Z";
761
+ readonly format: "date-time";
762
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
763
+ readonly example: "2023-12-20T13:53:32.000Z";
793
764
  };
794
- readonly targetDate: {
765
+ readonly period_start: {
795
766
  readonly type: "string";
796
- readonly description: "Target date of the invoice";
797
- readonly example: "2019-01-01T00:00:00.000Z";
767
+ readonly format: "date-time";
768
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
769
+ readonly example: "2023-12-20T13:53:32.000Z";
798
770
  };
799
- readonly invoiceNumber: {
771
+ readonly period_end: {
800
772
  readonly type: "string";
801
- readonly description: "Number of the invoice";
802
- readonly example: "INV-0001";
803
- };
804
- readonly balance: {
805
- readonly type: "number";
806
- readonly format: "float";
807
- readonly description: "Balance of the invoice";
808
- readonly example: 100;
773
+ readonly format: "date-time";
774
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
775
+ readonly example: "2023-12-20T13:53:32.000Z";
809
776
  };
810
- readonly bundleKeys: {
777
+ readonly invoice_pdf: {
811
778
  readonly type: "string";
812
- readonly description: "Bundle keys of the invoice";
813
- readonly example: "bundleKey1,bundleKey2";
814
- };
815
- readonly credits: {
816
- readonly type: "array";
817
- 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: {
884
- readonly type: "string";
885
- readonly description: "Start date of the invoice item";
886
- readonly example: "2019-01-01T00:00:00.000Z";
887
- };
888
- readonly endDate: {
889
- readonly type: "string";
890
- readonly description: "End date of the invoice item";
891
- readonly example: "2019-01-01T00:00:00.000Z";
892
- };
893
- readonly amount: {
894
- readonly type: "number";
895
- readonly format: "float";
896
- readonly description: "Amount of the invoice item";
897
- readonly example: 100;
898
- };
899
- readonly rate: {
900
- readonly type: "number";
901
- readonly format: "float";
902
- readonly description: "Rate of the invoice item";
903
- readonly example: 100;
904
- };
905
- readonly currency: {
906
- readonly type: "string";
907
- readonly description: "Currency of the invoice item";
908
- readonly example: "USD";
909
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
910
- };
911
- readonly quantity: {
912
- readonly type: "number";
913
- readonly format: "float";
914
- readonly description: "Quantity of the invoice item";
915
- readonly example: 1;
916
- };
917
- readonly itemDetails: {
918
- readonly type: "string";
919
- readonly description: "Details of the invoice item";
920
- readonly example: "Details of the invoice item";
921
- };
922
- readonly catalogEffectiveDate: {
923
- readonly type: "string";
924
- readonly description: "Effective date of the catalog";
925
- readonly example: "2019-01-01T00:00:00.000Z";
926
- };
927
- readonly childItems: {
928
- readonly type: "array";
929
- readonly items: {
930
- readonly oneOf: readonly [{
931
- readonly type: "array";
932
- }, {
933
- readonly type: "boolean";
934
- }, {
935
- readonly type: "number";
936
- }, {
937
- readonly type: "object";
938
- readonly additionalProperties: true;
939
- }, {
940
- readonly type: "string";
941
- }];
942
- };
943
- readonly description: "Child items of the invoice item";
944
- };
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
779
  };
1085
780
  };
781
+ readonly required: readonly ["created", "period_start", "period_end"];
1086
782
  readonly additionalProperties: false;
1087
783
  };
1088
- export declare const MarketplaceListingSchema: {
784
+ export declare const MarketplaceListingFilesSchema: {
1089
785
  readonly type: "object";
1090
786
  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: {
787
+ readonly chartYaml: {
1100
788
  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";
789
+ readonly description: "Raw Chart.yaml content from the Helm chart";
790
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
1108
791
  };
1109
- readonly description: {
792
+ readonly valuesYaml: {
1110
793
  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";
794
+ readonly description: "Raw values.yaml content from the Helm chart";
795
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
1113
796
  };
1114
- readonly logoUrl: {
797
+ readonly valuesSchemaJson: {
1115
798
  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";
799
+ readonly description: "JSON schema for values.yaml as a string";
800
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
1118
801
  };
1119
- readonly longDescription: {
802
+ };
803
+ readonly additionalProperties: false;
804
+ };
805
+ export declare const MarketplaceListingSchema: {
806
+ readonly type: "object";
807
+ readonly properties: {
808
+ readonly name: {
1120
809
  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....";
810
+ readonly description: "Name of the chart";
811
+ readonly example: "nginx-ingress";
1123
812
  };
1124
- readonly categories: {
813
+ readonly versions: {
1125
814
  readonly type: "array";
1126
815
  readonly items: {
1127
816
  readonly type: "string";
1128
- readonly example: "AI & Machine Learning";
817
+ 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-]+)*))?$";
818
+ readonly description: "Specific version of the chart";
819
+ readonly example: "1.18.2-cfke.45";
1129
820
  };
1130
- readonly description: "Tags of the chart";
821
+ readonly description: "Available versions of the chart";
1131
822
  };
1132
823
  readonly version_channels: {
1133
824
  readonly type: "array";
1134
825
  readonly items: {
1135
826
  readonly type: "string";
1136
827
  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";
828
+ readonly description: "Version channel pattern";
829
+ readonly example: "1.18.x-cfke.x";
1139
830
  };
831
+ readonly description: "Version channels for the chart";
1140
832
  };
1141
- readonly value_schemas: {
1142
- readonly type: "array";
1143
- readonly items: {
1144
- readonly type: "object";
1145
- readonly properties: {
1146
- readonly version: {
833
+ readonly latestVersion: {
834
+ readonly type: "string";
835
+ readonly description: "Latest version of the chart";
836
+ readonly example: "1.18.2-cfke.45";
837
+ };
838
+ readonly metadata: {
839
+ readonly type: "object";
840
+ readonly properties: {
841
+ readonly name: {
842
+ readonly type: "string";
843
+ readonly description: "Chart name from metadata";
844
+ readonly example: "nginx-ingress";
845
+ };
846
+ readonly version: {
847
+ readonly type: "string";
848
+ readonly description: "Chart version from metadata";
849
+ readonly example: "1.18.2-cfke.45";
850
+ };
851
+ readonly description: {
852
+ readonly type: "string";
853
+ readonly description: "Chart description";
854
+ readonly example: "NGINX Ingress Controller for Kubernetes";
855
+ };
856
+ readonly appVersion: {
857
+ readonly type: "string";
858
+ readonly description: "Application version";
859
+ readonly example: "1.9.4";
860
+ };
861
+ readonly apiVersion: {
862
+ readonly type: "string";
863
+ readonly description: "Helm API version";
864
+ readonly example: "v2";
865
+ };
866
+ readonly keywords: {
867
+ readonly type: "array";
868
+ readonly items: {
1147
869
  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
870
  };
1152
- readonly schema: {
871
+ readonly description: "Chart keywords";
872
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
873
+ };
874
+ readonly home: {
875
+ readonly type: "string";
876
+ readonly description: "Chart home URL";
877
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
878
+ };
879
+ readonly sources: {
880
+ readonly type: "array";
881
+ readonly items: {
1153
882
  readonly type: "string";
1154
- readonly description: "Schema of the chart values. JSON Schema as string";
1155
883
  };
1156
- readonly placeholder: {
1157
- readonly type: "string";
1158
- readonly description: "Schema of the chart values";
1159
- readonly example: "foo: 1\nbar: example";
884
+ readonly description: "Chart source URLs";
885
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
886
+ };
887
+ readonly maintainers: {
888
+ readonly type: "array";
889
+ readonly items: {
890
+ readonly type: "object";
891
+ readonly properties: {
892
+ readonly name: {
893
+ readonly type: "string";
894
+ readonly description: "Maintainer name";
895
+ readonly example: "NGINX Team";
896
+ };
897
+ readonly email: {
898
+ readonly type: "string";
899
+ readonly description: "Maintainer email";
900
+ readonly example: "support@nginx.org";
901
+ };
902
+ };
903
+ readonly required: readonly ["name"];
904
+ readonly additionalProperties: false;
1160
905
  };
906
+ readonly description: "Chart maintainers";
1161
907
  };
1162
- readonly required: readonly ["version", "schema", "placeholder"];
1163
- readonly additionalProperties: false;
1164
908
  };
909
+ readonly required: readonly ["name", "version"];
910
+ readonly additionalProperties: false;
911
+ readonly description: "Chart metadata";
1165
912
  };
1166
913
  };
1167
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
914
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1168
915
  readonly additionalProperties: false;
1169
916
  };
1170
917
  export declare const OrganizationCreateInputSchema: {
@@ -1282,12 +1029,12 @@ export declare const OrganizationSchema: {
1282
1029
  readonly id: {
1283
1030
  readonly type: "string";
1284
1031
  readonly description: "Id of the control plane version. Used in API calls.";
1285
- readonly example: "1.29.x-cfke.x";
1032
+ readonly example: "1.33.x-cfke.x";
1286
1033
  };
1287
1034
  readonly label: {
1288
1035
  readonly type: "string";
1289
1036
  readonly description: "Label of the control plane version. Used in frontent UI.";
1290
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1037
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1291
1038
  };
1292
1039
  };
1293
1040
  readonly required: readonly ["id", "label"];
@@ -1363,6 +1110,261 @@ export declare const PaymentMethodSchema: {
1363
1110
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1364
1111
  readonly additionalProperties: false;
1365
1112
  };
1113
+ export declare const PlatformQuotaSchema: {
1114
+ readonly type: "object";
1115
+ readonly properties: {
1116
+ readonly basic_clusters_max: {
1117
+ readonly type: "integer";
1118
+ readonly minimum: 0;
1119
+ readonly description: "Maximum number of Basic clusters that can be created.";
1120
+ readonly example: 999;
1121
+ };
1122
+ readonly basic_clusters_available: {
1123
+ readonly type: "integer";
1124
+ readonly description: "Available number of Basic clusters that can be created.";
1125
+ readonly example: 999;
1126
+ };
1127
+ readonly pro_clusters_max: {
1128
+ readonly type: "integer";
1129
+ readonly minimum: 0;
1130
+ readonly description: "Maximum number of Pro clusters that can be created.";
1131
+ readonly example: 999;
1132
+ };
1133
+ readonly pro_clusters_available: {
1134
+ readonly type: "integer";
1135
+ readonly description: "Available number of Pro clusters that can be created.";
1136
+ readonly example: 999;
1137
+ };
1138
+ readonly fleets_max: {
1139
+ readonly type: "integer";
1140
+ readonly minimum: 0;
1141
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1142
+ readonly example: 999;
1143
+ };
1144
+ readonly cluster_tiers: {
1145
+ readonly type: "array";
1146
+ readonly items: {
1147
+ readonly type: "string";
1148
+ readonly example: "basic";
1149
+ };
1150
+ readonly minItems: 0;
1151
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1152
+ };
1153
+ readonly regions: {
1154
+ readonly type: "array";
1155
+ readonly items: {
1156
+ readonly type: "string";
1157
+ readonly example: "northamerica-central-1";
1158
+ };
1159
+ readonly minItems: 1;
1160
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1161
+ };
1162
+ readonly versions: {
1163
+ readonly type: "array";
1164
+ readonly items: {
1165
+ readonly type: "object";
1166
+ readonly properties: {
1167
+ readonly id: {
1168
+ readonly type: "string";
1169
+ readonly description: "Id of the control plane version. Used in API calls.";
1170
+ readonly example: "1.33.x-cfke.x";
1171
+ };
1172
+ readonly label: {
1173
+ readonly type: "string";
1174
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1175
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1176
+ };
1177
+ };
1178
+ readonly required: readonly ["id", "label"];
1179
+ readonly additionalProperties: false;
1180
+ };
1181
+ readonly minItems: 1;
1182
+ readonly description: "List of CFKE control plane versions available for the organization.";
1183
+ };
1184
+ };
1185
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1186
+ readonly additionalProperties: false;
1187
+ };
1188
+ export declare const RegistryRepositorySchema: {
1189
+ readonly type: "object";
1190
+ readonly properties: {
1191
+ readonly name: {
1192
+ readonly type: "string";
1193
+ readonly description: "Repository name.";
1194
+ readonly example: "my-app";
1195
+ };
1196
+ readonly region: {
1197
+ readonly type: "string";
1198
+ readonly description: "Registry region.";
1199
+ readonly example: "northamerica";
1200
+ };
1201
+ readonly uri: {
1202
+ readonly type: "string";
1203
+ readonly description: "Full URI of the repository.";
1204
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1205
+ };
1206
+ };
1207
+ readonly required: readonly ["name", "region", "uri"];
1208
+ readonly additionalProperties: false;
1209
+ };
1210
+ export declare const RegistryRepositoryWithTagsSchema: {
1211
+ readonly type: "object";
1212
+ readonly properties: {
1213
+ readonly name: {
1214
+ readonly type: "string";
1215
+ readonly description: "Repository name.";
1216
+ readonly example: "my-app";
1217
+ };
1218
+ readonly region: {
1219
+ readonly type: "string";
1220
+ readonly description: "Registry region.";
1221
+ readonly example: "northamerica";
1222
+ };
1223
+ readonly uri: {
1224
+ readonly type: "string";
1225
+ readonly description: "Full URI of the repository.";
1226
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
1227
+ };
1228
+ readonly tags: {
1229
+ readonly type: "array";
1230
+ readonly items: {
1231
+ readonly type: "object";
1232
+ readonly properties: {
1233
+ readonly name: {
1234
+ readonly type: "string";
1235
+ readonly description: "Tag name.";
1236
+ readonly example: "latest";
1237
+ };
1238
+ readonly size: {
1239
+ readonly type: "number";
1240
+ readonly format: "float";
1241
+ readonly description: "Size of the tag in bytes.";
1242
+ readonly example: 123456789;
1243
+ };
1244
+ readonly mediaType: {
1245
+ readonly type: "string";
1246
+ readonly description: "Media type of the manifest.";
1247
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1248
+ };
1249
+ };
1250
+ readonly required: readonly ["name", "size"];
1251
+ readonly additionalProperties: false;
1252
+ };
1253
+ readonly description: "Array of tags in the repository.";
1254
+ };
1255
+ readonly totalSize: {
1256
+ readonly type: "number";
1257
+ readonly format: "float";
1258
+ readonly description: "Total size of all tags in the repository in bytes.";
1259
+ readonly example: 987654321;
1260
+ };
1261
+ };
1262
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1263
+ readonly additionalProperties: false;
1264
+ };
1265
+ export declare const RegistryTagSchema: {
1266
+ readonly type: "object";
1267
+ readonly properties: {
1268
+ readonly name: {
1269
+ readonly type: "string";
1270
+ readonly description: "Tag name.";
1271
+ readonly example: "latest";
1272
+ };
1273
+ readonly mediaType: {
1274
+ readonly type: "string";
1275
+ readonly description: "Media type of the manifest.";
1276
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1277
+ };
1278
+ readonly config: {
1279
+ readonly type: "object";
1280
+ readonly properties: {
1281
+ readonly size: {
1282
+ readonly type: "number";
1283
+ readonly format: "float";
1284
+ readonly description: "Size of the config in bytes.";
1285
+ readonly example: 1234;
1286
+ };
1287
+ };
1288
+ readonly required: readonly ["size"];
1289
+ readonly additionalProperties: false;
1290
+ readonly description: "Manifest config metadata.";
1291
+ };
1292
+ readonly layers: {
1293
+ readonly type: "array";
1294
+ readonly items: {
1295
+ readonly type: "object";
1296
+ readonly properties: {
1297
+ readonly size: {
1298
+ readonly type: "number";
1299
+ readonly format: "float";
1300
+ readonly description: "Size of the layer in bytes.";
1301
+ readonly example: 5678;
1302
+ };
1303
+ };
1304
+ readonly required: readonly ["size"];
1305
+ readonly additionalProperties: false;
1306
+ };
1307
+ readonly description: "Array of layer metadata.";
1308
+ };
1309
+ readonly manifests: {
1310
+ readonly type: "array";
1311
+ readonly items: {
1312
+ readonly type: "object";
1313
+ readonly properties: {
1314
+ readonly digest: {
1315
+ readonly type: "string";
1316
+ readonly description: "Digest of the manifest.";
1317
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1318
+ };
1319
+ readonly platform: {
1320
+ readonly type: "object";
1321
+ readonly properties: {
1322
+ readonly architecture: {
1323
+ readonly type: "string";
1324
+ readonly description: "Architecture of the platform.";
1325
+ readonly example: "amd64";
1326
+ };
1327
+ readonly os: {
1328
+ readonly type: "string";
1329
+ readonly description: "Operating system of the platform.";
1330
+ readonly example: "linux";
1331
+ };
1332
+ };
1333
+ readonly required: readonly ["architecture", "os"];
1334
+ readonly additionalProperties: false;
1335
+ readonly description: "Platform information for the manifest.";
1336
+ };
1337
+ };
1338
+ readonly required: readonly ["digest"];
1339
+ readonly additionalProperties: false;
1340
+ };
1341
+ readonly description: "Array of manifests for multi-arch images.";
1342
+ };
1343
+ readonly size: {
1344
+ readonly type: "number";
1345
+ readonly format: "float";
1346
+ readonly description: "Total size of the tag in bytes.";
1347
+ readonly example: 123456789;
1348
+ };
1349
+ readonly region: {
1350
+ readonly type: "string";
1351
+ readonly description: "Registry region.";
1352
+ readonly example: "northamerica";
1353
+ };
1354
+ readonly repository: {
1355
+ readonly type: "string";
1356
+ readonly description: "Repository name.";
1357
+ readonly example: "my-app";
1358
+ };
1359
+ readonly uri: {
1360
+ readonly type: "string";
1361
+ readonly description: "Full URI of the tag.";
1362
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1363
+ };
1364
+ };
1365
+ readonly required: readonly ["name", "size", "region", "repository", "uri"];
1366
+ readonly additionalProperties: false;
1367
+ };
1366
1368
  export declare const TokenCreateInputSchema: {
1367
1369
  readonly type: "object";
1368
1370
  readonly properties: {
@@ -1441,6 +1443,101 @@ export declare const TokenUpdateInputSchema: {
1441
1443
  };
1442
1444
  readonly additionalProperties: false;
1443
1445
  };
1446
+ export declare const UsageFacetsSchema: {
1447
+ readonly type: "object";
1448
+ readonly properties: {
1449
+ readonly cluster_id: {
1450
+ readonly type: "array";
1451
+ readonly items: {
1452
+ readonly type: "string";
1453
+ };
1454
+ readonly description: "List of unique cluster IDs";
1455
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1456
+ };
1457
+ readonly product: {
1458
+ readonly type: "array";
1459
+ readonly items: {
1460
+ readonly type: "string";
1461
+ };
1462
+ readonly description: "List of unique products";
1463
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1464
+ };
1465
+ };
1466
+ readonly additionalProperties: false;
1467
+ };
1468
+ export declare const UsageResponseSchema: {
1469
+ readonly type: "object";
1470
+ readonly properties: {
1471
+ readonly data: {
1472
+ readonly type: "array";
1473
+ readonly items: {
1474
+ readonly type: "object";
1475
+ readonly properties: {
1476
+ readonly hour: {
1477
+ readonly type: "string";
1478
+ readonly description: "Hour of the usage";
1479
+ readonly example: "2019-01-01T00:00:00.000Z";
1480
+ };
1481
+ readonly cluster_id: {
1482
+ readonly type: "string";
1483
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1484
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1485
+ };
1486
+ readonly product: {
1487
+ readonly type: "string";
1488
+ readonly description: "The product the usage is associated with";
1489
+ readonly example: "cfke_controlplane";
1490
+ };
1491
+ readonly value: {
1492
+ readonly type: "number";
1493
+ readonly format: "float";
1494
+ readonly description: "Consumption";
1495
+ readonly example: 4;
1496
+ };
1497
+ readonly price: {
1498
+ readonly type: "number";
1499
+ readonly format: "float";
1500
+ readonly description: "Price per unit";
1501
+ readonly example: 0.01;
1502
+ };
1503
+ readonly total: {
1504
+ readonly type: "number";
1505
+ readonly format: "float";
1506
+ readonly description: "Total cost";
1507
+ };
1508
+ };
1509
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1510
+ readonly additionalProperties: false;
1511
+ };
1512
+ readonly description: "Usage data";
1513
+ };
1514
+ readonly facets: {
1515
+ readonly type: "object";
1516
+ readonly properties: {
1517
+ readonly cluster_id: {
1518
+ readonly type: "array";
1519
+ readonly items: {
1520
+ readonly type: "string";
1521
+ };
1522
+ readonly description: "List of unique cluster IDs";
1523
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1524
+ };
1525
+ readonly product: {
1526
+ readonly type: "array";
1527
+ readonly items: {
1528
+ readonly type: "string";
1529
+ };
1530
+ readonly description: "List of unique products";
1531
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1532
+ };
1533
+ };
1534
+ readonly additionalProperties: false;
1535
+ readonly description: "Facets for filtering";
1536
+ };
1537
+ };
1538
+ readonly required: readonly ["data", "facets"];
1539
+ readonly additionalProperties: false;
1540
+ };
1444
1541
  export declare const UsageSchema: {
1445
1542
  readonly type: "object";
1446
1543
  readonly properties: {
@@ -1451,78 +1548,33 @@ export declare const UsageSchema: {
1451
1548
  };
1452
1549
  readonly cluster_id: {
1453
1550
  readonly type: "string";
1454
- readonly format: "uuid";
1455
1551
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1456
1552
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1457
1553
  };
1458
- readonly cluster_tier: {
1459
- readonly type: "string";
1460
- readonly description: "Tier of the cluster.";
1461
- readonly example: "pro";
1462
- readonly enum: readonly ["basic", "pro", ""];
1463
- };
1464
1554
  readonly product: {
1465
1555
  readonly type: "string";
1466
1556
  readonly description: "The product the usage is associated with";
1467
1557
  readonly example: "cfke_controlplane";
1468
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1469
- };
1470
- readonly node_name: {
1471
- readonly type: "string";
1472
- readonly description: "Name of the Kubernetes node";
1473
- readonly example: "flexible-moth-956037384";
1474
- };
1475
- readonly sku: {
1476
- readonly type: "string";
1477
- readonly description: "SKU of the Kubernetes node";
1478
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1479
1558
  };
1480
- readonly cpu: {
1481
- readonly anyOf: readonly [{
1482
- readonly type: "number";
1483
- readonly format: "float";
1484
- readonly description: "CPU core count of the node";
1485
- readonly example: 4;
1486
- }, {
1487
- readonly type: "string";
1488
- readonly enum: readonly [""];
1489
- }];
1559
+ readonly value: {
1560
+ readonly type: "number";
1561
+ readonly format: "float";
1562
+ readonly description: "Consumption";
1563
+ readonly example: 4;
1490
1564
  };
1491
1565
  readonly price: {
1492
- readonly anyOf: readonly [{
1493
- readonly type: "number";
1494
- readonly format: "float";
1495
- readonly description: "Price";
1496
- readonly example: 4;
1497
- }, {
1498
- readonly type: "string";
1499
- readonly enum: readonly [""];
1500
- }];
1501
- };
1502
- readonly value: {
1503
- readonly anyOf: readonly [{
1504
- readonly type: "number";
1505
- readonly format: "float";
1506
- readonly description: "Value";
1507
- readonly example: 4;
1508
- }, {
1509
- readonly type: "string";
1510
- readonly enum: readonly [""];
1511
- }];
1566
+ readonly type: "number";
1567
+ readonly format: "float";
1568
+ readonly description: "Price per unit";
1569
+ readonly example: 0.01;
1512
1570
  };
1513
1571
  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
- }];
1572
+ readonly type: "number";
1573
+ readonly format: "float";
1574
+ readonly description: "Total cost";
1523
1575
  };
1524
1576
  };
1525
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1577
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1526
1578
  readonly additionalProperties: false;
1527
1579
  };
1528
1580
  export declare const UserCreateInputSchema: {