@cloudfleet/sdk 0.0.1-1fc3e29 → 0.0.1-200be61
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/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- 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 +220 -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 +121 -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 +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -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 +2 -4
- 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 +26 -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 +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -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 +107 -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 +93 -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 +133 -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 +1027 -486
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1635 -575
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +172 -62
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +217 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +929 -328
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1740 -2540
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +488 -902
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -7
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
6
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
@@ -36,13 +39,9 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
42
|
+
* Name of the billing contact person.
|
|
44
43
|
*/
|
|
45
|
-
|
|
44
|
+
individual_name: string;
|
|
46
45
|
/**
|
|
47
46
|
* Tax ID of the organization.
|
|
48
47
|
*/
|
|
@@ -58,35 +57,31 @@ export type BillingCredits = {
|
|
|
58
57
|
*/
|
|
59
58
|
id?: string;
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
66
61
|
*/
|
|
67
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
date_start: string;
|
|
72
67
|
/**
|
|
73
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
69
|
*/
|
|
75
|
-
|
|
70
|
+
date_end?: string;
|
|
76
71
|
/**
|
|
77
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
78
73
|
*/
|
|
79
|
-
|
|
74
|
+
code: string;
|
|
80
75
|
/**
|
|
81
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
82
77
|
*/
|
|
83
|
-
|
|
78
|
+
description?: string;
|
|
84
79
|
/**
|
|
85
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
86
81
|
*/
|
|
87
|
-
|
|
82
|
+
value_total: number;
|
|
88
83
|
/**
|
|
89
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
90
85
|
*/
|
|
91
86
|
value_remaining?: number;
|
|
92
87
|
};
|
|
@@ -174,13 +169,13 @@ export type ClusterCreateInput = {
|
|
|
174
169
|
*/
|
|
175
170
|
tier: 'basic' | 'pro';
|
|
176
171
|
/**
|
|
177
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
178
173
|
*/
|
|
179
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
180
175
|
/**
|
|
181
176
|
* Version of the kubernetes cluster.
|
|
182
177
|
*/
|
|
183
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
184
179
|
};
|
|
185
180
|
export type ClusterJoinInformation = {
|
|
186
181
|
/**
|
|
@@ -191,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
191
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
187
|
*/
|
|
193
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
194
193
|
/**
|
|
195
194
|
* Authentication key for the cluster.
|
|
196
195
|
*/
|
|
@@ -215,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
215
214
|
* Containerd version of the cluster.
|
|
216
215
|
*/
|
|
217
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
218
221
|
};
|
|
219
222
|
/**
|
|
220
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -244,13 +247,9 @@ export type Cluster = {
|
|
|
244
247
|
*/
|
|
245
248
|
tier: 'basic' | 'pro';
|
|
246
249
|
/**
|
|
247
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
248
251
|
*/
|
|
249
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
250
|
-
/**
|
|
251
|
-
* Version of the kubernetes cluster.
|
|
252
|
-
*/
|
|
253
|
-
version_channel?: string;
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
254
253
|
/**
|
|
255
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
256
255
|
*/
|
|
@@ -258,8 +257,9 @@ export type Cluster = {
|
|
|
258
257
|
/**
|
|
259
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
259
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
261
|
endpoint?: string | '';
|
|
262
|
+
endpoint_public?: string | '';
|
|
263
263
|
/**
|
|
264
264
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
265
265
|
*/
|
|
@@ -280,6 +280,10 @@ export type Cluster = {
|
|
|
280
280
|
* Indicates if the cluster is ready to be used.
|
|
281
281
|
*/
|
|
282
282
|
ready?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Version of the kubernetes cluster.
|
|
285
|
+
*/
|
|
286
|
+
version_channel?: string;
|
|
283
287
|
};
|
|
284
288
|
export type ClusterUpdateInput = {
|
|
285
289
|
/**
|
|
@@ -423,280 +427,121 @@ export type Invite = {
|
|
|
423
427
|
};
|
|
424
428
|
export type Invoice = {
|
|
425
429
|
/**
|
|
426
|
-
* Unique identifier of the invoice.
|
|
430
|
+
* Unique identifier of the invoice.
|
|
427
431
|
*/
|
|
428
432
|
id?: string;
|
|
429
|
-
|
|
430
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
431
|
-
*/
|
|
432
|
-
organizationId?: string;
|
|
433
|
+
number?: string;
|
|
433
434
|
/**
|
|
434
435
|
* Status of the invoice
|
|
435
436
|
*/
|
|
436
|
-
status?:
|
|
437
|
+
status?: string;
|
|
437
438
|
/**
|
|
438
439
|
* Total amount of the invoice
|
|
439
440
|
*/
|
|
440
|
-
|
|
441
|
+
total?: number;
|
|
441
442
|
/**
|
|
442
443
|
* Currency of the invoice
|
|
443
444
|
*/
|
|
444
|
-
currency?:
|
|
445
|
+
currency?: string;
|
|
445
446
|
/**
|
|
446
|
-
*
|
|
447
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
447
448
|
*/
|
|
448
|
-
|
|
449
|
+
created: string;
|
|
449
450
|
/**
|
|
450
|
-
*
|
|
451
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
452
|
*/
|
|
452
|
-
|
|
453
|
+
period_start: string;
|
|
453
454
|
/**
|
|
454
|
-
*
|
|
455
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
456
|
*/
|
|
456
|
-
|
|
457
|
+
period_end: string;
|
|
458
|
+
invoice_pdf?: string;
|
|
459
|
+
};
|
|
460
|
+
export type MarketplaceListingFiles = {
|
|
457
461
|
/**
|
|
458
|
-
*
|
|
462
|
+
* Raw Chart.yaml content from the Helm chart
|
|
459
463
|
*/
|
|
460
|
-
|
|
464
|
+
chartYaml?: string;
|
|
461
465
|
/**
|
|
462
|
-
*
|
|
466
|
+
* Raw values.yaml content from the Helm chart
|
|
463
467
|
*/
|
|
464
|
-
|
|
468
|
+
valuesYaml?: string;
|
|
465
469
|
/**
|
|
466
|
-
*
|
|
470
|
+
* JSON schema for values.yaml as a string
|
|
467
471
|
*/
|
|
468
|
-
|
|
472
|
+
valuesSchemaJson?: string;
|
|
473
|
+
};
|
|
474
|
+
export type MarketplaceListing = {
|
|
469
475
|
/**
|
|
470
|
-
*
|
|
476
|
+
* Name of the chart
|
|
471
477
|
*/
|
|
472
|
-
|
|
478
|
+
name: string;
|
|
473
479
|
/**
|
|
474
|
-
*
|
|
480
|
+
* Available versions of the chart
|
|
475
481
|
*/
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
479
|
-
*/
|
|
480
|
-
id?: string;
|
|
481
|
-
/**
|
|
482
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
483
|
-
*/
|
|
484
|
-
linkedInvoiceItemId?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Name of the product
|
|
487
|
-
*/
|
|
488
|
-
productName?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Name of the plan
|
|
491
|
-
*/
|
|
492
|
-
planName?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Name of the phase
|
|
495
|
-
*/
|
|
496
|
-
phaseName?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Name of the usage
|
|
499
|
-
*/
|
|
500
|
-
usageName?: string;
|
|
501
|
-
/**
|
|
502
|
-
* Pretty name of the product
|
|
503
|
-
*/
|
|
504
|
-
prettyProductName?: string;
|
|
505
|
-
/**
|
|
506
|
-
* Pretty name of the plan
|
|
507
|
-
*/
|
|
508
|
-
prettyPlanName?: string;
|
|
509
|
-
/**
|
|
510
|
-
* Pretty name of the phase
|
|
511
|
-
*/
|
|
512
|
-
prettyPhaseName?: string;
|
|
513
|
-
/**
|
|
514
|
-
* Pretty name of the usage
|
|
515
|
-
*/
|
|
516
|
-
prettyUsageName?: string;
|
|
517
|
-
/**
|
|
518
|
-
* Type of the invoice item
|
|
519
|
-
*/
|
|
520
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
521
|
-
/**
|
|
522
|
-
* Description of the invoice item
|
|
523
|
-
*/
|
|
524
|
-
description?: string;
|
|
525
|
-
/**
|
|
526
|
-
* Start date of the invoice item
|
|
527
|
-
*/
|
|
528
|
-
startDate?: string;
|
|
529
|
-
/**
|
|
530
|
-
* End date of the invoice item
|
|
531
|
-
*/
|
|
532
|
-
endDate?: string;
|
|
533
|
-
/**
|
|
534
|
-
* Amount of the invoice item
|
|
535
|
-
*/
|
|
536
|
-
amount?: number;
|
|
537
|
-
/**
|
|
538
|
-
* Rate of the invoice item
|
|
539
|
-
*/
|
|
540
|
-
rate?: number;
|
|
541
|
-
/**
|
|
542
|
-
* Currency of the invoice item
|
|
543
|
-
*/
|
|
544
|
-
currency?: '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';
|
|
545
|
-
/**
|
|
546
|
-
* Quantity of the invoice item
|
|
547
|
-
*/
|
|
548
|
-
quantity?: number;
|
|
549
|
-
/**
|
|
550
|
-
* Details of the invoice item
|
|
551
|
-
*/
|
|
552
|
-
itemDetails?: string;
|
|
553
|
-
/**
|
|
554
|
-
* Effective date of the catalog
|
|
555
|
-
*/
|
|
556
|
-
catalogEffectiveDate?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Child items of the invoice item
|
|
559
|
-
*/
|
|
560
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
561
|
-
[key: string]: unknown;
|
|
562
|
-
} | string>;
|
|
563
|
-
}>;
|
|
482
|
+
versions: Array<string>;
|
|
564
483
|
/**
|
|
565
|
-
*
|
|
484
|
+
* Version channels for the chart
|
|
566
485
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* Name of the product
|
|
578
|
-
*/
|
|
579
|
-
productName?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Name of the plan
|
|
582
|
-
*/
|
|
583
|
-
planName?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Name of the phase
|
|
586
|
-
*/
|
|
587
|
-
phaseName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Name of the usage
|
|
590
|
-
*/
|
|
591
|
-
usageName?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Pretty name of the product
|
|
594
|
-
*/
|
|
595
|
-
prettyProductName?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Pretty name of the plan
|
|
598
|
-
*/
|
|
599
|
-
prettyPlanName?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Pretty name of the phase
|
|
602
|
-
*/
|
|
603
|
-
prettyPhaseName?: string;
|
|
486
|
+
version_channels: Array<string>;
|
|
487
|
+
/**
|
|
488
|
+
* Latest version of the chart
|
|
489
|
+
*/
|
|
490
|
+
latestVersion: string;
|
|
491
|
+
/**
|
|
492
|
+
* Chart metadata
|
|
493
|
+
*/
|
|
494
|
+
metadata?: {
|
|
604
495
|
/**
|
|
605
|
-
*
|
|
496
|
+
* Chart name from metadata
|
|
606
497
|
*/
|
|
607
|
-
|
|
498
|
+
name: string;
|
|
608
499
|
/**
|
|
609
|
-
*
|
|
500
|
+
* Chart version from metadata
|
|
610
501
|
*/
|
|
611
|
-
|
|
502
|
+
version: string;
|
|
612
503
|
/**
|
|
613
|
-
*
|
|
504
|
+
* Chart description
|
|
614
505
|
*/
|
|
615
506
|
description?: string;
|
|
616
507
|
/**
|
|
617
|
-
*
|
|
508
|
+
* Application version
|
|
618
509
|
*/
|
|
619
|
-
|
|
510
|
+
appVersion?: string;
|
|
620
511
|
/**
|
|
621
|
-
*
|
|
512
|
+
* Helm API version
|
|
622
513
|
*/
|
|
623
|
-
|
|
514
|
+
apiVersion?: string;
|
|
624
515
|
/**
|
|
625
|
-
*
|
|
516
|
+
* Chart keywords
|
|
626
517
|
*/
|
|
627
|
-
|
|
518
|
+
keywords?: Array<string>;
|
|
628
519
|
/**
|
|
629
|
-
*
|
|
520
|
+
* Chart home URL
|
|
630
521
|
*/
|
|
631
|
-
|
|
522
|
+
home?: string;
|
|
632
523
|
/**
|
|
633
|
-
*
|
|
524
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
634
525
|
*/
|
|
635
|
-
|
|
526
|
+
icon?: string;
|
|
636
527
|
/**
|
|
637
|
-
*
|
|
528
|
+
* Chart source URLs
|
|
638
529
|
*/
|
|
639
|
-
|
|
530
|
+
sources?: Array<string>;
|
|
640
531
|
/**
|
|
641
|
-
*
|
|
532
|
+
* Chart maintainers
|
|
642
533
|
*/
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}>;
|
|
655
|
-
};
|
|
656
|
-
export type MarketplaceListing = {
|
|
657
|
-
/**
|
|
658
|
-
* Id of the chart listing
|
|
659
|
-
*/
|
|
660
|
-
id: string;
|
|
661
|
-
/**
|
|
662
|
-
* Name of the chart listing
|
|
663
|
-
*/
|
|
664
|
-
name: string;
|
|
665
|
-
/**
|
|
666
|
-
* Author of the chart listing
|
|
667
|
-
*/
|
|
668
|
-
developer: string;
|
|
669
|
-
/**
|
|
670
|
-
* Short description of the chart listing
|
|
671
|
-
*/
|
|
672
|
-
description: string;
|
|
673
|
-
/**
|
|
674
|
-
* Logo of the chart listing
|
|
675
|
-
*/
|
|
676
|
-
logoUrl: string;
|
|
677
|
-
/**
|
|
678
|
-
* Long description of the chart listing
|
|
679
|
-
*/
|
|
680
|
-
longDescription: string;
|
|
681
|
-
/**
|
|
682
|
-
* Tags of the chart
|
|
683
|
-
*/
|
|
684
|
-
categories: Array<string>;
|
|
685
|
-
version_channels: Array<string>;
|
|
686
|
-
value_schemas: Array<{
|
|
687
|
-
/**
|
|
688
|
-
* Version of the chart.
|
|
689
|
-
*/
|
|
690
|
-
version: string;
|
|
691
|
-
/**
|
|
692
|
-
* Schema of the chart values. JSON Schema as string
|
|
693
|
-
*/
|
|
694
|
-
schema: string;
|
|
695
|
-
/**
|
|
696
|
-
* Schema of the chart values
|
|
697
|
-
*/
|
|
698
|
-
placeholder: string;
|
|
699
|
-
}>;
|
|
534
|
+
maintainers?: Array<{
|
|
535
|
+
/**
|
|
536
|
+
* Maintainer name
|
|
537
|
+
*/
|
|
538
|
+
name: string;
|
|
539
|
+
/**
|
|
540
|
+
* Maintainer email
|
|
541
|
+
*/
|
|
542
|
+
email?: string;
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
700
545
|
};
|
|
701
546
|
export type OrganizationCreateInput = {
|
|
702
547
|
/**
|
|
@@ -778,6 +623,10 @@ export type Organization = {
|
|
|
778
623
|
*/
|
|
779
624
|
label: string;
|
|
780
625
|
}>;
|
|
626
|
+
/**
|
|
627
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
628
|
+
*/
|
|
629
|
+
cfcr_storage_gb: number;
|
|
781
630
|
};
|
|
782
631
|
/**
|
|
783
632
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -814,6 +663,453 @@ export type PaymentMethod = {
|
|
|
814
663
|
*/
|
|
815
664
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
816
665
|
};
|
|
666
|
+
export type PlatformQuota = {
|
|
667
|
+
/**
|
|
668
|
+
* Maximum number of Basic clusters that can be created.
|
|
669
|
+
*/
|
|
670
|
+
basic_clusters_max: number;
|
|
671
|
+
/**
|
|
672
|
+
* Available number of Basic clusters that can be created.
|
|
673
|
+
*/
|
|
674
|
+
basic_clusters_available: number;
|
|
675
|
+
/**
|
|
676
|
+
* Maximum number of Pro clusters that can be created.
|
|
677
|
+
*/
|
|
678
|
+
pro_clusters_max: number;
|
|
679
|
+
/**
|
|
680
|
+
* Available number of Pro clusters that can be created.
|
|
681
|
+
*/
|
|
682
|
+
pro_clusters_available: number;
|
|
683
|
+
/**
|
|
684
|
+
* Maximum number of fleets that can be created per cluster.
|
|
685
|
+
*/
|
|
686
|
+
fleets_max: number;
|
|
687
|
+
/**
|
|
688
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
689
|
+
*/
|
|
690
|
+
cluster_tiers: Array<string>;
|
|
691
|
+
/**
|
|
692
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
693
|
+
*/
|
|
694
|
+
regions: Array<string>;
|
|
695
|
+
/**
|
|
696
|
+
* List of CFKE control plane versions available for the organization.
|
|
697
|
+
*/
|
|
698
|
+
versions: Array<{
|
|
699
|
+
/**
|
|
700
|
+
* Id of the control plane version. Used in API calls.
|
|
701
|
+
*/
|
|
702
|
+
id: string;
|
|
703
|
+
/**
|
|
704
|
+
* Label of the control plane version. Used in frontent UI.
|
|
705
|
+
*/
|
|
706
|
+
label: string;
|
|
707
|
+
}>;
|
|
708
|
+
/**
|
|
709
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
710
|
+
*/
|
|
711
|
+
cfcr_storage_gb: number;
|
|
712
|
+
};
|
|
713
|
+
export type RegistryRepository = {
|
|
714
|
+
/**
|
|
715
|
+
* Repository name.
|
|
716
|
+
*/
|
|
717
|
+
name: string;
|
|
718
|
+
/**
|
|
719
|
+
* Registry region.
|
|
720
|
+
*/
|
|
721
|
+
region: string;
|
|
722
|
+
/**
|
|
723
|
+
* Full URI of the repository.
|
|
724
|
+
*/
|
|
725
|
+
uri: string;
|
|
726
|
+
};
|
|
727
|
+
export type RegistryRepositoryWithTags = {
|
|
728
|
+
/**
|
|
729
|
+
* Repository name.
|
|
730
|
+
*/
|
|
731
|
+
name: string;
|
|
732
|
+
/**
|
|
733
|
+
* Registry region.
|
|
734
|
+
*/
|
|
735
|
+
region: string;
|
|
736
|
+
/**
|
|
737
|
+
* Full URI of the repository.
|
|
738
|
+
*/
|
|
739
|
+
uri: string;
|
|
740
|
+
/**
|
|
741
|
+
* Array of tags in the repository.
|
|
742
|
+
*/
|
|
743
|
+
tags: Array<{
|
|
744
|
+
/**
|
|
745
|
+
* Tag name.
|
|
746
|
+
*/
|
|
747
|
+
name: string;
|
|
748
|
+
/**
|
|
749
|
+
* Size of the tag in bytes.
|
|
750
|
+
*/
|
|
751
|
+
size: number;
|
|
752
|
+
/**
|
|
753
|
+
* Media type of the manifest.
|
|
754
|
+
*/
|
|
755
|
+
mediaType?: string;
|
|
756
|
+
/**
|
|
757
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
758
|
+
*/
|
|
759
|
+
platforms?: Array<string>;
|
|
760
|
+
}>;
|
|
761
|
+
/**
|
|
762
|
+
* Total size of all tags in the repository in bytes.
|
|
763
|
+
*/
|
|
764
|
+
totalSize: number;
|
|
765
|
+
};
|
|
766
|
+
export type RegistryTag = {
|
|
767
|
+
/**
|
|
768
|
+
* Tag name.
|
|
769
|
+
*/
|
|
770
|
+
name: string;
|
|
771
|
+
/**
|
|
772
|
+
* Manifest digest for pulling by digest.
|
|
773
|
+
*/
|
|
774
|
+
digest: string;
|
|
775
|
+
/**
|
|
776
|
+
* Media type of the manifest.
|
|
777
|
+
*/
|
|
778
|
+
mediaType?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Manifest config metadata.
|
|
781
|
+
*/
|
|
782
|
+
config?: {
|
|
783
|
+
/**
|
|
784
|
+
* Size of the config in bytes.
|
|
785
|
+
*/
|
|
786
|
+
size: number;
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* Array of layer metadata.
|
|
790
|
+
*/
|
|
791
|
+
layers?: Array<{
|
|
792
|
+
/**
|
|
793
|
+
* Digest of the layer.
|
|
794
|
+
*/
|
|
795
|
+
digest?: string;
|
|
796
|
+
/**
|
|
797
|
+
* Size of the layer in bytes.
|
|
798
|
+
*/
|
|
799
|
+
size: number;
|
|
800
|
+
}>;
|
|
801
|
+
/**
|
|
802
|
+
* Array of manifests for multi-arch images.
|
|
803
|
+
*/
|
|
804
|
+
manifests?: Array<{
|
|
805
|
+
/**
|
|
806
|
+
* Digest of the manifest.
|
|
807
|
+
*/
|
|
808
|
+
digest: string;
|
|
809
|
+
/**
|
|
810
|
+
* Platform information for the manifest.
|
|
811
|
+
*/
|
|
812
|
+
platform?: {
|
|
813
|
+
/**
|
|
814
|
+
* Architecture of the platform.
|
|
815
|
+
*/
|
|
816
|
+
architecture: string;
|
|
817
|
+
/**
|
|
818
|
+
* Operating system of the platform.
|
|
819
|
+
*/
|
|
820
|
+
os: string;
|
|
821
|
+
/**
|
|
822
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
823
|
+
*/
|
|
824
|
+
variant?: string;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* Layers for this platform.
|
|
828
|
+
*/
|
|
829
|
+
layers?: Array<{
|
|
830
|
+
/**
|
|
831
|
+
* Digest of the layer.
|
|
832
|
+
*/
|
|
833
|
+
digest?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Size of the layer in bytes.
|
|
836
|
+
*/
|
|
837
|
+
size: number;
|
|
838
|
+
}>;
|
|
839
|
+
/**
|
|
840
|
+
* Total size of this platform manifest in bytes.
|
|
841
|
+
*/
|
|
842
|
+
size?: number;
|
|
843
|
+
}>;
|
|
844
|
+
/**
|
|
845
|
+
* Total size of the tag in bytes.
|
|
846
|
+
*/
|
|
847
|
+
size: number;
|
|
848
|
+
/**
|
|
849
|
+
* Registry region.
|
|
850
|
+
*/
|
|
851
|
+
region: string;
|
|
852
|
+
/**
|
|
853
|
+
* Repository name.
|
|
854
|
+
*/
|
|
855
|
+
repository: string;
|
|
856
|
+
/**
|
|
857
|
+
* Full URI of the tag.
|
|
858
|
+
*/
|
|
859
|
+
uri: string;
|
|
860
|
+
};
|
|
861
|
+
export type TicketAttachment = {
|
|
862
|
+
/**
|
|
863
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
864
|
+
*/
|
|
865
|
+
id: string;
|
|
866
|
+
/**
|
|
867
|
+
* Original filename as uploaded.
|
|
868
|
+
*/
|
|
869
|
+
filename: string;
|
|
870
|
+
/**
|
|
871
|
+
* MIME content type of the attachment.
|
|
872
|
+
*/
|
|
873
|
+
content_type: string;
|
|
874
|
+
/**
|
|
875
|
+
* Size of the attachment in bytes.
|
|
876
|
+
*/
|
|
877
|
+
size: number;
|
|
878
|
+
};
|
|
879
|
+
export type TicketCreateInput = {
|
|
880
|
+
/**
|
|
881
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
882
|
+
*/
|
|
883
|
+
category: 'billing' | 'technical' | 'general';
|
|
884
|
+
/**
|
|
885
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
886
|
+
*/
|
|
887
|
+
body: string;
|
|
888
|
+
/**
|
|
889
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
890
|
+
*/
|
|
891
|
+
properties?: {
|
|
892
|
+
[key: string]: unknown;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
export type TicketListResponse = {
|
|
896
|
+
/**
|
|
897
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
898
|
+
*/
|
|
899
|
+
items: Array<{
|
|
900
|
+
/**
|
|
901
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
902
|
+
*/
|
|
903
|
+
id: string;
|
|
904
|
+
/**
|
|
905
|
+
* Current state of the ticket.
|
|
906
|
+
*/
|
|
907
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
908
|
+
/**
|
|
909
|
+
* Ticket category.
|
|
910
|
+
*/
|
|
911
|
+
category: 'billing' | 'technical' | 'general';
|
|
912
|
+
/**
|
|
913
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
914
|
+
*/
|
|
915
|
+
summary: string;
|
|
916
|
+
/**
|
|
917
|
+
* Closure timestamp. Null while the ticket is open.
|
|
918
|
+
*/
|
|
919
|
+
closed_at?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
922
|
+
*/
|
|
923
|
+
date_created: string;
|
|
924
|
+
/**
|
|
925
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
926
|
+
*/
|
|
927
|
+
date_updated: string;
|
|
928
|
+
/**
|
|
929
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
930
|
+
*/
|
|
931
|
+
messages?: Array<{
|
|
932
|
+
/**
|
|
933
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
934
|
+
*/
|
|
935
|
+
id: string;
|
|
936
|
+
/**
|
|
937
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
938
|
+
*/
|
|
939
|
+
type: 'customer_reply' | 'agent_reply';
|
|
940
|
+
/**
|
|
941
|
+
* Message body in markdown.
|
|
942
|
+
*/
|
|
943
|
+
body: string;
|
|
944
|
+
/**
|
|
945
|
+
* First name of the author. Null when not provided.
|
|
946
|
+
*/
|
|
947
|
+
author_first_name?: string;
|
|
948
|
+
/**
|
|
949
|
+
* Last name of the author. Null when not provided.
|
|
950
|
+
*/
|
|
951
|
+
author_last_name?: string;
|
|
952
|
+
/**
|
|
953
|
+
* Attachments associated with this message.
|
|
954
|
+
*/
|
|
955
|
+
attachments?: Array<{
|
|
956
|
+
/**
|
|
957
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
958
|
+
*/
|
|
959
|
+
id: string;
|
|
960
|
+
/**
|
|
961
|
+
* Original filename as uploaded.
|
|
962
|
+
*/
|
|
963
|
+
filename: string;
|
|
964
|
+
/**
|
|
965
|
+
* MIME content type of the attachment.
|
|
966
|
+
*/
|
|
967
|
+
content_type: string;
|
|
968
|
+
/**
|
|
969
|
+
* Size of the attachment in bytes.
|
|
970
|
+
*/
|
|
971
|
+
size: number;
|
|
972
|
+
}>;
|
|
973
|
+
/**
|
|
974
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
975
|
+
*/
|
|
976
|
+
date_created: string;
|
|
977
|
+
}>;
|
|
978
|
+
}>;
|
|
979
|
+
};
|
|
980
|
+
export type TicketMessageInput = {
|
|
981
|
+
/**
|
|
982
|
+
* Reply body in markdown.
|
|
983
|
+
*/
|
|
984
|
+
body: string;
|
|
985
|
+
};
|
|
986
|
+
export type TicketMessage = {
|
|
987
|
+
/**
|
|
988
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
989
|
+
*/
|
|
990
|
+
id: string;
|
|
991
|
+
/**
|
|
992
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
993
|
+
*/
|
|
994
|
+
type: 'customer_reply' | 'agent_reply';
|
|
995
|
+
/**
|
|
996
|
+
* Message body in markdown.
|
|
997
|
+
*/
|
|
998
|
+
body: string;
|
|
999
|
+
/**
|
|
1000
|
+
* First name of the author. Null when not provided.
|
|
1001
|
+
*/
|
|
1002
|
+
author_first_name?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Last name of the author. Null when not provided.
|
|
1005
|
+
*/
|
|
1006
|
+
author_last_name?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Attachments associated with this message.
|
|
1009
|
+
*/
|
|
1010
|
+
attachments?: Array<{
|
|
1011
|
+
/**
|
|
1012
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1013
|
+
*/
|
|
1014
|
+
id: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Original filename as uploaded.
|
|
1017
|
+
*/
|
|
1018
|
+
filename: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* MIME content type of the attachment.
|
|
1021
|
+
*/
|
|
1022
|
+
content_type: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Size of the attachment in bytes.
|
|
1025
|
+
*/
|
|
1026
|
+
size: number;
|
|
1027
|
+
}>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1030
|
+
*/
|
|
1031
|
+
date_created: string;
|
|
1032
|
+
};
|
|
1033
|
+
export type Ticket = {
|
|
1034
|
+
/**
|
|
1035
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1036
|
+
*/
|
|
1037
|
+
id: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Current state of the ticket.
|
|
1040
|
+
*/
|
|
1041
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1042
|
+
/**
|
|
1043
|
+
* Ticket category.
|
|
1044
|
+
*/
|
|
1045
|
+
category: 'billing' | 'technical' | 'general';
|
|
1046
|
+
/**
|
|
1047
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1048
|
+
*/
|
|
1049
|
+
summary: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1052
|
+
*/
|
|
1053
|
+
closed_at?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1056
|
+
*/
|
|
1057
|
+
date_created: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1060
|
+
*/
|
|
1061
|
+
date_updated: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1064
|
+
*/
|
|
1065
|
+
messages?: Array<{
|
|
1066
|
+
/**
|
|
1067
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1068
|
+
*/
|
|
1069
|
+
id: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1072
|
+
*/
|
|
1073
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1074
|
+
/**
|
|
1075
|
+
* Message body in markdown.
|
|
1076
|
+
*/
|
|
1077
|
+
body: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* First name of the author. Null when not provided.
|
|
1080
|
+
*/
|
|
1081
|
+
author_first_name?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Last name of the author. Null when not provided.
|
|
1084
|
+
*/
|
|
1085
|
+
author_last_name?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Attachments associated with this message.
|
|
1088
|
+
*/
|
|
1089
|
+
attachments?: Array<{
|
|
1090
|
+
/**
|
|
1091
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1092
|
+
*/
|
|
1093
|
+
id: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Original filename as uploaded.
|
|
1096
|
+
*/
|
|
1097
|
+
filename: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* MIME content type of the attachment.
|
|
1100
|
+
*/
|
|
1101
|
+
content_type: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Size of the attachment in bytes.
|
|
1104
|
+
*/
|
|
1105
|
+
size: number;
|
|
1106
|
+
}>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1109
|
+
*/
|
|
1110
|
+
date_created: string;
|
|
1111
|
+
}>;
|
|
1112
|
+
};
|
|
817
1113
|
export type TokenCreateInput = {
|
|
818
1114
|
/**
|
|
819
1115
|
* Human readable access token name.
|
|
@@ -856,35 +1152,85 @@ export type TokenUpdateInput = {
|
|
|
856
1152
|
*/
|
|
857
1153
|
role?: 'Administrator' | 'User';
|
|
858
1154
|
};
|
|
1155
|
+
export type UsageFacets = {
|
|
1156
|
+
/**
|
|
1157
|
+
* List of unique cluster IDs
|
|
1158
|
+
*/
|
|
1159
|
+
cluster_id?: Array<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* List of unique products
|
|
1162
|
+
*/
|
|
1163
|
+
product?: Array<string>;
|
|
1164
|
+
};
|
|
1165
|
+
export type UsageResponse = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Usage data
|
|
1168
|
+
*/
|
|
1169
|
+
data: Array<{
|
|
1170
|
+
/**
|
|
1171
|
+
* Hour of the usage
|
|
1172
|
+
*/
|
|
1173
|
+
hour: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1176
|
+
*/
|
|
1177
|
+
cluster_id: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* The product the usage is associated with
|
|
1180
|
+
*/
|
|
1181
|
+
product: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Consumption
|
|
1184
|
+
*/
|
|
1185
|
+
value: number;
|
|
1186
|
+
/**
|
|
1187
|
+
* Price per unit
|
|
1188
|
+
*/
|
|
1189
|
+
price: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* Total cost
|
|
1192
|
+
*/
|
|
1193
|
+
total: number;
|
|
1194
|
+
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Facets for filtering
|
|
1197
|
+
*/
|
|
1198
|
+
facets: {
|
|
1199
|
+
/**
|
|
1200
|
+
* List of unique cluster IDs
|
|
1201
|
+
*/
|
|
1202
|
+
cluster_id?: Array<string>;
|
|
1203
|
+
/**
|
|
1204
|
+
* List of unique products
|
|
1205
|
+
*/
|
|
1206
|
+
product?: Array<string>;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
859
1209
|
export type Usage = {
|
|
860
1210
|
/**
|
|
861
1211
|
* Hour of the usage
|
|
862
1212
|
*/
|
|
863
|
-
hour
|
|
1213
|
+
hour: string;
|
|
864
1214
|
/**
|
|
865
1215
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
866
1216
|
*/
|
|
867
1217
|
cluster_id: string;
|
|
868
1218
|
/**
|
|
869
|
-
*
|
|
1219
|
+
* The product the usage is associated with
|
|
870
1220
|
*/
|
|
871
|
-
|
|
1221
|
+
product: string;
|
|
872
1222
|
/**
|
|
873
|
-
*
|
|
1223
|
+
* Consumption
|
|
874
1224
|
*/
|
|
875
|
-
|
|
1225
|
+
value: number;
|
|
876
1226
|
/**
|
|
877
|
-
*
|
|
1227
|
+
* Price per unit
|
|
878
1228
|
*/
|
|
879
|
-
|
|
1229
|
+
price: number;
|
|
880
1230
|
/**
|
|
881
|
-
*
|
|
1231
|
+
* Total cost
|
|
882
1232
|
*/
|
|
883
|
-
|
|
884
|
-
cpu: number | '';
|
|
885
|
-
price: number | '';
|
|
886
|
-
value: number | '';
|
|
887
|
-
total: number | '';
|
|
1233
|
+
total: number;
|
|
888
1234
|
};
|
|
889
1235
|
export type UserCreateInput = {
|
|
890
1236
|
/**
|
|
@@ -971,7 +1317,12 @@ export type UserUpdateInput = {
|
|
|
971
1317
|
export type GetUsageData = {
|
|
972
1318
|
body?: never;
|
|
973
1319
|
path?: never;
|
|
974
|
-
query?:
|
|
1320
|
+
query?: {
|
|
1321
|
+
/**
|
|
1322
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1323
|
+
*/
|
|
1324
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1325
|
+
};
|
|
975
1326
|
url: '/billing/usage';
|
|
976
1327
|
};
|
|
977
1328
|
export type GetUsageErrors = {
|
|
@@ -982,24 +1333,11 @@ export type GetUsageErrors = {
|
|
|
982
1333
|
};
|
|
983
1334
|
export type GetUsageResponses = {
|
|
984
1335
|
/**
|
|
985
|
-
*
|
|
1336
|
+
* Usage data with facets for filtering
|
|
986
1337
|
*/
|
|
987
|
-
200:
|
|
1338
|
+
200: UsageResponse;
|
|
988
1339
|
};
|
|
989
1340
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
990
|
-
export type GetBalanceData = {
|
|
991
|
-
body?: never;
|
|
992
|
-
path?: never;
|
|
993
|
-
query?: never;
|
|
994
|
-
url: '/billing/balance';
|
|
995
|
-
};
|
|
996
|
-
export type GetBalanceResponses = {
|
|
997
|
-
/**
|
|
998
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
999
|
-
*/
|
|
1000
|
-
200: number;
|
|
1001
|
-
};
|
|
1002
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1003
1341
|
export type GetPaymentMethodData = {
|
|
1004
1342
|
body?: never;
|
|
1005
1343
|
path?: never;
|
|
@@ -1041,16 +1379,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1041
1379
|
export type ListInvoicesData = {
|
|
1042
1380
|
body?: never;
|
|
1043
1381
|
path?: never;
|
|
1044
|
-
query
|
|
1045
|
-
/**
|
|
1046
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1047
|
-
*/
|
|
1048
|
-
start_date: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
end_date: string;
|
|
1053
|
-
};
|
|
1382
|
+
query?: never;
|
|
1054
1383
|
url: '/billing/invoices';
|
|
1055
1384
|
};
|
|
1056
1385
|
export type ListInvoicesErrors = {
|
|
@@ -1066,26 +1395,6 @@ export type ListInvoicesResponses = {
|
|
|
1066
1395
|
200: Array<Invoice>;
|
|
1067
1396
|
};
|
|
1068
1397
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1069
|
-
export type GetInvoiceData = {
|
|
1070
|
-
body?: never;
|
|
1071
|
-
path: {
|
|
1072
|
-
/**
|
|
1073
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1074
|
-
*/
|
|
1075
|
-
id: string;
|
|
1076
|
-
};
|
|
1077
|
-
query?: never;
|
|
1078
|
-
url: '/billing/invoices/{id}';
|
|
1079
|
-
};
|
|
1080
|
-
export type GetInvoiceResponses = {
|
|
1081
|
-
/**
|
|
1082
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1083
|
-
*/
|
|
1084
|
-
200: {
|
|
1085
|
-
html?: string;
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1089
1398
|
export type GetContactData = {
|
|
1090
1399
|
body?: never;
|
|
1091
1400
|
path?: never;
|
|
@@ -1521,7 +1830,7 @@ export type GetJoinInformationResponses = {
|
|
|
1521
1830
|
/**
|
|
1522
1831
|
* An object of cluster join information
|
|
1523
1832
|
*/
|
|
1524
|
-
200:
|
|
1833
|
+
200: ClusterJoinInformation;
|
|
1525
1834
|
};
|
|
1526
1835
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1527
1836
|
export type ListInvitesData = {
|
|
@@ -1615,24 +1924,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1615
1924
|
200: Array<MarketplaceListing>;
|
|
1616
1925
|
};
|
|
1617
1926
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
-
export type
|
|
1927
|
+
export type GetMarketplaceChartFilesData = {
|
|
1619
1928
|
body?: never;
|
|
1620
1929
|
path: {
|
|
1621
1930
|
/**
|
|
1622
|
-
*
|
|
1931
|
+
* Name of the chart in the marketplace.
|
|
1932
|
+
*/
|
|
1933
|
+
chart_name: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
1936
|
+
*/
|
|
1937
|
+
version_channel: string;
|
|
1938
|
+
};
|
|
1939
|
+
query?: never;
|
|
1940
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1941
|
+
};
|
|
1942
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Chart not found or no version matches the channel
|
|
1945
|
+
*/
|
|
1946
|
+
404: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1949
|
+
/**
|
|
1950
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1951
|
+
*/
|
|
1952
|
+
200: MarketplaceListingFiles;
|
|
1953
|
+
};
|
|
1954
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1955
|
+
export type PostMcpData = {
|
|
1956
|
+
/**
|
|
1957
|
+
* JSON-RPC 2.0 request payload
|
|
1958
|
+
*/
|
|
1959
|
+
body: {
|
|
1960
|
+
jsonrpc?: string;
|
|
1961
|
+
method?: string;
|
|
1962
|
+
id?: string | number;
|
|
1963
|
+
/**
|
|
1964
|
+
* Method-specific parameters
|
|
1623
1965
|
*/
|
|
1624
|
-
|
|
1966
|
+
params?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1625
1969
|
};
|
|
1970
|
+
path?: never;
|
|
1626
1971
|
query?: never;
|
|
1627
|
-
url: '/
|
|
1972
|
+
url: '/mcp';
|
|
1973
|
+
};
|
|
1974
|
+
export type PostMcpErrors = {
|
|
1975
|
+
/**
|
|
1976
|
+
* Not authenticated
|
|
1977
|
+
*/
|
|
1978
|
+
401: unknown;
|
|
1628
1979
|
};
|
|
1629
|
-
export type
|
|
1980
|
+
export type PostMcpResponses = {
|
|
1630
1981
|
/**
|
|
1631
|
-
*
|
|
1982
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
1983
|
*/
|
|
1633
|
-
200:
|
|
1984
|
+
200: {
|
|
1985
|
+
jsonrpc?: string;
|
|
1986
|
+
id?: string | number;
|
|
1987
|
+
result?: {
|
|
1988
|
+
[key: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
error?: {
|
|
1991
|
+
code?: number;
|
|
1992
|
+
message?: string;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1634
1995
|
};
|
|
1635
|
-
export type
|
|
1996
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1636
1997
|
export type GetOrganizationData = {
|
|
1637
1998
|
body?: never;
|
|
1638
1999
|
path?: never;
|
|
@@ -1658,6 +2019,249 @@ export type CreateOrganizationResponses = {
|
|
|
1658
2019
|
*/
|
|
1659
2020
|
200: unknown;
|
|
1660
2021
|
};
|
|
2022
|
+
export type ListRepositoriesData = {
|
|
2023
|
+
body?: never;
|
|
2024
|
+
path?: never;
|
|
2025
|
+
query?: never;
|
|
2026
|
+
url: '/registry';
|
|
2027
|
+
};
|
|
2028
|
+
export type ListRepositoriesErrors = {
|
|
2029
|
+
/**
|
|
2030
|
+
* Not authenticated
|
|
2031
|
+
*/
|
|
2032
|
+
401: unknown;
|
|
2033
|
+
/**
|
|
2034
|
+
* Internal server error
|
|
2035
|
+
*/
|
|
2036
|
+
500: unknown;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListRepositoriesResponses = {
|
|
2039
|
+
/**
|
|
2040
|
+
* List of repositories
|
|
2041
|
+
*/
|
|
2042
|
+
200: Array<RegistryRepository>;
|
|
2043
|
+
};
|
|
2044
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2045
|
+
export type ListTagsData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Region where the repository is located
|
|
2050
|
+
*/
|
|
2051
|
+
region: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Name of the repository
|
|
2054
|
+
*/
|
|
2055
|
+
repository: string;
|
|
2056
|
+
};
|
|
2057
|
+
query?: never;
|
|
2058
|
+
url: '/registry/{region}/{repository}';
|
|
2059
|
+
};
|
|
2060
|
+
export type ListTagsErrors = {
|
|
2061
|
+
/**
|
|
2062
|
+
* Not authenticated
|
|
2063
|
+
*/
|
|
2064
|
+
401: unknown;
|
|
2065
|
+
/**
|
|
2066
|
+
* Repository not found
|
|
2067
|
+
*/
|
|
2068
|
+
404: unknown;
|
|
2069
|
+
/**
|
|
2070
|
+
* Internal server error
|
|
2071
|
+
*/
|
|
2072
|
+
500: unknown;
|
|
2073
|
+
};
|
|
2074
|
+
export type ListTagsResponses = {
|
|
2075
|
+
/**
|
|
2076
|
+
* Repository with tags
|
|
2077
|
+
*/
|
|
2078
|
+
200: RegistryRepositoryWithTags;
|
|
2079
|
+
};
|
|
2080
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2081
|
+
export type DeleteTagData = {
|
|
2082
|
+
body?: never;
|
|
2083
|
+
path: {
|
|
2084
|
+
/**
|
|
2085
|
+
* Region where the repository is located
|
|
2086
|
+
*/
|
|
2087
|
+
region: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Name of the repository
|
|
2090
|
+
*/
|
|
2091
|
+
repository: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Name of the tag
|
|
2094
|
+
*/
|
|
2095
|
+
tag: string;
|
|
2096
|
+
};
|
|
2097
|
+
query?: never;
|
|
2098
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2099
|
+
};
|
|
2100
|
+
export type DeleteTagErrors = {
|
|
2101
|
+
/**
|
|
2102
|
+
* Not authenticated
|
|
2103
|
+
*/
|
|
2104
|
+
401: unknown;
|
|
2105
|
+
/**
|
|
2106
|
+
* Tag not found
|
|
2107
|
+
*/
|
|
2108
|
+
404: unknown;
|
|
2109
|
+
/**
|
|
2110
|
+
* Internal server error
|
|
2111
|
+
*/
|
|
2112
|
+
500: unknown;
|
|
2113
|
+
};
|
|
2114
|
+
export type DeleteTagResponses = {
|
|
2115
|
+
/**
|
|
2116
|
+
* Tag successfully deleted
|
|
2117
|
+
*/
|
|
2118
|
+
200: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
export type GetTagData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
path: {
|
|
2123
|
+
/**
|
|
2124
|
+
* Region where the repository is located
|
|
2125
|
+
*/
|
|
2126
|
+
region: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* Name of the repository
|
|
2129
|
+
*/
|
|
2130
|
+
repository: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* Name of the tag
|
|
2133
|
+
*/
|
|
2134
|
+
tag: string;
|
|
2135
|
+
};
|
|
2136
|
+
query?: never;
|
|
2137
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2138
|
+
};
|
|
2139
|
+
export type GetTagErrors = {
|
|
2140
|
+
/**
|
|
2141
|
+
* Not authenticated
|
|
2142
|
+
*/
|
|
2143
|
+
401: unknown;
|
|
2144
|
+
/**
|
|
2145
|
+
* Tag not found
|
|
2146
|
+
*/
|
|
2147
|
+
404: unknown;
|
|
2148
|
+
/**
|
|
2149
|
+
* Internal server error
|
|
2150
|
+
*/
|
|
2151
|
+
500: unknown;
|
|
2152
|
+
};
|
|
2153
|
+
export type GetTagResponses = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Tag details
|
|
2156
|
+
*/
|
|
2157
|
+
200: RegistryTag;
|
|
2158
|
+
};
|
|
2159
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2160
|
+
export type ListTicketsData = {
|
|
2161
|
+
body?: never;
|
|
2162
|
+
path?: never;
|
|
2163
|
+
query?: never;
|
|
2164
|
+
url: '/tickets';
|
|
2165
|
+
};
|
|
2166
|
+
export type ListTicketsResponses = {
|
|
2167
|
+
/**
|
|
2168
|
+
* Tickets for the organization.
|
|
2169
|
+
*/
|
|
2170
|
+
200: TicketListResponse;
|
|
2171
|
+
};
|
|
2172
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2173
|
+
export type CreateTicketData = {
|
|
2174
|
+
body: {
|
|
2175
|
+
/**
|
|
2176
|
+
* JSON-encoded TicketCreateInput.
|
|
2177
|
+
*/
|
|
2178
|
+
payload?: string;
|
|
2179
|
+
attachments?: Array<Blob | File>;
|
|
2180
|
+
};
|
|
2181
|
+
path?: never;
|
|
2182
|
+
query?: never;
|
|
2183
|
+
url: '/tickets';
|
|
2184
|
+
};
|
|
2185
|
+
export type CreateTicketResponses = {
|
|
2186
|
+
/**
|
|
2187
|
+
* Ticket created.
|
|
2188
|
+
*/
|
|
2189
|
+
200: Ticket;
|
|
2190
|
+
};
|
|
2191
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2192
|
+
export type CloseTicketData = {
|
|
2193
|
+
body?: never;
|
|
2194
|
+
path: {
|
|
2195
|
+
ticket_id: string;
|
|
2196
|
+
};
|
|
2197
|
+
query?: never;
|
|
2198
|
+
url: '/tickets/{ticket_id}';
|
|
2199
|
+
};
|
|
2200
|
+
export type CloseTicketResponses = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Ticket closed.
|
|
2203
|
+
*/
|
|
2204
|
+
200: Ticket;
|
|
2205
|
+
};
|
|
2206
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2207
|
+
export type GetTicketData = {
|
|
2208
|
+
body?: never;
|
|
2209
|
+
path: {
|
|
2210
|
+
ticket_id: string;
|
|
2211
|
+
};
|
|
2212
|
+
query?: never;
|
|
2213
|
+
url: '/tickets/{ticket_id}';
|
|
2214
|
+
};
|
|
2215
|
+
export type GetTicketResponses = {
|
|
2216
|
+
/**
|
|
2217
|
+
* Ticket with messages (internal notes excluded).
|
|
2218
|
+
*/
|
|
2219
|
+
200: Ticket;
|
|
2220
|
+
};
|
|
2221
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2222
|
+
export type ReplyTicketData = {
|
|
2223
|
+
body: {
|
|
2224
|
+
/**
|
|
2225
|
+
* JSON-encoded TicketMessageInput.
|
|
2226
|
+
*/
|
|
2227
|
+
payload?: string;
|
|
2228
|
+
attachments?: Array<Blob | File>;
|
|
2229
|
+
};
|
|
2230
|
+
path: {
|
|
2231
|
+
ticket_id: string;
|
|
2232
|
+
};
|
|
2233
|
+
query?: never;
|
|
2234
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2235
|
+
};
|
|
2236
|
+
export type ReplyTicketErrors = {
|
|
2237
|
+
/**
|
|
2238
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2239
|
+
*/
|
|
2240
|
+
409: unknown;
|
|
2241
|
+
};
|
|
2242
|
+
export type ReplyTicketResponses = {
|
|
2243
|
+
/**
|
|
2244
|
+
* Reply appended.
|
|
2245
|
+
*/
|
|
2246
|
+
200: TicketMessage;
|
|
2247
|
+
};
|
|
2248
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2249
|
+
export type GetTicketAttachmentData = {
|
|
2250
|
+
body?: never;
|
|
2251
|
+
path: {
|
|
2252
|
+
ticket_id: string;
|
|
2253
|
+
attachment_id: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2257
|
+
};
|
|
2258
|
+
export type GetTicketAttachmentResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Attachment binary stream.
|
|
2261
|
+
*/
|
|
2262
|
+
200: Blob | File;
|
|
2263
|
+
};
|
|
2264
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1661
2265
|
export type ListTokensData = {
|
|
1662
2266
|
body?: never;
|
|
1663
2267
|
path?: never;
|
|
@@ -1914,7 +2518,4 @@ export type UpdateUserResponses = {
|
|
|
1914
2518
|
200: User;
|
|
1915
2519
|
};
|
|
1916
2520
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1917
|
-
export type ClientOptions = {
|
|
1918
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1919
|
-
};
|
|
1920
2521
|
//# sourceMappingURL=types.gen.d.ts.map
|