@cloudfleet/sdk 0.0.1-90edb44 → 0.0.1-91321da
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.map +1 -1
- package/dist/client/client.gen.js +167 -96
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +2 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +16 -18
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +13 -21
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +58 -115
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +3 -3
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +4 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- 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 +13 -13
- package/dist/core/types.gen.d.ts.map +1 -1
- 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 +1021 -485
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1629 -574
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +130 -20
- 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 +924 -327
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1045 -1936
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +502 -1075
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
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", "northamerica-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' | 'northamerica-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
|
*/
|
|
@@ -248,13 +247,9 @@ export type Cluster = {
|
|
|
248
247
|
*/
|
|
249
248
|
tier: 'basic' | 'pro';
|
|
250
249
|
/**
|
|
251
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
252
|
-
*/
|
|
253
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
254
|
-
/**
|
|
255
|
-
* Version of the kubernetes cluster.
|
|
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.
|
|
256
251
|
*/
|
|
257
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
258
253
|
/**
|
|
259
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
260
255
|
*/
|
|
@@ -262,8 +257,9 @@ export type Cluster = {
|
|
|
262
257
|
/**
|
|
263
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
264
259
|
*/
|
|
265
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
266
261
|
endpoint?: string | '';
|
|
262
|
+
endpoint_public?: string | '';
|
|
267
263
|
/**
|
|
268
264
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
269
265
|
*/
|
|
@@ -284,6 +280,10 @@ export type Cluster = {
|
|
|
284
280
|
* Indicates if the cluster is ready to be used.
|
|
285
281
|
*/
|
|
286
282
|
ready?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Version of the kubernetes cluster.
|
|
285
|
+
*/
|
|
286
|
+
version_channel?: string;
|
|
287
287
|
};
|
|
288
288
|
export type ClusterUpdateInput = {
|
|
289
289
|
/**
|
|
@@ -427,280 +427,121 @@ export type Invite = {
|
|
|
427
427
|
};
|
|
428
428
|
export type Invoice = {
|
|
429
429
|
/**
|
|
430
|
-
* Unique identifier of the invoice.
|
|
430
|
+
* Unique identifier of the invoice.
|
|
431
431
|
*/
|
|
432
432
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
433
|
+
number?: string;
|
|
437
434
|
/**
|
|
438
435
|
* Status of the invoice
|
|
439
436
|
*/
|
|
440
|
-
status?:
|
|
437
|
+
status?: string;
|
|
441
438
|
/**
|
|
442
439
|
* Total amount of the invoice
|
|
443
440
|
*/
|
|
444
|
-
|
|
441
|
+
total?: number;
|
|
445
442
|
/**
|
|
446
443
|
* Currency of the invoice
|
|
447
444
|
*/
|
|
448
|
-
currency?:
|
|
445
|
+
currency?: string;
|
|
449
446
|
/**
|
|
450
|
-
*
|
|
447
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
451
448
|
*/
|
|
452
|
-
|
|
449
|
+
created: string;
|
|
453
450
|
/**
|
|
454
|
-
*
|
|
451
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
452
|
*/
|
|
456
|
-
|
|
453
|
+
period_start: string;
|
|
457
454
|
/**
|
|
458
|
-
*
|
|
455
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
459
456
|
*/
|
|
460
|
-
|
|
457
|
+
period_end: string;
|
|
458
|
+
invoice_pdf?: string;
|
|
459
|
+
};
|
|
460
|
+
export type MarketplaceListingFiles = {
|
|
461
461
|
/**
|
|
462
|
-
*
|
|
462
|
+
* Raw Chart.yaml content from the Helm chart
|
|
463
463
|
*/
|
|
464
|
-
|
|
464
|
+
chartYaml?: string;
|
|
465
465
|
/**
|
|
466
|
-
*
|
|
466
|
+
* Raw values.yaml content from the Helm chart
|
|
467
467
|
*/
|
|
468
|
-
|
|
468
|
+
valuesYaml?: string;
|
|
469
469
|
/**
|
|
470
|
-
*
|
|
470
|
+
* JSON schema for values.yaml as a string
|
|
471
471
|
*/
|
|
472
|
-
|
|
472
|
+
valuesSchemaJson?: string;
|
|
473
|
+
};
|
|
474
|
+
export type MarketplaceListing = {
|
|
473
475
|
/**
|
|
474
|
-
*
|
|
476
|
+
* Name of the chart
|
|
475
477
|
*/
|
|
476
|
-
|
|
478
|
+
name: string;
|
|
477
479
|
/**
|
|
478
|
-
*
|
|
480
|
+
* Available versions of the chart
|
|
479
481
|
*/
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
483
|
-
*/
|
|
484
|
-
id?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
487
|
-
*/
|
|
488
|
-
linkedInvoiceItemId?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Name of the product
|
|
491
|
-
*/
|
|
492
|
-
productName?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Name of the plan
|
|
495
|
-
*/
|
|
496
|
-
planName?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Name of the phase
|
|
499
|
-
*/
|
|
500
|
-
phaseName?: string;
|
|
501
|
-
/**
|
|
502
|
-
* Name of the usage
|
|
503
|
-
*/
|
|
504
|
-
usageName?: string;
|
|
505
|
-
/**
|
|
506
|
-
* Pretty name of the product
|
|
507
|
-
*/
|
|
508
|
-
prettyProductName?: string;
|
|
509
|
-
/**
|
|
510
|
-
* Pretty name of the plan
|
|
511
|
-
*/
|
|
512
|
-
prettyPlanName?: string;
|
|
513
|
-
/**
|
|
514
|
-
* Pretty name of the phase
|
|
515
|
-
*/
|
|
516
|
-
prettyPhaseName?: string;
|
|
517
|
-
/**
|
|
518
|
-
* Pretty name of the usage
|
|
519
|
-
*/
|
|
520
|
-
prettyUsageName?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Type of the invoice item
|
|
523
|
-
*/
|
|
524
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
525
|
-
/**
|
|
526
|
-
* Description of the invoice item
|
|
527
|
-
*/
|
|
528
|
-
description?: string;
|
|
529
|
-
/**
|
|
530
|
-
* Start date of the invoice item
|
|
531
|
-
*/
|
|
532
|
-
startDate?: string;
|
|
533
|
-
/**
|
|
534
|
-
* End date of the invoice item
|
|
535
|
-
*/
|
|
536
|
-
endDate?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Amount of the invoice item
|
|
539
|
-
*/
|
|
540
|
-
amount?: number;
|
|
541
|
-
/**
|
|
542
|
-
* Rate of the invoice item
|
|
543
|
-
*/
|
|
544
|
-
rate?: number;
|
|
545
|
-
/**
|
|
546
|
-
* Currency of the invoice item
|
|
547
|
-
*/
|
|
548
|
-
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';
|
|
549
|
-
/**
|
|
550
|
-
* Quantity of the invoice item
|
|
551
|
-
*/
|
|
552
|
-
quantity?: number;
|
|
553
|
-
/**
|
|
554
|
-
* Details of the invoice item
|
|
555
|
-
*/
|
|
556
|
-
itemDetails?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Effective date of the catalog
|
|
559
|
-
*/
|
|
560
|
-
catalogEffectiveDate?: string;
|
|
561
|
-
/**
|
|
562
|
-
* Child items of the invoice item
|
|
563
|
-
*/
|
|
564
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
565
|
-
[key: string]: unknown;
|
|
566
|
-
} | string>;
|
|
567
|
-
}>;
|
|
482
|
+
versions: Array<string>;
|
|
568
483
|
/**
|
|
569
|
-
*
|
|
484
|
+
* Version channels for the chart
|
|
570
485
|
*/
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* Name of the product
|
|
582
|
-
*/
|
|
583
|
-
productName?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Name of the plan
|
|
586
|
-
*/
|
|
587
|
-
planName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Name of the phase
|
|
590
|
-
*/
|
|
591
|
-
phaseName?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Name of the usage
|
|
594
|
-
*/
|
|
595
|
-
usageName?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Pretty name of the product
|
|
598
|
-
*/
|
|
599
|
-
prettyProductName?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Pretty name of the plan
|
|
602
|
-
*/
|
|
603
|
-
prettyPlanName?: string;
|
|
604
|
-
/**
|
|
605
|
-
* Pretty name of the phase
|
|
606
|
-
*/
|
|
607
|
-
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?: {
|
|
608
495
|
/**
|
|
609
|
-
*
|
|
496
|
+
* Chart name from metadata
|
|
610
497
|
*/
|
|
611
|
-
|
|
498
|
+
name: string;
|
|
612
499
|
/**
|
|
613
|
-
*
|
|
500
|
+
* Chart version from metadata
|
|
614
501
|
*/
|
|
615
|
-
|
|
502
|
+
version: string;
|
|
616
503
|
/**
|
|
617
|
-
*
|
|
504
|
+
* Chart description
|
|
618
505
|
*/
|
|
619
506
|
description?: string;
|
|
620
507
|
/**
|
|
621
|
-
*
|
|
622
|
-
*/
|
|
623
|
-
startDate?: string;
|
|
624
|
-
/**
|
|
625
|
-
* End date of the invoice item
|
|
508
|
+
* Application version
|
|
626
509
|
*/
|
|
627
|
-
|
|
510
|
+
appVersion?: string;
|
|
628
511
|
/**
|
|
629
|
-
*
|
|
512
|
+
* Helm API version
|
|
630
513
|
*/
|
|
631
|
-
|
|
514
|
+
apiVersion?: string;
|
|
632
515
|
/**
|
|
633
|
-
*
|
|
516
|
+
* Chart keywords
|
|
634
517
|
*/
|
|
635
|
-
|
|
518
|
+
keywords?: Array<string>;
|
|
636
519
|
/**
|
|
637
|
-
*
|
|
520
|
+
* Chart home URL
|
|
638
521
|
*/
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Quantity of the invoice item
|
|
642
|
-
*/
|
|
643
|
-
quantity?: number;
|
|
644
|
-
/**
|
|
645
|
-
* Details of the invoice item
|
|
646
|
-
*/
|
|
647
|
-
itemDetails?: string;
|
|
648
|
-
/**
|
|
649
|
-
* Effective date of the catalog
|
|
650
|
-
*/
|
|
651
|
-
catalogEffectiveDate?: string;
|
|
652
|
-
/**
|
|
653
|
-
* Child items of the invoice item
|
|
654
|
-
*/
|
|
655
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
656
|
-
[key: string]: unknown;
|
|
657
|
-
} | string>;
|
|
658
|
-
}>;
|
|
659
|
-
};
|
|
660
|
-
export type MarketplaceListing = {
|
|
661
|
-
/**
|
|
662
|
-
* Id of the chart listing
|
|
663
|
-
*/
|
|
664
|
-
id: string;
|
|
665
|
-
/**
|
|
666
|
-
* Name of the chart listing
|
|
667
|
-
*/
|
|
668
|
-
name: string;
|
|
669
|
-
/**
|
|
670
|
-
* Author of the chart listing
|
|
671
|
-
*/
|
|
672
|
-
developer: string;
|
|
673
|
-
/**
|
|
674
|
-
* Short description of the chart listing
|
|
675
|
-
*/
|
|
676
|
-
description: string;
|
|
677
|
-
/**
|
|
678
|
-
* Logo of the chart listing
|
|
679
|
-
*/
|
|
680
|
-
logoUrl: string;
|
|
681
|
-
/**
|
|
682
|
-
* Long description of the chart listing
|
|
683
|
-
*/
|
|
684
|
-
longDescription: string;
|
|
685
|
-
/**
|
|
686
|
-
* Tags of the chart
|
|
687
|
-
*/
|
|
688
|
-
categories: Array<string>;
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
522
|
+
home?: string;
|
|
691
523
|
/**
|
|
692
|
-
*
|
|
524
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
693
525
|
*/
|
|
694
|
-
|
|
526
|
+
icon?: string;
|
|
695
527
|
/**
|
|
696
|
-
*
|
|
528
|
+
* Chart source URLs
|
|
697
529
|
*/
|
|
698
|
-
|
|
530
|
+
sources?: Array<string>;
|
|
699
531
|
/**
|
|
700
|
-
*
|
|
532
|
+
* Chart maintainers
|
|
701
533
|
*/
|
|
702
|
-
|
|
703
|
-
|
|
534
|
+
maintainers?: Array<{
|
|
535
|
+
/**
|
|
536
|
+
* Maintainer name
|
|
537
|
+
*/
|
|
538
|
+
name: string;
|
|
539
|
+
/**
|
|
540
|
+
* Maintainer email
|
|
541
|
+
*/
|
|
542
|
+
email?: string;
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
704
545
|
};
|
|
705
546
|
export type OrganizationCreateInput = {
|
|
706
547
|
/**
|
|
@@ -782,6 +623,10 @@ export type Organization = {
|
|
|
782
623
|
*/
|
|
783
624
|
label: string;
|
|
784
625
|
}>;
|
|
626
|
+
/**
|
|
627
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
628
|
+
*/
|
|
629
|
+
cfcr_storage_gb: number;
|
|
785
630
|
};
|
|
786
631
|
/**
|
|
787
632
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -818,6 +663,453 @@ export type PaymentMethod = {
|
|
|
818
663
|
*/
|
|
819
664
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
820
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
|
+
};
|
|
821
1113
|
export type TokenCreateInput = {
|
|
822
1114
|
/**
|
|
823
1115
|
* Human readable access token name.
|
|
@@ -860,35 +1152,85 @@ export type TokenUpdateInput = {
|
|
|
860
1152
|
*/
|
|
861
1153
|
role?: 'Administrator' | 'User';
|
|
862
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
|
+
};
|
|
863
1209
|
export type Usage = {
|
|
864
1210
|
/**
|
|
865
1211
|
* Hour of the usage
|
|
866
1212
|
*/
|
|
867
|
-
hour
|
|
1213
|
+
hour: string;
|
|
868
1214
|
/**
|
|
869
1215
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
870
1216
|
*/
|
|
871
1217
|
cluster_id: string;
|
|
872
1218
|
/**
|
|
873
|
-
*
|
|
1219
|
+
* The product the usage is associated with
|
|
874
1220
|
*/
|
|
875
|
-
|
|
1221
|
+
product: string;
|
|
876
1222
|
/**
|
|
877
|
-
*
|
|
1223
|
+
* Consumption
|
|
878
1224
|
*/
|
|
879
|
-
|
|
1225
|
+
value: number;
|
|
880
1226
|
/**
|
|
881
|
-
*
|
|
1227
|
+
* Price per unit
|
|
882
1228
|
*/
|
|
883
|
-
|
|
1229
|
+
price: number;
|
|
884
1230
|
/**
|
|
885
|
-
*
|
|
1231
|
+
* Total cost
|
|
886
1232
|
*/
|
|
887
|
-
|
|
888
|
-
cpu: number | '';
|
|
889
|
-
price: number | '';
|
|
890
|
-
value: number | '';
|
|
891
|
-
total: number | '';
|
|
1233
|
+
total: number;
|
|
892
1234
|
};
|
|
893
1235
|
export type UserCreateInput = {
|
|
894
1236
|
/**
|
|
@@ -975,7 +1317,12 @@ export type UserUpdateInput = {
|
|
|
975
1317
|
export type GetUsageData = {
|
|
976
1318
|
body?: never;
|
|
977
1319
|
path?: never;
|
|
978
|
-
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
|
+
};
|
|
979
1326
|
url: '/billing/usage';
|
|
980
1327
|
};
|
|
981
1328
|
export type GetUsageErrors = {
|
|
@@ -986,24 +1333,11 @@ export type GetUsageErrors = {
|
|
|
986
1333
|
};
|
|
987
1334
|
export type GetUsageResponses = {
|
|
988
1335
|
/**
|
|
989
|
-
*
|
|
1336
|
+
* Usage data with facets for filtering
|
|
990
1337
|
*/
|
|
991
|
-
200:
|
|
1338
|
+
200: UsageResponse;
|
|
992
1339
|
};
|
|
993
1340
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
994
|
-
export type GetBalanceData = {
|
|
995
|
-
body?: never;
|
|
996
|
-
path?: never;
|
|
997
|
-
query?: never;
|
|
998
|
-
url: '/billing/balance';
|
|
999
|
-
};
|
|
1000
|
-
export type GetBalanceResponses = {
|
|
1001
|
-
/**
|
|
1002
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1003
|
-
*/
|
|
1004
|
-
200: number;
|
|
1005
|
-
};
|
|
1006
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1007
1341
|
export type GetPaymentMethodData = {
|
|
1008
1342
|
body?: never;
|
|
1009
1343
|
path?: never;
|
|
@@ -1045,16 +1379,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1045
1379
|
export type ListInvoicesData = {
|
|
1046
1380
|
body?: never;
|
|
1047
1381
|
path?: never;
|
|
1048
|
-
query
|
|
1049
|
-
/**
|
|
1050
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
start_date: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1055
|
-
*/
|
|
1056
|
-
end_date: string;
|
|
1057
|
-
};
|
|
1382
|
+
query?: never;
|
|
1058
1383
|
url: '/billing/invoices';
|
|
1059
1384
|
};
|
|
1060
1385
|
export type ListInvoicesErrors = {
|
|
@@ -1070,26 +1395,6 @@ export type ListInvoicesResponses = {
|
|
|
1070
1395
|
200: Array<Invoice>;
|
|
1071
1396
|
};
|
|
1072
1397
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1073
|
-
export type GetInvoiceData = {
|
|
1074
|
-
body?: never;
|
|
1075
|
-
path: {
|
|
1076
|
-
/**
|
|
1077
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1078
|
-
*/
|
|
1079
|
-
id: string;
|
|
1080
|
-
};
|
|
1081
|
-
query?: never;
|
|
1082
|
-
url: '/billing/invoices/{id}';
|
|
1083
|
-
};
|
|
1084
|
-
export type GetInvoiceResponses = {
|
|
1085
|
-
/**
|
|
1086
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1087
|
-
*/
|
|
1088
|
-
200: {
|
|
1089
|
-
html?: string;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1093
1398
|
export type GetContactData = {
|
|
1094
1399
|
body?: never;
|
|
1095
1400
|
path?: never;
|
|
@@ -1619,24 +1924,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1619
1924
|
200: Array<MarketplaceListing>;
|
|
1620
1925
|
};
|
|
1621
1926
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1622
|
-
export type
|
|
1927
|
+
export type GetMarketplaceChartFilesData = {
|
|
1623
1928
|
body?: never;
|
|
1624
1929
|
path: {
|
|
1625
1930
|
/**
|
|
1626
|
-
*
|
|
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
|
|
1627
1965
|
*/
|
|
1628
|
-
|
|
1966
|
+
params?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1629
1969
|
};
|
|
1970
|
+
path?: never;
|
|
1630
1971
|
query?: never;
|
|
1631
|
-
url: '/
|
|
1972
|
+
url: '/mcp';
|
|
1973
|
+
};
|
|
1974
|
+
export type PostMcpErrors = {
|
|
1975
|
+
/**
|
|
1976
|
+
* Not authenticated
|
|
1977
|
+
*/
|
|
1978
|
+
401: unknown;
|
|
1632
1979
|
};
|
|
1633
|
-
export type
|
|
1980
|
+
export type PostMcpResponses = {
|
|
1634
1981
|
/**
|
|
1635
|
-
*
|
|
1982
|
+
* JSON-RPC 2.0 success or error response
|
|
1636
1983
|
*/
|
|
1637
|
-
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
|
+
};
|
|
1638
1995
|
};
|
|
1639
|
-
export type
|
|
1996
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1640
1997
|
export type GetOrganizationData = {
|
|
1641
1998
|
body?: never;
|
|
1642
1999
|
path?: never;
|
|
@@ -1662,6 +2019,249 @@ export type CreateOrganizationResponses = {
|
|
|
1662
2019
|
*/
|
|
1663
2020
|
200: unknown;
|
|
1664
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];
|
|
1665
2265
|
export type ListTokensData = {
|
|
1666
2266
|
body?: never;
|
|
1667
2267
|
path?: never;
|
|
@@ -1918,7 +2518,4 @@ export type UpdateUserResponses = {
|
|
|
1918
2518
|
200: User;
|
|
1919
2519
|
};
|
|
1920
2520
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1921
|
-
export type ClientOptions = {
|
|
1922
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1923
|
-
};
|
|
1924
2521
|
//# sourceMappingURL=types.gen.d.ts.map
|