@cloudfleet/sdk 0.0.1-e9052b2 → 0.0.1-ecad9ab

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 +524 -467
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +539 -501
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +132 -62
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +162 -73
  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 +518 -324
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1636 -2581
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +587 -919
  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: {
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";
@@ -346,8 +333,13 @@ export declare const ClusterJoinInformationSchema: {
346
333
  readonly description: "Containerd version of the cluster.";
347
334
  readonly example: "1.7.19";
348
335
  };
336
+ readonly nvidia_driver: {
337
+ readonly type: "string";
338
+ readonly description: "NVIDIA driver version of the cluster.";
339
+ readonly example: "565.0.0";
340
+ };
349
341
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
342
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
343
  readonly additionalProperties: false;
352
344
  readonly description: "Versions of the different components of the cluster.";
353
345
  };
@@ -397,17 +389,17 @@ export declare const ClusterSchema: {
397
389
  };
398
390
  readonly region: {
399
391
  readonly type: "string";
400
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
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.";
401
393
  readonly default: "staging";
402
- readonly example: "northamerica-central-1";
403
- 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"];
404
396
  };
405
397
  readonly version_channel: {
406
398
  readonly type: "string";
407
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-]+)*))?$";
408
400
  readonly description: "Version of the kubernetes cluster.";
409
401
  readonly default: "1.x.x-cfke.x";
410
- readonly example: "1.29.x-cfke.x";
402
+ readonly example: "1.33.x-cfke.x";
411
403
  };
