@cloudfleet/sdk 0.0.1-f1d40ff → 0.0.1-f231d8a
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/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1159 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1175 -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 +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- 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.d.ts → utils.gen.d.ts} +17 -25
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +66 -122
- package/dist/client/utils.gen.js.map +1 -0
- 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.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- 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.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +21 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +24 -11
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- 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.d.ts → types.gen.d.ts} +21 -16
- 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 +1473 -570
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2897 -711
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +296 -164
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +415 -336
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1742 -811
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3812 -3753
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1406 -1153
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -8
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -144
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
2
9
|
/**
|
|
3
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
11
|
*/
|
|
@@ -36,13 +43,9 @@ export type BillingContact = {
|
|
|
36
43
|
*/
|
|
37
44
|
email: string;
|
|
38
45
|
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
46
|
+
* Name of the billing contact person.
|
|
44
47
|
*/
|
|
45
|
-
|
|
48
|
+
individual_name: string;
|
|
46
49
|
/**
|
|
47
50
|
* Tax ID of the organization.
|
|
48
51
|
*/
|
|
@@ -58,35 +61,31 @@ export type BillingCredits = {
|
|
|
58
61
|
*/
|
|
59
62
|
id?: string;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
64
|
+
* Type of the promotional code.
|
|
66
65
|
*/
|
|
67
|
-
|
|
66
|
+
type: 'credit' | 'discount';
|
|
68
67
|
/**
|
|
69
|
-
*
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
69
|
*/
|
|
71
|
-
|
|
70
|
+
date_start: string;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
date_end?: string;
|
|
76
75
|
/**
|
|
77
|
-
*
|
|
76
|
+
* Promotional code used by the customer.
|
|
78
77
|
*/
|
|
79
|
-
|
|
78
|
+
code: string;
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
80
|
+
* Description of the promotional code.
|
|
82
81
|
*/
|
|
83
|
-
|
|
82
|
+
description?: string;
|
|
84
83
|
/**
|
|
85
|
-
*
|
|
84
|
+
* Total value of the promotional code.
|
|
86
85
|
*/
|
|
87
|
-
|
|
86
|
+
value_total: number;
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
88
|
+
* Remaining value of the promotional code.
|
|
90
89
|
*/
|
|
91
90
|
value_remaining?: number;
|
|
92
91
|
};
|
|
@@ -134,9 +133,9 @@ export type Chart = {
|
|
|
134
133
|
*/
|
|
135
134
|
chart: string;
|
|
136
135
|
/**
|
|
137
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
138
137
|
*/
|
|
139
|
-
status:
|
|
138
|
+
status: string;
|
|
140
139
|
/**
|
|
141
140
|
* Current version of the chart deployment.
|
|
142
141
|
*/
|
|
@@ -164,6 +163,9 @@ export type ChartUpdateInput = {
|
|
|
164
163
|
*/
|
|
165
164
|
version_channel: string;
|
|
166
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
168
|
+
*/
|
|
167
169
|
export type ClusterCreateInput = {
|
|
168
170
|
/**
|
|
169
171
|
* Name of the cluster.
|
|
@@ -172,15 +174,61 @@ export type ClusterCreateInput = {
|
|
|
172
174
|
/**
|
|
173
175
|
* Tier of the cluster.
|
|
174
176
|
*/
|
|
175
|
-
tier
|
|
176
|
-
/**
|
|
177
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
178
|
-
*/
|
|
179
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
177
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
180
178
|
/**
|
|
181
179
|
* Version of the kubernetes cluster.
|
|
182
180
|
*/
|
|
183
181
|
version_channel?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Release channel for the cluster's control plane.
|
|
184
|
+
*/
|
|
185
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
186
|
+
/**
|
|
187
|
+
* Cluster feature toggles.
|
|
188
|
+
*/
|
|
189
|
+
features?: {
|
|
190
|
+
/**
|
|
191
|
+
* GPU sharing strategy.
|
|
192
|
+
*/
|
|
193
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
194
|
+
/**
|
|
195
|
+
* Maximum number of pods that may share a single GPU.
|
|
196
|
+
*/
|
|
197
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
200
|
+
*/
|
|
201
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
205
|
+
*/
|
|
206
|
+
region: string;
|
|
207
|
+
/**
|
|
208
|
+
* Cluster networking configuration. Immutable after creation.
|
|
209
|
+
*/
|
|
210
|
+
networking?: {
|
|
211
|
+
/**
|
|
212
|
+
* CIDR block for pod IPs.
|
|
213
|
+
*/
|
|
214
|
+
pod_cidr?: string;
|
|
215
|
+
/**
|
|
216
|
+
* CIDR block for service IPs.
|
|
217
|
+
*/
|
|
218
|
+
service_cidr?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
221
|
+
*/
|
|
222
|
+
dual_stack?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
225
|
+
*/
|
|
226
|
+
pod_cidr_v6?: string;
|
|
227
|
+
/**
|
|
228
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
229
|
+
*/
|
|
230
|
+
service_cidr_v6?: string;
|
|
231
|
+
};
|
|
184
232
|
};
|
|
185
233
|
export type ClusterJoinInformation = {
|
|
186
234
|
/**
|
|
@@ -191,6 +239,14 @@ export type ClusterJoinInformation = {
|
|
|
191
239
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
240
|
*/
|
|
193
241
|
endpoint: string;
|
|
242
|
+
/**
|
|
243
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
244
|
+
*/
|
|
245
|
+
cluster_dns: string;
|
|
246
|
+
/**
|
|
247
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
248
|
+
*/
|
|
249
|
+
pod_cidr: string;
|
|
194
250
|
/**
|
|
195
251
|
* Authentication key for the cluster.
|
|
196
252
|
*/
|
|
@@ -238,6 +294,9 @@ export type ClusterJoinInformation = {
|
|
|
238
294
|
gcp_workload_identity_provider: string;
|
|
239
295
|
};
|
|
240
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
299
|
+
*/
|
|
241
300
|
export type Cluster = {
|
|
242
301
|
/**
|
|
243
302
|
* Name of the cluster.
|
|
@@ -246,24 +305,71 @@ export type Cluster = {
|
|
|
246
305
|
/**
|
|
247
306
|
* Tier of the cluster.
|
|
248
307
|
*/
|
|
249
|
-
tier: 'basic' | 'pro';
|
|
308
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
250
309
|
/**
|
|
251
|
-
*
|
|
310
|
+
* Version of the kubernetes cluster.
|
|
252
311
|
*/
|
|
253
|
-
|
|
312
|
+
version_channel: string;
|
|
254
313
|
/**
|
|
255
|
-
*
|
|
314
|
+
* Release channel for the cluster's control plane.
|
|
256
315
|
*/
|
|
257
|
-
|
|
316
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
317
|
+
/**
|
|
318
|
+
* Cluster feature toggles.
|
|
319
|
+
*/
|
|
320
|
+
features: {
|
|
321
|
+
/**
|
|
322
|
+
* GPU sharing strategy.
|
|
323
|
+
*/
|
|
324
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
325
|
+
/**
|
|
326
|
+
* Maximum number of pods that may share a single GPU.
|
|
327
|
+
*/
|
|
328
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
329
|
+
/**
|
|
330
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
331
|
+
*/
|
|
332
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
336
|
+
*/
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
340
|
+
*/
|
|
341
|
+
networking: {
|
|
342
|
+
/**
|
|
343
|
+
* CIDR block for pod IPs.
|
|
344
|
+
*/
|
|
345
|
+
pod_cidr: string;
|
|
346
|
+
/**
|
|
347
|
+
* CIDR block for service IPs.
|
|
348
|
+
*/
|
|
349
|
+
service_cidr: string;
|
|
350
|
+
/**
|
|
351
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
352
|
+
*/
|
|
353
|
+
dual_stack: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
356
|
+
*/
|
|
357
|
+
pod_cidr_v6: string;
|
|
358
|
+
/**
|
|
359
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
360
|
+
*/
|
|
361
|
+
service_cidr_v6: string;
|
|
362
|
+
};
|
|
258
363
|
/**
|
|
259
364
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
260
365
|
*/
|
|
261
366
|
id: string;
|
|
262
367
|
/**
|
|
263
|
-
* Status of the cluster.
|
|
368
|
+
* Status of the cluster.
|
|
264
369
|
*/
|
|
265
|
-
status: '
|
|
370
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
266
371
|
endpoint?: string | '';
|
|
372
|
+
endpoint_public?: string | '';
|
|
267
373
|
/**
|
|
268
374
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
269
375
|
*/
|
|
@@ -283,125 +389,259 @@ export type Cluster = {
|
|
|
283
389
|
/**
|
|
284
390
|
* Indicates if the cluster is ready to be used.
|
|
285
391
|
*/
|
|
286
|
-
ready
|
|
392
|
+
ready: boolean;
|
|
287
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
396
|
+
*/
|
|
288
397
|
export type ClusterUpdateInput = {
|
|
289
398
|
/**
|
|
290
399
|
* Name of the cluster.
|
|
291
400
|
*/
|
|
292
|
-
name
|
|
401
|
+
name: string;
|
|
293
402
|
/**
|
|
294
403
|
* Tier of the cluster.
|
|
295
404
|
*/
|
|
296
|
-
tier
|
|
405
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
297
406
|
/**
|
|
298
407
|
* Version of the kubernetes cluster.
|
|
299
408
|
*/
|
|
300
409
|
version_channel?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Release channel for the cluster's control plane.
|
|
412
|
+
*/
|
|
413
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
414
|
+
/**
|
|
415
|
+
* Cluster feature toggles.
|
|
416
|
+
*/
|
|
417
|
+
features?: {
|
|
418
|
+
/**
|
|
419
|
+
* GPU sharing strategy.
|
|
420
|
+
*/
|
|
421
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
422
|
+
/**
|
|
423
|
+
* Maximum number of pods that may share a single GPU.
|
|
424
|
+
*/
|
|
425
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
426
|
+
/**
|
|
427
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
428
|
+
*/
|
|
429
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
430
|
+
};
|
|
301
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
434
|
+
*/
|
|
302
435
|
export type FleetCreateInput = {
|
|
303
436
|
/**
|
|
304
437
|
* Limits define a set of bounds for provisioning capacity.
|
|
305
438
|
*/
|
|
306
439
|
limits?: {
|
|
307
440
|
/**
|
|
308
|
-
* CPU limit in cores.
|
|
441
|
+
* CPU limit in cores. Maximum 100,000.
|
|
309
442
|
*/
|
|
310
|
-
cpu
|
|
443
|
+
cpu?: number;
|
|
311
444
|
};
|
|
312
445
|
gcp?: {
|
|
313
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
314
447
|
/**
|
|
315
|
-
*
|
|
448
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
316
449
|
*/
|
|
317
|
-
project
|
|
450
|
+
project?: string;
|
|
318
451
|
};
|
|
319
452
|
hetzner?: {
|
|
320
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
321
454
|
/**
|
|
322
|
-
* Hetzner Cloud API
|
|
455
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
323
456
|
*/
|
|
324
|
-
apiKey
|
|
457
|
+
apiKey?: string;
|
|
325
458
|
};
|
|
326
459
|
aws?: {
|
|
327
|
-
enabled
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
463
|
+
*/
|
|
464
|
+
controllerRoleArn?: string;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
468
|
+
*/
|
|
469
|
+
constraints?: {
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
472
|
+
*/
|
|
473
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
474
|
+
/**
|
|
475
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
476
|
+
*/
|
|
477
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
478
|
+
/**
|
|
479
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
480
|
+
*/
|
|
481
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
328
482
|
/**
|
|
329
|
-
*
|
|
483
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
330
484
|
*/
|
|
331
|
-
|
|
485
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
332
486
|
};
|
|
487
|
+
/**
|
|
488
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
489
|
+
*/
|
|
490
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
333
491
|
/**
|
|
334
492
|
* Unique identifier of the kubernetes fleet.
|
|
335
493
|
*/
|
|
336
494
|
id: string;
|
|
337
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
498
|
+
*/
|
|
338
499
|
export type Fleet = {
|
|
339
500
|
/**
|
|
340
501
|
* Limits define a set of bounds for provisioning capacity.
|
|
341
502
|
*/
|
|
342
503
|
limits?: {
|
|
343
504
|
/**
|
|
344
|
-
* CPU limit in cores.
|
|
505
|
+
* CPU limit in cores. Maximum 100,000.
|
|
345
506
|
*/
|
|
346
|
-
cpu
|
|
507
|
+
cpu?: number;
|
|
347
508
|
};
|
|
348
509
|
gcp?: {
|
|
349
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
350
511
|
/**
|
|
351
|
-
*
|
|
512
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
352
513
|
*/
|
|
353
|
-
project
|
|
514
|
+
project?: string;
|
|
354
515
|
};
|
|
355
516
|
hetzner?: {
|
|
356
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
357
518
|
/**
|
|
358
|
-
* Hetzner
|
|
519
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
359
520
|
*/
|
|
360
|
-
apiKey
|
|
521
|
+
apiKey?: string;
|
|
361
522
|
};
|
|
362
523
|
aws?: {
|
|
363
|
-
enabled
|
|
524
|
+
enabled: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
527
|
+
*/
|
|
528
|
+
controllerRoleArn?: string;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
532
|
+
*/
|
|
533
|
+
constraints: {
|
|
534
|
+
/**
|
|
535
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
536
|
+
*/
|
|
537
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
538
|
+
/**
|
|
539
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
540
|
+
*/
|
|
541
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
542
|
+
/**
|
|
543
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
544
|
+
*/
|
|
545
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
364
546
|
/**
|
|
365
|
-
*
|
|
547
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
366
548
|
*/
|
|
367
|
-
|
|
549
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
368
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
553
|
+
*/
|
|
554
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
369
555
|
/**
|
|
370
556
|
* Unique identifier of the kubernetes fleet.
|
|
371
557
|
*/
|
|
372
558
|
id: string;
|
|
559
|
+
/**
|
|
560
|
+
* Indicates whether the fleet configuration is healthy.
|
|
561
|
+
*/
|
|
562
|
+
ready: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
565
|
+
*/
|
|
566
|
+
status_message?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Creation date and time of the fleet.
|
|
569
|
+
*/
|
|
570
|
+
created_at: string;
|
|
571
|
+
/**
|
|
572
|
+
* Date and time the fleet was last updated.
|
|
573
|
+
*/
|
|
574
|
+
updated_at: string;
|
|
373
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
578
|
+
*/
|
|
374
579
|
export type FleetUpdateInput = {
|
|
375
580
|
/**
|
|
376
581
|
* Limits define a set of bounds for provisioning capacity.
|
|
377
582
|
*/
|
|
378
583
|
limits?: {
|
|
379
584
|
/**
|
|
380
|
-
* CPU limit in cores.
|
|
585
|
+
* CPU limit in cores. Maximum 100,000.
|
|
381
586
|
*/
|
|
382
|
-
cpu
|
|
587
|
+
cpu?: number;
|
|
383
588
|
};
|
|
384
589
|
gcp?: {
|
|
385
|
-
enabled
|
|
590
|
+
enabled: boolean;
|
|
386
591
|
/**
|
|
387
|
-
*
|
|
592
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
388
593
|
*/
|
|
389
|
-
project
|
|
594
|
+
project?: string;
|
|
390
595
|
};
|
|
391
596
|
hetzner?: {
|
|
392
|
-
enabled
|
|
597
|
+
enabled: boolean;
|
|
393
598
|
/**
|
|
394
|
-
* Hetzner Cloud API
|
|
599
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
395
600
|
*/
|
|
396
|
-
apiKey
|
|
601
|
+
apiKey?: string;
|
|
397
602
|
};
|
|
398
603
|
aws?: {
|
|
399
|
-
enabled
|
|
604
|
+
enabled: boolean;
|
|
605
|
+
/**
|
|
606
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
607
|
+
*/
|
|
608
|
+
controllerRoleArn?: string;
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
612
|
+
*/
|
|
613
|
+
constraints?: {
|
|
614
|
+
/**
|
|
615
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
616
|
+
*/
|
|
617
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
618
|
+
/**
|
|
619
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
620
|
+
*/
|
|
621
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
622
|
+
/**
|
|
623
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
624
|
+
*/
|
|
625
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
400
626
|
/**
|
|
401
|
-
*
|
|
627
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
402
628
|
*/
|
|
403
|
-
|
|
629
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
404
630
|
};
|
|
631
|
+
/**
|
|
632
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
633
|
+
*/
|
|
634
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
635
|
+
};
|
|
636
|
+
export type InviteCreateInput = {
|
|
637
|
+
/**
|
|
638
|
+
* Email address of the user to invite.
|
|
639
|
+
*/
|
|
640
|
+
email: string;
|
|
641
|
+
/**
|
|
642
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
643
|
+
*/
|
|
644
|
+
role?: 'Administrator' | 'User';
|
|
405
645
|
};
|
|
406
646
|
export type Invite = {
|
|
407
647
|
/**
|
|
@@ -424,399 +664,656 @@ export type Invite = {
|
|
|
424
664
|
* Generated unique invite code.
|
|
425
665
|
*/
|
|
426
666
|
code?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
669
|
+
*/
|
|
670
|
+
role?: 'Administrator' | 'User';
|
|
427
671
|
};
|
|
428
672
|
export type Invoice = {
|
|
429
673
|
/**
|
|
430
|
-
* Unique identifier of the invoice.
|
|
674
|
+
* Unique identifier of the invoice.
|
|
431
675
|
*/
|
|
432
676
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
677
|
+
number?: string;
|
|
437
678
|
/**
|
|
438
679
|
* Status of the invoice
|
|
439
680
|
*/
|
|
440
|
-
status?:
|
|
681
|
+
status?: string;
|
|
441
682
|
/**
|
|
442
683
|
* Total amount of the invoice
|
|
443
684
|
*/
|
|
444
|
-
|
|
685
|
+
total?: number;
|
|
445
686
|
/**
|
|
446
687
|
* Currency of the invoice
|
|
447
688
|
*/
|
|
448
|
-
currency?:
|
|
689
|
+
currency?: string;
|
|
449
690
|
/**
|
|
450
|
-
*
|
|
691
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
451
692
|
*/
|
|
452
|
-
|
|
693
|
+
created: string;
|
|
453
694
|
/**
|
|
454
|
-
*
|
|
695
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
696
|
*/
|
|
456
|
-
|
|
697
|
+
period_start: string;
|
|
457
698
|
/**
|
|
458
|
-
*
|
|
699
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
459
700
|
*/
|
|
460
|
-
|
|
701
|
+
period_end: string;
|
|
702
|
+
invoice_pdf?: string;
|
|
703
|
+
};
|
|
704
|
+
export type MarketplaceListingFiles = {
|
|
705
|
+
/**
|
|
706
|
+
* Raw Chart.yaml content from the Helm chart
|
|
707
|
+
*/
|
|
708
|
+
chartYaml?: string;
|
|
461
709
|
/**
|
|
462
|
-
*
|
|
710
|
+
* Raw values.yaml content from the Helm chart
|
|
463
711
|
*/
|
|
464
|
-
|
|
712
|
+
valuesYaml?: string;
|
|
465
713
|
/**
|
|
466
|
-
*
|
|
714
|
+
* JSON schema for values.yaml as a string
|
|
467
715
|
*/
|
|
468
|
-
|
|
716
|
+
valuesSchemaJson?: string;
|
|
717
|
+
};
|
|
718
|
+
export type MarketplaceListing = {
|
|
469
719
|
/**
|
|
470
|
-
*
|
|
720
|
+
* Name of the chart
|
|
471
721
|
*/
|
|
472
|
-
|
|
722
|
+
name: string;
|
|
473
723
|
/**
|
|
474
|
-
*
|
|
724
|
+
* Available versions of the chart
|
|
475
725
|
*/
|
|
476
|
-
|
|
726
|
+
versions: Array<string>;
|
|
477
727
|
/**
|
|
478
|
-
*
|
|
728
|
+
* Version channels for the chart
|
|
479
729
|
*/
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
730
|
+
version_channels: Array<string>;
|
|
731
|
+
/**
|
|
732
|
+
* Latest version of the chart
|
|
733
|
+
*/
|
|
734
|
+
latestVersion: string;
|
|
735
|
+
/**
|
|
736
|
+
* Chart metadata
|
|
737
|
+
*/
|
|
738
|
+
metadata?: {
|
|
489
739
|
/**
|
|
490
|
-
*
|
|
740
|
+
* Chart name from metadata
|
|
491
741
|
*/
|
|
492
|
-
|
|
742
|
+
name: string;
|
|
493
743
|
/**
|
|
494
|
-
*
|
|
744
|
+
* Chart version from metadata
|
|
495
745
|
*/
|
|
496
|
-
|
|
746
|
+
version: string;
|
|
497
747
|
/**
|
|
498
|
-
*
|
|
748
|
+
* Chart description
|
|
499
749
|
*/
|
|
500
|
-
|
|
750
|
+
description?: string;
|
|
501
751
|
/**
|
|
502
|
-
*
|
|
752
|
+
* Application version
|
|
503
753
|
*/
|
|
504
|
-
|
|
754
|
+
appVersion?: string;
|
|
505
755
|
/**
|
|
506
|
-
*
|
|
756
|
+
* Helm API version
|
|
507
757
|
*/
|
|
508
|
-
|
|
758
|
+
apiVersion?: string;
|
|
509
759
|
/**
|
|
510
|
-
*
|
|
760
|
+
* Chart keywords
|
|
511
761
|
*/
|
|
512
|
-
|
|
762
|
+
keywords?: Array<string>;
|
|
513
763
|
/**
|
|
514
|
-
*
|
|
764
|
+
* Chart home URL
|
|
515
765
|
*/
|
|
516
|
-
|
|
766
|
+
home?: string;
|
|
517
767
|
/**
|
|
518
|
-
*
|
|
768
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
519
769
|
*/
|
|
520
|
-
|
|
770
|
+
icon?: string;
|
|
521
771
|
/**
|
|
522
|
-
*
|
|
772
|
+
* Chart source URLs
|
|
523
773
|
*/
|
|
524
|
-
|
|
774
|
+
sources?: Array<string>;
|
|
525
775
|
/**
|
|
526
|
-
*
|
|
776
|
+
* Chart maintainers
|
|
527
777
|
*/
|
|
528
|
-
|
|
778
|
+
maintainers?: Array<{
|
|
779
|
+
/**
|
|
780
|
+
* Maintainer name
|
|
781
|
+
*/
|
|
782
|
+
name: string;
|
|
783
|
+
/**
|
|
784
|
+
* Maintainer email
|
|
785
|
+
*/
|
|
786
|
+
email?: string;
|
|
787
|
+
}>;
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
export type OrganizationCreateInput = {
|
|
791
|
+
/**
|
|
792
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
793
|
+
*/
|
|
794
|
+
type: 'business' | 'personal';
|
|
795
|
+
/**
|
|
796
|
+
* Email address used for billing as a string.
|
|
797
|
+
*/
|
|
798
|
+
email: string;
|
|
799
|
+
/**
|
|
800
|
+
* First name of the billing contact person.
|
|
801
|
+
*/
|
|
802
|
+
first_name: string;
|
|
803
|
+
/**
|
|
804
|
+
* Last name of the billing contact person.
|
|
805
|
+
*/
|
|
806
|
+
last_name: string;
|
|
807
|
+
/**
|
|
808
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
809
|
+
*/
|
|
810
|
+
company_name: string;
|
|
811
|
+
/**
|
|
812
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
813
|
+
*/
|
|
814
|
+
password: string;
|
|
815
|
+
};
|
|
816
|
+
export type OrganizationCreateOutput = {
|
|
817
|
+
/**
|
|
818
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
819
|
+
*/
|
|
820
|
+
id: string;
|
|
821
|
+
};
|
|
822
|
+
export type Organization = {
|
|
823
|
+
/**
|
|
824
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
825
|
+
*/
|
|
826
|
+
id: string;
|
|
827
|
+
/**
|
|
828
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
829
|
+
*/
|
|
830
|
+
name?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
833
|
+
*/
|
|
834
|
+
type: 'business' | 'personal';
|
|
835
|
+
/**
|
|
836
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
837
|
+
*/
|
|
838
|
+
date_created: string;
|
|
839
|
+
/**
|
|
840
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
841
|
+
*/
|
|
842
|
+
quota: {
|
|
529
843
|
/**
|
|
530
|
-
*
|
|
844
|
+
* Maximum number of Basic clusters that can be created.
|
|
531
845
|
*/
|
|
532
|
-
|
|
846
|
+
basic_clusters_max: number;
|
|
533
847
|
/**
|
|
534
|
-
*
|
|
848
|
+
* Available number of Basic clusters that can be created.
|
|
535
849
|
*/
|
|
536
|
-
|
|
850
|
+
basic_clusters_available: number;
|
|
537
851
|
/**
|
|
538
|
-
*
|
|
852
|
+
* Maximum number of Pro clusters that can be created.
|
|
539
853
|
*/
|
|
540
|
-
|
|
854
|
+
pro_clusters_max: number;
|
|
541
855
|
/**
|
|
542
|
-
*
|
|
856
|
+
* Available number of Pro clusters that can be created.
|
|
543
857
|
*/
|
|
544
|
-
|
|
858
|
+
pro_clusters_available: number;
|
|
545
859
|
/**
|
|
546
|
-
*
|
|
860
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
547
861
|
*/
|
|
548
|
-
|
|
862
|
+
enterprise_clusters_max: number;
|
|
549
863
|
/**
|
|
550
|
-
*
|
|
864
|
+
* Available number of Enterprise clusters that can be created.
|
|
551
865
|
*/
|
|
552
|
-
|
|
866
|
+
enterprise_clusters_available: number;
|
|
553
867
|
/**
|
|
554
|
-
*
|
|
868
|
+
* Maximum number of fleets that can be created per cluster.
|
|
555
869
|
*/
|
|
556
|
-
|
|
870
|
+
fleets_max: number;
|
|
557
871
|
/**
|
|
558
|
-
*
|
|
872
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
559
873
|
*/
|
|
560
|
-
|
|
874
|
+
cluster_tiers: Array<string>;
|
|
561
875
|
/**
|
|
562
|
-
*
|
|
876
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
563
877
|
*/
|
|
564
|
-
|
|
565
|
-
[key: string]: unknown;
|
|
566
|
-
} | string>;
|
|
567
|
-
}>;
|
|
568
|
-
/**
|
|
569
|
-
* Items of the invoice
|
|
570
|
-
*/
|
|
571
|
-
items?: Array<{
|
|
878
|
+
regions: Array<string>;
|
|
572
879
|
/**
|
|
573
|
-
*
|
|
880
|
+
* List of CFKE control plane versions available for the organization.
|
|
574
881
|
*/
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
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;
|
|
882
|
+
versions: Array<{
|
|
883
|
+
/**
|
|
884
|
+
* Id of the control plane version. Used in API calls.
|
|
885
|
+
*/
|
|
886
|
+
id: string;
|
|
887
|
+
/**
|
|
888
|
+
* Label of the control plane version. Used in frontent UI.
|
|
889
|
+
*/
|
|
890
|
+
label: string;
|
|
891
|
+
}>;
|
|
600
892
|
/**
|
|
601
|
-
*
|
|
893
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
602
894
|
*/
|
|
603
|
-
|
|
895
|
+
cfcr_storage_gb: number;
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
899
|
+
*/
|
|
900
|
+
status: 'active' | 'closed' | 'suspended';
|
|
901
|
+
/**
|
|
902
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
903
|
+
*/
|
|
904
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
905
|
+
};
|
|
906
|
+
export type PaymentMethod = {
|
|
907
|
+
/**
|
|
908
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
909
|
+
*/
|
|
910
|
+
id: string;
|
|
911
|
+
/**
|
|
912
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
913
|
+
*/
|
|
914
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
915
|
+
/**
|
|
916
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
917
|
+
*/
|
|
918
|
+
last4: string;
|
|
919
|
+
/**
|
|
920
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
921
|
+
*/
|
|
922
|
+
exp_month: number;
|
|
923
|
+
/**
|
|
924
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
925
|
+
*/
|
|
926
|
+
exp_year: number;
|
|
927
|
+
/**
|
|
928
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
929
|
+
*/
|
|
930
|
+
brand: string;
|
|
931
|
+
/**
|
|
932
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
933
|
+
*/
|
|
934
|
+
iban: string;
|
|
935
|
+
/**
|
|
936
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
937
|
+
*/
|
|
938
|
+
bic: string;
|
|
939
|
+
/**
|
|
940
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
941
|
+
*/
|
|
942
|
+
account_holder_name: string;
|
|
943
|
+
/**
|
|
944
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
945
|
+
*/
|
|
946
|
+
is_default: boolean;
|
|
947
|
+
};
|
|
948
|
+
export type PlatformQuota = {
|
|
949
|
+
/**
|
|
950
|
+
* Maximum number of Basic clusters that can be created.
|
|
951
|
+
*/
|
|
952
|
+
basic_clusters_max: number;
|
|
953
|
+
/**
|
|
954
|
+
* Available number of Basic clusters that can be created.
|
|
955
|
+
*/
|
|
956
|
+
basic_clusters_available: number;
|
|
957
|
+
/**
|
|
958
|
+
* Maximum number of Pro clusters that can be created.
|
|
959
|
+
*/
|
|
960
|
+
pro_clusters_max: number;
|
|
961
|
+
/**
|
|
962
|
+
* Available number of Pro clusters that can be created.
|
|
963
|
+
*/
|
|
964
|
+
pro_clusters_available: number;
|
|
965
|
+
/**
|
|
966
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
967
|
+
*/
|
|
968
|
+
enterprise_clusters_max: number;
|
|
969
|
+
/**
|
|
970
|
+
* Available number of Enterprise clusters that can be created.
|
|
971
|
+
*/
|
|
972
|
+
enterprise_clusters_available: number;
|
|
973
|
+
/**
|
|
974
|
+
* Maximum number of fleets that can be created per cluster.
|
|
975
|
+
*/
|
|
976
|
+
fleets_max: number;
|
|
977
|
+
/**
|
|
978
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
979
|
+
*/
|
|
980
|
+
cluster_tiers: Array<string>;
|
|
981
|
+
/**
|
|
982
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
983
|
+
*/
|
|
984
|
+
regions: Array<string>;
|
|
985
|
+
/**
|
|
986
|
+
* List of CFKE control plane versions available for the organization.
|
|
987
|
+
*/
|
|
988
|
+
versions: Array<{
|
|
604
989
|
/**
|
|
605
|
-
*
|
|
990
|
+
* Id of the control plane version. Used in API calls.
|
|
606
991
|
*/
|
|
607
|
-
|
|
992
|
+
id: string;
|
|
608
993
|
/**
|
|
609
|
-
*
|
|
994
|
+
* Label of the control plane version. Used in frontent UI.
|
|
610
995
|
*/
|
|
611
|
-
|
|
996
|
+
label: string;
|
|
997
|
+
}>;
|
|
998
|
+
/**
|
|
999
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
1000
|
+
*/
|
|
1001
|
+
cfcr_storage_gb: number;
|
|
1002
|
+
};
|
|
1003
|
+
export type RegistryRepository = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Repository name.
|
|
1006
|
+
*/
|
|
1007
|
+
name: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* Registry region.
|
|
1010
|
+
*/
|
|
1011
|
+
region: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* Full URI of the repository.
|
|
1014
|
+
*/
|
|
1015
|
+
uri: string;
|
|
1016
|
+
};
|
|
1017
|
+
export type RegistryRepositoryWithTags = {
|
|
1018
|
+
/**
|
|
1019
|
+
* Repository name.
|
|
1020
|
+
*/
|
|
1021
|
+
name: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Registry region.
|
|
1024
|
+
*/
|
|
1025
|
+
region: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Full URI of the repository.
|
|
1028
|
+
*/
|
|
1029
|
+
uri: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Array of tags in the repository.
|
|
1032
|
+
*/
|
|
1033
|
+
tags: Array<{
|
|
612
1034
|
/**
|
|
613
|
-
*
|
|
1035
|
+
* Tag name.
|
|
614
1036
|
*/
|
|
615
|
-
|
|
1037
|
+
name: string;
|
|
616
1038
|
/**
|
|
617
|
-
*
|
|
1039
|
+
* Size of the tag in bytes.
|
|
618
1040
|
*/
|
|
619
|
-
|
|
1041
|
+
size: number;
|
|
620
1042
|
/**
|
|
621
|
-
*
|
|
1043
|
+
* Media type of the manifest.
|
|
622
1044
|
*/
|
|
623
|
-
|
|
1045
|
+
mediaType?: string;
|
|
624
1046
|
/**
|
|
625
|
-
*
|
|
1047
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
626
1048
|
*/
|
|
627
|
-
|
|
1049
|
+
platforms?: Array<string>;
|
|
1050
|
+
}>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Total size of all tags in the repository in bytes.
|
|
1053
|
+
*/
|
|
1054
|
+
totalSize: number;
|
|
1055
|
+
};
|
|
1056
|
+
export type RegistryTag = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Tag name.
|
|
1059
|
+
*/
|
|
1060
|
+
name: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Manifest digest for pulling by digest.
|
|
1063
|
+
*/
|
|
1064
|
+
digest: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Media type of the manifest.
|
|
1067
|
+
*/
|
|
1068
|
+
mediaType?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Manifest config metadata.
|
|
1071
|
+
*/
|
|
1072
|
+
config?: {
|
|
628
1073
|
/**
|
|
629
|
-
*
|
|
1074
|
+
* Size of the config in bytes.
|
|
630
1075
|
*/
|
|
631
|
-
|
|
1076
|
+
size: number;
|
|
1077
|
+
};
|
|
1078
|
+
/**
|
|
1079
|
+
* Array of layer metadata.
|
|
1080
|
+
*/
|
|
1081
|
+
layers?: Array<{
|
|
632
1082
|
/**
|
|
633
|
-
*
|
|
1083
|
+
* Digest of the layer.
|
|
634
1084
|
*/
|
|
635
|
-
|
|
1085
|
+
digest?: string;
|
|
636
1086
|
/**
|
|
637
|
-
*
|
|
1087
|
+
* Size of the layer in bytes.
|
|
638
1088
|
*/
|
|
639
|
-
|
|
1089
|
+
size: number;
|
|
1090
|
+
}>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Array of manifests for multi-arch images.
|
|
1093
|
+
*/
|
|
1094
|
+
manifests?: Array<{
|
|
640
1095
|
/**
|
|
641
|
-
*
|
|
1096
|
+
* Digest of the manifest.
|
|
642
1097
|
*/
|
|
643
|
-
|
|
1098
|
+
digest: string;
|
|
644
1099
|
/**
|
|
645
|
-
*
|
|
1100
|
+
* Platform information for the manifest.
|
|
646
1101
|
*/
|
|
647
|
-
|
|
1102
|
+
platform?: {
|
|
1103
|
+
/**
|
|
1104
|
+
* Architecture of the platform.
|
|
1105
|
+
*/
|
|
1106
|
+
architecture: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Operating system of the platform.
|
|
1109
|
+
*/
|
|
1110
|
+
os: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1113
|
+
*/
|
|
1114
|
+
variant?: string;
|
|
1115
|
+
};
|
|
648
1116
|
/**
|
|
649
|
-
*
|
|
1117
|
+
* Layers for this platform.
|
|
650
1118
|
*/
|
|
651
|
-
|
|
1119
|
+
layers?: Array<{
|
|
1120
|
+
/**
|
|
1121
|
+
* Digest of the layer.
|
|
1122
|
+
*/
|
|
1123
|
+
digest?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Size of the layer in bytes.
|
|
1126
|
+
*/
|
|
1127
|
+
size: number;
|
|
1128
|
+
}>;
|
|
652
1129
|
/**
|
|
653
|
-
*
|
|
1130
|
+
* Total size of this platform manifest in bytes.
|
|
654
1131
|
*/
|
|
655
|
-
|
|
656
|
-
[key: string]: unknown;
|
|
657
|
-
} | string>;
|
|
1132
|
+
size?: number;
|
|
658
1133
|
}>;
|
|
659
|
-
};
|
|
660
|
-
export type MarketplaceListing = {
|
|
661
1134
|
/**
|
|
662
|
-
*
|
|
1135
|
+
* Total size of the tag in bytes.
|
|
663
1136
|
*/
|
|
664
|
-
|
|
1137
|
+
size: number;
|
|
665
1138
|
/**
|
|
666
|
-
*
|
|
1139
|
+
* Registry region.
|
|
667
1140
|
*/
|
|
668
|
-
|
|
1141
|
+
region: string;
|
|
669
1142
|
/**
|
|
670
|
-
*
|
|
1143
|
+
* Repository name.
|
|
671
1144
|
*/
|
|
672
|
-
|
|
1145
|
+
repository: string;
|
|
673
1146
|
/**
|
|
674
|
-
*
|
|
1147
|
+
* Full URI of the tag.
|
|
675
1148
|
*/
|
|
676
|
-
|
|
1149
|
+
uri: string;
|
|
1150
|
+
};
|
|
1151
|
+
export type TicketAttachment = {
|
|
677
1152
|
/**
|
|
678
|
-
*
|
|
1153
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
679
1154
|
*/
|
|
680
|
-
|
|
1155
|
+
id: string;
|
|
681
1156
|
/**
|
|
682
|
-
*
|
|
1157
|
+
* Original filename as uploaded.
|
|
683
1158
|
*/
|
|
684
|
-
|
|
1159
|
+
filename: string;
|
|
685
1160
|
/**
|
|
686
|
-
*
|
|
1161
|
+
* MIME content type of the attachment.
|
|
687
1162
|
*/
|
|
688
|
-
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
691
|
-
/**
|
|
692
|
-
* Version of the chart.
|
|
693
|
-
*/
|
|
694
|
-
version: string;
|
|
695
|
-
/**
|
|
696
|
-
* Schema of the chart values. JSON Schema as string
|
|
697
|
-
*/
|
|
698
|
-
schema: string;
|
|
699
|
-
/**
|
|
700
|
-
* Schema of the chart values
|
|
701
|
-
*/
|
|
702
|
-
placeholder: string;
|
|
703
|
-
}>;
|
|
704
|
-
};
|
|
705
|
-
export type OrganizationCreateInput = {
|
|
1163
|
+
content_type: string;
|
|
706
1164
|
/**
|
|
707
|
-
*
|
|
1165
|
+
* Size of the attachment in bytes.
|
|
708
1166
|
*/
|
|
709
|
-
|
|
1167
|
+
size: number;
|
|
1168
|
+
};
|
|
1169
|
+
export type TicketCreateInput = {
|
|
710
1170
|
/**
|
|
711
|
-
*
|
|
1171
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
712
1172
|
*/
|
|
713
|
-
|
|
1173
|
+
category: 'billing' | 'technical' | 'general';
|
|
714
1174
|
/**
|
|
715
|
-
*
|
|
1175
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
716
1176
|
*/
|
|
717
|
-
|
|
1177
|
+
body: string;
|
|
718
1178
|
/**
|
|
719
|
-
*
|
|
1179
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
720
1180
|
*/
|
|
721
|
-
|
|
1181
|
+
properties?: {
|
|
1182
|
+
[key: string]: unknown;
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
export type TicketMessageInput = {
|
|
722
1186
|
/**
|
|
723
|
-
*
|
|
1187
|
+
* Reply body in markdown.
|
|
724
1188
|
*/
|
|
725
|
-
|
|
1189
|
+
body: string;
|
|
726
1190
|
};
|
|
727
|
-
export type
|
|
1191
|
+
export type TicketMessage = {
|
|
728
1192
|
/**
|
|
729
|
-
* Unique identifier of the
|
|
1193
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
730
1194
|
*/
|
|
731
1195
|
id: string;
|
|
732
1196
|
/**
|
|
733
|
-
*
|
|
1197
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
734
1198
|
*/
|
|
735
|
-
|
|
1199
|
+
type: 'customer_reply' | 'agent_reply';
|
|
736
1200
|
/**
|
|
737
|
-
*
|
|
1201
|
+
* Message body in markdown.
|
|
738
1202
|
*/
|
|
739
|
-
|
|
1203
|
+
body: string;
|
|
740
1204
|
/**
|
|
741
|
-
*
|
|
1205
|
+
* First name of the author. Null when not provided.
|
|
742
1206
|
*/
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Maximum number of Pro clusters that can be created.
|
|
754
|
-
*/
|
|
755
|
-
pro_clusters_max: number;
|
|
756
|
-
/**
|
|
757
|
-
* Available number of Pro clusters that can be created.
|
|
758
|
-
*/
|
|
759
|
-
pro_clusters_available: number;
|
|
1207
|
+
author_first_name?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Last name of the author. Null when not provided.
|
|
1210
|
+
*/
|
|
1211
|
+
author_last_name?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* Attachments associated with this message.
|
|
1214
|
+
*/
|
|
1215
|
+
attachments?: Array<{
|
|
760
1216
|
/**
|
|
761
|
-
*
|
|
1217
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
762
1218
|
*/
|
|
763
|
-
|
|
1219
|
+
id: string;
|
|
764
1220
|
/**
|
|
765
|
-
*
|
|
1221
|
+
* Original filename as uploaded.
|
|
766
1222
|
*/
|
|
767
|
-
|
|
1223
|
+
filename: string;
|
|
768
1224
|
/**
|
|
769
|
-
*
|
|
1225
|
+
* MIME content type of the attachment.
|
|
770
1226
|
*/
|
|
771
|
-
|
|
1227
|
+
content_type: string;
|
|
772
1228
|
/**
|
|
773
|
-
*
|
|
1229
|
+
* Size of the attachment in bytes.
|
|
774
1230
|
*/
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
* Id of the control plane version. Used in API calls.
|
|
778
|
-
*/
|
|
779
|
-
id: string;
|
|
780
|
-
/**
|
|
781
|
-
* Label of the control plane version. Used in frontent UI.
|
|
782
|
-
*/
|
|
783
|
-
label: string;
|
|
784
|
-
}>;
|
|
785
|
-
};
|
|
1231
|
+
size: number;
|
|
1232
|
+
}>;
|
|
786
1233
|
/**
|
|
787
|
-
*
|
|
1234
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
788
1235
|
*/
|
|
789
|
-
|
|
1236
|
+
date_created: string;
|
|
790
1237
|
};
|
|
791
|
-
export type
|
|
1238
|
+
export type Ticket = {
|
|
792
1239
|
/**
|
|
793
|
-
* Unique identifier of the
|
|
1240
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
794
1241
|
*/
|
|
795
1242
|
id: string;
|
|
796
1243
|
/**
|
|
797
|
-
*
|
|
1244
|
+
* Current state of the ticket.
|
|
798
1245
|
*/
|
|
799
|
-
|
|
1246
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
800
1247
|
/**
|
|
801
|
-
*
|
|
1248
|
+
* Ticket category.
|
|
802
1249
|
*/
|
|
803
|
-
|
|
1250
|
+
category: 'billing' | 'technical' | 'general';
|
|
804
1251
|
/**
|
|
805
|
-
*
|
|
1252
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
806
1253
|
*/
|
|
807
|
-
|
|
1254
|
+
summary: string;
|
|
808
1255
|
/**
|
|
809
|
-
*
|
|
1256
|
+
* Closure timestamp. Null while the ticket is open.
|
|
810
1257
|
*/
|
|
811
|
-
|
|
1258
|
+
closed_at?: string;
|
|
812
1259
|
/**
|
|
813
|
-
*
|
|
1260
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
814
1261
|
*/
|
|
815
|
-
|
|
1262
|
+
date_created: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1265
|
+
*/
|
|
1266
|
+
date_updated: string;
|
|
816
1267
|
/**
|
|
817
|
-
*
|
|
1268
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
818
1269
|
*/
|
|
819
|
-
|
|
1270
|
+
messages?: Array<{
|
|
1271
|
+
/**
|
|
1272
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1273
|
+
*/
|
|
1274
|
+
id: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1277
|
+
*/
|
|
1278
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1279
|
+
/**
|
|
1280
|
+
* Message body in markdown.
|
|
1281
|
+
*/
|
|
1282
|
+
body: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* First name of the author. Null when not provided.
|
|
1285
|
+
*/
|
|
1286
|
+
author_first_name?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* Last name of the author. Null when not provided.
|
|
1289
|
+
*/
|
|
1290
|
+
author_last_name?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Attachments associated with this message.
|
|
1293
|
+
*/
|
|
1294
|
+
attachments?: Array<{
|
|
1295
|
+
/**
|
|
1296
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1297
|
+
*/
|
|
1298
|
+
id: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* Original filename as uploaded.
|
|
1301
|
+
*/
|
|
1302
|
+
filename: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* MIME content type of the attachment.
|
|
1305
|
+
*/
|
|
1306
|
+
content_type: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Size of the attachment in bytes.
|
|
1309
|
+
*/
|
|
1310
|
+
size: number;
|
|
1311
|
+
}>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1314
|
+
*/
|
|
1315
|
+
date_created: string;
|
|
1316
|
+
}>;
|
|
820
1317
|
};
|
|
821
1318
|
export type TokenCreateInput = {
|
|
822
1319
|
/**
|
|
@@ -860,35 +1357,85 @@ export type TokenUpdateInput = {
|
|
|
860
1357
|
*/
|
|
861
1358
|
role?: 'Administrator' | 'User';
|
|
862
1359
|
};
|
|
863
|
-
export type
|
|
864
|
-
/**
|
|
865
|
-
* Hour of the usage
|
|
866
|
-
*/
|
|
867
|
-
hour?: string;
|
|
1360
|
+
export type UsageFacets = {
|
|
868
1361
|
/**
|
|
869
|
-
*
|
|
1362
|
+
* List of unique cluster IDs
|
|
870
1363
|
*/
|
|
871
|
-
cluster_id
|
|
1364
|
+
cluster_id?: Array<string>;
|
|
872
1365
|
/**
|
|
873
|
-
*
|
|
1366
|
+
* List of unique products
|
|
874
1367
|
*/
|
|
875
|
-
|
|
1368
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1369
|
+
};
|
|
1370
|
+
export type UsageResponse = {
|
|
876
1371
|
/**
|
|
877
|
-
*
|
|
1372
|
+
* Usage data
|
|
878
1373
|
*/
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
1374
|
+
data: Array<{
|
|
1375
|
+
/**
|
|
1376
|
+
* Hour of the usage
|
|
1377
|
+
*/
|
|
1378
|
+
hour: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1381
|
+
*/
|
|
1382
|
+
cluster_id: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* The product the usage is associated with
|
|
1385
|
+
*/
|
|
1386
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1387
|
+
/**
|
|
1388
|
+
* Consumption
|
|
1389
|
+
*/
|
|
1390
|
+
value: number;
|
|
1391
|
+
/**
|
|
1392
|
+
* Price per unit
|
|
1393
|
+
*/
|
|
1394
|
+
price: number;
|
|
1395
|
+
/**
|
|
1396
|
+
* Total cost
|
|
1397
|
+
*/
|
|
1398
|
+
total: number;
|
|
1399
|
+
}>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Facets for filtering
|
|
1402
|
+
*/
|
|
1403
|
+
facets: {
|
|
1404
|
+
/**
|
|
1405
|
+
* List of unique cluster IDs
|
|
1406
|
+
*/
|
|
1407
|
+
cluster_id?: Array<string>;
|
|
1408
|
+
/**
|
|
1409
|
+
* List of unique products
|
|
1410
|
+
*/
|
|
1411
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1412
|
+
};
|
|
1413
|
+
};
|
|
1414
|
+
export type Usage = {
|
|
1415
|
+
/**
|
|
1416
|
+
* Hour of the usage
|
|
1417
|
+
*/
|
|
1418
|
+
hour: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1421
|
+
*/
|
|
1422
|
+
cluster_id: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* The product the usage is associated with
|
|
882
1425
|
*/
|
|
883
|
-
|
|
1426
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
884
1427
|
/**
|
|
885
|
-
*
|
|
1428
|
+
* Consumption
|
|
886
1429
|
*/
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
1430
|
+
value: number;
|
|
1431
|
+
/**
|
|
1432
|
+
* Price per unit
|
|
1433
|
+
*/
|
|
1434
|
+
price: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* Total cost
|
|
1437
|
+
*/
|
|
1438
|
+
total: number;
|
|
892
1439
|
};
|
|
893
1440
|
export type UserCreateInput = {
|
|
894
1441
|
/**
|
|
@@ -911,14 +1458,6 @@ export type UserCreateInput = {
|
|
|
911
1458
|
* User password. Must be at least 8 characters long.
|
|
912
1459
|
*/
|
|
913
1460
|
password: string;
|
|
914
|
-
/**
|
|
915
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
916
|
-
*/
|
|
917
|
-
status?: 'active' | 'inactive';
|
|
918
|
-
/**
|
|
919
|
-
* User role. Can be 'Administrator', 'User'.
|
|
920
|
-
*/
|
|
921
|
-
role?: 'Administrator' | 'User';
|
|
922
1461
|
};
|
|
923
1462
|
export type User = {
|
|
924
1463
|
/**
|
|
@@ -972,562 +1511,621 @@ export type UserUpdateInput = {
|
|
|
972
1511
|
*/
|
|
973
1512
|
status?: 'active' | 'inactive';
|
|
974
1513
|
};
|
|
975
|
-
export type
|
|
1514
|
+
export type ListUserOrganizationsData = {
|
|
1515
|
+
body?: never;
|
|
1516
|
+
path: {
|
|
1517
|
+
/**
|
|
1518
|
+
* User email address.
|
|
1519
|
+
*/
|
|
1520
|
+
email: string;
|
|
1521
|
+
};
|
|
1522
|
+
query?: never;
|
|
1523
|
+
url: '/users/organizations/{email}';
|
|
1524
|
+
};
|
|
1525
|
+
export type ListUserOrganizationsResponses = {
|
|
1526
|
+
/**
|
|
1527
|
+
* An array of organizations the user belongs to.
|
|
1528
|
+
*/
|
|
1529
|
+
200: Array<{
|
|
1530
|
+
/**
|
|
1531
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1532
|
+
*/
|
|
1533
|
+
realm?: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* Human-readable name of the organization
|
|
1536
|
+
*/
|
|
1537
|
+
displayName?: string;
|
|
1538
|
+
}>;
|
|
1539
|
+
};
|
|
1540
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1541
|
+
export type ListUsersData = {
|
|
976
1542
|
body?: never;
|
|
977
1543
|
path?: never;
|
|
978
1544
|
query?: never;
|
|
979
|
-
url: '/
|
|
1545
|
+
url: '/users';
|
|
980
1546
|
};
|
|
981
|
-
export type
|
|
1547
|
+
export type ListUsersErrors = {
|
|
982
1548
|
/**
|
|
983
1549
|
* Not authenticated
|
|
984
1550
|
*/
|
|
985
1551
|
401: unknown;
|
|
986
1552
|
};
|
|
987
|
-
export type
|
|
1553
|
+
export type ListUsersResponses = {
|
|
988
1554
|
/**
|
|
989
|
-
* An array of
|
|
1555
|
+
* An array of users
|
|
990
1556
|
*/
|
|
991
|
-
200: Array<
|
|
1557
|
+
200: Array<User>;
|
|
992
1558
|
};
|
|
993
|
-
export type
|
|
994
|
-
export type
|
|
995
|
-
body
|
|
1559
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1560
|
+
export type CreateUserData = {
|
|
1561
|
+
body: UserCreateInput;
|
|
996
1562
|
path?: never;
|
|
997
1563
|
query?: never;
|
|
998
|
-
url: '/
|
|
1564
|
+
url: '/users';
|
|
999
1565
|
};
|
|
1000
|
-
export type
|
|
1566
|
+
export type CreateUserResponses = {
|
|
1001
1567
|
/**
|
|
1002
|
-
*
|
|
1568
|
+
* Successfully created. Returns created user details.
|
|
1003
1569
|
*/
|
|
1004
|
-
200:
|
|
1570
|
+
200: User;
|
|
1005
1571
|
};
|
|
1006
|
-
export type
|
|
1007
|
-
export type
|
|
1572
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1573
|
+
export type DeleteUserData = {
|
|
1008
1574
|
body?: never;
|
|
1009
|
-
path
|
|
1575
|
+
path: {
|
|
1576
|
+
/**
|
|
1577
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1578
|
+
*/
|
|
1579
|
+
user_id: string;
|
|
1580
|
+
};
|
|
1010
1581
|
query?: never;
|
|
1011
|
-
url: '/
|
|
1582
|
+
url: '/users/{user_id}';
|
|
1012
1583
|
};
|
|
1013
|
-
export type
|
|
1584
|
+
export type DeleteUserErrors = {
|
|
1014
1585
|
/**
|
|
1015
|
-
*
|
|
1586
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1016
1587
|
*/
|
|
1017
|
-
|
|
1018
|
-
};
|
|
1019
|
-
export type GetPaymentMethodResponses = {
|
|
1588
|
+
400: unknown;
|
|
1020
1589
|
/**
|
|
1021
|
-
*
|
|
1590
|
+
* Not authenticated
|
|
1022
1591
|
*/
|
|
1023
|
-
|
|
1024
|
-
};
|
|
1025
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1026
|
-
export type GetPaymentMethodSecretData = {
|
|
1027
|
-
body?: never;
|
|
1028
|
-
path?: never;
|
|
1029
|
-
query?: never;
|
|
1030
|
-
url: '/billing/payment-method';
|
|
1592
|
+
401: unknown;
|
|
1031
1593
|
};
|
|
1032
|
-
export type
|
|
1594
|
+
export type DeleteUserResponses = {
|
|
1033
1595
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1596
|
+
* User profile information
|
|
1036
1597
|
*/
|
|
1037
|
-
200:
|
|
1038
|
-
/**
|
|
1039
|
-
* The client secret.
|
|
1040
|
-
*/
|
|
1041
|
-
id?: string;
|
|
1042
|
-
};
|
|
1598
|
+
200: User;
|
|
1043
1599
|
};
|
|
1044
|
-
export type
|
|
1045
|
-
export type
|
|
1600
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1601
|
+
export type GetUserData = {
|
|
1046
1602
|
body?: never;
|
|
1047
|
-
path
|
|
1048
|
-
query: {
|
|
1049
|
-
/**
|
|
1050
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
start_date: string;
|
|
1603
|
+
path: {
|
|
1053
1604
|
/**
|
|
1054
|
-
*
|
|
1605
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1055
1606
|
*/
|
|
1056
|
-
|
|
1607
|
+
user_id: string;
|
|
1057
1608
|
};
|
|
1058
|
-
|
|
1609
|
+
query?: never;
|
|
1610
|
+
url: '/users/{user_id}';
|
|
1059
1611
|
};
|
|
1060
|
-
export type
|
|
1612
|
+
export type GetUserErrors = {
|
|
1061
1613
|
/**
|
|
1062
1614
|
* Not authenticated
|
|
1063
1615
|
*/
|
|
1064
1616
|
401: unknown;
|
|
1065
1617
|
};
|
|
1066
|
-
export type
|
|
1618
|
+
export type GetUserResponses = {
|
|
1067
1619
|
/**
|
|
1068
|
-
*
|
|
1620
|
+
* User profile information
|
|
1069
1621
|
*/
|
|
1070
|
-
200:
|
|
1622
|
+
200: User;
|
|
1071
1623
|
};
|
|
1072
|
-
export type
|
|
1073
|
-
export type
|
|
1074
|
-
body
|
|
1624
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1625
|
+
export type UpdateUserData = {
|
|
1626
|
+
body: UserUpdateInput;
|
|
1075
1627
|
path: {
|
|
1076
1628
|
/**
|
|
1077
|
-
* Unique
|
|
1629
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1078
1630
|
*/
|
|
1079
|
-
|
|
1631
|
+
user_id: string;
|
|
1080
1632
|
};
|
|
1081
1633
|
query?: never;
|
|
1082
|
-
url: '/
|
|
1634
|
+
url: '/users/{user_id}';
|
|
1083
1635
|
};
|
|
1084
|
-
export type
|
|
1636
|
+
export type UpdateUserResponses = {
|
|
1085
1637
|
/**
|
|
1086
|
-
*
|
|
1638
|
+
* Successfully created. Returns created user details.
|
|
1087
1639
|
*/
|
|
1088
|
-
200:
|
|
1089
|
-
html?: string;
|
|
1090
|
-
};
|
|
1640
|
+
200: User;
|
|
1091
1641
|
};
|
|
1092
|
-
export type
|
|
1093
|
-
export type
|
|
1642
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1643
|
+
export type ListTokensData = {
|
|
1094
1644
|
body?: never;
|
|
1095
1645
|
path?: never;
|
|
1096
1646
|
query?: never;
|
|
1097
|
-
url: '/
|
|
1647
|
+
url: '/tokens';
|
|
1098
1648
|
};
|
|
1099
|
-
export type
|
|
1649
|
+
export type ListTokensErrors = {
|
|
1100
1650
|
/**
|
|
1101
|
-
*
|
|
1651
|
+
* Not authenticated
|
|
1102
1652
|
*/
|
|
1103
|
-
|
|
1104
|
-
};
|
|
1105
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1106
|
-
export type UpdateContactData = {
|
|
1107
|
-
body: BillingContact;
|
|
1108
|
-
path?: never;
|
|
1109
|
-
query?: never;
|
|
1110
|
-
url: '/billing/contact';
|
|
1653
|
+
401: unknown;
|
|
1111
1654
|
};
|
|
1112
|
-
export type
|
|
1655
|
+
export type ListTokensResponses = {
|
|
1113
1656
|
/**
|
|
1114
|
-
*
|
|
1657
|
+
* Returns a list of access token details with masked secrets.
|
|
1115
1658
|
*/
|
|
1116
|
-
200:
|
|
1659
|
+
200: Array<Token>;
|
|
1117
1660
|
};
|
|
1118
|
-
export type
|
|
1119
|
-
export type
|
|
1120
|
-
body
|
|
1661
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1662
|
+
export type CreateTokenData = {
|
|
1663
|
+
body: TokenCreateInput;
|
|
1121
1664
|
path?: never;
|
|
1122
1665
|
query?: never;
|
|
1123
|
-
url: '/
|
|
1666
|
+
url: '/tokens';
|
|
1124
1667
|
};
|
|
1125
|
-
export type
|
|
1668
|
+
export type CreateTokenErrors = {
|
|
1126
1669
|
/**
|
|
1127
1670
|
* Not authenticated
|
|
1128
1671
|
*/
|
|
1129
1672
|
401: unknown;
|
|
1130
1673
|
};
|
|
1131
|
-
export type
|
|
1674
|
+
export type CreateTokenResponses = {
|
|
1132
1675
|
/**
|
|
1133
|
-
*
|
|
1676
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1134
1677
|
*/
|
|
1135
|
-
200:
|
|
1678
|
+
200: Token;
|
|
1136
1679
|
};
|
|
1137
|
-
export type
|
|
1138
|
-
export type
|
|
1139
|
-
body
|
|
1680
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1681
|
+
export type DeleteTokenData = {
|
|
1682
|
+
body?: never;
|
|
1683
|
+
path: {
|
|
1140
1684
|
/**
|
|
1141
|
-
*
|
|
1685
|
+
* Generated unique identifier of the access token.
|
|
1142
1686
|
*/
|
|
1143
|
-
|
|
1687
|
+
token_id: string;
|
|
1144
1688
|
};
|
|
1145
|
-
path?: never;
|
|
1146
1689
|
query?: never;
|
|
1147
|
-
url: '/
|
|
1148
|
-
};
|
|
1149
|
-
export type RedeemCreditsErrors = {
|
|
1150
|
-
/**
|
|
1151
|
-
* Not authenticated
|
|
1152
|
-
*/
|
|
1153
|
-
401: unknown;
|
|
1690
|
+
url: '/tokens/{token_id}';
|
|
1154
1691
|
};
|
|
1155
|
-
export type
|
|
1692
|
+
export type DeleteTokenResponses = {
|
|
1156
1693
|
/**
|
|
1157
|
-
* Successfully
|
|
1694
|
+
* Successfully deleted.
|
|
1158
1695
|
*/
|
|
1159
1696
|
200: unknown;
|
|
1160
1697
|
};
|
|
1161
|
-
export type
|
|
1698
|
+
export type GetTokenData = {
|
|
1162
1699
|
body?: never;
|
|
1163
1700
|
path: {
|
|
1164
1701
|
/**
|
|
1165
|
-
*
|
|
1702
|
+
* Generated unique identifier of the access token.
|
|
1166
1703
|
*/
|
|
1167
|
-
|
|
1704
|
+
token_id: string;
|
|
1168
1705
|
};
|
|
1169
1706
|
query?: never;
|
|
1170
|
-
url: '/
|
|
1707
|
+
url: '/tokens/{token_id}';
|
|
1171
1708
|
};
|
|
1172
|
-
export type
|
|
1709
|
+
export type GetTokenErrors = {
|
|
1173
1710
|
/**
|
|
1174
1711
|
* Not authenticated
|
|
1175
1712
|
*/
|
|
1176
1713
|
401: unknown;
|
|
1177
1714
|
};
|
|
1178
|
-
export type
|
|
1715
|
+
export type GetTokenResponses = {
|
|
1179
1716
|
/**
|
|
1180
|
-
*
|
|
1717
|
+
* Returns access token details with masked secret.
|
|
1181
1718
|
*/
|
|
1182
|
-
200:
|
|
1719
|
+
200: Token;
|
|
1183
1720
|
};
|
|
1184
|
-
export type
|
|
1185
|
-
export type
|
|
1186
|
-
body:
|
|
1721
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1722
|
+
export type UpdateTokenData = {
|
|
1723
|
+
body: TokenUpdateInput;
|
|
1187
1724
|
path: {
|
|
1188
1725
|
/**
|
|
1189
|
-
*
|
|
1726
|
+
* Generated unique identifier of the access token.
|
|
1190
1727
|
*/
|
|
1191
|
-
|
|
1728
|
+
token_id: string;
|
|
1192
1729
|
};
|
|
1193
1730
|
query?: never;
|
|
1194
|
-
url: '/
|
|
1731
|
+
url: '/tokens/{token_id}';
|
|
1195
1732
|
};
|
|
1196
|
-
export type
|
|
1733
|
+
export type UpdateTokenErrors = {
|
|
1197
1734
|
/**
|
|
1198
|
-
*
|
|
1735
|
+
* Not authenticated
|
|
1199
1736
|
*/
|
|
1200
|
-
|
|
1737
|
+
401: unknown;
|
|
1201
1738
|
};
|
|
1202
|
-
export type
|
|
1203
|
-
|
|
1739
|
+
export type UpdateTokenResponses = {
|
|
1740
|
+
/**
|
|
1741
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1742
|
+
*/
|
|
1743
|
+
200: Token;
|
|
1744
|
+
};
|
|
1745
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1746
|
+
export type RegenerateTokenData = {
|
|
1204
1747
|
body?: never;
|
|
1205
1748
|
path: {
|
|
1206
1749
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
*/
|
|
1209
|
-
cluster_id: string;
|
|
1210
|
-
/**
|
|
1211
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1750
|
+
* Generated unique identifier of the access token.
|
|
1212
1751
|
*/
|
|
1213
|
-
|
|
1752
|
+
token_id: string;
|
|
1214
1753
|
};
|
|
1215
1754
|
query?: never;
|
|
1216
|
-
url: '/
|
|
1755
|
+
url: '/tokens/{token_id}/secret';
|
|
1217
1756
|
};
|
|
1218
|
-
export type
|
|
1757
|
+
export type RegenerateTokenErrors = {
|
|
1219
1758
|
/**
|
|
1220
|
-
*
|
|
1759
|
+
* Not authenticated
|
|
1221
1760
|
*/
|
|
1222
|
-
|
|
1761
|
+
401: unknown;
|
|
1223
1762
|
};
|
|
1224
|
-
export type
|
|
1225
|
-
|
|
1763
|
+
export type RegenerateTokenResponses = {
|
|
1764
|
+
/**
|
|
1765
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1766
|
+
*/
|
|
1767
|
+
200: Token;
|
|
1768
|
+
};
|
|
1769
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1770
|
+
export type ListTicketsData = {
|
|
1226
1771
|
body?: never;
|
|
1227
|
-
path
|
|
1228
|
-
/**
|
|
1229
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1230
|
-
*/
|
|
1231
|
-
cluster_id: string;
|
|
1232
|
-
/**
|
|
1233
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1234
|
-
*/
|
|
1235
|
-
chart_name: string;
|
|
1236
|
-
};
|
|
1772
|
+
path?: never;
|
|
1237
1773
|
query?: never;
|
|
1238
|
-
url: '/
|
|
1774
|
+
url: '/tickets';
|
|
1239
1775
|
};
|
|
1240
|
-
export type
|
|
1776
|
+
export type ListTicketsResponses = {
|
|
1241
1777
|
/**
|
|
1242
|
-
*
|
|
1778
|
+
* An array of tickets for the organization, newest first.
|
|
1243
1779
|
*/
|
|
1244
|
-
200:
|
|
1780
|
+
200: Array<Ticket>;
|
|
1245
1781
|
};
|
|
1246
|
-
export type
|
|
1247
|
-
export type
|
|
1248
|
-
body:
|
|
1249
|
-
path: {
|
|
1250
|
-
/**
|
|
1251
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1252
|
-
*/
|
|
1253
|
-
cluster_id: string;
|
|
1782
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1783
|
+
export type CreateTicketData = {
|
|
1784
|
+
body: {
|
|
1254
1785
|
/**
|
|
1255
|
-
*
|
|
1786
|
+
* JSON-encoded TicketCreateInput.
|
|
1256
1787
|
*/
|
|
1257
|
-
|
|
1788
|
+
payload?: string;
|
|
1789
|
+
attachments?: Array<Blob | File>;
|
|
1258
1790
|
};
|
|
1791
|
+
path?: never;
|
|
1259
1792
|
query?: never;
|
|
1260
|
-
url: '/
|
|
1793
|
+
url: '/tickets';
|
|
1261
1794
|
};
|
|
1262
|
-
export type
|
|
1795
|
+
export type CreateTicketResponses = {
|
|
1263
1796
|
/**
|
|
1264
|
-
*
|
|
1797
|
+
* Ticket created.
|
|
1265
1798
|
*/
|
|
1266
|
-
200:
|
|
1799
|
+
200: Ticket;
|
|
1267
1800
|
};
|
|
1268
|
-
export type
|
|
1269
|
-
export type
|
|
1801
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1802
|
+
export type CloseTicketData = {
|
|
1270
1803
|
body?: never;
|
|
1271
1804
|
path: {
|
|
1272
|
-
|
|
1273
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1274
|
-
*/
|
|
1275
|
-
cluster_id: string;
|
|
1805
|
+
ticket_id: string;
|
|
1276
1806
|
};
|
|
1277
1807
|
query?: never;
|
|
1278
|
-
url: '/
|
|
1808
|
+
url: '/tickets/{ticket_id}';
|
|
1279
1809
|
};
|
|
1280
|
-
export type
|
|
1810
|
+
export type CloseTicketResponses = {
|
|
1281
1811
|
/**
|
|
1282
|
-
*
|
|
1812
|
+
* Ticket closed.
|
|
1283
1813
|
*/
|
|
1284
|
-
|
|
1814
|
+
200: Ticket;
|
|
1285
1815
|
};
|
|
1286
|
-
export type
|
|
1816
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1817
|
+
export type GetTicketData = {
|
|
1818
|
+
body?: never;
|
|
1819
|
+
path: {
|
|
1820
|
+
ticket_id: string;
|
|
1821
|
+
};
|
|
1822
|
+
query?: never;
|
|
1823
|
+
url: '/tickets/{ticket_id}';
|
|
1824
|
+
};
|
|
1825
|
+
export type GetTicketResponses = {
|
|
1287
1826
|
/**
|
|
1288
|
-
*
|
|
1827
|
+
* Ticket with messages (internal notes excluded).
|
|
1289
1828
|
*/
|
|
1290
|
-
200:
|
|
1829
|
+
200: Ticket;
|
|
1291
1830
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export type
|
|
1294
|
-
body:
|
|
1295
|
-
path: {
|
|
1831
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1832
|
+
export type ReplyTicketData = {
|
|
1833
|
+
body: {
|
|
1296
1834
|
/**
|
|
1297
|
-
*
|
|
1835
|
+
* JSON-encoded TicketMessageInput.
|
|
1298
1836
|
*/
|
|
1299
|
-
|
|
1837
|
+
payload?: string;
|
|
1838
|
+
attachments?: Array<Blob | File>;
|
|
1839
|
+
};
|
|
1840
|
+
path: {
|
|
1841
|
+
ticket_id: string;
|
|
1300
1842
|
};
|
|
1301
1843
|
query?: never;
|
|
1302
|
-
url: '/
|
|
1844
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1303
1845
|
};
|
|
1304
|
-
export type
|
|
1846
|
+
export type ReplyTicketErrors = {
|
|
1305
1847
|
/**
|
|
1306
|
-
*
|
|
1848
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1307
1849
|
*/
|
|
1308
|
-
|
|
1850
|
+
409: unknown;
|
|
1309
1851
|
};
|
|
1310
|
-
export type
|
|
1311
|
-
export type CreateFleetResponses = {
|
|
1852
|
+
export type ReplyTicketResponses = {
|
|
1312
1853
|
/**
|
|
1313
|
-
*
|
|
1854
|
+
* Reply appended.
|
|
1314
1855
|
*/
|
|
1315
|
-
200:
|
|
1856
|
+
200: TicketMessage;
|
|
1316
1857
|
};
|
|
1317
|
-
export type
|
|
1318
|
-
export type
|
|
1858
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1859
|
+
export type GetTicketAttachmentData = {
|
|
1319
1860
|
body?: never;
|
|
1320
1861
|
path: {
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
*/
|
|
1324
|
-
cluster_id: string;
|
|
1325
|
-
/**
|
|
1326
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1327
|
-
*/
|
|
1328
|
-
fleet_name: string;
|
|
1862
|
+
ticket_id: string;
|
|
1863
|
+
attachment_id: string;
|
|
1329
1864
|
};
|
|
1330
1865
|
query?: never;
|
|
1331
|
-
url: '/
|
|
1866
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1332
1867
|
};
|
|
1333
|
-
export type
|
|
1868
|
+
export type GetTicketAttachmentResponses = {
|
|
1334
1869
|
/**
|
|
1335
|
-
*
|
|
1870
|
+
* Attachment binary stream.
|
|
1336
1871
|
*/
|
|
1337
|
-
200:
|
|
1872
|
+
200: Blob | File;
|
|
1338
1873
|
};
|
|
1339
|
-
export type
|
|
1340
|
-
export type
|
|
1874
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1875
|
+
export type ListRepositoriesData = {
|
|
1341
1876
|
body?: never;
|
|
1342
|
-
path
|
|
1343
|
-
/**
|
|
1344
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1345
|
-
*/
|
|
1346
|
-
cluster_id: string;
|
|
1347
|
-
/**
|
|
1348
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1349
|
-
*/
|
|
1350
|
-
fleet_name: string;
|
|
1351
|
-
};
|
|
1877
|
+
path?: never;
|
|
1352
1878
|
query?: never;
|
|
1353
|
-
url: '/
|
|
1879
|
+
url: '/registry';
|
|
1354
1880
|
};
|
|
1355
|
-
export type
|
|
1881
|
+
export type ListRepositoriesErrors = {
|
|
1356
1882
|
/**
|
|
1357
|
-
*
|
|
1883
|
+
* Not authenticated
|
|
1358
1884
|
*/
|
|
1359
|
-
|
|
1885
|
+
401: unknown;
|
|
1886
|
+
/**
|
|
1887
|
+
* Internal server error
|
|
1888
|
+
*/
|
|
1889
|
+
500: unknown;
|
|
1360
1890
|
};
|
|
1361
|
-
export type
|
|
1362
|
-
|
|
1363
|
-
|
|
1891
|
+
export type ListRepositoriesResponses = {
|
|
1892
|
+
/**
|
|
1893
|
+
* List of repositories
|
|
1894
|
+
*/
|
|
1895
|
+
200: Array<RegistryRepository>;
|
|
1896
|
+
};
|
|
1897
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1898
|
+
export type ListTagsData = {
|
|
1899
|
+
body?: never;
|
|
1364
1900
|
path: {
|
|
1365
1901
|
/**
|
|
1366
|
-
*
|
|
1902
|
+
* Region where the repository is located
|
|
1367
1903
|
*/
|
|
1368
|
-
|
|
1904
|
+
region: string;
|
|
1369
1905
|
/**
|
|
1370
|
-
*
|
|
1906
|
+
* Name of the repository
|
|
1371
1907
|
*/
|
|
1372
|
-
|
|
1908
|
+
repository: string;
|
|
1373
1909
|
};
|
|
1374
1910
|
query?: never;
|
|
1375
|
-
url: '/
|
|
1911
|
+
url: '/registry/{region}/{repository}';
|
|
1376
1912
|
};
|
|
1377
|
-
export type
|
|
1913
|
+
export type ListTagsErrors = {
|
|
1378
1914
|
/**
|
|
1379
|
-
*
|
|
1915
|
+
* Not authenticated
|
|
1380
1916
|
*/
|
|
1381
|
-
|
|
1917
|
+
401: unknown;
|
|
1918
|
+
/**
|
|
1919
|
+
* Repository not found
|
|
1920
|
+
*/
|
|
1921
|
+
404: unknown;
|
|
1922
|
+
/**
|
|
1923
|
+
* Internal server error
|
|
1924
|
+
*/
|
|
1925
|
+
500: unknown;
|
|
1382
1926
|
};
|
|
1383
|
-
export type
|
|
1384
|
-
export type UpdateFleetResponses = {
|
|
1927
|
+
export type ListTagsResponses = {
|
|
1385
1928
|
/**
|
|
1386
|
-
*
|
|
1929
|
+
* Repository with tags
|
|
1387
1930
|
*/
|
|
1388
|
-
200:
|
|
1931
|
+
200: RegistryRepositoryWithTags;
|
|
1389
1932
|
};
|
|
1390
|
-
export type
|
|
1391
|
-
export type
|
|
1933
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1934
|
+
export type DeleteTagData = {
|
|
1392
1935
|
body?: never;
|
|
1393
1936
|
path: {
|
|
1394
1937
|
/**
|
|
1395
|
-
*
|
|
1938
|
+
* Region where the repository is located
|
|
1396
1939
|
*/
|
|
1397
|
-
|
|
1940
|
+
region: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* Name of the repository
|
|
1943
|
+
*/
|
|
1944
|
+
repository: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* Name of the tag
|
|
1947
|
+
*/
|
|
1948
|
+
tag: string;
|
|
1398
1949
|
};
|
|
1399
1950
|
query?: never;
|
|
1400
|
-
url: '/
|
|
1951
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1401
1952
|
};
|
|
1402
|
-
export type
|
|
1953
|
+
export type DeleteTagErrors = {
|
|
1403
1954
|
/**
|
|
1404
1955
|
* Not authenticated
|
|
1405
1956
|
*/
|
|
1406
1957
|
401: unknown;
|
|
1958
|
+
/**
|
|
1959
|
+
* Tag not found
|
|
1960
|
+
*/
|
|
1961
|
+
404: unknown;
|
|
1962
|
+
/**
|
|
1963
|
+
* Internal server error
|
|
1964
|
+
*/
|
|
1965
|
+
500: unknown;
|
|
1407
1966
|
};
|
|
1408
|
-
export type
|
|
1967
|
+
export type DeleteTagResponses = {
|
|
1409
1968
|
/**
|
|
1410
|
-
*
|
|
1969
|
+
* Tag successfully deleted
|
|
1411
1970
|
*/
|
|
1412
1971
|
200: unknown;
|
|
1413
1972
|
};
|
|
1414
|
-
export type
|
|
1973
|
+
export type GetTagData = {
|
|
1415
1974
|
body?: never;
|
|
1416
|
-
path
|
|
1975
|
+
path: {
|
|
1976
|
+
/**
|
|
1977
|
+
* Region where the repository is located
|
|
1978
|
+
*/
|
|
1979
|
+
region: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* Name of the repository
|
|
1982
|
+
*/
|
|
1983
|
+
repository: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Name of the tag
|
|
1986
|
+
*/
|
|
1987
|
+
tag: string;
|
|
1988
|
+
};
|
|
1417
1989
|
query?: never;
|
|
1418
|
-
url: '/
|
|
1990
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1419
1991
|
};
|
|
1420
|
-
export type
|
|
1992
|
+
export type GetTagErrors = {
|
|
1421
1993
|
/**
|
|
1422
1994
|
* Not authenticated
|
|
1423
1995
|
*/
|
|
1424
1996
|
401: unknown;
|
|
1997
|
+
/**
|
|
1998
|
+
* Tag not found
|
|
1999
|
+
*/
|
|
2000
|
+
404: unknown;
|
|
2001
|
+
/**
|
|
2002
|
+
* Internal server error
|
|
2003
|
+
*/
|
|
2004
|
+
500: unknown;
|
|
1425
2005
|
};
|
|
1426
|
-
export type
|
|
2006
|
+
export type GetTagResponses = {
|
|
1427
2007
|
/**
|
|
1428
|
-
*
|
|
2008
|
+
* Tag details
|
|
1429
2009
|
*/
|
|
1430
|
-
200:
|
|
2010
|
+
200: RegistryTag;
|
|
1431
2011
|
};
|
|
1432
|
-
export type
|
|
1433
|
-
export type
|
|
1434
|
-
body
|
|
2012
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2013
|
+
export type GetOrganizationData = {
|
|
2014
|
+
body?: never;
|
|
1435
2015
|
path?: never;
|
|
1436
2016
|
query?: never;
|
|
1437
|
-
url: '/
|
|
2017
|
+
url: '/organization';
|
|
1438
2018
|
};
|
|
1439
|
-
export type
|
|
2019
|
+
export type GetOrganizationResponses = {
|
|
1440
2020
|
/**
|
|
1441
|
-
*
|
|
2021
|
+
* Returns a single object containing organization details.
|
|
1442
2022
|
*/
|
|
1443
|
-
|
|
2023
|
+
200: Organization;
|
|
1444
2024
|
};
|
|
1445
|
-
export type
|
|
1446
|
-
export type
|
|
2025
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2026
|
+
export type CreateOrganizationData = {
|
|
2027
|
+
body: OrganizationCreateInput;
|
|
2028
|
+
path?: never;
|
|
2029
|
+
query?: never;
|
|
2030
|
+
url: '/organization';
|
|
2031
|
+
};
|
|
2032
|
+
export type CreateOrganizationResponses = {
|
|
1447
2033
|
/**
|
|
1448
|
-
*
|
|
2034
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2035
|
+
*
|
|
1449
2036
|
*/
|
|
1450
|
-
200:
|
|
2037
|
+
200: OrganizationCreateOutput;
|
|
1451
2038
|
};
|
|
1452
|
-
export type
|
|
1453
|
-
export type
|
|
1454
|
-
|
|
1455
|
-
|
|
2039
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2040
|
+
export type PostMcpData = {
|
|
2041
|
+
/**
|
|
2042
|
+
* JSON-RPC 2.0 request payload
|
|
2043
|
+
*/
|
|
2044
|
+
body: {
|
|
2045
|
+
jsonrpc?: string;
|
|
2046
|
+
method?: string;
|
|
2047
|
+
id?: string | number;
|
|
1456
2048
|
/**
|
|
1457
|
-
*
|
|
2049
|
+
* Method-specific parameters
|
|
1458
2050
|
*/
|
|
1459
|
-
|
|
2051
|
+
params?: {
|
|
2052
|
+
[key: string]: unknown;
|
|
2053
|
+
};
|
|
1460
2054
|
};
|
|
2055
|
+
path?: never;
|
|
1461
2056
|
query?: never;
|
|
1462
|
-
url: '/
|
|
2057
|
+
url: '/mcp';
|
|
1463
2058
|
};
|
|
1464
|
-
export type
|
|
2059
|
+
export type PostMcpErrors = {
|
|
1465
2060
|
/**
|
|
1466
|
-
*
|
|
2061
|
+
* Not authenticated
|
|
1467
2062
|
*/
|
|
1468
|
-
|
|
2063
|
+
401: unknown;
|
|
1469
2064
|
};
|
|
1470
|
-
export type
|
|
1471
|
-
|
|
2065
|
+
export type PostMcpResponses = {
|
|
2066
|
+
/**
|
|
2067
|
+
* JSON-RPC 2.0 success or error response
|
|
2068
|
+
*/
|
|
2069
|
+
200: {
|
|
2070
|
+
jsonrpc?: string;
|
|
2071
|
+
id?: string | number;
|
|
2072
|
+
result?: {
|
|
2073
|
+
[key: string]: unknown;
|
|
2074
|
+
};
|
|
2075
|
+
error?: {
|
|
2076
|
+
code?: number;
|
|
2077
|
+
message?: string;
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
2080
|
+
};
|
|
2081
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2082
|
+
export type ListMarketplaceChartsData = {
|
|
1472
2083
|
body?: never;
|
|
1473
|
-
path
|
|
1474
|
-
/**
|
|
1475
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1476
|
-
*/
|
|
1477
|
-
cluster_id: string;
|
|
1478
|
-
};
|
|
2084
|
+
path?: never;
|
|
1479
2085
|
query?: never;
|
|
1480
|
-
url: '/
|
|
2086
|
+
url: '/marketplace';
|
|
1481
2087
|
};
|
|
1482
|
-
export type
|
|
2088
|
+
export type ListMarketplaceChartsErrors = {
|
|
1483
2089
|
/**
|
|
1484
|
-
*
|
|
2090
|
+
* Not authenticated
|
|
1485
2091
|
*/
|
|
1486
|
-
|
|
1487
|
-
};
|
|
1488
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1489
|
-
export type UpdateClusterData = {
|
|
1490
|
-
body: ClusterUpdateInput;
|
|
1491
|
-
path: {
|
|
1492
|
-
/**
|
|
1493
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1494
|
-
*/
|
|
1495
|
-
cluster_id: string;
|
|
1496
|
-
};
|
|
1497
|
-
query?: never;
|
|
1498
|
-
url: '/clusters/{cluster_id}';
|
|
2092
|
+
401: unknown;
|
|
1499
2093
|
};
|
|
1500
|
-
export type
|
|
2094
|
+
export type ListMarketplaceChartsResponses = {
|
|
1501
2095
|
/**
|
|
1502
|
-
*
|
|
2096
|
+
* An array of chart listings in the marketplace.
|
|
1503
2097
|
*/
|
|
1504
|
-
200:
|
|
2098
|
+
200: Array<MarketplaceListing>;
|
|
1505
2099
|
};
|
|
1506
|
-
export type
|
|
1507
|
-
export type
|
|
2100
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2101
|
+
export type GetMarketplaceChartFilesData = {
|
|
1508
2102
|
body?: never;
|
|
1509
2103
|
path: {
|
|
1510
2104
|
/**
|
|
1511
|
-
*
|
|
2105
|
+
* Name of the chart in the marketplace.
|
|
1512
2106
|
*/
|
|
1513
|
-
|
|
2107
|
+
chart_name: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* 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).
|
|
2110
|
+
*/
|
|
2111
|
+
version_channel: string;
|
|
1514
2112
|
};
|
|
1515
2113
|
query?: never;
|
|
1516
|
-
url: '/
|
|
2114
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1517
2115
|
};
|
|
1518
|
-
export type
|
|
2116
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1519
2117
|
/**
|
|
1520
|
-
*
|
|
2118
|
+
* Chart not found or no version matches the channel
|
|
1521
2119
|
*/
|
|
1522
|
-
|
|
2120
|
+
404: unknown;
|
|
1523
2121
|
};
|
|
1524
|
-
export type
|
|
2122
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1525
2123
|
/**
|
|
1526
|
-
*
|
|
2124
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1527
2125
|
*/
|
|
1528
|
-
200:
|
|
2126
|
+
200: MarketplaceListingFiles;
|
|
1529
2127
|
};
|
|
1530
|
-
export type
|
|
2128
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1531
2129
|
export type ListInvitesData = {
|
|
1532
2130
|
body?: never;
|
|
1533
2131
|
path?: never;
|
|
@@ -1548,12 +2146,7 @@ export type ListInvitesResponses = {
|
|
|
1548
2146
|
};
|
|
1549
2147
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1550
2148
|
export type CreateInviteData = {
|
|
1551
|
-
body:
|
|
1552
|
-
/**
|
|
1553
|
-
* User email address
|
|
1554
|
-
*/
|
|
1555
|
-
email?: string;
|
|
1556
|
-
};
|
|
2149
|
+
body: InviteCreateInput;
|
|
1557
2150
|
path?: never;
|
|
1558
2151
|
query?: never;
|
|
1559
2152
|
url: '/invites';
|
|
@@ -1578,9 +2171,18 @@ export type GetInviteData = {
|
|
|
1578
2171
|
};
|
|
1579
2172
|
export type GetInviteResponses = {
|
|
1580
2173
|
/**
|
|
1581
|
-
* Returns
|
|
2174
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1582
2175
|
*/
|
|
1583
|
-
200:
|
|
2176
|
+
200: {
|
|
2177
|
+
/**
|
|
2178
|
+
* Email address the invite was issued to.
|
|
2179
|
+
*/
|
|
2180
|
+
email?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Identifier of the organization the invite grants access to.
|
|
2183
|
+
*/
|
|
2184
|
+
organization_id?: string;
|
|
2185
|
+
};
|
|
1584
2186
|
};
|
|
1585
2187
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1586
2188
|
export type DeleteInviteData = {
|
|
@@ -1600,325 +2202,654 @@ export type DeleteInviteResponses = {
|
|
|
1600
2202
|
*/
|
|
1601
2203
|
200: unknown;
|
|
1602
2204
|
};
|
|
1603
|
-
export type
|
|
2205
|
+
export type QueryClusterData = {
|
|
1604
2206
|
body?: never;
|
|
1605
|
-
path
|
|
2207
|
+
path: {
|
|
2208
|
+
/**
|
|
2209
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2210
|
+
*/
|
|
2211
|
+
cluster_id: string;
|
|
2212
|
+
};
|
|
1606
2213
|
query?: never;
|
|
1607
|
-
url: '/
|
|
2214
|
+
url: '/clusters/{cluster_id}/query';
|
|
1608
2215
|
};
|
|
1609
|
-
export type
|
|
2216
|
+
export type QueryClusterErrors = {
|
|
1610
2217
|
/**
|
|
1611
2218
|
* Not authenticated
|
|
1612
2219
|
*/
|
|
1613
2220
|
401: unknown;
|
|
1614
2221
|
};
|
|
1615
|
-
export type
|
|
2222
|
+
export type QueryClusterResponses = {
|
|
1616
2223
|
/**
|
|
1617
|
-
*
|
|
2224
|
+
* Kubernetes API response
|
|
1618
2225
|
*/
|
|
1619
|
-
200:
|
|
2226
|
+
200: unknown;
|
|
1620
2227
|
};
|
|
1621
|
-
export type
|
|
1622
|
-
export type GetMarketplaceChartData = {
|
|
2228
|
+
export type ListFleetsData = {
|
|
1623
2229
|
body?: never;
|
|
1624
2230
|
path: {
|
|
1625
2231
|
/**
|
|
1626
|
-
* Unique identifier of the
|
|
2232
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1627
2233
|
*/
|
|
1628
|
-
|
|
2234
|
+
cluster_id: string;
|
|
1629
2235
|
};
|
|
1630
2236
|
query?: never;
|
|
1631
|
-
url: '/
|
|
2237
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1632
2238
|
};
|
|
1633
|
-
export type
|
|
2239
|
+
export type ListFleetsErrors = {
|
|
1634
2240
|
/**
|
|
1635
|
-
*
|
|
2241
|
+
* Not authenticated
|
|
1636
2242
|
*/
|
|
1637
|
-
|
|
1638
|
-
};
|
|
1639
|
-
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1640
|
-
export type GetOrganizationData = {
|
|
1641
|
-
body?: never;
|
|
1642
|
-
path?: never;
|
|
1643
|
-
query?: never;
|
|
1644
|
-
url: '/organization';
|
|
2243
|
+
401: unknown;
|
|
1645
2244
|
};
|
|
1646
|
-
export type
|
|
2245
|
+
export type ListFleetsResponses = {
|
|
1647
2246
|
/**
|
|
1648
|
-
*
|
|
2247
|
+
* An array of fleets
|
|
1649
2248
|
*/
|
|
1650
|
-
200:
|
|
2249
|
+
200: Array<Fleet>;
|
|
1651
2250
|
};
|
|
1652
|
-
export type
|
|
1653
|
-
export type
|
|
1654
|
-
body:
|
|
1655
|
-
path
|
|
2251
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2252
|
+
export type CreateFleetData = {
|
|
2253
|
+
body: FleetCreateInput;
|
|
2254
|
+
path: {
|
|
2255
|
+
/**
|
|
2256
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2257
|
+
*/
|
|
2258
|
+
cluster_id: string;
|
|
2259
|
+
};
|
|
1656
2260
|
query?: never;
|
|
1657
|
-
url: '/
|
|
2261
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1658
2262
|
};
|
|
1659
|
-
export type
|
|
2263
|
+
export type CreateFleetErrors = {
|
|
1660
2264
|
/**
|
|
1661
|
-
*
|
|
2265
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1662
2266
|
*/
|
|
1663
|
-
|
|
1664
|
-
};
|
|
1665
|
-
export type ListTokensData = {
|
|
1666
|
-
body?: never;
|
|
1667
|
-
path?: never;
|
|
1668
|
-
query?: never;
|
|
1669
|
-
url: '/tokens';
|
|
1670
|
-
};
|
|
1671
|
-
export type ListTokensErrors = {
|
|
2267
|
+
402: string;
|
|
1672
2268
|
/**
|
|
1673
|
-
*
|
|
2269
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1674
2270
|
*/
|
|
1675
|
-
|
|
2271
|
+
409: string;
|
|
1676
2272
|
};
|
|
1677
|
-
export type
|
|
2273
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2274
|
+
export type CreateFleetResponses = {
|
|
1678
2275
|
/**
|
|
1679
|
-
*
|
|
2276
|
+
* Successfully created. Returns created Fleet ID.
|
|
1680
2277
|
*/
|
|
1681
|
-
200:
|
|
2278
|
+
200: string;
|
|
1682
2279
|
};
|
|
1683
|
-
export type
|
|
1684
|
-
export type
|
|
1685
|
-
body
|
|
1686
|
-
path
|
|
2280
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2281
|
+
export type DeleteFleetData = {
|
|
2282
|
+
body?: never;
|
|
2283
|
+
path: {
|
|
2284
|
+
/**
|
|
2285
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2286
|
+
*/
|
|
2287
|
+
cluster_id: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2290
|
+
*/
|
|
2291
|
+
fleet_name: string;
|
|
2292
|
+
};
|
|
1687
2293
|
query?: never;
|
|
1688
|
-
url: '/
|
|
2294
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1689
2295
|
};
|
|
1690
|
-
export type
|
|
2296
|
+
export type DeleteFleetErrors = {
|
|
1691
2297
|
/**
|
|
1692
|
-
*
|
|
2298
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1693
2299
|
*/
|
|
1694
|
-
|
|
2300
|
+
409: string;
|
|
1695
2301
|
};
|
|
1696
|
-
export type
|
|
2302
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2303
|
+
export type DeleteFleetResponses = {
|
|
1697
2304
|
/**
|
|
1698
|
-
* Successfully
|
|
2305
|
+
* Successfully deleted.
|
|
1699
2306
|
*/
|
|
1700
|
-
200:
|
|
2307
|
+
200: string;
|
|
1701
2308
|
};
|
|
1702
|
-
export type
|
|
1703
|
-
export type
|
|
2309
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2310
|
+
export type GetFleetData = {
|
|
1704
2311
|
body?: never;
|
|
1705
2312
|
path: {
|
|
1706
2313
|
/**
|
|
1707
|
-
*
|
|
2314
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1708
2315
|
*/
|
|
1709
|
-
|
|
2316
|
+
cluster_id: string;
|
|
2317
|
+
/**
|
|
2318
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2319
|
+
*/
|
|
2320
|
+
fleet_name: string;
|
|
1710
2321
|
};
|
|
1711
2322
|
query?: never;
|
|
1712
|
-
url: '/
|
|
2323
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1713
2324
|
};
|
|
1714
|
-
export type
|
|
2325
|
+
export type GetFleetResponses = {
|
|
1715
2326
|
/**
|
|
1716
|
-
*
|
|
2327
|
+
* Returns a single object containing fleet details.
|
|
1717
2328
|
*/
|
|
1718
|
-
200:
|
|
2329
|
+
200: Fleet;
|
|
1719
2330
|
};
|
|
1720
|
-
export type
|
|
1721
|
-
|
|
2331
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2332
|
+
export type UpdateFleetData = {
|
|
2333
|
+
body: FleetUpdateInput;
|
|
1722
2334
|
path: {
|
|
1723
2335
|
/**
|
|
1724
|
-
*
|
|
2336
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1725
2337
|
*/
|
|
1726
|
-
|
|
2338
|
+
cluster_id: string;
|
|
2339
|
+
/**
|
|
2340
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2341
|
+
*/
|
|
2342
|
+
fleet_name: string;
|
|
1727
2343
|
};
|
|
1728
2344
|
query?: never;
|
|
1729
|
-
url: '/
|
|
2345
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1730
2346
|
};
|
|
1731
|
-
export type
|
|
2347
|
+
export type UpdateFleetErrors = {
|
|
1732
2348
|
/**
|
|
1733
|
-
*
|
|
2349
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1734
2350
|
*/
|
|
1735
|
-
|
|
2351
|
+
402: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2354
|
+
*/
|
|
2355
|
+
409: string;
|
|
1736
2356
|
};
|
|
1737
|
-
export type
|
|
2357
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2358
|
+
export type UpdateFleetResponses = {
|
|
1738
2359
|
/**
|
|
1739
|
-
*
|
|
2360
|
+
* Successfully updated.
|
|
1740
2361
|
*/
|
|
1741
|
-
200:
|
|
2362
|
+
200: string;
|
|
1742
2363
|
};
|
|
1743
|
-
export type
|
|
1744
|
-
export type
|
|
1745
|
-
body
|
|
2364
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2365
|
+
export type ListChartsData = {
|
|
2366
|
+
body?: never;
|
|
1746
2367
|
path: {
|
|
1747
2368
|
/**
|
|
1748
|
-
*
|
|
2369
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1749
2370
|
*/
|
|
1750
|
-
|
|
2371
|
+
cluster_id: string;
|
|
1751
2372
|
};
|
|
1752
2373
|
query?: never;
|
|
1753
|
-
url: '/
|
|
2374
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1754
2375
|
};
|
|
1755
|
-
export type
|
|
2376
|
+
export type ListChartsErrors = {
|
|
1756
2377
|
/**
|
|
1757
2378
|
* Not authenticated
|
|
1758
2379
|
*/
|
|
1759
2380
|
401: unknown;
|
|
1760
2381
|
};
|
|
1761
|
-
export type
|
|
2382
|
+
export type ListChartsResponses = {
|
|
1762
2383
|
/**
|
|
1763
|
-
*
|
|
2384
|
+
* An array of charts
|
|
1764
2385
|
*/
|
|
1765
|
-
200:
|
|
2386
|
+
200: Array<Chart>;
|
|
1766
2387
|
};
|
|
1767
|
-
export type
|
|
1768
|
-
export type
|
|
1769
|
-
body
|
|
2388
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2389
|
+
export type CreateChartData = {
|
|
2390
|
+
body: ChartCreateInput;
|
|
1770
2391
|
path: {
|
|
1771
2392
|
/**
|
|
1772
|
-
*
|
|
2393
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1773
2394
|
*/
|
|
1774
|
-
|
|
2395
|
+
cluster_id: string;
|
|
1775
2396
|
};
|
|
1776
2397
|
query?: never;
|
|
1777
|
-
url: '/
|
|
2398
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1778
2399
|
};
|
|
1779
|
-
export type
|
|
2400
|
+
export type CreateChartErrors = {
|
|
1780
2401
|
/**
|
|
1781
|
-
*
|
|
2402
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1782
2403
|
*/
|
|
1783
|
-
|
|
2404
|
+
409: string;
|
|
1784
2405
|
};
|
|
1785
|
-
export type
|
|
2406
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2407
|
+
export type CreateChartResponses = {
|
|
1786
2408
|
/**
|
|
1787
|
-
* Successfully
|
|
2409
|
+
* Successfully created. Returns created Chart ID.
|
|
1788
2410
|
*/
|
|
1789
|
-
200:
|
|
2411
|
+
200: string;
|
|
1790
2412
|
};
|
|
1791
|
-
export type
|
|
1792
|
-
export type
|
|
2413
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2414
|
+
export type DeleteChartData = {
|
|
1793
2415
|
body?: never;
|
|
1794
2416
|
path: {
|
|
1795
2417
|
/**
|
|
1796
|
-
*
|
|
2418
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1797
2419
|
*/
|
|
1798
|
-
|
|
2420
|
+
cluster_id: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2423
|
+
*/
|
|
2424
|
+
chart_name: string;
|
|
1799
2425
|
};
|
|
1800
2426
|
query?: never;
|
|
1801
|
-
url: '/
|
|
2427
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1802
2428
|
};
|
|
1803
|
-
export type
|
|
2429
|
+
export type DeleteChartErrors = {
|
|
1804
2430
|
/**
|
|
1805
|
-
*
|
|
2431
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1806
2432
|
*/
|
|
1807
|
-
|
|
2433
|
+
409: string;
|
|
2434
|
+
};
|
|
2435
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2436
|
+
export type DeleteChartResponses = {
|
|
2437
|
+
/**
|
|
2438
|
+
* Successfully deleted.
|
|
2439
|
+
*/
|
|
2440
|
+
200: string;
|
|
2441
|
+
};
|
|
2442
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2443
|
+
export type GetChartData = {
|
|
2444
|
+
body?: never;
|
|
2445
|
+
path: {
|
|
1808
2446
|
/**
|
|
1809
|
-
* Unique identifier of the
|
|
2447
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1810
2448
|
*/
|
|
1811
|
-
|
|
2449
|
+
cluster_id: string;
|
|
1812
2450
|
/**
|
|
1813
|
-
*
|
|
2451
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1814
2452
|
*/
|
|
1815
|
-
|
|
1816
|
-
}
|
|
2453
|
+
chart_name: string;
|
|
2454
|
+
};
|
|
2455
|
+
query?: never;
|
|
2456
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1817
2457
|
};
|
|
1818
|
-
export type
|
|
1819
|
-
|
|
2458
|
+
export type GetChartResponses = {
|
|
2459
|
+
/**
|
|
2460
|
+
* Returns a single object containing chart details.
|
|
2461
|
+
*/
|
|
2462
|
+
200: Chart;
|
|
2463
|
+
};
|
|
2464
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2465
|
+
export type UpdateChartData = {
|
|
2466
|
+
body: ChartUpdateInput;
|
|
2467
|
+
path: {
|
|
2468
|
+
/**
|
|
2469
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2470
|
+
*/
|
|
2471
|
+
cluster_id: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2474
|
+
*/
|
|
2475
|
+
chart_name: string;
|
|
2476
|
+
};
|
|
2477
|
+
query?: never;
|
|
2478
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2479
|
+
};
|
|
2480
|
+
export type UpdateChartErrors = {
|
|
2481
|
+
/**
|
|
2482
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2483
|
+
*/
|
|
2484
|
+
409: string;
|
|
2485
|
+
};
|
|
2486
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2487
|
+
export type UpdateChartResponses = {
|
|
2488
|
+
/**
|
|
2489
|
+
* Successfully updated.
|
|
2490
|
+
*/
|
|
2491
|
+
200: string;
|
|
2492
|
+
};
|
|
2493
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2494
|
+
export type ListClustersData = {
|
|
1820
2495
|
body?: never;
|
|
1821
2496
|
path?: never;
|
|
1822
2497
|
query?: never;
|
|
1823
|
-
url: '/
|
|
2498
|
+
url: '/clusters';
|
|
1824
2499
|
};
|
|
1825
|
-
export type
|
|
2500
|
+
export type ListClustersErrors = {
|
|
1826
2501
|
/**
|
|
1827
2502
|
* Not authenticated
|
|
1828
2503
|
*/
|
|
1829
2504
|
401: unknown;
|
|
1830
2505
|
};
|
|
1831
|
-
export type
|
|
2506
|
+
export type ListClustersResponses = {
|
|
1832
2507
|
/**
|
|
1833
|
-
* An array of
|
|
2508
|
+
* An array of clusters
|
|
1834
2509
|
*/
|
|
1835
|
-
200: Array<
|
|
2510
|
+
200: Array<Cluster>;
|
|
1836
2511
|
};
|
|
1837
|
-
export type
|
|
1838
|
-
export type
|
|
1839
|
-
body:
|
|
2512
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2513
|
+
export type CreateClusterData = {
|
|
2514
|
+
body: ClusterCreateInput;
|
|
1840
2515
|
path?: never;
|
|
1841
2516
|
query?: never;
|
|
1842
|
-
url: '/
|
|
2517
|
+
url: '/clusters';
|
|
1843
2518
|
};
|
|
1844
|
-
export type
|
|
2519
|
+
export type CreateClusterErrors = {
|
|
1845
2520
|
/**
|
|
1846
|
-
*
|
|
2521
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1847
2522
|
*/
|
|
1848
|
-
|
|
2523
|
+
402: string;
|
|
1849
2524
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
export type
|
|
2525
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2526
|
+
export type CreateClusterResponses = {
|
|
2527
|
+
/**
|
|
2528
|
+
* Successfully created. Returns created Cluster ID.
|
|
2529
|
+
*/
|
|
2530
|
+
200: string;
|
|
2531
|
+
};
|
|
2532
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2533
|
+
export type DeleteClusterData = {
|
|
1852
2534
|
body?: never;
|
|
1853
2535
|
path: {
|
|
1854
2536
|
/**
|
|
1855
|
-
* Unique
|
|
2537
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1856
2538
|
*/
|
|
1857
|
-
|
|
2539
|
+
cluster_id: string;
|
|
1858
2540
|
};
|
|
1859
2541
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2542
|
+
url: '/clusters/{cluster_id}';
|
|
1861
2543
|
};
|
|
1862
|
-
export type
|
|
2544
|
+
export type DeleteClusterErrors = {
|
|
1863
2545
|
/**
|
|
1864
|
-
*
|
|
2546
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1865
2547
|
*/
|
|
1866
|
-
|
|
2548
|
+
404: unknown;
|
|
2549
|
+
/**
|
|
2550
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2551
|
+
*/
|
|
2552
|
+
409: string;
|
|
2553
|
+
/**
|
|
2554
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2555
|
+
*/
|
|
2556
|
+
503: unknown;
|
|
2557
|
+
};
|
|
2558
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2559
|
+
export type DeleteClusterResponses = {
|
|
2560
|
+
/**
|
|
2561
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2562
|
+
*/
|
|
2563
|
+
200: string;
|
|
2564
|
+
};
|
|
2565
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2566
|
+
export type GetClusterData = {
|
|
2567
|
+
body?: never;
|
|
2568
|
+
path: {
|
|
2569
|
+
/**
|
|
2570
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2571
|
+
*/
|
|
2572
|
+
cluster_id: string;
|
|
2573
|
+
};
|
|
2574
|
+
query?: never;
|
|
2575
|
+
url: '/clusters/{cluster_id}';
|
|
2576
|
+
};
|
|
2577
|
+
export type GetClusterResponses = {
|
|
2578
|
+
/**
|
|
2579
|
+
* Returns a single object containing cluster details.
|
|
2580
|
+
*/
|
|
2581
|
+
200: Cluster;
|
|
2582
|
+
};
|
|
2583
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2584
|
+
export type UpdateClusterData = {
|
|
2585
|
+
body: ClusterUpdateInput;
|
|
2586
|
+
path: {
|
|
2587
|
+
/**
|
|
2588
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2589
|
+
*/
|
|
2590
|
+
cluster_id: string;
|
|
2591
|
+
};
|
|
2592
|
+
query?: never;
|
|
2593
|
+
url: '/clusters/{cluster_id}';
|
|
2594
|
+
};
|
|
2595
|
+
export type UpdateClusterErrors = {
|
|
2596
|
+
/**
|
|
2597
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2598
|
+
*/
|
|
2599
|
+
409: string;
|
|
2600
|
+
};
|
|
2601
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2602
|
+
export type UpdateClusterResponses = {
|
|
2603
|
+
/**
|
|
2604
|
+
* Successfully updated. Returns updated cluster details.
|
|
2605
|
+
*/
|
|
2606
|
+
200: Cluster;
|
|
2607
|
+
};
|
|
2608
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2609
|
+
export type GetJoinInformationData = {
|
|
2610
|
+
body?: never;
|
|
2611
|
+
path: {
|
|
2612
|
+
/**
|
|
2613
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2614
|
+
*/
|
|
2615
|
+
cluster_id: string;
|
|
2616
|
+
};
|
|
2617
|
+
query?: never;
|
|
2618
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2619
|
+
};
|
|
2620
|
+
export type GetJoinInformationErrors = {
|
|
1867
2621
|
/**
|
|
1868
2622
|
* Not authenticated
|
|
1869
2623
|
*/
|
|
1870
2624
|
401: unknown;
|
|
2625
|
+
/**
|
|
2626
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2627
|
+
*/
|
|
2628
|
+
409: string;
|
|
1871
2629
|
};
|
|
1872
|
-
export type
|
|
2630
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2631
|
+
export type GetJoinInformationResponses = {
|
|
1873
2632
|
/**
|
|
1874
|
-
*
|
|
2633
|
+
* An object of cluster join information
|
|
1875
2634
|
*/
|
|
1876
|
-
200:
|
|
2635
|
+
200: ClusterJoinInformation;
|
|
1877
2636
|
};
|
|
1878
|
-
export type
|
|
1879
|
-
export type
|
|
2637
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2638
|
+
export type GetUsageData = {
|
|
2639
|
+
body?: never;
|
|
2640
|
+
path?: never;
|
|
2641
|
+
query?: {
|
|
2642
|
+
/**
|
|
2643
|
+
* 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)
|
|
2644
|
+
*/
|
|
2645
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2646
|
+
};
|
|
2647
|
+
url: '/billing/usage';
|
|
2648
|
+
};
|
|
2649
|
+
export type GetUsageErrors = {
|
|
2650
|
+
/**
|
|
2651
|
+
* Not authenticated
|
|
2652
|
+
*/
|
|
2653
|
+
401: unknown;
|
|
2654
|
+
};
|
|
2655
|
+
export type GetUsageResponses = {
|
|
2656
|
+
/**
|
|
2657
|
+
* Usage data with facets for filtering
|
|
2658
|
+
*/
|
|
2659
|
+
200: UsageResponse;
|
|
2660
|
+
};
|
|
2661
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2662
|
+
export type GetPaymentMethodSecretData = {
|
|
2663
|
+
body?: never;
|
|
2664
|
+
path?: never;
|
|
2665
|
+
query?: never;
|
|
2666
|
+
url: '/billing/payment-method';
|
|
2667
|
+
};
|
|
2668
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2669
|
+
/**
|
|
2670
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
2671
|
+
*
|
|
2672
|
+
*/
|
|
2673
|
+
200: {
|
|
2674
|
+
/**
|
|
2675
|
+
* The client secret.
|
|
2676
|
+
*/
|
|
2677
|
+
id?: string;
|
|
2678
|
+
};
|
|
2679
|
+
};
|
|
2680
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2681
|
+
export type ListPaymentMethodsData = {
|
|
2682
|
+
body?: never;
|
|
2683
|
+
path?: never;
|
|
2684
|
+
query?: never;
|
|
2685
|
+
url: '/billing/payment-methods';
|
|
2686
|
+
};
|
|
2687
|
+
export type ListPaymentMethodsErrors = {
|
|
2688
|
+
/**
|
|
2689
|
+
* Not authenticated
|
|
2690
|
+
*/
|
|
2691
|
+
401: unknown;
|
|
2692
|
+
};
|
|
2693
|
+
export type ListPaymentMethodsResponses = {
|
|
2694
|
+
/**
|
|
2695
|
+
* An array of payment methods.
|
|
2696
|
+
*/
|
|
2697
|
+
200: Array<PaymentMethod>;
|
|
2698
|
+
};
|
|
2699
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2700
|
+
export type SetDefaultPaymentMethodData = {
|
|
1880
2701
|
body?: never;
|
|
1881
2702
|
path: {
|
|
1882
2703
|
/**
|
|
1883
|
-
*
|
|
2704
|
+
* Stripe payment method identifier.
|
|
1884
2705
|
*/
|
|
1885
|
-
|
|
2706
|
+
paymentMethodId: string;
|
|
1886
2707
|
};
|
|
1887
2708
|
query?: never;
|
|
1888
|
-
url: '/
|
|
2709
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1889
2710
|
};
|
|
1890
|
-
export type
|
|
2711
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2712
|
+
/**
|
|
2713
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2714
|
+
*/
|
|
2715
|
+
400: unknown;
|
|
1891
2716
|
/**
|
|
1892
2717
|
* Not authenticated
|
|
1893
2718
|
*/
|
|
1894
2719
|
401: unknown;
|
|
2720
|
+
/**
|
|
2721
|
+
* Payment method not found.
|
|
2722
|
+
*/
|
|
2723
|
+
404: unknown;
|
|
1895
2724
|
};
|
|
1896
|
-
export type
|
|
2725
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1897
2726
|
/**
|
|
1898
|
-
*
|
|
2727
|
+
* Default payment method updated.
|
|
1899
2728
|
*/
|
|
1900
|
-
|
|
2729
|
+
204: void;
|
|
1901
2730
|
};
|
|
1902
|
-
export type
|
|
1903
|
-
export type
|
|
1904
|
-
body
|
|
2731
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2732
|
+
export type DeletePaymentMethodData = {
|
|
2733
|
+
body?: never;
|
|
1905
2734
|
path: {
|
|
1906
2735
|
/**
|
|
1907
|
-
*
|
|
2736
|
+
* Stripe payment method identifier.
|
|
1908
2737
|
*/
|
|
1909
|
-
|
|
2738
|
+
paymentMethodId: string;
|
|
1910
2739
|
};
|
|
1911
2740
|
query?: never;
|
|
1912
|
-
url: '/
|
|
2741
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1913
2742
|
};
|
|
1914
|
-
export type
|
|
2743
|
+
export type DeletePaymentMethodErrors = {
|
|
1915
2744
|
/**
|
|
1916
|
-
*
|
|
2745
|
+
* The bank transfer payment method cannot be removed.
|
|
1917
2746
|
*/
|
|
1918
|
-
|
|
2747
|
+
400: unknown;
|
|
2748
|
+
/**
|
|
2749
|
+
* Not authenticated
|
|
2750
|
+
*/
|
|
2751
|
+
401: unknown;
|
|
2752
|
+
/**
|
|
2753
|
+
* Payment method not found.
|
|
2754
|
+
*/
|
|
2755
|
+
404: unknown;
|
|
2756
|
+
/**
|
|
2757
|
+
* Cannot delete the only remaining payment method.
|
|
2758
|
+
*/
|
|
2759
|
+
409: unknown;
|
|
1919
2760
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
|
|
1922
|
-
|
|
2761
|
+
export type DeletePaymentMethodResponses = {
|
|
2762
|
+
/**
|
|
2763
|
+
* Payment method deleted.
|
|
2764
|
+
*/
|
|
2765
|
+
204: void;
|
|
2766
|
+
};
|
|
2767
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2768
|
+
export type ListInvoicesData = {
|
|
2769
|
+
body?: never;
|
|
2770
|
+
path?: never;
|
|
2771
|
+
query?: never;
|
|
2772
|
+
url: '/billing/invoices';
|
|
2773
|
+
};
|
|
2774
|
+
export type ListInvoicesErrors = {
|
|
2775
|
+
/**
|
|
2776
|
+
* Not authenticated
|
|
2777
|
+
*/
|
|
2778
|
+
401: unknown;
|
|
2779
|
+
};
|
|
2780
|
+
export type ListInvoicesResponses = {
|
|
2781
|
+
/**
|
|
2782
|
+
* An array of usage records.
|
|
2783
|
+
*/
|
|
2784
|
+
200: Array<Invoice>;
|
|
2785
|
+
};
|
|
2786
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2787
|
+
export type GetContactData = {
|
|
2788
|
+
body?: never;
|
|
2789
|
+
path?: never;
|
|
2790
|
+
query?: never;
|
|
2791
|
+
url: '/billing/contact';
|
|
2792
|
+
};
|
|
2793
|
+
export type GetContactResponses = {
|
|
2794
|
+
/**
|
|
2795
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2796
|
+
*/
|
|
2797
|
+
200: BillingContact;
|
|
2798
|
+
};
|
|
2799
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2800
|
+
export type UpdateContactData = {
|
|
2801
|
+
body: BillingContact;
|
|
2802
|
+
path?: never;
|
|
2803
|
+
query?: never;
|
|
2804
|
+
url: '/billing/contact';
|
|
2805
|
+
};
|
|
2806
|
+
export type UpdateContactResponses = {
|
|
2807
|
+
/**
|
|
2808
|
+
* Successfully updated. Returns updated organization details.
|
|
2809
|
+
*/
|
|
2810
|
+
200: BillingContact;
|
|
2811
|
+
};
|
|
2812
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2813
|
+
export type GetCreditsData = {
|
|
2814
|
+
body?: never;
|
|
2815
|
+
path?: never;
|
|
2816
|
+
query?: never;
|
|
2817
|
+
url: '/billing/credits';
|
|
2818
|
+
};
|
|
2819
|
+
export type GetCreditsErrors = {
|
|
2820
|
+
/**
|
|
2821
|
+
* Not authenticated
|
|
2822
|
+
*/
|
|
2823
|
+
401: unknown;
|
|
2824
|
+
};
|
|
2825
|
+
export type GetCreditsResponses = {
|
|
2826
|
+
/**
|
|
2827
|
+
* An array of the applied promotional credits records.
|
|
2828
|
+
*/
|
|
2829
|
+
200: Array<BillingCredits>;
|
|
2830
|
+
};
|
|
2831
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2832
|
+
export type RedeemCreditsData = {
|
|
2833
|
+
body: {
|
|
2834
|
+
/**
|
|
2835
|
+
* Promotional code to redeem
|
|
2836
|
+
*/
|
|
2837
|
+
code?: string;
|
|
2838
|
+
};
|
|
2839
|
+
path?: never;
|
|
2840
|
+
query?: never;
|
|
2841
|
+
url: '/billing/credits';
|
|
2842
|
+
};
|
|
2843
|
+
export type RedeemCreditsErrors = {
|
|
2844
|
+
/**
|
|
2845
|
+
* Not authenticated
|
|
2846
|
+
*/
|
|
2847
|
+
401: unknown;
|
|
2848
|
+
};
|
|
2849
|
+
export type RedeemCreditsResponses = {
|
|
2850
|
+
/**
|
|
2851
|
+
* Successfully created a new organization.
|
|
2852
|
+
*/
|
|
2853
|
+
200: unknown;
|
|
1923
2854
|
};
|
|
1924
2855
|
//# sourceMappingURL=types.gen.d.ts.map
|