@cloudfleet/sdk 0.0.1-ed50a15 → 0.0.1-f018175
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -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} +11 -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} +16 -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 +1579 -569
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2995 -711
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +286 -164
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +406 -337
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1782 -782
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3497 -2553
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1432 -1194
- 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 -146
- 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';
|
|
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.
|
|
@@ -248,22 +307,69 @@ export type Cluster = {
|
|
|
248
307
|
*/
|
|
249
308
|
tier: 'basic' | 'pro';
|
|
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';
|
|
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). Omit this field to keep the existing value.
|
|
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'>;
|
|
328
478
|
/**
|
|
329
|
-
*
|
|
479
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
330
480
|
*/
|
|
331
|
-
|
|
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'>;
|
|
482
|
+
/**
|
|
483
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
484
|
+
*/
|
|
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.
|
|
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.
|
|
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). Omit this field to keep the existing value.
|
|
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.
|
|
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,471 +664,847 @@ 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 = {
|
|
461
705
|
/**
|
|
462
|
-
*
|
|
706
|
+
* Raw Chart.yaml content from the Helm chart
|
|
463
707
|
*/
|
|
464
|
-
|
|
708
|
+
chartYaml?: string;
|
|
465
709
|
/**
|
|
466
|
-
*
|
|
710
|
+
* Raw values.yaml content from the Helm chart
|
|
467
711
|
*/
|
|
468
|
-
|
|
712
|
+
valuesYaml?: string;
|
|
469
713
|
/**
|
|
470
|
-
*
|
|
714
|
+
* JSON schema for values.yaml as a string
|
|
471
715
|
*/
|
|
472
|
-
|
|
716
|
+
valuesSchemaJson?: string;
|
|
717
|
+
};
|
|
718
|
+
export type MarketplaceListing = {
|
|
473
719
|
/**
|
|
474
|
-
*
|
|
720
|
+
* Name of the chart
|
|
475
721
|
*/
|
|
476
|
-
|
|
722
|
+
name: string;
|
|
477
723
|
/**
|
|
478
|
-
*
|
|
724
|
+
* Available versions of the chart
|
|
479
725
|
*/
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
726
|
+
versions: Array<string>;
|
|
727
|
+
/**
|
|
728
|
+
* Version channels for the chart
|
|
729
|
+
*/
|
|
730
|
+
version_channels: Array<string>;
|
|
731
|
+
/**
|
|
732
|
+
* Latest version of the chart
|
|
733
|
+
*/
|
|
734
|
+
latestVersion: string;
|
|
735
|
+
/**
|
|
736
|
+
* Chart metadata
|
|
737
|
+
*/
|
|
738
|
+
metadata?: {
|
|
493
739
|
/**
|
|
494
|
-
*
|
|
740
|
+
* Chart name from metadata
|
|
495
741
|
*/
|
|
496
|
-
|
|
742
|
+
name: string;
|
|
497
743
|
/**
|
|
498
|
-
*
|
|
744
|
+
* Chart version from metadata
|
|
499
745
|
*/
|
|
500
|
-
|
|
746
|
+
version: string;
|
|
501
747
|
/**
|
|
502
|
-
*
|
|
748
|
+
* Chart description
|
|
503
749
|
*/
|
|
504
|
-
|
|
750
|
+
description?: string;
|
|
505
751
|
/**
|
|
506
|
-
*
|
|
752
|
+
* Application version
|
|
507
753
|
*/
|
|
508
|
-
|
|
754
|
+
appVersion?: string;
|
|
509
755
|
/**
|
|
510
|
-
*
|
|
756
|
+
* Helm API version
|
|
511
757
|
*/
|
|
512
|
-
|
|
758
|
+
apiVersion?: string;
|
|
513
759
|
/**
|
|
514
|
-
*
|
|
760
|
+
* Chart keywords
|
|
515
761
|
*/
|
|
516
|
-
|
|
762
|
+
keywords?: Array<string>;
|
|
517
763
|
/**
|
|
518
|
-
*
|
|
764
|
+
* Chart home URL
|
|
519
765
|
*/
|
|
520
|
-
|
|
766
|
+
home?: string;
|
|
521
767
|
/**
|
|
522
|
-
*
|
|
768
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
523
769
|
*/
|
|
524
|
-
|
|
770
|
+
icon?: string;
|
|
525
771
|
/**
|
|
526
|
-
*
|
|
772
|
+
* Chart source URLs
|
|
527
773
|
*/
|
|
528
|
-
|
|
774
|
+
sources?: Array<string>;
|
|
529
775
|
/**
|
|
530
|
-
*
|
|
776
|
+
* Chart maintainers
|
|
531
777
|
*/
|
|
532
|
-
|
|
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: {
|
|
533
843
|
/**
|
|
534
|
-
*
|
|
844
|
+
* Maximum number of Basic clusters that can be created.
|
|
535
845
|
*/
|
|
536
|
-
|
|
846
|
+
basic_clusters_max: number;
|
|
537
847
|
/**
|
|
538
|
-
*
|
|
848
|
+
* Available number of Basic clusters that can be created.
|
|
539
849
|
*/
|
|
540
|
-
|
|
850
|
+
basic_clusters_available: number;
|
|
541
851
|
/**
|
|
542
|
-
*
|
|
852
|
+
* Maximum number of Pro clusters that can be created.
|
|
543
853
|
*/
|
|
544
|
-
|
|
854
|
+
pro_clusters_max: number;
|
|
545
855
|
/**
|
|
546
|
-
*
|
|
856
|
+
* Available number of Pro clusters that can be created.
|
|
547
857
|
*/
|
|
548
|
-
|
|
858
|
+
pro_clusters_available: number;
|
|
549
859
|
/**
|
|
550
|
-
*
|
|
860
|
+
* Maximum number of fleets that can be created per cluster.
|
|
551
861
|
*/
|
|
552
|
-
|
|
862
|
+
fleets_max: number;
|
|
553
863
|
/**
|
|
554
|
-
*
|
|
864
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
555
865
|
*/
|
|
556
|
-
|
|
866
|
+
cluster_tiers: Array<string>;
|
|
557
867
|
/**
|
|
558
|
-
*
|
|
868
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
559
869
|
*/
|
|
560
|
-
|
|
870
|
+
regions: Array<string>;
|
|
561
871
|
/**
|
|
562
|
-
*
|
|
872
|
+
* List of CFKE control plane versions available for the organization.
|
|
563
873
|
*/
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
874
|
+
versions: Array<{
|
|
875
|
+
/**
|
|
876
|
+
* Id of the control plane version. Used in API calls.
|
|
877
|
+
*/
|
|
878
|
+
id: string;
|
|
879
|
+
/**
|
|
880
|
+
* Label of the control plane version. Used in frontent UI.
|
|
881
|
+
*/
|
|
882
|
+
label: string;
|
|
883
|
+
}>;
|
|
884
|
+
/**
|
|
885
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
886
|
+
*/
|
|
887
|
+
cfcr_storage_gb: number;
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
891
|
+
*/
|
|
892
|
+
status: 'active' | 'closed' | 'suspended';
|
|
893
|
+
/**
|
|
894
|
+
* 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.
|
|
895
|
+
*/
|
|
896
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
897
|
+
};
|
|
898
|
+
export type PaymentMethod = {
|
|
899
|
+
/**
|
|
900
|
+
* 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.
|
|
901
|
+
*/
|
|
902
|
+
id: string;
|
|
903
|
+
/**
|
|
904
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
905
|
+
*/
|
|
906
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
907
|
+
/**
|
|
908
|
+
* 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.
|
|
909
|
+
*/
|
|
910
|
+
last4: string;
|
|
911
|
+
/**
|
|
912
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
913
|
+
*/
|
|
914
|
+
exp_month: number;
|
|
915
|
+
/**
|
|
916
|
+
* 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.
|
|
917
|
+
*/
|
|
918
|
+
exp_year: number;
|
|
919
|
+
/**
|
|
920
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
921
|
+
*/
|
|
922
|
+
brand: string;
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
*/
|
|
926
|
+
iban: string;
|
|
927
|
+
/**
|
|
928
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
929
|
+
*/
|
|
930
|
+
bic: string;
|
|
931
|
+
/**
|
|
932
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
933
|
+
*/
|
|
934
|
+
account_holder_name: string;
|
|
935
|
+
/**
|
|
936
|
+
* 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).
|
|
937
|
+
*/
|
|
938
|
+
is_default: boolean;
|
|
939
|
+
};
|
|
940
|
+
export type PlatformQuota = {
|
|
568
941
|
/**
|
|
569
|
-
*
|
|
942
|
+
* Maximum number of Basic clusters that can be created.
|
|
570
943
|
*/
|
|
571
|
-
|
|
944
|
+
basic_clusters_max: number;
|
|
945
|
+
/**
|
|
946
|
+
* Available number of Basic clusters that can be created.
|
|
947
|
+
*/
|
|
948
|
+
basic_clusters_available: number;
|
|
949
|
+
/**
|
|
950
|
+
* Maximum number of Pro clusters that can be created.
|
|
951
|
+
*/
|
|
952
|
+
pro_clusters_max: number;
|
|
953
|
+
/**
|
|
954
|
+
* Available number of Pro clusters that can be created.
|
|
955
|
+
*/
|
|
956
|
+
pro_clusters_available: number;
|
|
957
|
+
/**
|
|
958
|
+
* Maximum number of fleets that can be created per cluster.
|
|
959
|
+
*/
|
|
960
|
+
fleets_max: number;
|
|
961
|
+
/**
|
|
962
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
963
|
+
*/
|
|
964
|
+
cluster_tiers: Array<string>;
|
|
965
|
+
/**
|
|
966
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
967
|
+
*/
|
|
968
|
+
regions: Array<string>;
|
|
969
|
+
/**
|
|
970
|
+
* List of CFKE control plane versions available for the organization.
|
|
971
|
+
*/
|
|
972
|
+
versions: Array<{
|
|
572
973
|
/**
|
|
573
|
-
*
|
|
974
|
+
* Id of the control plane version. Used in API calls.
|
|
574
975
|
*/
|
|
575
|
-
id
|
|
976
|
+
id: string;
|
|
576
977
|
/**
|
|
577
|
-
*
|
|
978
|
+
* Label of the control plane version. Used in frontent UI.
|
|
578
979
|
*/
|
|
579
|
-
|
|
980
|
+
label: string;
|
|
981
|
+
}>;
|
|
982
|
+
/**
|
|
983
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
984
|
+
*/
|
|
985
|
+
cfcr_storage_gb: number;
|
|
986
|
+
};
|
|
987
|
+
export type RegistryRepository = {
|
|
988
|
+
/**
|
|
989
|
+
* Repository name.
|
|
990
|
+
*/
|
|
991
|
+
name: string;
|
|
992
|
+
/**
|
|
993
|
+
* Registry region.
|
|
994
|
+
*/
|
|
995
|
+
region: string;
|
|
996
|
+
/**
|
|
997
|
+
* Full URI of the repository.
|
|
998
|
+
*/
|
|
999
|
+
uri: string;
|
|
1000
|
+
};
|
|
1001
|
+
export type RegistryRepositoryWithTags = {
|
|
1002
|
+
/**
|
|
1003
|
+
* Repository name.
|
|
1004
|
+
*/
|
|
1005
|
+
name: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Registry region.
|
|
1008
|
+
*/
|
|
1009
|
+
region: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Full URI of the repository.
|
|
1012
|
+
*/
|
|
1013
|
+
uri: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Array of tags in the repository.
|
|
1016
|
+
*/
|
|
1017
|
+
tags: Array<{
|
|
580
1018
|
/**
|
|
581
|
-
*
|
|
1019
|
+
* Tag name.
|
|
582
1020
|
*/
|
|
583
|
-
|
|
1021
|
+
name: string;
|
|
584
1022
|
/**
|
|
585
|
-
*
|
|
1023
|
+
* Size of the tag in bytes.
|
|
586
1024
|
*/
|
|
587
|
-
|
|
1025
|
+
size: number;
|
|
588
1026
|
/**
|
|
589
|
-
*
|
|
1027
|
+
* Media type of the manifest.
|
|
590
1028
|
*/
|
|
591
|
-
|
|
1029
|
+
mediaType?: string;
|
|
592
1030
|
/**
|
|
593
|
-
*
|
|
1031
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
594
1032
|
*/
|
|
595
|
-
|
|
1033
|
+
platforms?: Array<string>;
|
|
1034
|
+
}>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Total size of all tags in the repository in bytes.
|
|
1037
|
+
*/
|
|
1038
|
+
totalSize: number;
|
|
1039
|
+
};
|
|
1040
|
+
export type RegistryTag = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Tag name.
|
|
1043
|
+
*/
|
|
1044
|
+
name: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* Manifest digest for pulling by digest.
|
|
1047
|
+
*/
|
|
1048
|
+
digest: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Media type of the manifest.
|
|
1051
|
+
*/
|
|
1052
|
+
mediaType?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Manifest config metadata.
|
|
1055
|
+
*/
|
|
1056
|
+
config?: {
|
|
596
1057
|
/**
|
|
597
|
-
*
|
|
1058
|
+
* Size of the config in bytes.
|
|
598
1059
|
*/
|
|
599
|
-
|
|
1060
|
+
size: number;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* Array of layer metadata.
|
|
1064
|
+
*/
|
|
1065
|
+
layers?: Array<{
|
|
600
1066
|
/**
|
|
601
|
-
*
|
|
1067
|
+
* Digest of the layer.
|
|
602
1068
|
*/
|
|
603
|
-
|
|
1069
|
+
digest?: string;
|
|
604
1070
|
/**
|
|
605
|
-
*
|
|
1071
|
+
* Size of the layer in bytes.
|
|
606
1072
|
*/
|
|
607
|
-
|
|
1073
|
+
size: number;
|
|
1074
|
+
}>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Array of manifests for multi-arch images.
|
|
1077
|
+
*/
|
|
1078
|
+
manifests?: Array<{
|
|
608
1079
|
/**
|
|
609
|
-
*
|
|
1080
|
+
* Digest of the manifest.
|
|
610
1081
|
*/
|
|
611
|
-
|
|
1082
|
+
digest: string;
|
|
612
1083
|
/**
|
|
613
|
-
*
|
|
1084
|
+
* Platform information for the manifest.
|
|
614
1085
|
*/
|
|
615
|
-
|
|
1086
|
+
platform?: {
|
|
1087
|
+
/**
|
|
1088
|
+
* Architecture of the platform.
|
|
1089
|
+
*/
|
|
1090
|
+
architecture: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Operating system of the platform.
|
|
1093
|
+
*/
|
|
1094
|
+
os: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1097
|
+
*/
|
|
1098
|
+
variant?: string;
|
|
1099
|
+
};
|
|
616
1100
|
/**
|
|
617
|
-
*
|
|
1101
|
+
* Layers for this platform.
|
|
618
1102
|
*/
|
|
619
|
-
|
|
1103
|
+
layers?: Array<{
|
|
1104
|
+
/**
|
|
1105
|
+
* Digest of the layer.
|
|
1106
|
+
*/
|
|
1107
|
+
digest?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Size of the layer in bytes.
|
|
1110
|
+
*/
|
|
1111
|
+
size: number;
|
|
1112
|
+
}>;
|
|
620
1113
|
/**
|
|
621
|
-
*
|
|
1114
|
+
* Total size of this platform manifest in bytes.
|
|
622
1115
|
*/
|
|
623
|
-
|
|
1116
|
+
size?: number;
|
|
1117
|
+
}>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Total size of the tag in bytes.
|
|
1120
|
+
*/
|
|
1121
|
+
size: number;
|
|
1122
|
+
/**
|
|
1123
|
+
* Registry region.
|
|
1124
|
+
*/
|
|
1125
|
+
region: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Repository name.
|
|
1128
|
+
*/
|
|
1129
|
+
repository: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Full URI of the tag.
|
|
1132
|
+
*/
|
|
1133
|
+
uri: string;
|
|
1134
|
+
};
|
|
1135
|
+
export type TicketAttachment = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1138
|
+
*/
|
|
1139
|
+
id: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Original filename as uploaded.
|
|
1142
|
+
*/
|
|
1143
|
+
filename: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* MIME content type of the attachment.
|
|
1146
|
+
*/
|
|
1147
|
+
content_type: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Size of the attachment in bytes.
|
|
1150
|
+
*/
|
|
1151
|
+
size: number;
|
|
1152
|
+
};
|
|
1153
|
+
export type TicketCreateInput = {
|
|
1154
|
+
/**
|
|
1155
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1156
|
+
*/
|
|
1157
|
+
category: 'billing' | 'technical' | 'general';
|
|
1158
|
+
/**
|
|
1159
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1160
|
+
*/
|
|
1161
|
+
body: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1164
|
+
*/
|
|
1165
|
+
properties?: {
|
|
1166
|
+
[key: string]: unknown;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
export type TicketListResponse = {
|
|
1170
|
+
/**
|
|
1171
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1172
|
+
*/
|
|
1173
|
+
items: Array<{
|
|
624
1174
|
/**
|
|
625
|
-
*
|
|
1175
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
626
1176
|
*/
|
|
627
|
-
|
|
1177
|
+
id: string;
|
|
628
1178
|
/**
|
|
629
|
-
*
|
|
1179
|
+
* Current state of the ticket.
|
|
630
1180
|
*/
|
|
631
|
-
|
|
1181
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
632
1182
|
/**
|
|
633
|
-
*
|
|
1183
|
+
* Ticket category.
|
|
634
1184
|
*/
|
|
635
|
-
|
|
1185
|
+
category: 'billing' | 'technical' | 'general';
|
|
636
1186
|
/**
|
|
637
|
-
*
|
|
1187
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
638
1188
|
*/
|
|
639
|
-
|
|
1189
|
+
summary: string;
|
|
640
1190
|
/**
|
|
641
|
-
*
|
|
1191
|
+
* Closure timestamp. Null while the ticket is open.
|
|
642
1192
|
*/
|
|
643
|
-
|
|
1193
|
+
closed_at?: string;
|
|
644
1194
|
/**
|
|
645
|
-
*
|
|
1195
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
646
1196
|
*/
|
|
647
|
-
|
|
1197
|
+
date_created: string;
|
|
648
1198
|
/**
|
|
649
|
-
*
|
|
1199
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
650
1200
|
*/
|
|
651
|
-
|
|
1201
|
+
date_updated: string;
|
|
652
1202
|
/**
|
|
653
|
-
*
|
|
1203
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
654
1204
|
*/
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
1205
|
+
messages?: Array<{
|
|
1206
|
+
/**
|
|
1207
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1208
|
+
*/
|
|
1209
|
+
id: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1212
|
+
*/
|
|
1213
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1214
|
+
/**
|
|
1215
|
+
* Message body in markdown.
|
|
1216
|
+
*/
|
|
1217
|
+
body: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* First name of the author. Null when not provided.
|
|
1220
|
+
*/
|
|
1221
|
+
author_first_name?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Last name of the author. Null when not provided.
|
|
1224
|
+
*/
|
|
1225
|
+
author_last_name?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Attachments associated with this message.
|
|
1228
|
+
*/
|
|
1229
|
+
attachments?: Array<{
|
|
1230
|
+
/**
|
|
1231
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1232
|
+
*/
|
|
1233
|
+
id: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* Original filename as uploaded.
|
|
1236
|
+
*/
|
|
1237
|
+
filename: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* MIME content type of the attachment.
|
|
1240
|
+
*/
|
|
1241
|
+
content_type: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Size of the attachment in bytes.
|
|
1244
|
+
*/
|
|
1245
|
+
size: number;
|
|
1246
|
+
}>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1249
|
+
*/
|
|
1250
|
+
date_created: string;
|
|
1251
|
+
}>;
|
|
658
1252
|
}>;
|
|
659
1253
|
};
|
|
660
|
-
export type
|
|
1254
|
+
export type TicketMessageInput = {
|
|
661
1255
|
/**
|
|
662
|
-
*
|
|
1256
|
+
* Reply body in markdown.
|
|
663
1257
|
*/
|
|
664
|
-
|
|
1258
|
+
body: string;
|
|
1259
|
+
};
|
|
1260
|
+
export type TicketMessage = {
|
|
665
1261
|
/**
|
|
666
|
-
*
|
|
1262
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
667
1263
|
*/
|
|
668
|
-
|
|
1264
|
+
id: string;
|
|
669
1265
|
/**
|
|
670
|
-
*
|
|
1266
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
671
1267
|
*/
|
|
672
|
-
|
|
1268
|
+
type: 'customer_reply' | 'agent_reply';
|
|
673
1269
|
/**
|
|
674
|
-
*
|
|
1270
|
+
* Message body in markdown.
|
|
675
1271
|
*/
|
|
676
|
-
|
|
1272
|
+
body: string;
|
|
677
1273
|
/**
|
|
678
|
-
*
|
|
1274
|
+
* First name of the author. Null when not provided.
|
|
679
1275
|
*/
|
|
680
|
-
|
|
1276
|
+
author_first_name?: string;
|
|
681
1277
|
/**
|
|
682
|
-
*
|
|
1278
|
+
* Last name of the author. Null when not provided.
|
|
683
1279
|
*/
|
|
684
|
-
|
|
1280
|
+
author_last_name?: string;
|
|
685
1281
|
/**
|
|
686
|
-
*
|
|
1282
|
+
* Attachments associated with this message.
|
|
687
1283
|
*/
|
|
688
|
-
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
1284
|
+
attachments?: Array<{
|
|
691
1285
|
/**
|
|
692
|
-
*
|
|
1286
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
693
1287
|
*/
|
|
694
|
-
|
|
1288
|
+
id: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Original filename as uploaded.
|
|
1291
|
+
*/
|
|
1292
|
+
filename: string;
|
|
695
1293
|
/**
|
|
696
|
-
*
|
|
1294
|
+
* MIME content type of the attachment.
|
|
697
1295
|
*/
|
|
698
|
-
|
|
1296
|
+
content_type: string;
|
|
699
1297
|
/**
|
|
700
|
-
*
|
|
1298
|
+
* Size of the attachment in bytes.
|
|
701
1299
|
*/
|
|
702
|
-
|
|
1300
|
+
size: number;
|
|
703
1301
|
}>;
|
|
704
|
-
};
|
|
705
|
-
export type OrganizationCreateInput = {
|
|
706
1302
|
/**
|
|
707
|
-
*
|
|
1303
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
708
1304
|
*/
|
|
709
|
-
|
|
1305
|
+
date_created: string;
|
|
1306
|
+
};
|
|
1307
|
+
export type Ticket = {
|
|
710
1308
|
/**
|
|
711
|
-
*
|
|
1309
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
712
1310
|
*/
|
|
713
|
-
|
|
1311
|
+
id: string;
|
|
714
1312
|
/**
|
|
715
|
-
*
|
|
1313
|
+
* Current state of the ticket.
|
|
716
1314
|
*/
|
|
717
|
-
|
|
1315
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
718
1316
|
/**
|
|
719
|
-
*
|
|
1317
|
+
* Ticket category.
|
|
720
1318
|
*/
|
|
721
|
-
|
|
1319
|
+
category: 'billing' | 'technical' | 'general';
|
|
722
1320
|
/**
|
|
723
|
-
*
|
|
1321
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
724
1322
|
*/
|
|
725
|
-
|
|
726
|
-
};
|
|
727
|
-
export type Organization = {
|
|
1323
|
+
summary: string;
|
|
728
1324
|
/**
|
|
729
|
-
*
|
|
1325
|
+
* Closure timestamp. Null while the ticket is open.
|
|
730
1326
|
*/
|
|
731
|
-
|
|
1327
|
+
closed_at?: string;
|
|
732
1328
|
/**
|
|
733
|
-
*
|
|
1329
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
734
1330
|
*/
|
|
735
|
-
|
|
1331
|
+
date_created: string;
|
|
736
1332
|
/**
|
|
737
|
-
*
|
|
1333
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
738
1334
|
*/
|
|
739
|
-
|
|
1335
|
+
date_updated: string;
|
|
740
1336
|
/**
|
|
741
|
-
*
|
|
1337
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
742
1338
|
*/
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Maximum number of Basic clusters that can be created.
|
|
746
|
-
*/
|
|
747
|
-
basic_clusters_max: number;
|
|
748
|
-
/**
|
|
749
|
-
* Available number of Basic clusters that can be created.
|
|
750
|
-
*/
|
|
751
|
-
basic_clusters_available: number;
|
|
1339
|
+
messages?: Array<{
|
|
752
1340
|
/**
|
|
753
|
-
*
|
|
1341
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
754
1342
|
*/
|
|
755
|
-
|
|
1343
|
+
id: string;
|
|
756
1344
|
/**
|
|
757
|
-
*
|
|
1345
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
758
1346
|
*/
|
|
759
|
-
|
|
1347
|
+
type: 'customer_reply' | 'agent_reply';
|
|
760
1348
|
/**
|
|
761
|
-
*
|
|
1349
|
+
* Message body in markdown.
|
|
762
1350
|
*/
|
|
763
|
-
|
|
1351
|
+
body: string;
|
|
764
1352
|
/**
|
|
765
|
-
*
|
|
1353
|
+
* First name of the author. Null when not provided.
|
|
766
1354
|
*/
|
|
767
|
-
|
|
1355
|
+
author_first_name?: string;
|
|
768
1356
|
/**
|
|
769
|
-
*
|
|
1357
|
+
* Last name of the author. Null when not provided.
|
|
770
1358
|
*/
|
|
771
|
-
|
|
1359
|
+
author_last_name?: string;
|
|
772
1360
|
/**
|
|
773
|
-
*
|
|
1361
|
+
* Attachments associated with this message.
|
|
774
1362
|
*/
|
|
775
|
-
|
|
1363
|
+
attachments?: Array<{
|
|
776
1364
|
/**
|
|
777
|
-
*
|
|
1365
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
778
1366
|
*/
|
|
779
1367
|
id: string;
|
|
780
1368
|
/**
|
|
781
|
-
*
|
|
1369
|
+
* Original filename as uploaded.
|
|
782
1370
|
*/
|
|
783
|
-
|
|
1371
|
+
filename: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* MIME content type of the attachment.
|
|
1374
|
+
*/
|
|
1375
|
+
content_type: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Size of the attachment in bytes.
|
|
1378
|
+
*/
|
|
1379
|
+
size: number;
|
|
784
1380
|
}>;
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
1381
|
+
/**
|
|
1382
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1383
|
+
*/
|
|
1384
|
+
date_created: string;
|
|
1385
|
+
}>;
|
|
790
1386
|
};
|
|
791
|
-
export type
|
|
1387
|
+
export type TokenCreateInput = {
|
|
792
1388
|
/**
|
|
793
|
-
*
|
|
1389
|
+
* Human readable access token name.
|
|
794
1390
|
*/
|
|
795
|
-
|
|
1391
|
+
name: string;
|
|
796
1392
|
/**
|
|
797
|
-
*
|
|
1393
|
+
* Role assumed by the token.
|
|
798
1394
|
*/
|
|
799
|
-
|
|
1395
|
+
role: 'Administrator' | 'User';
|
|
1396
|
+
};
|
|
1397
|
+
export type Token = {
|
|
800
1398
|
/**
|
|
801
|
-
*
|
|
1399
|
+
* Human readable access token name.
|
|
802
1400
|
*/
|
|
803
|
-
|
|
1401
|
+
name: string;
|
|
804
1402
|
/**
|
|
805
|
-
*
|
|
1403
|
+
* Role assumed by the token.
|
|
806
1404
|
*/
|
|
807
|
-
|
|
1405
|
+
role: 'Administrator' | 'User';
|
|
808
1406
|
/**
|
|
809
|
-
*
|
|
1407
|
+
* Generated unique identifier of the access token.
|
|
810
1408
|
*/
|
|
811
|
-
|
|
1409
|
+
id?: string;
|
|
812
1410
|
/**
|
|
813
|
-
*
|
|
1411
|
+
* Access token secret. Unmasked only during creation.
|
|
814
1412
|
*/
|
|
815
|
-
|
|
1413
|
+
secret?: string;
|
|
816
1414
|
/**
|
|
817
|
-
*
|
|
1415
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
818
1416
|
*/
|
|
819
|
-
|
|
1417
|
+
date_created: string;
|
|
820
1418
|
};
|
|
821
|
-
export type
|
|
1419
|
+
export type TokenUpdateInput = {
|
|
822
1420
|
/**
|
|
823
1421
|
* Human readable access token name.
|
|
824
1422
|
*/
|
|
825
|
-
name
|
|
1423
|
+
name?: string;
|
|
826
1424
|
/**
|
|
827
1425
|
* Role assumed by the token.
|
|
828
1426
|
*/
|
|
829
|
-
role
|
|
1427
|
+
role?: 'Administrator' | 'User';
|
|
830
1428
|
};
|
|
831
|
-
export type
|
|
832
|
-
/**
|
|
833
|
-
* Human readable access token name.
|
|
834
|
-
*/
|
|
835
|
-
name: string;
|
|
836
|
-
/**
|
|
837
|
-
* Role assumed by the token.
|
|
838
|
-
*/
|
|
839
|
-
role: 'Administrator' | 'User';
|
|
840
|
-
/**
|
|
841
|
-
* Generated unique identifier of the access token.
|
|
842
|
-
*/
|
|
843
|
-
id?: string;
|
|
1429
|
+
export type UsageFacets = {
|
|
844
1430
|
/**
|
|
845
|
-
*
|
|
1431
|
+
* List of unique cluster IDs
|
|
846
1432
|
*/
|
|
847
|
-
|
|
1433
|
+
cluster_id?: Array<string>;
|
|
848
1434
|
/**
|
|
849
|
-
*
|
|
1435
|
+
* List of unique products
|
|
850
1436
|
*/
|
|
851
|
-
|
|
1437
|
+
product?: Array<string>;
|
|
852
1438
|
};
|
|
853
|
-
export type
|
|
1439
|
+
export type UsageResponse = {
|
|
854
1440
|
/**
|
|
855
|
-
*
|
|
1441
|
+
* Usage data
|
|
856
1442
|
*/
|
|
857
|
-
|
|
1443
|
+
data: Array<{
|
|
1444
|
+
/**
|
|
1445
|
+
* Hour of the usage
|
|
1446
|
+
*/
|
|
1447
|
+
hour: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1450
|
+
*/
|
|
1451
|
+
cluster_id: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* The product the usage is associated with
|
|
1454
|
+
*/
|
|
1455
|
+
product: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Consumption
|
|
1458
|
+
*/
|
|
1459
|
+
value: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* Price per unit
|
|
1462
|
+
*/
|
|
1463
|
+
price: number;
|
|
1464
|
+
/**
|
|
1465
|
+
* Total cost
|
|
1466
|
+
*/
|
|
1467
|
+
total: number;
|
|
1468
|
+
}>;
|
|
858
1469
|
/**
|
|
859
|
-
*
|
|
1470
|
+
* Facets for filtering
|
|
860
1471
|
*/
|
|
861
|
-
|
|
1472
|
+
facets: {
|
|
1473
|
+
/**
|
|
1474
|
+
* List of unique cluster IDs
|
|
1475
|
+
*/
|
|
1476
|
+
cluster_id?: Array<string>;
|
|
1477
|
+
/**
|
|
1478
|
+
* List of unique products
|
|
1479
|
+
*/
|
|
1480
|
+
product?: Array<string>;
|
|
1481
|
+
};
|
|
862
1482
|
};
|
|
863
1483
|
export type Usage = {
|
|
864
1484
|
/**
|
|
865
1485
|
* Hour of the usage
|
|
866
1486
|
*/
|
|
867
|
-
hour
|
|
1487
|
+
hour: string;
|
|
868
1488
|
/**
|
|
869
1489
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
870
1490
|
*/
|
|
871
1491
|
cluster_id: string;
|
|
872
1492
|
/**
|
|
873
|
-
*
|
|
1493
|
+
* The product the usage is associated with
|
|
874
1494
|
*/
|
|
875
|
-
|
|
1495
|
+
product: string;
|
|
876
1496
|
/**
|
|
877
|
-
*
|
|
1497
|
+
* Consumption
|
|
878
1498
|
*/
|
|
879
|
-
|
|
1499
|
+
value: number;
|
|
880
1500
|
/**
|
|
881
|
-
*
|
|
1501
|
+
* Price per unit
|
|
882
1502
|
*/
|
|
883
|
-
|
|
1503
|
+
price: number;
|
|
884
1504
|
/**
|
|
885
|
-
*
|
|
1505
|
+
* Total cost
|
|
886
1506
|
*/
|
|
887
|
-
|
|
888
|
-
cpu: number | '';
|
|
889
|
-
price: number | '';
|
|
890
|
-
value: number | '';
|
|
891
|
-
total: number | '';
|
|
1507
|
+
total: number;
|
|
892
1508
|
};
|
|
893
1509
|
export type UserCreateInput = {
|
|
894
1510
|
/**
|
|
@@ -911,14 +1527,6 @@ export type UserCreateInput = {
|
|
|
911
1527
|
* User password. Must be at least 8 characters long.
|
|
912
1528
|
*/
|
|
913
1529
|
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
1530
|
};
|
|
923
1531
|
export type User = {
|
|
924
1532
|
/**
|
|
@@ -964,308 +1572,728 @@ export type UserUpdateInput = {
|
|
|
964
1572
|
*/
|
|
965
1573
|
last_name?: string;
|
|
966
1574
|
/**
|
|
967
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1575
|
+
* User role. Can be 'Administrator', 'User'.
|
|
1576
|
+
*/
|
|
1577
|
+
role?: 'Administrator' | 'User';
|
|
1578
|
+
/**
|
|
1579
|
+
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1580
|
+
*/
|
|
1581
|
+
status?: 'active' | 'inactive';
|
|
1582
|
+
};
|
|
1583
|
+
export type ListUserOrganizationsData = {
|
|
1584
|
+
body?: never;
|
|
1585
|
+
path: {
|
|
1586
|
+
/**
|
|
1587
|
+
* User email address.
|
|
1588
|
+
*/
|
|
1589
|
+
email: string;
|
|
1590
|
+
};
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/users/organizations/{email}';
|
|
1593
|
+
};
|
|
1594
|
+
export type ListUserOrganizationsResponses = {
|
|
1595
|
+
/**
|
|
1596
|
+
* An array of organizations the user belongs to.
|
|
1597
|
+
*/
|
|
1598
|
+
200: Array<{
|
|
1599
|
+
/**
|
|
1600
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1601
|
+
*/
|
|
1602
|
+
realm?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* Human-readable name of the organization
|
|
1605
|
+
*/
|
|
1606
|
+
displayName?: string;
|
|
1607
|
+
}>;
|
|
1608
|
+
};
|
|
1609
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1610
|
+
export type ListUsersData = {
|
|
1611
|
+
body?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
query?: never;
|
|
1614
|
+
url: '/users';
|
|
1615
|
+
};
|
|
1616
|
+
export type ListUsersErrors = {
|
|
1617
|
+
/**
|
|
1618
|
+
* Not authenticated
|
|
1619
|
+
*/
|
|
1620
|
+
401: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
export type ListUsersResponses = {
|
|
1623
|
+
/**
|
|
1624
|
+
* An array of users
|
|
1625
|
+
*/
|
|
1626
|
+
200: Array<User>;
|
|
1627
|
+
};
|
|
1628
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1629
|
+
export type CreateUserData = {
|
|
1630
|
+
body: UserCreateInput;
|
|
1631
|
+
path?: never;
|
|
1632
|
+
query?: never;
|
|
1633
|
+
url: '/users';
|
|
1634
|
+
};
|
|
1635
|
+
export type CreateUserResponses = {
|
|
1636
|
+
/**
|
|
1637
|
+
* Successfully created. Returns created user details.
|
|
1638
|
+
*/
|
|
1639
|
+
200: User;
|
|
1640
|
+
};
|
|
1641
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1642
|
+
export type DeleteUserData = {
|
|
1643
|
+
body?: never;
|
|
1644
|
+
path: {
|
|
1645
|
+
/**
|
|
1646
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1647
|
+
*/
|
|
1648
|
+
user_id: string;
|
|
1649
|
+
};
|
|
1650
|
+
query?: never;
|
|
1651
|
+
url: '/users/{user_id}';
|
|
1652
|
+
};
|
|
1653
|
+
export type DeleteUserErrors = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1656
|
+
*/
|
|
1657
|
+
400: unknown;
|
|
1658
|
+
/**
|
|
1659
|
+
* Not authenticated
|
|
1660
|
+
*/
|
|
1661
|
+
401: unknown;
|
|
1662
|
+
};
|
|
1663
|
+
export type DeleteUserResponses = {
|
|
1664
|
+
/**
|
|
1665
|
+
* User profile information
|
|
1666
|
+
*/
|
|
1667
|
+
200: User;
|
|
1668
|
+
};
|
|
1669
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1670
|
+
export type GetUserData = {
|
|
1671
|
+
body?: never;
|
|
1672
|
+
path: {
|
|
1673
|
+
/**
|
|
1674
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1675
|
+
*/
|
|
1676
|
+
user_id: string;
|
|
1677
|
+
};
|
|
1678
|
+
query?: never;
|
|
1679
|
+
url: '/users/{user_id}';
|
|
1680
|
+
};
|
|
1681
|
+
export type GetUserErrors = {
|
|
1682
|
+
/**
|
|
1683
|
+
* Not authenticated
|
|
1684
|
+
*/
|
|
1685
|
+
401: unknown;
|
|
1686
|
+
};
|
|
1687
|
+
export type GetUserResponses = {
|
|
1688
|
+
/**
|
|
1689
|
+
* User profile information
|
|
1690
|
+
*/
|
|
1691
|
+
200: User;
|
|
1692
|
+
};
|
|
1693
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1694
|
+
export type UpdateUserData = {
|
|
1695
|
+
body: UserUpdateInput;
|
|
1696
|
+
path: {
|
|
1697
|
+
/**
|
|
1698
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1699
|
+
*/
|
|
1700
|
+
user_id: string;
|
|
1701
|
+
};
|
|
1702
|
+
query?: never;
|
|
1703
|
+
url: '/users/{user_id}';
|
|
1704
|
+
};
|
|
1705
|
+
export type UpdateUserResponses = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Successfully created. Returns created user details.
|
|
1708
|
+
*/
|
|
1709
|
+
200: User;
|
|
1710
|
+
};
|
|
1711
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1712
|
+
export type ListTokensData = {
|
|
1713
|
+
body?: never;
|
|
1714
|
+
path?: never;
|
|
1715
|
+
query?: never;
|
|
1716
|
+
url: '/tokens';
|
|
1717
|
+
};
|
|
1718
|
+
export type ListTokensErrors = {
|
|
1719
|
+
/**
|
|
1720
|
+
* Not authenticated
|
|
1721
|
+
*/
|
|
1722
|
+
401: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
export type ListTokensResponses = {
|
|
1725
|
+
/**
|
|
1726
|
+
* Returns a list of access token details with masked secrets.
|
|
1727
|
+
*/
|
|
1728
|
+
200: Array<Token>;
|
|
1729
|
+
};
|
|
1730
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1731
|
+
export type CreateTokenData = {
|
|
1732
|
+
body: TokenCreateInput;
|
|
1733
|
+
path?: never;
|
|
1734
|
+
query?: never;
|
|
1735
|
+
url: '/tokens';
|
|
1736
|
+
};
|
|
1737
|
+
export type CreateTokenErrors = {
|
|
1738
|
+
/**
|
|
1739
|
+
* Not authenticated
|
|
1740
|
+
*/
|
|
1741
|
+
401: unknown;
|
|
1742
|
+
};
|
|
1743
|
+
export type CreateTokenResponses = {
|
|
1744
|
+
/**
|
|
1745
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1746
|
+
*/
|
|
1747
|
+
200: Token;
|
|
1748
|
+
};
|
|
1749
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1750
|
+
export type DeleteTokenData = {
|
|
1751
|
+
body?: never;
|
|
1752
|
+
path: {
|
|
1753
|
+
/**
|
|
1754
|
+
* Generated unique identifier of the access token.
|
|
1755
|
+
*/
|
|
1756
|
+
token_id: string;
|
|
1757
|
+
};
|
|
1758
|
+
query?: never;
|
|
1759
|
+
url: '/tokens/{token_id}';
|
|
1760
|
+
};
|
|
1761
|
+
export type DeleteTokenResponses = {
|
|
1762
|
+
/**
|
|
1763
|
+
* Successfully deleted.
|
|
1764
|
+
*/
|
|
1765
|
+
200: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
export type GetTokenData = {
|
|
1768
|
+
body?: never;
|
|
1769
|
+
path: {
|
|
1770
|
+
/**
|
|
1771
|
+
* Generated unique identifier of the access token.
|
|
1772
|
+
*/
|
|
1773
|
+
token_id: string;
|
|
1774
|
+
};
|
|
1775
|
+
query?: never;
|
|
1776
|
+
url: '/tokens/{token_id}';
|
|
1777
|
+
};
|
|
1778
|
+
export type GetTokenErrors = {
|
|
1779
|
+
/**
|
|
1780
|
+
* Not authenticated
|
|
1781
|
+
*/
|
|
1782
|
+
401: unknown;
|
|
1783
|
+
};
|
|
1784
|
+
export type GetTokenResponses = {
|
|
1785
|
+
/**
|
|
1786
|
+
* Returns access token details with masked secret.
|
|
1787
|
+
*/
|
|
1788
|
+
200: Token;
|
|
1789
|
+
};
|
|
1790
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1791
|
+
export type UpdateTokenData = {
|
|
1792
|
+
body: TokenUpdateInput;
|
|
1793
|
+
path: {
|
|
1794
|
+
/**
|
|
1795
|
+
* Generated unique identifier of the access token.
|
|
1796
|
+
*/
|
|
1797
|
+
token_id: string;
|
|
1798
|
+
};
|
|
1799
|
+
query?: never;
|
|
1800
|
+
url: '/tokens/{token_id}';
|
|
1801
|
+
};
|
|
1802
|
+
export type UpdateTokenErrors = {
|
|
1803
|
+
/**
|
|
1804
|
+
* Not authenticated
|
|
1805
|
+
*/
|
|
1806
|
+
401: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
export type UpdateTokenResponses = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1811
|
+
*/
|
|
1812
|
+
200: Token;
|
|
1813
|
+
};
|
|
1814
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1815
|
+
export type RegenerateTokenData = {
|
|
1816
|
+
body?: never;
|
|
1817
|
+
path: {
|
|
1818
|
+
/**
|
|
1819
|
+
* Generated unique identifier of the access token.
|
|
1820
|
+
*/
|
|
1821
|
+
token_id: string;
|
|
1822
|
+
};
|
|
1823
|
+
query?: never;
|
|
1824
|
+
url: '/tokens/{token_id}/secret';
|
|
1825
|
+
};
|
|
1826
|
+
export type RegenerateTokenErrors = {
|
|
1827
|
+
/**
|
|
1828
|
+
* Not authenticated
|
|
1829
|
+
*/
|
|
1830
|
+
401: unknown;
|
|
1831
|
+
};
|
|
1832
|
+
export type RegenerateTokenResponses = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1835
|
+
*/
|
|
1836
|
+
200: Token;
|
|
1837
|
+
};
|
|
1838
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1839
|
+
export type ListTicketsData = {
|
|
1840
|
+
body?: never;
|
|
1841
|
+
path?: never;
|
|
1842
|
+
query?: never;
|
|
1843
|
+
url: '/tickets';
|
|
1844
|
+
};
|
|
1845
|
+
export type ListTicketsResponses = {
|
|
1846
|
+
/**
|
|
1847
|
+
* Tickets for the organization.
|
|
1848
|
+
*/
|
|
1849
|
+
200: TicketListResponse;
|
|
1850
|
+
};
|
|
1851
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1852
|
+
export type CreateTicketData = {
|
|
1853
|
+
body: {
|
|
1854
|
+
/**
|
|
1855
|
+
* JSON-encoded TicketCreateInput.
|
|
1856
|
+
*/
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path?: never;
|
|
1861
|
+
query?: never;
|
|
1862
|
+
url: '/tickets';
|
|
1863
|
+
};
|
|
1864
|
+
export type CreateTicketResponses = {
|
|
1865
|
+
/**
|
|
1866
|
+
* Ticket created.
|
|
1867
|
+
*/
|
|
1868
|
+
200: Ticket;
|
|
1869
|
+
};
|
|
1870
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1871
|
+
export type CloseTicketData = {
|
|
1872
|
+
body?: never;
|
|
1873
|
+
path: {
|
|
1874
|
+
ticket_id: string;
|
|
1875
|
+
};
|
|
1876
|
+
query?: never;
|
|
1877
|
+
url: '/tickets/{ticket_id}';
|
|
1878
|
+
};
|
|
1879
|
+
export type CloseTicketResponses = {
|
|
1880
|
+
/**
|
|
1881
|
+
* Ticket closed.
|
|
968
1882
|
*/
|
|
969
|
-
|
|
1883
|
+
200: Ticket;
|
|
1884
|
+
};
|
|
1885
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1886
|
+
export type GetTicketData = {
|
|
1887
|
+
body?: never;
|
|
1888
|
+
path: {
|
|
1889
|
+
ticket_id: string;
|
|
1890
|
+
};
|
|
1891
|
+
query?: never;
|
|
1892
|
+
url: '/tickets/{ticket_id}';
|
|
1893
|
+
};
|
|
1894
|
+
export type GetTicketResponses = {
|
|
970
1895
|
/**
|
|
971
|
-
*
|
|
1896
|
+
* Ticket with messages (internal notes excluded).
|
|
972
1897
|
*/
|
|
973
|
-
|
|
1898
|
+
200: Ticket;
|
|
974
1899
|
};
|
|
975
|
-
export type
|
|
976
|
-
|
|
977
|
-
|
|
1900
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1901
|
+
export type ReplyTicketData = {
|
|
1902
|
+
body: {
|
|
1903
|
+
/**
|
|
1904
|
+
* JSON-encoded TicketMessageInput.
|
|
1905
|
+
*/
|
|
1906
|
+
payload?: string;
|
|
1907
|
+
attachments?: Array<Blob | File>;
|
|
1908
|
+
};
|
|
1909
|
+
path: {
|
|
1910
|
+
ticket_id: string;
|
|
1911
|
+
};
|
|
978
1912
|
query?: never;
|
|
979
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}/messages';
|
|
980
1914
|
};
|
|
981
|
-
export type
|
|
1915
|
+
export type ReplyTicketErrors = {
|
|
982
1916
|
/**
|
|
983
|
-
*
|
|
1917
|
+
* Ticket is closed. Open a new ticket instead.
|
|
984
1918
|
*/
|
|
985
|
-
|
|
1919
|
+
409: unknown;
|
|
986
1920
|
};
|
|
987
|
-
export type
|
|
1921
|
+
export type ReplyTicketResponses = {
|
|
988
1922
|
/**
|
|
989
|
-
*
|
|
1923
|
+
* Reply appended.
|
|
990
1924
|
*/
|
|
991
|
-
200:
|
|
1925
|
+
200: TicketMessage;
|
|
992
1926
|
};
|
|
993
|
-
export type
|
|
994
|
-
export type
|
|
1927
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1928
|
+
export type GetTicketAttachmentData = {
|
|
995
1929
|
body?: never;
|
|
996
|
-
path
|
|
1930
|
+
path: {
|
|
1931
|
+
ticket_id: string;
|
|
1932
|
+
attachment_id: string;
|
|
1933
|
+
};
|
|
997
1934
|
query?: never;
|
|
998
|
-
url: '/
|
|
1935
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
999
1936
|
};
|
|
1000
|
-
export type
|
|
1937
|
+
export type GetTicketAttachmentResponses = {
|
|
1001
1938
|
/**
|
|
1002
|
-
*
|
|
1939
|
+
* Attachment binary stream.
|
|
1003
1940
|
*/
|
|
1004
|
-
200:
|
|
1941
|
+
200: Blob | File;
|
|
1005
1942
|
};
|
|
1006
|
-
export type
|
|
1007
|
-
export type
|
|
1943
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1944
|
+
export type ListRepositoriesData = {
|
|
1008
1945
|
body?: never;
|
|
1009
1946
|
path?: never;
|
|
1010
1947
|
query?: never;
|
|
1011
|
-
url: '/
|
|
1948
|
+
url: '/registry';
|
|
1012
1949
|
};
|
|
1013
|
-
export type
|
|
1950
|
+
export type ListRepositoriesErrors = {
|
|
1014
1951
|
/**
|
|
1015
|
-
*
|
|
1952
|
+
* Not authenticated
|
|
1016
1953
|
*/
|
|
1017
|
-
|
|
1954
|
+
401: unknown;
|
|
1955
|
+
/**
|
|
1956
|
+
* Internal server error
|
|
1957
|
+
*/
|
|
1958
|
+
500: unknown;
|
|
1018
1959
|
};
|
|
1019
|
-
export type
|
|
1960
|
+
export type ListRepositoriesResponses = {
|
|
1020
1961
|
/**
|
|
1021
|
-
*
|
|
1962
|
+
* List of repositories
|
|
1022
1963
|
*/
|
|
1023
|
-
200:
|
|
1964
|
+
200: Array<RegistryRepository>;
|
|
1024
1965
|
};
|
|
1025
|
-
export type
|
|
1026
|
-
export type
|
|
1966
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1967
|
+
export type ListTagsData = {
|
|
1027
1968
|
body?: never;
|
|
1028
|
-
path
|
|
1969
|
+
path: {
|
|
1970
|
+
/**
|
|
1971
|
+
* Region where the repository is located
|
|
1972
|
+
*/
|
|
1973
|
+
region: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Name of the repository
|
|
1976
|
+
*/
|
|
1977
|
+
repository: string;
|
|
1978
|
+
};
|
|
1029
1979
|
query?: never;
|
|
1030
|
-
url: '/
|
|
1980
|
+
url: '/registry/{region}/{repository}';
|
|
1031
1981
|
};
|
|
1032
|
-
export type
|
|
1982
|
+
export type ListTagsErrors = {
|
|
1033
1983
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1984
|
+
* Not authenticated
|
|
1036
1985
|
*/
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1986
|
+
401: unknown;
|
|
1987
|
+
/**
|
|
1988
|
+
* Repository not found
|
|
1989
|
+
*/
|
|
1990
|
+
404: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1043
1995
|
};
|
|
1044
|
-
export type
|
|
1045
|
-
|
|
1996
|
+
export type ListTagsResponses = {
|
|
1997
|
+
/**
|
|
1998
|
+
* Repository with tags
|
|
1999
|
+
*/
|
|
2000
|
+
200: RegistryRepositoryWithTags;
|
|
2001
|
+
};
|
|
2002
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2003
|
+
export type DeleteTagData = {
|
|
1046
2004
|
body?: never;
|
|
1047
|
-
path
|
|
1048
|
-
|
|
2005
|
+
path: {
|
|
2006
|
+
/**
|
|
2007
|
+
* Region where the repository is located
|
|
2008
|
+
*/
|
|
2009
|
+
region: string;
|
|
1049
2010
|
/**
|
|
1050
|
-
*
|
|
2011
|
+
* Name of the repository
|
|
1051
2012
|
*/
|
|
1052
|
-
|
|
2013
|
+
repository: string;
|
|
1053
2014
|
/**
|
|
1054
|
-
*
|
|
2015
|
+
* Name of the tag
|
|
1055
2016
|
*/
|
|
1056
|
-
|
|
2017
|
+
tag: string;
|
|
1057
2018
|
};
|
|
1058
|
-
|
|
2019
|
+
query?: never;
|
|
2020
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1059
2021
|
};
|
|
1060
|
-
export type
|
|
2022
|
+
export type DeleteTagErrors = {
|
|
1061
2023
|
/**
|
|
1062
2024
|
* Not authenticated
|
|
1063
2025
|
*/
|
|
1064
2026
|
401: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag not found
|
|
2029
|
+
*/
|
|
2030
|
+
404: unknown;
|
|
2031
|
+
/**
|
|
2032
|
+
* Internal server error
|
|
2033
|
+
*/
|
|
2034
|
+
500: unknown;
|
|
1065
2035
|
};
|
|
1066
|
-
export type
|
|
2036
|
+
export type DeleteTagResponses = {
|
|
1067
2037
|
/**
|
|
1068
|
-
*
|
|
2038
|
+
* Tag successfully deleted
|
|
1069
2039
|
*/
|
|
1070
|
-
200:
|
|
2040
|
+
200: unknown;
|
|
1071
2041
|
};
|
|
1072
|
-
export type
|
|
1073
|
-
export type GetInvoiceData = {
|
|
2042
|
+
export type GetTagData = {
|
|
1074
2043
|
body?: never;
|
|
1075
2044
|
path: {
|
|
1076
2045
|
/**
|
|
1077
|
-
*
|
|
2046
|
+
* Region where the repository is located
|
|
1078
2047
|
*/
|
|
1079
|
-
|
|
2048
|
+
region: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Name of the repository
|
|
2051
|
+
*/
|
|
2052
|
+
repository: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Name of the tag
|
|
2055
|
+
*/
|
|
2056
|
+
tag: string;
|
|
1080
2057
|
};
|
|
1081
2058
|
query?: never;
|
|
1082
|
-
url: '/
|
|
2059
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1083
2060
|
};
|
|
1084
|
-
export type
|
|
2061
|
+
export type GetTagErrors = {
|
|
1085
2062
|
/**
|
|
1086
|
-
*
|
|
2063
|
+
* Not authenticated
|
|
1087
2064
|
*/
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
2065
|
+
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag not found
|
|
2068
|
+
*/
|
|
2069
|
+
404: unknown;
|
|
2070
|
+
/**
|
|
2071
|
+
* Internal server error
|
|
2072
|
+
*/
|
|
2073
|
+
500: unknown;
|
|
1091
2074
|
};
|
|
1092
|
-
export type
|
|
1093
|
-
|
|
2075
|
+
export type GetTagResponses = {
|
|
2076
|
+
/**
|
|
2077
|
+
* Tag details
|
|
2078
|
+
*/
|
|
2079
|
+
200: RegistryTag;
|
|
2080
|
+
};
|
|
2081
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2082
|
+
export type GetOrganizationData = {
|
|
1094
2083
|
body?: never;
|
|
1095
2084
|
path?: never;
|
|
1096
2085
|
query?: never;
|
|
1097
|
-
url: '/
|
|
2086
|
+
url: '/organization';
|
|
1098
2087
|
};
|
|
1099
|
-
export type
|
|
2088
|
+
export type GetOrganizationResponses = {
|
|
1100
2089
|
/**
|
|
1101
|
-
* Returns a single object containing organization
|
|
2090
|
+
* Returns a single object containing organization details.
|
|
1102
2091
|
*/
|
|
1103
|
-
200:
|
|
2092
|
+
200: Organization;
|
|
1104
2093
|
};
|
|
1105
|
-
export type
|
|
1106
|
-
export type
|
|
1107
|
-
body:
|
|
2094
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2095
|
+
export type CreateOrganizationData = {
|
|
2096
|
+
body: OrganizationCreateInput;
|
|
1108
2097
|
path?: never;
|
|
1109
2098
|
query?: never;
|
|
1110
|
-
url: '/
|
|
2099
|
+
url: '/organization';
|
|
1111
2100
|
};
|
|
1112
|
-
export type
|
|
2101
|
+
export type CreateOrganizationResponses = {
|
|
1113
2102
|
/**
|
|
1114
|
-
*
|
|
2103
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2104
|
+
*
|
|
1115
2105
|
*/
|
|
1116
|
-
200:
|
|
2106
|
+
200: OrganizationCreateOutput;
|
|
1117
2107
|
};
|
|
1118
|
-
export type
|
|
1119
|
-
export type
|
|
1120
|
-
|
|
2108
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2109
|
+
export type PostMcpData = {
|
|
2110
|
+
/**
|
|
2111
|
+
* JSON-RPC 2.0 request payload
|
|
2112
|
+
*/
|
|
2113
|
+
body: {
|
|
2114
|
+
jsonrpc?: string;
|
|
2115
|
+
method?: string;
|
|
2116
|
+
id?: string | number;
|
|
2117
|
+
/**
|
|
2118
|
+
* Method-specific parameters
|
|
2119
|
+
*/
|
|
2120
|
+
params?: {
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
2123
|
+
};
|
|
1121
2124
|
path?: never;
|
|
1122
2125
|
query?: never;
|
|
1123
|
-
url: '/
|
|
2126
|
+
url: '/mcp';
|
|
1124
2127
|
};
|
|
1125
|
-
export type
|
|
2128
|
+
export type PostMcpErrors = {
|
|
1126
2129
|
/**
|
|
1127
2130
|
* Not authenticated
|
|
1128
2131
|
*/
|
|
1129
2132
|
401: unknown;
|
|
1130
2133
|
};
|
|
1131
|
-
export type
|
|
2134
|
+
export type PostMcpResponses = {
|
|
1132
2135
|
/**
|
|
1133
|
-
*
|
|
2136
|
+
* JSON-RPC 2.0 success or error response
|
|
1134
2137
|
*/
|
|
1135
|
-
200:
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
2138
|
+
200: {
|
|
2139
|
+
jsonrpc?: string;
|
|
2140
|
+
id?: string | number;
|
|
2141
|
+
result?: {
|
|
2142
|
+
[key: string]: unknown;
|
|
2143
|
+
};
|
|
2144
|
+
error?: {
|
|
2145
|
+
code?: number;
|
|
2146
|
+
message?: string;
|
|
2147
|
+
};
|
|
1144
2148
|
};
|
|
2149
|
+
};
|
|
2150
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2151
|
+
export type ListMarketplaceChartsData = {
|
|
2152
|
+
body?: never;
|
|
1145
2153
|
path?: never;
|
|
1146
2154
|
query?: never;
|
|
1147
|
-
url: '/
|
|
2155
|
+
url: '/marketplace';
|
|
1148
2156
|
};
|
|
1149
|
-
export type
|
|
2157
|
+
export type ListMarketplaceChartsErrors = {
|
|
1150
2158
|
/**
|
|
1151
2159
|
* Not authenticated
|
|
1152
2160
|
*/
|
|
1153
2161
|
401: unknown;
|
|
1154
2162
|
};
|
|
1155
|
-
export type
|
|
2163
|
+
export type ListMarketplaceChartsResponses = {
|
|
1156
2164
|
/**
|
|
1157
|
-
*
|
|
2165
|
+
* An array of chart listings in the marketplace.
|
|
1158
2166
|
*/
|
|
1159
|
-
200:
|
|
2167
|
+
200: Array<MarketplaceListing>;
|
|
1160
2168
|
};
|
|
1161
|
-
export type
|
|
2169
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2170
|
+
export type GetMarketplaceChartFilesData = {
|
|
1162
2171
|
body?: never;
|
|
1163
2172
|
path: {
|
|
1164
2173
|
/**
|
|
1165
|
-
*
|
|
2174
|
+
* Name of the chart in the marketplace.
|
|
1166
2175
|
*/
|
|
1167
|
-
|
|
2176
|
+
chart_name: string;
|
|
2177
|
+
/**
|
|
2178
|
+
* 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).
|
|
2179
|
+
*/
|
|
2180
|
+
version_channel: string;
|
|
1168
2181
|
};
|
|
1169
2182
|
query?: never;
|
|
1170
|
-
url: '/
|
|
2183
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1171
2184
|
};
|
|
1172
|
-
export type
|
|
2185
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2186
|
+
/**
|
|
2187
|
+
* Chart not found or no version matches the channel
|
|
2188
|
+
*/
|
|
2189
|
+
404: unknown;
|
|
2190
|
+
};
|
|
2191
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2192
|
+
/**
|
|
2193
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2194
|
+
*/
|
|
2195
|
+
200: MarketplaceListingFiles;
|
|
2196
|
+
};
|
|
2197
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2198
|
+
export type ListInvitesData = {
|
|
2199
|
+
body?: never;
|
|
2200
|
+
path?: never;
|
|
2201
|
+
query?: never;
|
|
2202
|
+
url: '/invites';
|
|
2203
|
+
};
|
|
2204
|
+
export type ListInvitesErrors = {
|
|
1173
2205
|
/**
|
|
1174
2206
|
* Not authenticated
|
|
1175
2207
|
*/
|
|
1176
2208
|
401: unknown;
|
|
1177
2209
|
};
|
|
1178
|
-
export type
|
|
2210
|
+
export type ListInvitesResponses = {
|
|
1179
2211
|
/**
|
|
1180
|
-
* An array of
|
|
2212
|
+
* An array of invites
|
|
1181
2213
|
*/
|
|
1182
|
-
200: Array<
|
|
2214
|
+
200: Array<Invite>;
|
|
1183
2215
|
};
|
|
1184
|
-
export type
|
|
1185
|
-
export type
|
|
1186
|
-
body:
|
|
1187
|
-
path
|
|
1188
|
-
/**
|
|
1189
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1190
|
-
*/
|
|
1191
|
-
cluster_id: string;
|
|
1192
|
-
};
|
|
2216
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2217
|
+
export type CreateInviteData = {
|
|
2218
|
+
body: InviteCreateInput;
|
|
2219
|
+
path?: never;
|
|
1193
2220
|
query?: never;
|
|
1194
|
-
url: '/
|
|
2221
|
+
url: '/invites';
|
|
1195
2222
|
};
|
|
1196
|
-
export type
|
|
2223
|
+
export type CreateInviteResponses = {
|
|
1197
2224
|
/**
|
|
1198
|
-
* Successfully created. Returns created
|
|
2225
|
+
* Successfully created. Returns created invite details.
|
|
1199
2226
|
*/
|
|
1200
|
-
200:
|
|
2227
|
+
200: Invite;
|
|
1201
2228
|
};
|
|
1202
|
-
export type
|
|
1203
|
-
export type
|
|
2229
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2230
|
+
export type GetInviteData = {
|
|
1204
2231
|
body?: never;
|
|
1205
2232
|
path: {
|
|
1206
2233
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
*/
|
|
1209
|
-
cluster_id: string;
|
|
1210
|
-
/**
|
|
1211
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
2234
|
+
* Invitation code
|
|
1212
2235
|
*/
|
|
1213
|
-
|
|
2236
|
+
code: string;
|
|
1214
2237
|
};
|
|
1215
2238
|
query?: never;
|
|
1216
|
-
url: '/
|
|
2239
|
+
url: '/invites/{code}';
|
|
1217
2240
|
};
|
|
1218
|
-
export type
|
|
2241
|
+
export type GetInviteResponses = {
|
|
1219
2242
|
/**
|
|
1220
|
-
*
|
|
2243
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1221
2244
|
*/
|
|
1222
|
-
200:
|
|
2245
|
+
200: {
|
|
2246
|
+
/**
|
|
2247
|
+
* Email address the invite was issued to.
|
|
2248
|
+
*/
|
|
2249
|
+
email?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Identifier of the organization the invite grants access to.
|
|
2252
|
+
*/
|
|
2253
|
+
organization_id?: string;
|
|
2254
|
+
};
|
|
1223
2255
|
};
|
|
1224
|
-
export type
|
|
1225
|
-
export type
|
|
2256
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2257
|
+
export type DeleteInviteData = {
|
|
1226
2258
|
body?: never;
|
|
1227
2259
|
path: {
|
|
1228
2260
|
/**
|
|
1229
|
-
*
|
|
1230
|
-
*/
|
|
1231
|
-
cluster_id: string;
|
|
1232
|
-
/**
|
|
1233
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
2261
|
+
* User email address
|
|
1234
2262
|
*/
|
|
1235
|
-
|
|
2263
|
+
email: string;
|
|
1236
2264
|
};
|
|
1237
2265
|
query?: never;
|
|
1238
|
-
url: '/
|
|
2266
|
+
url: '/invites/{email}';
|
|
1239
2267
|
};
|
|
1240
|
-
export type
|
|
2268
|
+
export type DeleteInviteResponses = {
|
|
1241
2269
|
/**
|
|
1242
|
-
*
|
|
2270
|
+
* Successfully deleted.
|
|
1243
2271
|
*/
|
|
1244
|
-
200:
|
|
2272
|
+
200: unknown;
|
|
1245
2273
|
};
|
|
1246
|
-
export type
|
|
1247
|
-
|
|
1248
|
-
body: ChartUpdateInput;
|
|
2274
|
+
export type QueryClusterData = {
|
|
2275
|
+
body?: never;
|
|
1249
2276
|
path: {
|
|
1250
2277
|
/**
|
|
1251
2278
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1252
2279
|
*/
|
|
1253
2280
|
cluster_id: string;
|
|
1254
|
-
/**
|
|
1255
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1256
|
-
*/
|
|
1257
|
-
chart_name: string;
|
|
1258
2281
|
};
|
|
1259
2282
|
query?: never;
|
|
1260
|
-
url: '/clusters/{cluster_id}/
|
|
2283
|
+
url: '/clusters/{cluster_id}/query';
|
|
1261
2284
|
};
|
|
1262
|
-
export type
|
|
2285
|
+
export type QueryClusterErrors = {
|
|
1263
2286
|
/**
|
|
1264
|
-
*
|
|
2287
|
+
* Not authenticated
|
|
1265
2288
|
*/
|
|
1266
|
-
|
|
2289
|
+
401: unknown;
|
|
2290
|
+
};
|
|
2291
|
+
export type QueryClusterResponses = {
|
|
2292
|
+
/**
|
|
2293
|
+
* Kubernetes API response
|
|
2294
|
+
*/
|
|
2295
|
+
200: unknown;
|
|
1267
2296
|
};
|
|
1268
|
-
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1269
2297
|
export type ListFleetsData = {
|
|
1270
2298
|
body?: never;
|
|
1271
2299
|
path: {
|
|
@@ -1306,6 +2334,10 @@ export type CreateFleetErrors = {
|
|
|
1306
2334
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1307
2335
|
*/
|
|
1308
2336
|
402: string;
|
|
2337
|
+
/**
|
|
2338
|
+
* 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.
|
|
2339
|
+
*/
|
|
2340
|
+
409: string;
|
|
1309
2341
|
};
|
|
1310
2342
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1311
2343
|
export type CreateFleetResponses = {
|
|
@@ -1330,6 +2362,13 @@ export type DeleteFleetData = {
|
|
|
1330
2362
|
query?: never;
|
|
1331
2363
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1332
2364
|
};
|
|
2365
|
+
export type DeleteFleetErrors = {
|
|
2366
|
+
/**
|
|
2367
|
+
* 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.
|
|
2368
|
+
*/
|
|
2369
|
+
409: string;
|
|
2370
|
+
};
|
|
2371
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
1333
2372
|
export type DeleteFleetResponses = {
|
|
1334
2373
|
/**
|
|
1335
2374
|
* Successfully deleted.
|
|
@@ -1379,6 +2418,10 @@ export type UpdateFleetErrors = {
|
|
|
1379
2418
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1380
2419
|
*/
|
|
1381
2420
|
402: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* 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.
|
|
2423
|
+
*/
|
|
2424
|
+
409: string;
|
|
1382
2425
|
};
|
|
1383
2426
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1384
2427
|
export type UpdateFleetResponses = {
|
|
@@ -1388,7 +2431,7 @@ export type UpdateFleetResponses = {
|
|
|
1388
2431
|
200: string;
|
|
1389
2432
|
};
|
|
1390
2433
|
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
1391
|
-
export type
|
|
2434
|
+
export type ListChartsData = {
|
|
1392
2435
|
body?: never;
|
|
1393
2436
|
path: {
|
|
1394
2437
|
/**
|
|
@@ -1397,528 +2440,485 @@ export type QueryClusterData = {
|
|
|
1397
2440
|
cluster_id: string;
|
|
1398
2441
|
};
|
|
1399
2442
|
query?: never;
|
|
1400
|
-
url: '/clusters/{cluster_id}/
|
|
1401
|
-
};
|
|
1402
|
-
export type QueryClusterErrors = {
|
|
1403
|
-
/**
|
|
1404
|
-
* Not authenticated
|
|
1405
|
-
*/
|
|
1406
|
-
401: unknown;
|
|
1407
|
-
};
|
|
1408
|
-
export type QueryClusterResponses = {
|
|
1409
|
-
/**
|
|
1410
|
-
* Kubernetes API response
|
|
1411
|
-
*/
|
|
1412
|
-
200: unknown;
|
|
1413
|
-
};
|
|
1414
|
-
export type ListClustersData = {
|
|
1415
|
-
body?: never;
|
|
1416
|
-
path?: never;
|
|
1417
|
-
query?: never;
|
|
1418
|
-
url: '/clusters';
|
|
2443
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1419
2444
|
};
|
|
1420
|
-
export type
|
|
2445
|
+
export type ListChartsErrors = {
|
|
1421
2446
|
/**
|
|
1422
2447
|
* Not authenticated
|
|
1423
2448
|
*/
|
|
1424
2449
|
401: unknown;
|
|
1425
2450
|
};
|
|
1426
|
-
export type
|
|
2451
|
+
export type ListChartsResponses = {
|
|
1427
2452
|
/**
|
|
1428
|
-
* An array of
|
|
2453
|
+
* An array of charts
|
|
1429
2454
|
*/
|
|
1430
|
-
200: Array<
|
|
2455
|
+
200: Array<Chart>;
|
|
1431
2456
|
};
|
|
1432
|
-
export type
|
|
1433
|
-
export type
|
|
1434
|
-
body:
|
|
1435
|
-
path
|
|
2457
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2458
|
+
export type CreateChartData = {
|
|
2459
|
+
body: ChartCreateInput;
|
|
2460
|
+
path: {
|
|
2461
|
+
/**
|
|
2462
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2463
|
+
*/
|
|
2464
|
+
cluster_id: string;
|
|
2465
|
+
};
|
|
1436
2466
|
query?: never;
|
|
1437
|
-
url: '/clusters';
|
|
2467
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1438
2468
|
};
|
|
1439
|
-
export type
|
|
2469
|
+
export type CreateChartErrors = {
|
|
1440
2470
|
/**
|
|
1441
|
-
*
|
|
2471
|
+
* 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.
|
|
1442
2472
|
*/
|
|
1443
|
-
|
|
2473
|
+
409: string;
|
|
1444
2474
|
};
|
|
1445
|
-
export type
|
|
1446
|
-
export type
|
|
2475
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2476
|
+
export type CreateChartResponses = {
|
|
1447
2477
|
/**
|
|
1448
|
-
* Successfully created. Returns created
|
|
2478
|
+
* Successfully created. Returns created Chart ID.
|
|
1449
2479
|
*/
|
|
1450
2480
|
200: string;
|
|
1451
2481
|
};
|
|
1452
|
-
export type
|
|
1453
|
-
export type
|
|
2482
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2483
|
+
export type DeleteChartData = {
|
|
1454
2484
|
body?: never;
|
|
1455
2485
|
path: {
|
|
1456
2486
|
/**
|
|
1457
2487
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1458
2488
|
*/
|
|
1459
2489
|
cluster_id: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2492
|
+
*/
|
|
2493
|
+
chart_name: string;
|
|
1460
2494
|
};
|
|
1461
2495
|
query?: never;
|
|
1462
|
-
url: '/clusters/{cluster_id}';
|
|
2496
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1463
2497
|
};
|
|
1464
|
-
export type
|
|
2498
|
+
export type DeleteChartErrors = {
|
|
2499
|
+
/**
|
|
2500
|
+
* 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.
|
|
2501
|
+
*/
|
|
2502
|
+
409: string;
|
|
2503
|
+
};
|
|
2504
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2505
|
+
export type DeleteChartResponses = {
|
|
1465
2506
|
/**
|
|
1466
2507
|
* Successfully deleted.
|
|
1467
2508
|
*/
|
|
1468
2509
|
200: string;
|
|
1469
2510
|
};
|
|
1470
|
-
export type
|
|
1471
|
-
export type
|
|
2511
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2512
|
+
export type GetChartData = {
|
|
1472
2513
|
body?: never;
|
|
1473
2514
|
path: {
|
|
1474
2515
|
/**
|
|
1475
2516
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1476
2517
|
*/
|
|
1477
2518
|
cluster_id: string;
|
|
1478
|
-
};
|
|
1479
|
-
query?: never;
|
|
1480
|
-
url: '/clusters/{cluster_id}';
|
|
1481
|
-
};
|
|
1482
|
-
export type GetClusterResponses = {
|
|
1483
|
-
/**
|
|
1484
|
-
* Returns a single object containing cluster details.
|
|
1485
|
-
*/
|
|
1486
|
-
200: Cluster;
|
|
1487
|
-
};
|
|
1488
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1489
|
-
export type UpdateClusterData = {
|
|
1490
|
-
body: ClusterUpdateInput;
|
|
1491
|
-
path: {
|
|
1492
2519
|
/**
|
|
1493
|
-
*
|
|
2520
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1494
2521
|
*/
|
|
1495
|
-
|
|
2522
|
+
chart_name: string;
|
|
1496
2523
|
};
|
|
1497
2524
|
query?: never;
|
|
1498
|
-
url: '/clusters/{cluster_id}';
|
|
2525
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1499
2526
|
};
|
|
1500
|
-
export type
|
|
2527
|
+
export type GetChartResponses = {
|
|
1501
2528
|
/**
|
|
1502
|
-
*
|
|
2529
|
+
* Returns a single object containing chart details.
|
|
1503
2530
|
*/
|
|
1504
|
-
200:
|
|
2531
|
+
200: Chart;
|
|
1505
2532
|
};
|
|
1506
|
-
export type
|
|
1507
|
-
export type
|
|
1508
|
-
body
|
|
2533
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2534
|
+
export type UpdateChartData = {
|
|
2535
|
+
body: ChartUpdateInput;
|
|
1509
2536
|
path: {
|
|
1510
2537
|
/**
|
|
1511
2538
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1512
2539
|
*/
|
|
1513
2540
|
cluster_id: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2543
|
+
*/
|
|
2544
|
+
chart_name: string;
|
|
1514
2545
|
};
|
|
1515
2546
|
query?: never;
|
|
1516
|
-
url: '/clusters/{cluster_id}/
|
|
2547
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1517
2548
|
};
|
|
1518
|
-
export type
|
|
2549
|
+
export type UpdateChartErrors = {
|
|
1519
2550
|
/**
|
|
1520
|
-
*
|
|
2551
|
+
* 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.
|
|
1521
2552
|
*/
|
|
1522
|
-
|
|
2553
|
+
409: string;
|
|
1523
2554
|
};
|
|
1524
|
-
export type
|
|
2555
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2556
|
+
export type UpdateChartResponses = {
|
|
1525
2557
|
/**
|
|
1526
|
-
*
|
|
2558
|
+
* Successfully updated.
|
|
1527
2559
|
*/
|
|
1528
|
-
200:
|
|
2560
|
+
200: string;
|
|
1529
2561
|
};
|
|
1530
|
-
export type
|
|
1531
|
-
export type
|
|
2562
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2563
|
+
export type ListClustersData = {
|
|
1532
2564
|
body?: never;
|
|
1533
2565
|
path?: never;
|
|
1534
2566
|
query?: never;
|
|
1535
|
-
url: '/
|
|
2567
|
+
url: '/clusters';
|
|
1536
2568
|
};
|
|
1537
|
-
export type
|
|
2569
|
+
export type ListClustersErrors = {
|
|
1538
2570
|
/**
|
|
1539
2571
|
* Not authenticated
|
|
1540
2572
|
*/
|
|
1541
2573
|
401: unknown;
|
|
1542
2574
|
};
|
|
1543
|
-
export type
|
|
2575
|
+
export type ListClustersResponses = {
|
|
1544
2576
|
/**
|
|
1545
|
-
* An array of
|
|
2577
|
+
* An array of clusters
|
|
1546
2578
|
*/
|
|
1547
|
-
200: Array<
|
|
2579
|
+
200: Array<Cluster>;
|
|
1548
2580
|
};
|
|
1549
|
-
export type
|
|
1550
|
-
export type
|
|
1551
|
-
body:
|
|
1552
|
-
/**
|
|
1553
|
-
* User email address
|
|
1554
|
-
*/
|
|
1555
|
-
email?: string;
|
|
1556
|
-
};
|
|
2581
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2582
|
+
export type CreateClusterData = {
|
|
2583
|
+
body: ClusterCreateInput;
|
|
1557
2584
|
path?: never;
|
|
1558
2585
|
query?: never;
|
|
1559
|
-
url: '/
|
|
2586
|
+
url: '/clusters';
|
|
1560
2587
|
};
|
|
1561
|
-
export type
|
|
2588
|
+
export type CreateClusterErrors = {
|
|
1562
2589
|
/**
|
|
1563
|
-
*
|
|
2590
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1564
2591
|
*/
|
|
1565
|
-
|
|
1566
|
-
};
|
|
1567
|
-
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
1568
|
-
export type GetInviteData = {
|
|
1569
|
-
body?: never;
|
|
1570
|
-
path: {
|
|
1571
|
-
/**
|
|
1572
|
-
* Invitation code
|
|
1573
|
-
*/
|
|
1574
|
-
code: string;
|
|
1575
|
-
};
|
|
1576
|
-
query?: never;
|
|
1577
|
-
url: '/invites/{code}';
|
|
2592
|
+
402: string;
|
|
1578
2593
|
};
|
|
1579
|
-
export type
|
|
2594
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2595
|
+
export type CreateClusterResponses = {
|
|
1580
2596
|
/**
|
|
1581
|
-
*
|
|
2597
|
+
* Successfully created. Returns created Cluster ID.
|
|
1582
2598
|
*/
|
|
1583
|
-
200:
|
|
2599
|
+
200: string;
|
|
1584
2600
|
};
|
|
1585
|
-
export type
|
|
1586
|
-
export type
|
|
2601
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2602
|
+
export type DeleteClusterData = {
|
|
1587
2603
|
body?: never;
|
|
1588
2604
|
path: {
|
|
1589
2605
|
/**
|
|
1590
|
-
*
|
|
2606
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1591
2607
|
*/
|
|
1592
|
-
|
|
2608
|
+
cluster_id: string;
|
|
1593
2609
|
};
|
|
1594
2610
|
query?: never;
|
|
1595
|
-
url: '/
|
|
2611
|
+
url: '/clusters/{cluster_id}';
|
|
1596
2612
|
};
|
|
1597
|
-
export type
|
|
2613
|
+
export type DeleteClusterErrors = {
|
|
1598
2614
|
/**
|
|
1599
|
-
*
|
|
2615
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1600
2616
|
*/
|
|
1601
|
-
|
|
1602
|
-
};
|
|
1603
|
-
export type ListMarketplaceChartsData = {
|
|
1604
|
-
body?: never;
|
|
1605
|
-
path?: never;
|
|
1606
|
-
query?: never;
|
|
1607
|
-
url: '/marketplace';
|
|
1608
|
-
};
|
|
1609
|
-
export type ListMarketplaceChartsErrors = {
|
|
2617
|
+
404: unknown;
|
|
1610
2618
|
/**
|
|
1611
|
-
*
|
|
2619
|
+
* 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.
|
|
1612
2620
|
*/
|
|
1613
|
-
|
|
2621
|
+
409: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2624
|
+
*/
|
|
2625
|
+
503: unknown;
|
|
1614
2626
|
};
|
|
1615
|
-
export type
|
|
2627
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2628
|
+
export type DeleteClusterResponses = {
|
|
1616
2629
|
/**
|
|
1617
|
-
*
|
|
2630
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1618
2631
|
*/
|
|
1619
|
-
200:
|
|
2632
|
+
200: string;
|
|
1620
2633
|
};
|
|
1621
|
-
export type
|
|
1622
|
-
export type
|
|
2634
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2635
|
+
export type GetClusterData = {
|
|
1623
2636
|
body?: never;
|
|
1624
2637
|
path: {
|
|
1625
2638
|
/**
|
|
1626
|
-
* Unique identifier of the
|
|
2639
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1627
2640
|
*/
|
|
1628
|
-
|
|
2641
|
+
cluster_id: string;
|
|
1629
2642
|
};
|
|
1630
2643
|
query?: never;
|
|
1631
|
-
url: '/
|
|
2644
|
+
url: '/clusters/{cluster_id}';
|
|
1632
2645
|
};
|
|
1633
|
-
export type
|
|
2646
|
+
export type GetClusterResponses = {
|
|
1634
2647
|
/**
|
|
1635
|
-
* Returns
|
|
2648
|
+
* Returns a single object containing cluster details.
|
|
1636
2649
|
*/
|
|
1637
|
-
200:
|
|
2650
|
+
200: Cluster;
|
|
1638
2651
|
};
|
|
1639
|
-
export type
|
|
1640
|
-
export type
|
|
1641
|
-
body
|
|
1642
|
-
path
|
|
2652
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2653
|
+
export type UpdateClusterData = {
|
|
2654
|
+
body: ClusterUpdateInput;
|
|
2655
|
+
path: {
|
|
2656
|
+
/**
|
|
2657
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2658
|
+
*/
|
|
2659
|
+
cluster_id: string;
|
|
2660
|
+
};
|
|
1643
2661
|
query?: never;
|
|
1644
|
-
url: '/
|
|
2662
|
+
url: '/clusters/{cluster_id}';
|
|
1645
2663
|
};
|
|
1646
|
-
export type
|
|
2664
|
+
export type UpdateClusterErrors = {
|
|
1647
2665
|
/**
|
|
1648
|
-
*
|
|
2666
|
+
* 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.
|
|
1649
2667
|
*/
|
|
1650
|
-
|
|
1651
|
-
};
|
|
1652
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1653
|
-
export type CreateOrganizationData = {
|
|
1654
|
-
body: OrganizationCreateInput;
|
|
1655
|
-
path?: never;
|
|
1656
|
-
query?: never;
|
|
1657
|
-
url: '/organization';
|
|
2668
|
+
409: string;
|
|
1658
2669
|
};
|
|
1659
|
-
export type
|
|
2670
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2671
|
+
export type UpdateClusterResponses = {
|
|
1660
2672
|
/**
|
|
1661
|
-
* Successfully
|
|
2673
|
+
* Successfully updated. Returns updated cluster details.
|
|
1662
2674
|
*/
|
|
1663
|
-
200:
|
|
2675
|
+
200: Cluster;
|
|
1664
2676
|
};
|
|
1665
|
-
export type
|
|
2677
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2678
|
+
export type GetJoinInformationData = {
|
|
1666
2679
|
body?: never;
|
|
1667
|
-
path
|
|
2680
|
+
path: {
|
|
2681
|
+
/**
|
|
2682
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2683
|
+
*/
|
|
2684
|
+
cluster_id: string;
|
|
2685
|
+
};
|
|
1668
2686
|
query?: never;
|
|
1669
|
-
url: '/
|
|
2687
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1670
2688
|
};
|
|
1671
|
-
export type
|
|
2689
|
+
export type GetJoinInformationErrors = {
|
|
1672
2690
|
/**
|
|
1673
2691
|
* Not authenticated
|
|
1674
2692
|
*/
|
|
1675
2693
|
401: unknown;
|
|
2694
|
+
/**
|
|
2695
|
+
* 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.
|
|
2696
|
+
*/
|
|
2697
|
+
409: string;
|
|
1676
2698
|
};
|
|
1677
|
-
export type
|
|
2699
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2700
|
+
export type GetJoinInformationResponses = {
|
|
1678
2701
|
/**
|
|
1679
|
-
*
|
|
2702
|
+
* An object of cluster join information
|
|
1680
2703
|
*/
|
|
1681
|
-
200:
|
|
2704
|
+
200: ClusterJoinInformation;
|
|
1682
2705
|
};
|
|
1683
|
-
export type
|
|
1684
|
-
export type
|
|
1685
|
-
body
|
|
2706
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2707
|
+
export type GetUsageData = {
|
|
2708
|
+
body?: never;
|
|
1686
2709
|
path?: never;
|
|
1687
|
-
query?:
|
|
1688
|
-
|
|
2710
|
+
query?: {
|
|
2711
|
+
/**
|
|
2712
|
+
* 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)
|
|
2713
|
+
*/
|
|
2714
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2715
|
+
};
|
|
2716
|
+
url: '/billing/usage';
|
|
1689
2717
|
};
|
|
1690
|
-
export type
|
|
2718
|
+
export type GetUsageErrors = {
|
|
1691
2719
|
/**
|
|
1692
2720
|
* Not authenticated
|
|
1693
2721
|
*/
|
|
1694
2722
|
401: unknown;
|
|
1695
2723
|
};
|
|
1696
|
-
export type
|
|
2724
|
+
export type GetUsageResponses = {
|
|
1697
2725
|
/**
|
|
1698
|
-
*
|
|
2726
|
+
* Usage data with facets for filtering
|
|
1699
2727
|
*/
|
|
1700
|
-
200:
|
|
2728
|
+
200: UsageResponse;
|
|
1701
2729
|
};
|
|
1702
|
-
export type
|
|
1703
|
-
export type
|
|
2730
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2731
|
+
export type GetPaymentMethodSecretData = {
|
|
1704
2732
|
body?: never;
|
|
1705
|
-
path
|
|
1706
|
-
/**
|
|
1707
|
-
* Generated unique identifier of the access token.
|
|
1708
|
-
*/
|
|
1709
|
-
token_id: string;
|
|
1710
|
-
};
|
|
2733
|
+
path?: never;
|
|
1711
2734
|
query?: never;
|
|
1712
|
-
url: '/
|
|
2735
|
+
url: '/billing/payment-method';
|
|
1713
2736
|
};
|
|
1714
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1715
2738
|
/**
|
|
1716
|
-
*
|
|
2739
|
+
* 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.
|
|
2740
|
+
*
|
|
1717
2741
|
*/
|
|
1718
|
-
200:
|
|
1719
|
-
};
|
|
1720
|
-
export type GetTokenData = {
|
|
1721
|
-
body?: never;
|
|
1722
|
-
path: {
|
|
2742
|
+
200: {
|
|
1723
2743
|
/**
|
|
1724
|
-
*
|
|
2744
|
+
* The client secret.
|
|
1725
2745
|
*/
|
|
1726
|
-
|
|
2746
|
+
id?: string;
|
|
1727
2747
|
};
|
|
2748
|
+
};
|
|
2749
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2750
|
+
export type ListPaymentMethodsData = {
|
|
2751
|
+
body?: never;
|
|
2752
|
+
path?: never;
|
|
1728
2753
|
query?: never;
|
|
1729
|
-
url: '/
|
|
2754
|
+
url: '/billing/payment-methods';
|
|
1730
2755
|
};
|
|
1731
|
-
export type
|
|
2756
|
+
export type ListPaymentMethodsErrors = {
|
|
1732
2757
|
/**
|
|
1733
2758
|
* Not authenticated
|
|
1734
2759
|
*/
|
|
1735
2760
|
401: unknown;
|
|
1736
2761
|
};
|
|
1737
|
-
export type
|
|
2762
|
+
export type ListPaymentMethodsResponses = {
|
|
1738
2763
|
/**
|
|
1739
|
-
*
|
|
2764
|
+
* An array of payment methods.
|
|
1740
2765
|
*/
|
|
1741
|
-
200:
|
|
2766
|
+
200: Array<PaymentMethod>;
|
|
1742
2767
|
};
|
|
1743
|
-
export type
|
|
1744
|
-
export type
|
|
1745
|
-
body
|
|
2768
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2769
|
+
export type SetDefaultPaymentMethodData = {
|
|
2770
|
+
body?: never;
|
|
1746
2771
|
path: {
|
|
1747
2772
|
/**
|
|
1748
|
-
*
|
|
2773
|
+
* Stripe payment method identifier.
|
|
1749
2774
|
*/
|
|
1750
|
-
|
|
2775
|
+
paymentMethodId: string;
|
|
1751
2776
|
};
|
|
1752
2777
|
query?: never;
|
|
1753
|
-
url: '/
|
|
2778
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1754
2779
|
};
|
|
1755
|
-
export type
|
|
2780
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2781
|
+
/**
|
|
2782
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2783
|
+
*/
|
|
2784
|
+
400: unknown;
|
|
1756
2785
|
/**
|
|
1757
2786
|
* Not authenticated
|
|
1758
2787
|
*/
|
|
1759
2788
|
401: unknown;
|
|
2789
|
+
/**
|
|
2790
|
+
* Payment method not found.
|
|
2791
|
+
*/
|
|
2792
|
+
404: unknown;
|
|
1760
2793
|
};
|
|
1761
|
-
export type
|
|
2794
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1762
2795
|
/**
|
|
1763
|
-
*
|
|
2796
|
+
* Default payment method updated.
|
|
1764
2797
|
*/
|
|
1765
|
-
|
|
2798
|
+
204: void;
|
|
1766
2799
|
};
|
|
1767
|
-
export type
|
|
1768
|
-
export type
|
|
2800
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2801
|
+
export type DeletePaymentMethodData = {
|
|
1769
2802
|
body?: never;
|
|
1770
2803
|
path: {
|
|
1771
2804
|
/**
|
|
1772
|
-
*
|
|
2805
|
+
* Stripe payment method identifier.
|
|
1773
2806
|
*/
|
|
1774
|
-
|
|
2807
|
+
paymentMethodId: string;
|
|
1775
2808
|
};
|
|
1776
2809
|
query?: never;
|
|
1777
|
-
url: '/
|
|
2810
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1778
2811
|
};
|
|
1779
|
-
export type
|
|
2812
|
+
export type DeletePaymentMethodErrors = {
|
|
2813
|
+
/**
|
|
2814
|
+
* The bank transfer payment method cannot be removed.
|
|
2815
|
+
*/
|
|
2816
|
+
400: unknown;
|
|
1780
2817
|
/**
|
|
1781
2818
|
* Not authenticated
|
|
1782
2819
|
*/
|
|
1783
2820
|
401: unknown;
|
|
1784
|
-
};
|
|
1785
|
-
export type RegenerateTokenResponses = {
|
|
1786
2821
|
/**
|
|
1787
|
-
*
|
|
2822
|
+
* Payment method not found.
|
|
1788
2823
|
*/
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
path: {
|
|
1795
|
-
/**
|
|
1796
|
-
* User email address.
|
|
1797
|
-
*/
|
|
1798
|
-
email: string;
|
|
1799
|
-
};
|
|
1800
|
-
query?: never;
|
|
1801
|
-
url: '/users/organizations/{email}';
|
|
2824
|
+
404: unknown;
|
|
2825
|
+
/**
|
|
2826
|
+
* Cannot delete the only remaining payment method.
|
|
2827
|
+
*/
|
|
2828
|
+
409: unknown;
|
|
1802
2829
|
};
|
|
1803
|
-
export type
|
|
2830
|
+
export type DeletePaymentMethodResponses = {
|
|
1804
2831
|
/**
|
|
1805
|
-
*
|
|
2832
|
+
* Payment method deleted.
|
|
1806
2833
|
*/
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1810
|
-
*/
|
|
1811
|
-
realm?: string;
|
|
1812
|
-
/**
|
|
1813
|
-
* Human-readable name of the organization
|
|
1814
|
-
*/
|
|
1815
|
-
displayName?: string;
|
|
1816
|
-
}>;
|
|
2834
|
+
204: void;
|
|
1817
2835
|
};
|
|
1818
|
-
export type
|
|
1819
|
-
export type
|
|
2836
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2837
|
+
export type ListInvoicesData = {
|
|
1820
2838
|
body?: never;
|
|
1821
2839
|
path?: never;
|
|
1822
2840
|
query?: never;
|
|
1823
|
-
url: '/
|
|
2841
|
+
url: '/billing/invoices';
|
|
1824
2842
|
};
|
|
1825
|
-
export type
|
|
2843
|
+
export type ListInvoicesErrors = {
|
|
1826
2844
|
/**
|
|
1827
2845
|
* Not authenticated
|
|
1828
2846
|
*/
|
|
1829
2847
|
401: unknown;
|
|
1830
2848
|
};
|
|
1831
|
-
export type
|
|
2849
|
+
export type ListInvoicesResponses = {
|
|
1832
2850
|
/**
|
|
1833
|
-
* An array of
|
|
2851
|
+
* An array of usage records.
|
|
1834
2852
|
*/
|
|
1835
|
-
200: Array<
|
|
2853
|
+
200: Array<Invoice>;
|
|
1836
2854
|
};
|
|
1837
|
-
export type
|
|
1838
|
-
export type
|
|
1839
|
-
body
|
|
2855
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2856
|
+
export type GetContactData = {
|
|
2857
|
+
body?: never;
|
|
1840
2858
|
path?: never;
|
|
1841
2859
|
query?: never;
|
|
1842
|
-
url: '/
|
|
2860
|
+
url: '/billing/contact';
|
|
1843
2861
|
};
|
|
1844
|
-
export type
|
|
2862
|
+
export type GetContactResponses = {
|
|
1845
2863
|
/**
|
|
1846
|
-
*
|
|
2864
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1847
2865
|
*/
|
|
1848
|
-
200:
|
|
2866
|
+
200: BillingContact;
|
|
1849
2867
|
};
|
|
1850
|
-
export type
|
|
1851
|
-
export type
|
|
1852
|
-
body
|
|
1853
|
-
path
|
|
1854
|
-
/**
|
|
1855
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1856
|
-
*/
|
|
1857
|
-
user_id: string;
|
|
1858
|
-
};
|
|
2868
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2869
|
+
export type UpdateContactData = {
|
|
2870
|
+
body: BillingContact;
|
|
2871
|
+
path?: never;
|
|
1859
2872
|
query?: never;
|
|
1860
|
-
url: '/
|
|
1861
|
-
};
|
|
1862
|
-
export type DeleteUserErrors = {
|
|
1863
|
-
/**
|
|
1864
|
-
* Deleting own user is not allowed. Delete your organization instead.
|
|
1865
|
-
*/
|
|
1866
|
-
400: unknown;
|
|
1867
|
-
/**
|
|
1868
|
-
* Not authenticated
|
|
1869
|
-
*/
|
|
1870
|
-
401: unknown;
|
|
2873
|
+
url: '/billing/contact';
|
|
1871
2874
|
};
|
|
1872
|
-
export type
|
|
2875
|
+
export type UpdateContactResponses = {
|
|
1873
2876
|
/**
|
|
1874
|
-
*
|
|
2877
|
+
* Successfully updated. Returns updated organization details.
|
|
1875
2878
|
*/
|
|
1876
|
-
200:
|
|
2879
|
+
200: BillingContact;
|
|
1877
2880
|
};
|
|
1878
|
-
export type
|
|
1879
|
-
export type
|
|
2881
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2882
|
+
export type GetCreditsData = {
|
|
1880
2883
|
body?: never;
|
|
1881
|
-
path
|
|
1882
|
-
/**
|
|
1883
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1884
|
-
*/
|
|
1885
|
-
user_id: string;
|
|
1886
|
-
};
|
|
2884
|
+
path?: never;
|
|
1887
2885
|
query?: never;
|
|
1888
|
-
url: '/
|
|
2886
|
+
url: '/billing/credits';
|
|
1889
2887
|
};
|
|
1890
|
-
export type
|
|
2888
|
+
export type GetCreditsErrors = {
|
|
1891
2889
|
/**
|
|
1892
2890
|
* Not authenticated
|
|
1893
2891
|
*/
|
|
1894
2892
|
401: unknown;
|
|
1895
2893
|
};
|
|
1896
|
-
export type
|
|
2894
|
+
export type GetCreditsResponses = {
|
|
1897
2895
|
/**
|
|
1898
|
-
*
|
|
2896
|
+
* An array of the applied promotional credits records.
|
|
1899
2897
|
*/
|
|
1900
|
-
200:
|
|
2898
|
+
200: Array<BillingCredits>;
|
|
1901
2899
|
};
|
|
1902
|
-
export type
|
|
1903
|
-
export type
|
|
1904
|
-
body:
|
|
1905
|
-
path: {
|
|
2900
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2901
|
+
export type RedeemCreditsData = {
|
|
2902
|
+
body: {
|
|
1906
2903
|
/**
|
|
1907
|
-
*
|
|
2904
|
+
* Promotional code to redeem
|
|
1908
2905
|
*/
|
|
1909
|
-
|
|
2906
|
+
code?: string;
|
|
1910
2907
|
};
|
|
2908
|
+
path?: never;
|
|
1911
2909
|
query?: never;
|
|
1912
|
-
url: '/
|
|
2910
|
+
url: '/billing/credits';
|
|
1913
2911
|
};
|
|
1914
|
-
export type
|
|
2912
|
+
export type RedeemCreditsErrors = {
|
|
1915
2913
|
/**
|
|
1916
|
-
*
|
|
2914
|
+
* Not authenticated
|
|
1917
2915
|
*/
|
|
1918
|
-
|
|
2916
|
+
401: unknown;
|
|
1919
2917
|
};
|
|
1920
|
-
export type
|
|
1921
|
-
|
|
1922
|
-
|
|
2918
|
+
export type RedeemCreditsResponses = {
|
|
2919
|
+
/**
|
|
2920
|
+
* Successfully created a new organization.
|
|
2921
|
+
*/
|
|
2922
|
+
200: unknown;
|
|
1923
2923
|
};
|
|
1924
2924
|
//# sourceMappingURL=types.gen.d.ts.map
|