412
404
  readonly id: {
413
405
  readonly type: "string";
@@ -419,7 +411,7 @@ export declare const ClusterSchema: {
419
411
  readonly type: "string";
420
412
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
421
413
  readonly example: "active";
422
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
414
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
423
415
  };
424
416
  readonly endpoint: {
425
417
  readonly anyOf: readonly [{
@@ -440,7 +432,7 @@ export declare const ClusterSchema: {
440
432
  readonly version_current: {
441
433
  readonly type: "string";
442
434
  readonly description: "Current version of the cluster.";
443
- readonly example: "1.29.3-cfke.52";
435
+ readonly example: "1.33.7-cfke.264";
444
436
  };
445
437
  readonly created_at: {
446
438
  readonly type: "string";
@@ -482,7 +474,7 @@ export declare const ClusterUpdateInputSchema: {
482
474
  readonly type: "string";
483
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-]+)*))?$";
484
476
  readonly description: "Version of the kubernetes cluster.";
485
- readonly example: "1.29.x-cfke.x";
477
+ readonly example: "1.33.x-cfke.x";
486
478
  };
487
479
  };
488
480
  readonly required: readonly ["tier"];
@@ -745,19 +737,15 @@ export declare const InvoiceSchema: {
745
737
  readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
746
738
  readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
747
739
  };
748
- readonly organizationId: {
740
+ readonly number: {
749
741
  readonly type: "string";
750
- readonly format: "uuid";
751
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
752
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
753
742
  };
754
743
  readonly status: {
755
744
  readonly type: "string";
756
745
  readonly description: "Status of the invoice";
757
- readonly example: "DRAFT";
758
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
746
+ readonly example: "paid";
759
747
  };
760
- readonly amount: {
748
+ readonly total: {
761
749
  readonly type: "number";
762
750
  readonly format: "float";
763
751
  readonly description: "Total amount of the invoice";
@@ -766,400 +754,164 @@ export declare const InvoiceSchema: {
766
754
  readonly currency: {
767
755
  readonly type: "string";
768
756
  readonly description: "Currency of the invoice";
769
- readonly example: "USD";
770
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
771
- };
772
- readonly creditAdj: {
773
- readonly type: "number";
774
- readonly format: "float";
775
- readonly description: "Total amount of credit adjustments";
776
- readonly example: 0;
757
+ readonly example: "usd";
777
758
  };
778
- readonly refundAdj: {
779
- readonly type: "number";
780
- readonly format: "float";
781
- readonly description: "Total amount of refund adjustments";
782
- readonly example: 0;
783
- };
784
- readonly invoiceDate: {
759
+ readonly created: {
785
760
  readonly type: "string";
786
- readonly description: "Date of the invoice";
787
- 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";
788
764
  };
789
- readonly targetDate: {
765
+ readonly period_start: {
790
766
  readonly type: "string";
791
- readonly description: "Target date of the invoice";
792
- 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";
793
770
  };
794
- readonly invoiceNumber: {
771
+ readonly period_end: {
795
772
  readonly type: "string";
796
- readonly description: "Number of the invoice";
797
- readonly example: "INV-0001";
798
- };
799
- readonly balance: {
800
- readonly type: "number";
801
- readonly format: "float";
802
- readonly description: "Balance of the invoice";
803
- 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";
804
776
  };
805
- readonly bundleKeys: {
777
+ readonly invoice_pdf: {
806
778
  readonly type: "string";
807
- readonly description: "Bundle keys of the invoice";
808
- readonly example: "bundleKey1,bundleKey2";
809
- };
810
- readonly credits: {
811
- readonly type: "array";
812
- readonly items: {
813
- readonly type: "object";
814
- readonly properties: {
815
- readonly id: {
816
- readonly type: "string";
817
- readonly format: "uuid";
818
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
819
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
820
- };
821
- readonly linkedInvoiceItemId: {
822
- readonly type: "string";
823
- readonly format: "uuid";
824
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
825
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
826
- };
827
- readonly productName: {
828
- readonly type: "string";
829
- readonly description: "Name of the product";
830
- readonly example: "Research team";
831
- };
832
- readonly planName: {
833
- readonly type: "string";
834
- readonly description: "Name of the plan";
835
- readonly example: "Plan A";
836
- };
837
- readonly phaseName: {
838
- readonly type: "string";
839
- readonly description: "Name of the phase";
840
- readonly example: "Phase A";
841
- };
842
- readonly usageName: {
843
- readonly type: "string";
844
- readonly description: "Name of the usage";
845
- readonly example: "Usage A";
846
- };
847
- readonly prettyProductName: {
848
- readonly type: "string";
849
- readonly description: "Pretty name of the product";
850
- readonly example: "Research team";
851
- };
852
- readonly prettyPlanName: {
853
- readonly type: "string";
854
- readonly description: "Pretty name of the plan";
855
- readonly example: "Plan A";
856
- };
857
- readonly prettyPhaseName: {
858
- readonly type: "string";
859
- readonly description: "Pretty name of the phase";
860
- readonly example: "Phase A";
861
- };
862
- readonly prettyUsageName: {
863
- readonly type: "string";
864
- readonly description: "Pretty name of the usage";
865
- readonly example: "Usage A";
866
- };
867
- readonly itemType: {
868
- readonly type: "string";
869
- readonly description: "Type of the invoice item";
870
- readonly example: "EXTERNAL_CHARGE";
871
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
872
- };
873
- readonly description: {
874
- readonly type: "string";
875
- readonly description: "Description of the invoice item";
876
- readonly example: "Description of the invoice item";
877
- };
878
- readonly startDate: {
879
- readonly type: "string";
880
- readonly description: "Start date of the invoice item";
881
- readonly example: "2019-01-01T00:00:00.000Z";
882
- };
883
- readonly endDate: {
884
- readonly type: "string";
885
- readonly description: "End date of the invoice item";
886
- readonly example: "2019-01-01T00:00:00.000Z";
887
- };
888
- readonly amount: {
889
- readonly type: "number";
890
- readonly format: "float";
891
- readonly description: "Amount of the invoice item";
892
- readonly example: 100;
893
- };
894
- readonly rate: {
895
- readonly type: "number";
896
- readonly format: "float";
897
- readonly description: "Rate of the invoice item";
898
- readonly example: 100;
899
- };
900
- readonly currency: {
901
- readonly type: "string";
902
- readonly description: "Currency of the invoice item";
903
- readonly example: "USD";
904
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
905
- };
906
- readonly quantity: {
907
- readonly type: "number";
908
- readonly format: "float";
909
- readonly description: "Quantity of the invoice item";
910
- readonly example: 1;
911
- };
912
- readonly itemDetails: {
913
- readonly type: "string";
914
- readonly description: "Details of the invoice item";
915
- readonly example: "Details of the invoice item";
916
- };
917
- readonly catalogEffectiveDate: {
918
- readonly type: "string";
919
- readonly description: "Effective date of the catalog";
920
- readonly example: "2019-01-01T00:00:00.000Z";
921
- };
922
- readonly childItems: {
923
- readonly type: "array";
924
- readonly items: {
925
- readonly oneOf: readonly [{
926
- readonly type: "array";
927
- }, {
928
- readonly type: "boolean";
929
- }, {
930
- readonly type: "number";
931
- }, {
932
- readonly type: "object";
933
- readonly additionalProperties: true;
934
- }, {
935
- readonly type: "string";
936
- }];
937
- };
938
- readonly description: "Child items of the invoice item";
939
- };
940
- };
941
- readonly additionalProperties: false;
942
- };
943
- readonly description: "Credits of the invoice";
944
- };
945
- readonly items: {
946
- readonly type: "array";
947
- readonly items: {
948
- readonly type: "object";
949
- readonly properties: {
950
- readonly id: {
951
- readonly type: "string";
952
- readonly format: "uuid";
953
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
954
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
955
- };
956
- readonly linkedInvoiceItemId: {
957
- readonly type: "string";
958
- readonly format: "uuid";
959
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
960
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
961
- };
962
- readonly productName: {
963
- readonly type: "string";
964
- readonly description: "Name of the product";
965
- readonly example: "Research team";
966
- };
967
- readonly planName: {
968
- readonly type: "string";
969
- readonly description: "Name of the plan";
970
- readonly example: "Plan A";
971
- };
972
- readonly phaseName: {
973
- readonly type: "string";
974
- readonly description: "Name of the phase";
975
- readonly example: "Phase A";
976
- };
977
- readonly usageName: {
978
- readonly type: "string";
979
- readonly description: "Name of the usage";
980
- readonly example: "Usage A";
981
- };
982
- readonly prettyProductName: {
983
- readonly type: "string";
984
- readonly description: "Pretty name of the product";
985
- readonly example: "Research team";
986
- };
987
- readonly prettyPlanName: {
988
- readonly type: "string";
989
- readonly description: "Pretty name of the plan";
990
- readonly example: "Plan A";
991
- };
992
- readonly prettyPhaseName: {
993
- readonly type: "string";
994
- readonly description: "Pretty name of the phase";
995
- readonly example: "Phase A";
996
- };
997
- readonly prettyUsageName: {
998
- readonly type: "string";
999
- readonly description: "Pretty name of the usage";
1000
- readonly example: "Usage A";
1001
- };
1002
- readonly itemType: {
1003
- readonly type: "string";
1004
- readonly description: "Type of the invoice item";
1005
- readonly example: "EXTERNAL_CHARGE";
1006
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1007
- };
1008
- readonly description: {
1009
- readonly type: "string";
1010
- readonly description: "Description of the invoice item";
1011
- readonly example: "Description of the invoice item";
1012
- };
1013
- readonly startDate: {
1014
- readonly type: "string";
1015
- readonly description: "Start date of the invoice item";
1016
- readonly example: "2019-01-01T00:00:00.000Z";
1017
- };
1018
- readonly endDate: {
1019
- readonly type: "string";
1020
- readonly description: "End date of the invoice item";
1021
- readonly example: "2019-01-01T00:00:00.000Z";
1022
- };
1023
- readonly amount: {
1024
- readonly type: "number";
1025
- readonly format: "float";
1026
- readonly description: "Amount of the invoice item";
1027
- readonly example: 100;
1028
- };
1029
- readonly rate: {
1030
- readonly type: "number";
1031
- readonly format: "float";
1032
- readonly description: "Rate of the invoice item";
1033
- readonly example: 100;
1034
- };
1035
- readonly currency: {
1036
- readonly type: "string";
1037
- readonly description: "Currency of the invoice item";
1038
- readonly example: "USD";
1039
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
1040
- };
1041
- readonly quantity: {
1042
- readonly type: "number";
1043
- readonly format: "float";
1044
- readonly description: "Quantity of the invoice item";
1045
- readonly example: 1;
1046
- };
1047
- readonly itemDetails: {
1048
- readonly type: "string";
1049
- readonly description: "Details of the invoice item";
1050
- readonly example: "Details of the invoice item";
1051
- };
1052
- readonly catalogEffectiveDate: {
1053
- readonly type: "string";
1054
- readonly description: "Effective date of the catalog";
1055
- readonly example: "2019-01-01T00:00:00.000Z";
1056
- };
1057
- readonly childItems: {
1058
- readonly type: "array";
1059
- readonly items: {
1060
- readonly oneOf: readonly [{
1061
- readonly type: "array";
1062
- }, {
1063
- readonly type: "boolean";
1064
- }, {
1065
- readonly type: "number";
1066
- }, {
1067
- readonly type: "object";
1068
- readonly additionalProperties: true;
1069
- }, {
1070
- readonly type: "string";
1071
- }];
1072
- };
1073
- readonly description: "Child items of the invoice item";
1074
- };
1075
- };
1076
- readonly additionalProperties: false;
1077
- };
1078
- readonly description: "Items of the invoice";
1079
779
  };
1080
780
  };
781
+ readonly required: readonly ["created", "period_start", "period_end"];
1081
782
  readonly additionalProperties: false;
1082
783
  };
1083
- export declare const MarketplaceListingSchema: {
784
+ export declare const MarketplaceListingFilesSchema: {
1084
785
  readonly type: "object";
1085
786
  readonly properties: {
1086
- readonly id: {
787
+ readonly chartYaml: {
1087
788
  readonly type: "string";
1088
- readonly maxLength: 63;
1089
- readonly minLength: 1;
1090
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1091
- readonly description: "Id of the chart listing";
1092
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
1093
- };
1094
- readonly name: {
1095
- readonly type: "string";
1096
- readonly description: "Name of the chart listing";
1097
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
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";
1098
791
  };
1099
- readonly developer: {
792
+ readonly valuesYaml: {
1100
793
  readonly type: "string";
1101
- readonly description: "Author of the chart listing";
1102
- readonly example: "Portworx";
794
+ readonly description: "Raw values.yaml content from the Helm chart";
795
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
1103
796
  };
1104
- readonly description: {
797
+ readonly valuesSchemaJson: {
1105
798
  readonly type: "string";
1106
- readonly description: "Short description of the chart listing";
1107
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
799
+ readonly description: "JSON schema for values.yaml as a string";
800
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
1108
801
  };
1109
- readonly logoUrl: {
1110
- readonly type: "string";
1111
- readonly description: "Logo of the chart listing";
1112
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
1113
- };
1114
- readonly longDescription: {
802
+ };
803
+ readonly additionalProperties: false;
804
+ };
805
+ export declare const MarketplaceListingSchema: {
806
+ readonly type: "object";
807
+ readonly properties: {
808
+ readonly name: {
1115
809
  readonly type: "string";
1116
- readonly description: "Long description of the chart listing";
1117
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
810
+ readonly description: "Name of the chart";
811
+ readonly example: "nginx-ingress";
1118
812
  };
1119
- readonly categories: {
813
+ readonly versions: {
1120
814
  readonly type: "array";
1121
815
  readonly items: {
1122
816
  readonly type: "string";
1123
- 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";
1124
820
  };
1125
- readonly description: "Tags of the chart";
821
+ readonly description: "Available versions of the chart";
1126
822
  };
1127
823
  readonly version_channels: {
1128
824
  readonly type: "array";
1129
825
  readonly items: {
1130
826
  readonly type: "string";
1131
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-]+)*))?$";
1132
- readonly description: "Version of the chart.";
1133
- readonly example: "2.x.x-cfke.x";
828
+ readonly description: "Version channel pattern";
829
+ readonly example: "1.18.x-cfke.x";
1134
830
  };
831
+ readonly description: "Version channels for the chart";
1135
832
  };
1136
- readonly value_schemas: {
1137
- readonly type: "array";
1138
- readonly items: {
1139
- readonly type: "object";
1140
- readonly properties: {
1141
- 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: {
1142
869
  readonly type: "string";
1143
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1144
- readonly description: "Version of the chart.";
1145
- readonly example: "2.1.1-cfke.123";
1146
870
  };
1147
- 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: {
1148
882
  readonly type: "string";
1149
- readonly description: "Schema of the chart values. JSON Schema as string";
1150
883
  };
1151
- readonly placeholder: {
1152
- readonly type: "string";
1153
- readonly description: "Schema of the chart values";
1154
- 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;
1155
905
  };
906
+ readonly description: "Chart maintainers";
1156
907
  };
1157
- readonly required: readonly ["version", "schema", "placeholder"];
1158
- readonly additionalProperties: false;
1159
908
  };
909
+ readonly required: readonly ["name", "version"];
910
+ readonly additionalProperties: false;
911
+ readonly description: "Chart metadata";
1160
912
  };
1161
913
  };
1162
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
914
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1163
915
  readonly additionalProperties: false;
1164
916
  };
1165
917
  export declare const OrganizationCreateInputSchema: {
@@ -1277,12 +1029,12 @@ export declare const OrganizationSchema: {
1277
1029
  readonly id: {
1278
1030
  readonly type: "string";
1279
1031
  readonly description: "Id of the control plane version. Used in API calls.";
1280
- readonly example: "1.29.x-cfke.x";
1032
+ readonly example: "1.33.x-cfke.x";
1281
1033
  };
1282
1034
  readonly label: {
1283
1035
  readonly type: "string";
1284
1036
  readonly description: "Label of the control plane version. Used in frontent UI.";
1285
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1037
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1286
1038
  };
1287
1039
  };
1288
1040
  readonly required: readonly ["id", "label"];
@@ -1358,6 +1110,261 @@ export declare const PaymentMethodSchema: {
1358
1110
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1359
1111
  readonly additionalProperties: false;
1360
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
+ };
1361
1368
  export declare const TokenCreateInputSchema: {
1362
1369
  readonly type: "object";
1363
1370
  readonly properties: {
@@ -1436,6 +1443,101 @@ export declare const TokenUpdateInputSchema: {
1436
1443
  };
1437
1444
  readonly additionalProperties: false;
1438
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
+ };
1439
1541
  export declare const UsageSchema: {
1440
1542
  readonly type: "object";
1441
1543
  readonly properties: {
@@ -1446,78 +1548,33 @@ export declare const UsageSchema: {
1446
1548
  };
1447
1549
  readonly cluster_id: {
1448
1550
  readonly type: "string";
1449
- readonly format: "uuid";
1450
1551
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1451
1552
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1452
1553
  };
1453
- readonly cluster_tier: {
1454
- readonly type: "string";
1455
- readonly description: "Tier of the cluster.";
1456
- readonly example: "pro";
1457
- readonly enum: readonly ["basic", "pro", ""];
1458
- };
1459
1554
  readonly product: {
1460
1555
  readonly type: "string";
1461
1556
  readonly description: "The product the usage is associated with";
1462
1557
  readonly example: "cfke_controlplane";
1463
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1464
- };
1465
- readonly node_name: {
1466
- readonly type: "string";
1467
- readonly description: "Name of the Kubernetes node";
1468
- readonly example: "flexible-moth-956037384";
1469
- };
1470
- readonly sku: {
1471
- readonly type: "string";
1472
- readonly description: "SKU of the Kubernetes node";
1473
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1474
1558
  };
1475
- readonly cpu: {
1476
- readonly anyOf: readonly [{
1477
- readonly type: "number";
1478
- readonly format: "float";
1479
- readonly description: "CPU core count of the node";
1480
- readonly example: 4;
1481
- }, {
1482
- readonly type: "string";
1483
- readonly enum: readonly [""];
1484
- }];
1559
+ readonly value: {
1560
+ readonly type: "number";
1561
+ readonly format: "float";
1562
+ readonly description: "Consumption";
1563
+ readonly example: 4;
1485
1564
  };
1486
1565
  readonly price: {
1487
- readonly anyOf: readonly [{
1488
- readonly type: "number";
1489
- readonly format: "float";
1490
- readonly description: "Price";
1491
- readonly example: 4;
1492
- }, {
1493
- readonly type: "string";
1494
- readonly enum: readonly [""];
1495
- }];
1496
- };
1497
- readonly value: {
1498
- readonly anyOf: readonly [{
1499
- readonly type: "number";
1500
- readonly format: "float";
1501
- readonly description: "Value";
1502
- readonly example: 4;
1503
- }, {
1504
- readonly type: "string";
1505
- readonly enum: readonly [""];
1506
- }];
1566
+ readonly type: "number";
1567
+ readonly format: "float";
1568
+ readonly description: "Price per unit";
1569
+ readonly example: 0.01;
1507
1570
  };
1508
1571
  readonly total: {
1509
- readonly anyOf: readonly [{
1510
- readonly type: "number";
1511
- readonly format: "float";
1512
- readonly description: "Total";
1513
- readonly example: 4;
1514
- }, {
1515
- readonly type: "string";
1516
- readonly enum: readonly [""];
1517
- }];
1572
+ readonly type: "number";
1573
+ readonly format: "float";
1574
+ readonly description: "Total cost";
1518
1575
  };
1519
1576
  };
1520
- 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"];
1521
1578
  readonly additionalProperties: false;
1522
1579
  };
1523
1580
  export declare const UserCreateInputSchema: {