@cloudfleet/sdk 0.0.1-7d337a1 → 0.0.1-7dfd392
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.
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +205 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +125 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +231 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +18 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +34 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +89 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +115 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +100 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +136 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +557 -477
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +574 -513
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +134 -62
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +164 -73
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +540 -330
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1656 -2585
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +597 -920
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -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
|
|
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: "
|
|
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", "
|
|
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
|
|
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: "
|
|
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
|
|
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: "
|
|
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: "
|
|
141
|
-
readonly example:
|
|
127
|
+
readonly description: "Remaining value of the promotional code.";
|
|
128
|
+
readonly example: 8;
|
|
142
129
|
};
|
|
143
130
|
};
|
|
144
|
-
readonly required: readonly ["
|
|
131
|
+
readonly required: readonly ["type", "date_start", "code", "value_total"];
|
|
145
132
|
readonly additionalProperties: false;
|
|
146
133
|
};
|
|
147
134
|
export declare const ChartCreateInputSchema: {
|
|
@@ -288,17 +275,18 @@ export declare const ClusterCreateInputSchema: {
|
|
|
288
275
|
};
|
|
289
276
|
readonly region: {
|
|
290
277
|
readonly type: "string";
|
|
291
|
-
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
|
|
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-
|
|
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.
|
|
288
|
+
readonly example: "1.x.x-cfke.x";
|
|
289
|
+
readonly enum: readonly ["1.x.x-cfke.x", "1.31.x-cfke.x", "1.32.x-cfke.x", "1.33.x-cfke.x"];
|
|
302
290
|
};
|
|
303
291
|
};
|
|
304
292
|
readonly required: readonly ["name", "tier"];
|
|
@@ -334,7 +322,7 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
334
322
|
readonly kubernetes: {
|
|
335
323
|
readonly type: "string";
|
|
336
324
|
readonly description: "Kubernetes version of the cluster.";
|
|
337
|
-
readonly example: "1.
|
|
325
|
+
readonly example: "1.33.7";
|
|
338
326
|
};
|
|
339
327
|
readonly tailscale: {
|
|
340
328
|
readonly type: "string";
|
|
@@ -346,8 +334,13 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
346
334
|
readonly description: "Containerd version of the cluster.";
|
|
347
335
|
readonly example: "1.7.19";
|
|
348
336
|
};
|
|
337
|
+
readonly nvidia_driver: {
|
|
338
|
+
readonly type: "string";
|
|
339
|
+
readonly description: "NVIDIA driver version of the cluster.";
|
|
340
|
+
readonly example: "565.0.0";
|
|
341
|
+
};
|
|
349
342
|
};
|
|
350
|
-
readonly required: readonly ["kubernetes", "tailscale", "containerd"];
|
|
343
|
+
readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
|
|
351
344
|
readonly additionalProperties: false;
|
|
352
345
|
readonly description: "Versions of the different components of the cluster.";
|
|
353
346
|
};
|
|
@@ -397,17 +390,10 @@ export declare const ClusterSchema: {
|
|
|
397
390
|
};
|
|
398
391
|
readonly region: {
|
|
399
392
|
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.";
|
|
393
|
+
readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
|
|
401
394
|
readonly default: "staging";
|
|
402
|
-
readonly example: "northamerica-central-
|
|
403
|
-
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
|
|
404
|
-
};
|
|
405
|
-
readonly version_channel: {
|
|
406
|
-
readonly type: "string";
|
|
407
|
-
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
408
|
-
readonly description: "Version of the kubernetes cluster.";
|
|
409
|
-
readonly default: "1.x.x-cfke.x";
|
|
410
|
-
readonly example: "1.29.x-cfke.x";
|
|
395
|
+
readonly example: "northamerica-central-1a";
|
|
396
|
+
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
|
|
411
397
|
};
|
|
412
398
|
readonly id: {
|
|
413
399
|
readonly type: "string";
|
|
@@ -419,7 +405,7 @@ export declare const ClusterSchema: {
|
|
|
419
405
|
readonly type: "string";
|
|
420
406
|
readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
|
|
421
407
|
readonly example: "active";
|
|
422
|
-
readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
|
|
408
|
+
readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
|
|
423
409
|
};
|
|
424
410
|
readonly endpoint: {
|
|
425
411
|
readonly anyOf: readonly [{
|
|
@@ -440,7 +426,7 @@ export declare const ClusterSchema: {
|
|
|
440
426
|
readonly version_current: {
|
|
441
427
|
readonly type: "string";
|
|
442
428
|
readonly description: "Current version of the cluster.";
|
|
443
|
-
readonly example: "1.
|
|
429
|
+
readonly example: "1.33.7-cfke.264";
|
|
444
430
|
};
|
|
445
431
|
readonly created_at: {
|
|
446
432
|
readonly type: "string";
|
|
@@ -457,6 +443,12 @@ export declare const ClusterSchema: {
|
|
|
457
443
|
readonly description: "Indicates if the cluster is ready to be used.";
|
|
458
444
|
readonly example: true;
|
|
459
445
|
};
|
|
446
|
+
readonly version_channel: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
449
|
+
readonly description: "Version of the kubernetes cluster.";
|
|
450
|
+
readonly example: "1.x.x-cfke.x";
|
|
451
|
+
};
|
|
460
452
|
};
|
|
461
453
|
readonly required: readonly ["name", "tier", "id", "status"];
|
|
462
454
|
readonly additionalProperties: false;
|
|
@@ -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.
|
|
477
|
+
readonly example: "1.x.x-cfke.x";
|
|
486
478
|
};
|
|
487
479
|
};
|
|
488
480
|
readonly required: readonly ["tier"];
|
|
@@ -741,23 +733,18 @@ export declare const InvoiceSchema: {
|
|
|
741
733
|
readonly properties: {
|
|
742
734
|
readonly id: {
|
|
743
735
|
readonly type: "string";
|
|
744
|
-
readonly
|
|
745
|
-
readonly
|
|
746
|
-
readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
|
|
736
|
+
readonly description: "Unique identifier of the invoice.";
|
|
737
|
+
readonly example: "in_1234567890xCrwxghOTj1234";
|
|
747
738
|
};
|
|
748
|
-
readonly
|
|
739
|
+
readonly number: {
|
|
749
740
|
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
741
|
};
|
|
754
742
|
readonly status: {
|
|
755
743
|
readonly type: "string";
|
|
756
744
|
readonly description: "Status of the invoice";
|
|
757
|
-
readonly example: "
|
|
758
|
-
readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
|
|
745
|
+
readonly example: "paid";
|
|
759
746
|
};
|
|
760
|
-
readonly
|
|
747
|
+
readonly total: {
|
|
761
748
|
readonly type: "number";
|
|
762
749
|
readonly format: "float";
|
|
763
750
|
readonly description: "Total amount of the invoice";
|
|
@@ -766,400 +753,164 @@ export declare const InvoiceSchema: {
|
|
|
766
753
|
readonly currency: {
|
|
767
754
|
readonly type: "string";
|
|
768
755
|
readonly description: "Currency of the invoice";
|
|
769
|
-
readonly example: "
|
|
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"];
|
|
756
|
+
readonly example: "usd";
|
|
771
757
|
};
|
|
772
|
-
readonly
|
|
773
|
-
readonly type: "number";
|
|
774
|
-
readonly format: "float";
|
|
775
|
-
readonly description: "Total amount of credit adjustments";
|
|
776
|
-
readonly example: 0;
|
|
777
|
-
};
|
|
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: {
|
|
758
|
+
readonly created: {
|
|
785
759
|
readonly type: "string";
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
760
|
+
readonly format: "date-time";
|
|
761
|
+
readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
|
|
762
|
+
readonly example: "2023-12-20T13:53:32.000Z";
|
|
788
763
|
};
|
|
789
|
-
readonly
|
|
764
|
+
readonly period_start: {
|
|
790
765
|
readonly type: "string";
|
|
791
|
-
readonly
|
|
792
|
-
readonly
|
|
766
|
+
readonly format: "date-time";
|
|
767
|
+
readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
|
|
768
|
+
readonly example: "2023-12-20T13:53:32.000Z";
|
|
793
769
|
};
|
|
794
|
-
readonly
|
|
770
|
+
readonly period_end: {
|
|
795
771
|
readonly type: "string";
|
|
796
|
-
readonly
|
|
797
|
-
readonly
|
|
798
|
-
|
|
799
|
-
readonly balance: {
|
|
800
|
-
readonly type: "number";
|
|
801
|
-
readonly format: "float";
|
|
802
|
-
readonly description: "Balance of the invoice";
|
|
803
|
-
readonly example: 100;
|
|
772
|
+
readonly format: "date-time";
|
|
773
|
+
readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
|
|
774
|
+
readonly example: "2023-12-20T13:53:32.000Z";
|
|
804
775
|
};
|
|
805
|
-
readonly
|
|
776
|
+
readonly invoice_pdf: {
|
|
806
777
|
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
778
|
};
|
|
1080
779
|
};
|
|
780
|
+
readonly required: readonly ["created", "period_start", "period_end"];
|
|
1081
781
|
readonly additionalProperties: false;
|
|
1082
782
|
};
|
|
1083
|
-
export declare const
|
|
783
|
+
export declare const MarketplaceListingFilesSchema: {
|
|
1084
784
|
readonly type: "object";
|
|
1085
785
|
readonly properties: {
|
|
1086
|
-
readonly
|
|
1087
|
-
readonly type: "string";
|
|
1088
|
-
readonly maxLength: 63;
|
|
1089
|
-
readonly minLength: 1;
|
|
1090
|
-
readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
|
|
1091
|
-
readonly description: "Id of the chart listing";
|
|
1092
|
-
readonly example: "portworx-enterprise-disaster-recovery-baremetal";
|
|
1093
|
-
};
|
|
1094
|
-
readonly name: {
|
|
1095
|
-
readonly type: "string";
|
|
1096
|
-
readonly description: "Name of the chart listing";
|
|
1097
|
-
readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
|
|
1098
|
-
};
|
|
1099
|
-
readonly developer: {
|
|
786
|
+
readonly chartYaml: {
|
|
1100
787
|
readonly type: "string";
|
|
1101
|
-
readonly description: "
|
|
1102
|
-
readonly example: "
|
|
788
|
+
readonly description: "Raw Chart.yaml content from the Helm chart";
|
|
789
|
+
readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
|
|
1103
790
|
};
|
|
1104
|
-
readonly
|
|
791
|
+
readonly valuesYaml: {
|
|
1105
792
|
readonly type: "string";
|
|
1106
|
-
readonly description: "
|
|
1107
|
-
readonly example: "
|
|
793
|
+
readonly description: "Raw values.yaml content from the Helm chart";
|
|
794
|
+
readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
|
|
1108
795
|
};
|
|
1109
|
-
readonly
|
|
796
|
+
readonly valuesSchemaJson: {
|
|
1110
797
|
readonly type: "string";
|
|
1111
|
-
readonly description: "
|
|
1112
|
-
readonly example: "
|
|
798
|
+
readonly description: "JSON schema for values.yaml as a string";
|
|
799
|
+
readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
|
|
1113
800
|
};
|
|
1114
|
-
|
|
801
|
+
};
|
|
802
|
+
readonly additionalProperties: false;
|
|
803
|
+
};
|
|
804
|
+
export declare const MarketplaceListingSchema: {
|
|
805
|
+
readonly type: "object";
|
|
806
|
+
readonly properties: {
|
|
807
|
+
readonly name: {
|
|
1115
808
|
readonly type: "string";
|
|
1116
|
-
readonly description: "
|
|
1117
|
-
readonly example: "
|
|
809
|
+
readonly description: "Name of the chart";
|
|
810
|
+
readonly example: "nginx-ingress";
|
|
1118
811
|
};
|
|
1119
|
-
readonly
|
|
812
|
+
readonly versions: {
|
|
1120
813
|
readonly type: "array";
|
|
1121
814
|
readonly items: {
|
|
1122
815
|
readonly type: "string";
|
|
1123
|
-
readonly
|
|
816
|
+
readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
817
|
+
readonly description: "Specific version of the chart";
|
|
818
|
+
readonly example: "1.18.2-cfke.45";
|
|
1124
819
|
};
|
|
1125
|
-
readonly description: "
|
|
820
|
+
readonly description: "Available versions of the chart";
|
|
1126
821
|
};
|
|
1127
822
|
readonly version_channels: {
|
|
1128
823
|
readonly type: "array";
|
|
1129
824
|
readonly items: {
|
|
1130
825
|
readonly type: "string";
|
|
1131
826
|
readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
|
|
1132
|
-
readonly description: "Version
|
|
1133
|
-
readonly example: "
|
|
827
|
+
readonly description: "Version channel pattern";
|
|
828
|
+
readonly example: "1.18.x-cfke.x";
|
|
1134
829
|
};
|
|
830
|
+
readonly description: "Version channels for the chart";
|
|
1135
831
|
};
|
|
1136
|
-
readonly
|
|
1137
|
-
readonly type: "
|
|
1138
|
-
readonly
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
832
|
+
readonly latestVersion: {
|
|
833
|
+
readonly type: "string";
|
|
834
|
+
readonly description: "Latest version of the chart";
|
|
835
|
+
readonly example: "1.18.2-cfke.45";
|
|
836
|
+
};
|
|
837
|
+
readonly metadata: {
|
|
838
|
+
readonly type: "object";
|
|
839
|
+
readonly properties: {
|
|
840
|
+
readonly name: {
|
|
841
|
+
readonly type: "string";
|
|
842
|
+
readonly description: "Chart name from metadata";
|
|
843
|
+
readonly example: "nginx-ingress";
|
|
844
|
+
};
|
|
845
|
+
readonly version: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
readonly description: "Chart version from metadata";
|
|
848
|
+
readonly example: "1.18.2-cfke.45";
|
|
849
|
+
};
|
|
850
|
+
readonly description: {
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
readonly description: "Chart description";
|
|
853
|
+
readonly example: "NGINX Ingress Controller for Kubernetes";
|
|
854
|
+
};
|
|
855
|
+
readonly appVersion: {
|
|
856
|
+
readonly type: "string";
|
|
857
|
+
readonly description: "Application version";
|
|
858
|
+
readonly example: "1.9.4";
|
|
859
|
+
};
|
|
860
|
+
readonly apiVersion: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly description: "Helm API version";
|
|
863
|
+
readonly example: "v2";
|
|
864
|
+
};
|
|
865
|
+
readonly keywords: {
|
|
866
|
+
readonly type: "array";
|
|
867
|
+
readonly items: {
|
|
1142
868
|
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
869
|
};
|
|
1147
|
-
readonly
|
|
870
|
+
readonly description: "Chart keywords";
|
|
871
|
+
readonly example: readonly ["ingress", "nginx", "load-balancer"];
|
|
872
|
+
};
|
|
873
|
+
readonly home: {
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
readonly description: "Chart home URL";
|
|
876
|
+
readonly example: "https://kubernetes.github.io/ingress-nginx/";
|
|
877
|
+
};
|
|
878
|
+
readonly sources: {
|
|
879
|
+
readonly type: "array";
|
|
880
|
+
readonly items: {
|
|
1148
881
|
readonly type: "string";
|
|
1149
|
-
readonly description: "Schema of the chart values. JSON Schema as string";
|
|
1150
882
|
};
|
|
1151
|
-
readonly
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
883
|
+
readonly description: "Chart source URLs";
|
|
884
|
+
readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
|
|
885
|
+
};
|
|
886
|
+
readonly maintainers: {
|
|
887
|
+
readonly type: "array";
|
|
888
|
+
readonly items: {
|
|
889
|
+
readonly type: "object";
|
|
890
|
+
readonly properties: {
|
|
891
|
+
readonly name: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "Maintainer name";
|
|
894
|
+
readonly example: "NGINX Team";
|
|
895
|
+
};
|
|
896
|
+
readonly email: {
|
|
897
|
+
readonly type: "string";
|
|
898
|
+
readonly description: "Maintainer email";
|
|
899
|
+
readonly example: "support@nginx.org";
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
readonly required: readonly ["name"];
|
|
903
|
+
readonly additionalProperties: false;
|
|
1155
904
|
};
|
|
905
|
+
readonly description: "Chart maintainers";
|
|
1156
906
|
};
|
|
1157
|
-
readonly required: readonly ["version", "schema", "placeholder"];
|
|
1158
|
-
readonly additionalProperties: false;
|
|
1159
907
|
};
|
|
908
|
+
readonly required: readonly ["name", "version"];
|
|
909
|
+
readonly additionalProperties: false;
|
|
910
|
+
readonly description: "Chart metadata";
|
|
1160
911
|
};
|
|
1161
912
|
};
|
|
1162
|
-
readonly required: readonly ["
|
|
913
|
+
readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
|
|
1163
914
|
readonly additionalProperties: false;
|
|
1164
915
|
};
|
|
1165
916
|
export declare const OrganizationCreateInputSchema: {
|
|
@@ -1277,12 +1028,12 @@ export declare const OrganizationSchema: {
|
|
|
1277
1028
|
readonly id: {
|
|
1278
1029
|
readonly type: "string";
|
|
1279
1030
|
readonly description: "Id of the control plane version. Used in API calls.";
|
|
1280
|
-
readonly example: "1.
|
|
1031
|
+
readonly example: "1.33.x-cfke.x";
|
|
1281
1032
|
};
|
|
1282
1033
|
readonly label: {
|
|
1283
1034
|
readonly type: "string";
|
|
1284
1035
|
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
1285
|
-
readonly example: "1.
|
|
1036
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
1286
1037
|
};
|
|
1287
1038
|
};
|
|
1288
1039
|
readonly required: readonly ["id", "label"];
|
|
@@ -1291,8 +1042,20 @@ export declare const OrganizationSchema: {
|
|
|
1291
1042
|
readonly minItems: 1;
|
|
1292
1043
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1293
1044
|
};
|
|
1045
|
+
readonly copilot_user_hourly_tokens: {
|
|
1046
|
+
readonly type: "integer";
|
|
1047
|
+
readonly minimum: 0;
|
|
1048
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1049
|
+
readonly example: 42000;
|
|
1050
|
+
};
|
|
1051
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1052
|
+
readonly type: "integer";
|
|
1053
|
+
readonly minimum: 0;
|
|
1054
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1055
|
+
readonly example: 242000;
|
|
1056
|
+
};
|
|
1294
1057
|
};
|
|
1295
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1058
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
|
|
1296
1059
|
readonly additionalProperties: false;
|
|
1297
1060
|
readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.";
|
|
1298
1061
|
};
|
|
@@ -1358,6 +1121,273 @@ export declare const PaymentMethodSchema: {
|
|
|
1358
1121
|
readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
|
|
1359
1122
|
readonly additionalProperties: false;
|
|
1360
1123
|
};
|
|
1124
|
+
export declare const PlatformQuotaSchema: {
|
|
1125
|
+
readonly type: "object";
|
|
1126
|
+
readonly properties: {
|
|
1127
|
+
readonly basic_clusters_max: {
|
|
1128
|
+
readonly type: "integer";
|
|
1129
|
+
readonly minimum: 0;
|
|
1130
|
+
readonly description: "Maximum number of Basic clusters that can be created.";
|
|
1131
|
+
readonly example: 999;
|
|
1132
|
+
};
|
|
1133
|
+
readonly basic_clusters_available: {
|
|
1134
|
+
readonly type: "integer";
|
|
1135
|
+
readonly description: "Available number of Basic clusters that can be created.";
|
|
1136
|
+
readonly example: 999;
|
|
1137
|
+
};
|
|
1138
|
+
readonly pro_clusters_max: {
|
|
1139
|
+
readonly type: "integer";
|
|
1140
|
+
readonly minimum: 0;
|
|
1141
|
+
readonly description: "Maximum number of Pro clusters that can be created.";
|
|
1142
|
+
readonly example: 999;
|
|
1143
|
+
};
|
|
1144
|
+
readonly pro_clusters_available: {
|
|
1145
|
+
readonly type: "integer";
|
|
1146
|
+
readonly description: "Available number of Pro clusters that can be created.";
|
|
1147
|
+
readonly example: 999;
|
|
1148
|
+
};
|
|
1149
|
+
readonly fleets_max: {
|
|
1150
|
+
readonly type: "integer";
|
|
1151
|
+
readonly minimum: 0;
|
|
1152
|
+
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1153
|
+
readonly example: 999;
|
|
1154
|
+
};
|
|
1155
|
+
readonly cluster_tiers: {
|
|
1156
|
+
readonly type: "array";
|
|
1157
|
+
readonly items: {
|
|
1158
|
+
readonly type: "string";
|
|
1159
|
+
readonly example: "basic";
|
|
1160
|
+
};
|
|
1161
|
+
readonly minItems: 0;
|
|
1162
|
+
readonly description: "List of Cloudfleet cluster tiers available for the organization.";
|
|
1163
|
+
};
|
|
1164
|
+
readonly regions: {
|
|
1165
|
+
readonly type: "array";
|
|
1166
|
+
readonly items: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
readonly example: "northamerica-central-1";
|
|
1169
|
+
};
|
|
1170
|
+
readonly minItems: 1;
|
|
1171
|
+
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
1172
|
+
};
|
|
1173
|
+
readonly versions: {
|
|
1174
|
+
readonly type: "array";
|
|
1175
|
+
readonly items: {
|
|
1176
|
+
readonly type: "object";
|
|
1177
|
+
readonly properties: {
|
|
1178
|
+
readonly id: {
|
|
1179
|
+
readonly type: "string";
|
|
1180
|
+
readonly description: "Id of the control plane version. Used in API calls.";
|
|
1181
|
+
readonly example: "1.33.x-cfke.x";
|
|
1182
|
+
};
|
|
1183
|
+
readonly label: {
|
|
1184
|
+
readonly type: "string";
|
|
1185
|
+
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
1186
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
readonly required: readonly ["id", "label"];
|
|
1190
|
+
readonly additionalProperties: false;
|
|
1191
|
+
};
|
|
1192
|
+
readonly minItems: 1;
|
|
1193
|
+
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1194
|
+
};
|
|
1195
|
+
readonly copilot_user_hourly_tokens: {
|
|
1196
|
+
readonly type: "integer";
|
|
1197
|
+
readonly minimum: 0;
|
|
1198
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1199
|
+
readonly example: 42000;
|
|
1200
|
+
};
|
|
1201
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1202
|
+
readonly type: "integer";
|
|
1203
|
+
readonly minimum: 0;
|
|
1204
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1205
|
+
readonly example: 242000;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens"];
|
|
1209
|
+
readonly additionalProperties: false;
|
|
1210
|
+
};
|
|
1211
|
+
export declare const RegistryRepositorySchema: {
|
|
1212
|
+
readonly type: "object";
|
|
1213
|
+
readonly properties: {
|
|
1214
|
+
readonly name: {
|
|
1215
|
+
readonly type: "string";
|
|
1216
|
+
readonly description: "Repository name.";
|
|
1217
|
+
readonly example: "my-app";
|
|
1218
|
+
};
|
|
1219
|
+
readonly region: {
|
|
1220
|
+
readonly type: "string";
|
|
1221
|
+
readonly description: "Registry region.";
|
|
1222
|
+
readonly example: "northamerica";
|
|
1223
|
+
};
|
|
1224
|
+
readonly uri: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
readonly description: "Full URI of the repository.";
|
|
1227
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly required: readonly ["name", "region", "uri"];
|
|
1231
|
+
readonly additionalProperties: false;
|
|
1232
|
+
};
|
|
1233
|
+
export declare const RegistryRepositoryWithTagsSchema: {
|
|
1234
|
+
readonly type: "object";
|
|
1235
|
+
readonly properties: {
|
|
1236
|
+
readonly name: {
|
|
1237
|
+
readonly type: "string";
|
|
1238
|
+
readonly description: "Repository name.";
|
|
1239
|
+
readonly example: "my-app";
|
|
1240
|
+
};
|
|
1241
|
+
readonly region: {
|
|
1242
|
+
readonly type: "string";
|
|
1243
|
+
readonly description: "Registry region.";
|
|
1244
|
+
readonly example: "northamerica";
|
|
1245
|
+
};
|
|
1246
|
+
readonly uri: {
|
|
1247
|
+
readonly type: "string";
|
|
1248
|
+
readonly description: "Full URI of the repository.";
|
|
1249
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1250
|
+
};
|
|
1251
|
+
readonly tags: {
|
|
1252
|
+
readonly type: "array";
|
|
1253
|
+
readonly items: {
|
|
1254
|
+
readonly type: "object";
|
|
1255
|
+
readonly properties: {
|
|
1256
|
+
readonly name: {
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
readonly description: "Tag name.";
|
|
1259
|
+
readonly example: "latest";
|
|
1260
|
+
};
|
|
1261
|
+
readonly size: {
|
|
1262
|
+
readonly type: "number";
|
|
1263
|
+
readonly format: "float";
|
|
1264
|
+
readonly description: "Size of the tag in bytes.";
|
|
1265
|
+
readonly example: 123456789;
|
|
1266
|
+
};
|
|
1267
|
+
readonly mediaType: {
|
|
1268
|
+
readonly type: "string";
|
|
1269
|
+
readonly description: "Media type of the manifest.";
|
|
1270
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
readonly required: readonly ["name", "size"];
|
|
1274
|
+
readonly additionalProperties: false;
|
|
1275
|
+
};
|
|
1276
|
+
readonly description: "Array of tags in the repository.";
|
|
1277
|
+
};
|
|
1278
|
+
readonly totalSize: {
|
|
1279
|
+
readonly type: "number";
|
|
1280
|
+
readonly format: "float";
|
|
1281
|
+
readonly description: "Total size of all tags in the repository in bytes.";
|
|
1282
|
+
readonly example: 987654321;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
|
|
1286
|
+
readonly additionalProperties: false;
|
|
1287
|
+
};
|
|
1288
|
+
export declare const RegistryTagSchema: {
|
|
1289
|
+
readonly type: "object";
|
|
1290
|
+
readonly properties: {
|
|
1291
|
+
readonly name: {
|
|
1292
|
+
readonly type: "string";
|
|
1293
|
+
readonly description: "Tag name.";
|
|
1294
|
+
readonly example: "latest";
|
|
1295
|
+
};
|
|
1296
|
+
readonly mediaType: {
|
|
1297
|
+
readonly type: "string";
|
|
1298
|
+
readonly description: "Media type of the manifest.";
|
|
1299
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1300
|
+
};
|
|
1301
|
+
readonly config: {
|
|
1302
|
+
readonly type: "object";
|
|
1303
|
+
readonly properties: {
|
|
1304
|
+
readonly size: {
|
|
1305
|
+
readonly type: "number";
|
|
1306
|
+
readonly format: "float";
|
|
1307
|
+
readonly description: "Size of the config in bytes.";
|
|
1308
|
+
readonly example: 1234;
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
readonly required: readonly ["size"];
|
|
1312
|
+
readonly additionalProperties: false;
|
|
1313
|
+
readonly description: "Manifest config metadata.";
|
|
1314
|
+
};
|
|
1315
|
+
readonly layers: {
|
|
1316
|
+
readonly type: "array";
|
|
1317
|
+
readonly items: {
|
|
1318
|
+
readonly type: "object";
|
|
1319
|
+
readonly properties: {
|
|
1320
|
+
readonly size: {
|
|
1321
|
+
readonly type: "number";
|
|
1322
|
+
readonly format: "float";
|
|
1323
|
+
readonly description: "Size of the layer in bytes.";
|
|
1324
|
+
readonly example: 5678;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
readonly required: readonly ["size"];
|
|
1328
|
+
readonly additionalProperties: false;
|
|
1329
|
+
};
|
|
1330
|
+
readonly description: "Array of layer metadata.";
|
|
1331
|
+
};
|
|
1332
|
+
readonly manifests: {
|
|
1333
|
+
readonly type: "array";
|
|
1334
|
+
readonly items: {
|
|
1335
|
+
readonly type: "object";
|
|
1336
|
+
readonly properties: {
|
|
1337
|
+
readonly digest: {
|
|
1338
|
+
readonly type: "string";
|
|
1339
|
+
readonly description: "Digest of the manifest.";
|
|
1340
|
+
readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
|
|
1341
|
+
};
|
|
1342
|
+
readonly platform: {
|
|
1343
|
+
readonly type: "object";
|
|
1344
|
+
readonly properties: {
|
|
1345
|
+
readonly architecture: {
|
|
1346
|
+
readonly type: "string";
|
|
1347
|
+
readonly description: "Architecture of the platform.";
|
|
1348
|
+
readonly example: "amd64";
|
|
1349
|
+
};
|
|
1350
|
+
readonly os: {
|
|
1351
|
+
readonly type: "string";
|
|
1352
|
+
readonly description: "Operating system of the platform.";
|
|
1353
|
+
readonly example: "linux";
|
|
1354
|
+
};
|
|
1355
|
+
};
|
|
1356
|
+
readonly required: readonly ["architecture", "os"];
|
|
1357
|
+
readonly additionalProperties: false;
|
|
1358
|
+
readonly description: "Platform information for the manifest.";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
readonly required: readonly ["digest"];
|
|
1362
|
+
readonly additionalProperties: false;
|
|
1363
|
+
};
|
|
1364
|
+
readonly description: "Array of manifests for multi-arch images.";
|
|
1365
|
+
};
|
|
1366
|
+
readonly size: {
|
|
1367
|
+
readonly type: "number";
|
|
1368
|
+
readonly format: "float";
|
|
1369
|
+
readonly description: "Total size of the tag in bytes.";
|
|
1370
|
+
readonly example: 123456789;
|
|
1371
|
+
};
|
|
1372
|
+
readonly region: {
|
|
1373
|
+
readonly type: "string";
|
|
1374
|
+
readonly description: "Registry region.";
|
|
1375
|
+
readonly example: "northamerica";
|
|
1376
|
+
};
|
|
1377
|
+
readonly repository: {
|
|
1378
|
+
readonly type: "string";
|
|
1379
|
+
readonly description: "Repository name.";
|
|
1380
|
+
readonly example: "my-app";
|
|
1381
|
+
};
|
|
1382
|
+
readonly uri: {
|
|
1383
|
+
readonly type: "string";
|
|
1384
|
+
readonly description: "Full URI of the tag.";
|
|
1385
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
readonly required: readonly ["name", "size", "region", "repository", "uri"];
|
|
1389
|
+
readonly additionalProperties: false;
|
|
1390
|
+
};
|
|
1361
1391
|
export declare const TokenCreateInputSchema: {
|
|
1362
1392
|
readonly type: "object";
|
|
1363
1393
|
readonly properties: {
|
|
@@ -1436,6 +1466,101 @@ export declare const TokenUpdateInputSchema: {
|
|
|
1436
1466
|
};
|
|
1437
1467
|
readonly additionalProperties: false;
|
|
1438
1468
|
};
|
|
1469
|
+
export declare const UsageFacetsSchema: {
|
|
1470
|
+
readonly type: "object";
|
|
1471
|
+
readonly properties: {
|
|
1472
|
+
readonly cluster_id: {
|
|
1473
|
+
readonly type: "array";
|
|
1474
|
+
readonly items: {
|
|
1475
|
+
readonly type: "string";
|
|
1476
|
+
};
|
|
1477
|
+
readonly description: "List of unique cluster IDs";
|
|
1478
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1479
|
+
};
|
|
1480
|
+
readonly product: {
|
|
1481
|
+
readonly type: "array";
|
|
1482
|
+
readonly items: {
|
|
1483
|
+
readonly type: "string";
|
|
1484
|
+
};
|
|
1485
|
+
readonly description: "List of unique products";
|
|
1486
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1487
|
+
};
|
|
1488
|
+
};
|
|
1489
|
+
readonly additionalProperties: false;
|
|
1490
|
+
};
|
|
1491
|
+
export declare const UsageResponseSchema: {
|
|
1492
|
+
readonly type: "object";
|
|
1493
|
+
readonly properties: {
|
|
1494
|
+
readonly data: {
|
|
1495
|
+
readonly type: "array";
|
|
1496
|
+
readonly items: {
|
|
1497
|
+
readonly type: "object";
|
|
1498
|
+
readonly properties: {
|
|
1499
|
+
readonly hour: {
|
|
1500
|
+
readonly type: "string";
|
|
1501
|
+
readonly description: "Hour of the usage";
|
|
1502
|
+
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1503
|
+
};
|
|
1504
|
+
readonly cluster_id: {
|
|
1505
|
+
readonly type: "string";
|
|
1506
|
+
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1507
|
+
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1508
|
+
};
|
|
1509
|
+
readonly product: {
|
|
1510
|
+
readonly type: "string";
|
|
1511
|
+
readonly description: "The product the usage is associated with";
|
|
1512
|
+
readonly example: "cfke_controlplane";
|
|
1513
|
+
};
|
|
1514
|
+
readonly value: {
|
|
1515
|
+
readonly type: "number";
|
|
1516
|
+
readonly format: "float";
|
|
1517
|
+
readonly description: "Consumption";
|
|
1518
|
+
readonly example: 4;
|
|
1519
|
+
};
|
|
1520
|
+
readonly price: {
|
|
1521
|
+
readonly type: "number";
|
|
1522
|
+
readonly format: "float";
|
|
1523
|
+
readonly description: "Price per unit";
|
|
1524
|
+
readonly example: 0.01;
|
|
1525
|
+
};
|
|
1526
|
+
readonly total: {
|
|
1527
|
+
readonly type: "number";
|
|
1528
|
+
readonly format: "float";
|
|
1529
|
+
readonly description: "Total cost";
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1533
|
+
readonly additionalProperties: false;
|
|
1534
|
+
};
|
|
1535
|
+
readonly description: "Usage data";
|
|
1536
|
+
};
|
|
1537
|
+
readonly facets: {
|
|
1538
|
+
readonly type: "object";
|
|
1539
|
+
readonly properties: {
|
|
1540
|
+
readonly cluster_id: {
|
|
1541
|
+
readonly type: "array";
|
|
1542
|
+
readonly items: {
|
|
1543
|
+
readonly type: "string";
|
|
1544
|
+
};
|
|
1545
|
+
readonly description: "List of unique cluster IDs";
|
|
1546
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1547
|
+
};
|
|
1548
|
+
readonly product: {
|
|
1549
|
+
readonly type: "array";
|
|
1550
|
+
readonly items: {
|
|
1551
|
+
readonly type: "string";
|
|
1552
|
+
};
|
|
1553
|
+
readonly description: "List of unique products";
|
|
1554
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
readonly additionalProperties: false;
|
|
1558
|
+
readonly description: "Facets for filtering";
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
readonly required: readonly ["data", "facets"];
|
|
1562
|
+
readonly additionalProperties: false;
|
|
1563
|
+
};
|
|
1439
1564
|
export declare const UsageSchema: {
|
|
1440
1565
|
readonly type: "object";
|
|
1441
1566
|
readonly properties: {
|
|
@@ -1446,78 +1571,33 @@ export declare const UsageSchema: {
|
|
|
1446
1571
|
};
|
|
1447
1572
|
readonly cluster_id: {
|
|
1448
1573
|
readonly type: "string";
|
|
1449
|
-
readonly format: "uuid";
|
|
1450
1574
|
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1451
1575
|
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1452
1576
|
};
|
|
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
1577
|
readonly product: {
|
|
1460
1578
|
readonly type: "string";
|
|
1461
1579
|
readonly description: "The product the usage is associated with";
|
|
1462
1580
|
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
1581
|
};
|
|
1470
|
-
readonly
|
|
1471
|
-
readonly type: "
|
|
1472
|
-
readonly
|
|
1473
|
-
readonly
|
|
1474
|
-
|
|
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
|
-
}];
|
|
1582
|
+
readonly value: {
|
|
1583
|
+
readonly type: "number";
|
|
1584
|
+
readonly format: "float";
|
|
1585
|
+
readonly description: "Consumption";
|
|
1586
|
+
readonly example: 4;
|
|
1485
1587
|
};
|
|
1486
1588
|
readonly price: {
|
|
1487
|
-
readonly
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
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
|
-
}];
|
|
1589
|
+
readonly type: "number";
|
|
1590
|
+
readonly format: "float";
|
|
1591
|
+
readonly description: "Price per unit";
|
|
1592
|
+
readonly example: 0.01;
|
|
1507
1593
|
};
|
|
1508
1594
|
readonly total: {
|
|
1509
|
-
readonly
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
readonly description: "Total";
|
|
1513
|
-
readonly example: 4;
|
|
1514
|
-
}, {
|
|
1515
|
-
readonly type: "string";
|
|
1516
|
-
readonly enum: readonly [""];
|
|
1517
|
-
}];
|
|
1595
|
+
readonly type: "number";
|
|
1596
|
+
readonly format: "float";
|
|
1597
|
+
readonly description: "Total cost";
|
|
1518
1598
|
};
|
|
1519
1599
|
};
|
|
1520
|
-
readonly required: readonly ["
|
|
1600
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1521
1601
|
readonly additionalProperties: false;
|
|
1522
1602
|
};
|
|
1523
1603
|
export declare const UserCreateInputSchema: {
|