@cloudfleet/sdk 0.0.1-d36fcac → 0.0.1-d53b3d0
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.map +1 -1
- package/dist/client/client.gen.js +114 -102
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +8 -4
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +13 -15
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +22 -10
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- 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 +397 -328
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1766 -766
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3497 -2559
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1432 -1196
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -8
package/dist/types.gen.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export type ClientOptions = {
|
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
5
9
|
/**
|
|
6
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
11
|
*/
|
|
@@ -39,13 +43,9 @@ export type BillingContact = {
|
|
|
39
43
|
*/
|
|
40
44
|
email: string;
|
|
41
45
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
first_name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Last name of the billing contact person.
|
|
46
|
+
* Name of the billing contact person.
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
individual_name: string;
|
|
49
49
|
/**
|
|
50
50
|
* Tax ID of the organization.
|
|
51
51
|
*/
|
|
@@ -61,35 +61,31 @@ export type BillingCredits = {
|
|
|
61
61
|
*/
|
|
62
62
|
id?: string;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
date_created: string;
|
|
67
|
-
/**
|
|
68
|
-
* Promotional code used by the customer.
|
|
64
|
+
* Type of the promotional code.
|
|
69
65
|
*/
|
|
70
|
-
|
|
66
|
+
type: 'credit' | 'discount';
|
|
71
67
|
/**
|
|
72
|
-
*
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
73
69
|
*/
|
|
74
|
-
|
|
70
|
+
date_start: string;
|
|
75
71
|
/**
|
|
76
|
-
*
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
77
73
|
*/
|
|
78
|
-
|
|
74
|
+
date_end?: string;
|
|
79
75
|
/**
|
|
80
|
-
*
|
|
76
|
+
* Promotional code used by the customer.
|
|
81
77
|
*/
|
|
82
|
-
|
|
78
|
+
code: string;
|
|
83
79
|
/**
|
|
84
|
-
*
|
|
80
|
+
* Description of the promotional code.
|
|
85
81
|
*/
|
|
86
|
-
|
|
82
|
+
description?: string;
|
|
87
83
|
/**
|
|
88
|
-
*
|
|
84
|
+
* Total value of the promotional code.
|
|
89
85
|
*/
|
|
90
|
-
|
|
86
|
+
value_total: number;
|
|
91
87
|
/**
|
|
92
|
-
*
|
|
88
|
+
* Remaining value of the promotional code.
|
|
93
89
|
*/
|
|
94
90
|
value_remaining?: number;
|
|
95
91
|
};
|
|
@@ -137,9 +133,9 @@ export type Chart = {
|
|
|
137
133
|
*/
|
|
138
134
|
chart: string;
|
|
139
135
|
/**
|
|
140
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
141
137
|
*/
|
|
142
|
-
status:
|
|
138
|
+
status: string;
|
|
143
139
|
/**
|
|
144
140
|
* Current version of the chart deployment.
|
|
145
141
|
*/
|
|
@@ -167,6 +163,9 @@ export type ChartUpdateInput = {
|
|
|
167
163
|
*/
|
|
168
164
|
version_channel: string;
|
|
169
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
168
|
+
*/
|
|
170
169
|
export type ClusterCreateInput = {
|
|
171
170
|
/**
|
|
172
171
|
* Name of the cluster.
|
|
@@ -175,15 +174,61 @@ export type ClusterCreateInput = {
|
|
|
175
174
|
/**
|
|
176
175
|
* Tier of the cluster.
|
|
177
176
|
*/
|
|
178
|
-
tier
|
|
179
|
-
/**
|
|
180
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
181
|
-
*/
|
|
182
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
177
|
+
tier?: 'basic' | 'pro';
|
|
183
178
|
/**
|
|
184
179
|
* Version of the kubernetes cluster.
|
|
185
180
|
*/
|
|
186
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
|
+
};
|
|
187
232
|
};
|
|
188
233
|
export type ClusterJoinInformation = {
|
|
189
234
|
/**
|
|
@@ -194,6 +239,14 @@ export type ClusterJoinInformation = {
|
|
|
194
239
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
195
240
|
*/
|
|
196
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;
|
|
197
250
|
/**
|
|
198
251
|
* Authentication key for the cluster.
|
|
199
252
|
*/
|
|
@@ -241,6 +294,9 @@ export type ClusterJoinInformation = {
|
|
|
241
294
|
gcp_workload_identity_provider: string;
|
|
242
295
|
};
|
|
243
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
299
|
+
*/
|
|
244
300
|
export type Cluster = {
|
|
245
301
|
/**
|
|
246
302
|
* Name of the cluster.
|
|
@@ -251,22 +307,69 @@ export type Cluster = {
|
|
|
251
307
|
*/
|
|
252
308
|
tier: 'basic' | 'pro';
|
|
253
309
|
/**
|
|
254
|
-
*
|
|
310
|
+
* Version of the kubernetes cluster.
|
|
255
311
|
*/
|
|
256
|
-
|
|
312
|
+
version_channel: string;
|
|
257
313
|
/**
|
|
258
|
-
*
|
|
314
|
+
* Release channel for the cluster's control plane.
|
|
259
315
|
*/
|
|
260
|
-
|
|
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
|
+
};
|
|
261
363
|
/**
|
|
262
364
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
263
365
|
*/
|
|
264
366
|
id: string;
|
|
265
367
|
/**
|
|
266
|
-
* Status of the cluster.
|
|
368
|
+
* Status of the cluster.
|
|
267
369
|
*/
|
|
268
|
-
status: '
|
|
370
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
269
371
|
endpoint?: string | '';
|
|
372
|
+
endpoint_public?: string | '';
|
|
270
373
|
/**
|
|
271
374
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
272
375
|
*/
|
|
@@ -286,125 +389,259 @@ export type Cluster = {
|
|
|
286
389
|
/**
|
|
287
390
|
* Indicates if the cluster is ready to be used.
|
|
288
391
|
*/
|
|
289
|
-
ready
|
|
392
|
+
ready: boolean;
|
|
290
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
396
|
+
*/
|
|
291
397
|
export type ClusterUpdateInput = {
|
|
292
398
|
/**
|
|
293
399
|
* Name of the cluster.
|
|
294
400
|
*/
|
|
295
|
-
name
|
|
401
|
+
name: string;
|
|
296
402
|
/**
|
|
297
403
|
* Tier of the cluster.
|
|
298
404
|
*/
|
|
299
|
-
tier
|
|
405
|
+
tier?: 'basic' | 'pro';
|
|
300
406
|
/**
|
|
301
407
|
* Version of the kubernetes cluster.
|
|
302
408
|
*/
|
|
303
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
|
+
};
|
|
304
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
434
|
+
*/
|
|
305
435
|
export type FleetCreateInput = {
|
|
306
436
|
/**
|
|
307
437
|
* Limits define a set of bounds for provisioning capacity.
|
|
308
438
|
*/
|
|
309
439
|
limits?: {
|
|
310
440
|
/**
|
|
311
|
-
* CPU limit in cores.
|
|
441
|
+
* CPU limit in cores. Maximum 100,000.
|
|
312
442
|
*/
|
|
313
|
-
cpu
|
|
443
|
+
cpu?: number;
|
|
314
444
|
};
|
|
315
445
|
gcp?: {
|
|
316
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
317
447
|
/**
|
|
318
|
-
*
|
|
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.
|
|
319
449
|
*/
|
|
320
|
-
project
|
|
450
|
+
project?: string;
|
|
321
451
|
};
|
|
322
452
|
hetzner?: {
|
|
323
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
324
454
|
/**
|
|
325
|
-
* Hetzner Cloud API
|
|
455
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
326
456
|
*/
|
|
327
|
-
apiKey
|
|
457
|
+
apiKey?: string;
|
|
328
458
|
};
|
|
329
459
|
aws?: {
|
|
330
|
-
enabled
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
463
|
+
*/
|
|
464
|
+
controllerRoleArn?: string;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
468
|
+
*/
|
|
469
|
+
constraints?: {
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
472
|
+
*/
|
|
473
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
474
|
+
/**
|
|
475
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
476
|
+
*/
|
|
477
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
478
|
+
/**
|
|
479
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
480
|
+
*/
|
|
481
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
331
482
|
/**
|
|
332
|
-
*
|
|
483
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
333
484
|
*/
|
|
334
|
-
|
|
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'>;
|
|
335
486
|
};
|
|
487
|
+
/**
|
|
488
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
489
|
+
*/
|
|
490
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
336
491
|
/**
|
|
337
492
|
* Unique identifier of the kubernetes fleet.
|
|
338
493
|
*/
|
|
339
494
|
id: string;
|
|
340
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
498
|
+
*/
|
|
341
499
|
export type Fleet = {
|
|
342
500
|
/**
|
|
343
501
|
* Limits define a set of bounds for provisioning capacity.
|
|
344
502
|
*/
|
|
345
503
|
limits?: {
|
|
346
504
|
/**
|
|
347
|
-
* CPU limit in cores.
|
|
505
|
+
* CPU limit in cores. Maximum 100,000.
|
|
348
506
|
*/
|
|
349
|
-
cpu
|
|
507
|
+
cpu?: number;
|
|
350
508
|
};
|
|
351
509
|
gcp?: {
|
|
352
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
353
511
|
/**
|
|
354
|
-
*
|
|
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.
|
|
355
513
|
*/
|
|
356
|
-
project
|
|
514
|
+
project?: string;
|
|
357
515
|
};
|
|
358
516
|
hetzner?: {
|
|
359
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
360
518
|
/**
|
|
361
|
-
* 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.
|
|
362
520
|
*/
|
|
363
|
-
apiKey
|
|
521
|
+
apiKey?: string;
|
|
364
522
|
};
|
|
365
523
|
aws?: {
|
|
366
|
-
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'>;
|
|
367
538
|
/**
|
|
368
|
-
*
|
|
539
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
369
540
|
*/
|
|
370
|
-
|
|
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'>;
|
|
546
|
+
/**
|
|
547
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
548
|
+
*/
|
|
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'>;
|
|
371
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
553
|
+
*/
|
|
554
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
372
555
|
/**
|
|
373
556
|
* Unique identifier of the kubernetes fleet.
|
|
374
557
|
*/
|
|
375
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;
|
|
376
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
578
|
+
*/
|
|
377
579
|
export type FleetUpdateInput = {
|
|
378
580
|
/**
|
|
379
581
|
* Limits define a set of bounds for provisioning capacity.
|
|
380
582
|
*/
|
|
381
583
|
limits?: {
|
|
382
584
|
/**
|
|
383
|
-
* CPU limit in cores.
|
|
585
|
+
* CPU limit in cores. Maximum 100,000.
|
|
384
586
|
*/
|
|
385
|
-
cpu
|
|
587
|
+
cpu?: number;
|
|
386
588
|
};
|
|
387
589
|
gcp?: {
|
|
388
|
-
enabled
|
|
590
|
+
enabled: boolean;
|
|
389
591
|
/**
|
|
390
|
-
*
|
|
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.
|
|
391
593
|
*/
|
|
392
|
-
project
|
|
594
|
+
project?: string;
|
|
393
595
|
};
|
|
394
596
|
hetzner?: {
|
|
395
|
-
enabled
|
|
597
|
+
enabled: boolean;
|
|
396
598
|
/**
|
|
397
|
-
* Hetzner Cloud API
|
|
599
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
398
600
|
*/
|
|
399
|
-
apiKey
|
|
601
|
+
apiKey?: string;
|
|
400
602
|
};
|
|
401
603
|
aws?: {
|
|
402
|
-
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'>;
|
|
403
618
|
/**
|
|
404
|
-
*
|
|
619
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
405
620
|
*/
|
|
406
|
-
|
|
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'>;
|
|
626
|
+
/**
|
|
627
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
628
|
+
*/
|
|
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'>;
|
|
407
630
|
};
|
|
631
|
+
/**
|
|
632
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
633
|
+
*/
|
|
634
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
635
|
+
};
|
|
636
|
+
export type InviteCreateInput = {
|
|
637
|
+
/**
|
|
638
|
+
* Email address of the user to invite.
|
|
639
|
+
*/
|
|
640
|
+
email: string;
|
|
641
|
+
/**
|
|
642
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
643
|
+
*/
|
|
644
|
+
role?: 'Administrator' | 'User';
|
|
408
645
|
};
|
|
409
646
|
export type Invite = {
|
|
410
647
|
/**
|
|
@@ -427,399 +664,725 @@ export type Invite = {
|
|
|
427
664
|
* Generated unique invite code.
|
|
428
665
|
*/
|
|
429
666
|
code?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
669
|
+
*/
|
|
670
|
+
role?: 'Administrator' | 'User';
|
|
430
671
|
};
|
|
431
672
|
export type Invoice = {
|
|
432
673
|
/**
|
|
433
|
-
* Unique identifier of the invoice.
|
|
674
|
+
* Unique identifier of the invoice.
|
|
434
675
|
*/
|
|
435
676
|
id?: string;
|
|
436
|
-
|
|
437
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
438
|
-
*/
|
|
439
|
-
organizationId?: string;
|
|
677
|
+
number?: string;
|
|
440
678
|
/**
|
|
441
679
|
* Status of the invoice
|
|
442
680
|
*/
|
|
443
|
-
status?:
|
|
681
|
+
status?: string;
|
|
444
682
|
/**
|
|
445
683
|
* Total amount of the invoice
|
|
446
684
|
*/
|
|
447
|
-
|
|
685
|
+
total?: number;
|
|
448
686
|
/**
|
|
449
687
|
* Currency of the invoice
|
|
450
688
|
*/
|
|
451
|
-
currency?:
|
|
689
|
+
currency?: string;
|
|
452
690
|
/**
|
|
453
|
-
*
|
|
691
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
454
692
|
*/
|
|
455
|
-
|
|
693
|
+
created: string;
|
|
456
694
|
/**
|
|
457
|
-
*
|
|
695
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
458
696
|
*/
|
|
459
|
-
|
|
697
|
+
period_start: string;
|
|
460
698
|
/**
|
|
461
|
-
*
|
|
699
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
462
700
|
*/
|
|
463
|
-
|
|
701
|
+
period_end: string;
|
|
702
|
+
invoice_pdf?: string;
|
|
703
|
+
};
|
|
704
|
+
export type MarketplaceListingFiles = {
|
|
464
705
|
/**
|
|
465
|
-
*
|
|
706
|
+
* Raw Chart.yaml content from the Helm chart
|
|
466
707
|
*/
|
|
467
|
-
|
|
708
|
+
chartYaml?: string;
|
|
468
709
|
/**
|
|
469
|
-
*
|
|
710
|
+
* Raw values.yaml content from the Helm chart
|
|
470
711
|
*/
|
|
471
|
-
|
|
712
|
+
valuesYaml?: string;
|
|
472
713
|
/**
|
|
473
|
-
*
|
|
714
|
+
* JSON schema for values.yaml as a string
|
|
474
715
|
*/
|
|
475
|
-
|
|
716
|
+
valuesSchemaJson?: string;
|
|
717
|
+
};
|
|
718
|
+
export type MarketplaceListing = {
|
|
476
719
|
/**
|
|
477
|
-
*
|
|
720
|
+
* Name of the chart
|
|
478
721
|
*/
|
|
479
|
-
|
|
722
|
+
name: string;
|
|
480
723
|
/**
|
|
481
|
-
*
|
|
724
|
+
* Available versions of the chart
|
|
482
725
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
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?: {
|
|
496
739
|
/**
|
|
497
|
-
*
|
|
740
|
+
* Chart name from metadata
|
|
498
741
|
*/
|
|
499
|
-
|
|
742
|
+
name: string;
|
|
500
743
|
/**
|
|
501
|
-
*
|
|
744
|
+
* Chart version from metadata
|
|
502
745
|
*/
|
|
503
|
-
|
|
746
|
+
version: string;
|
|
504
747
|
/**
|
|
505
|
-
*
|
|
748
|
+
* Chart description
|
|
506
749
|
*/
|
|
507
|
-
|
|
750
|
+
description?: string;
|
|
508
751
|
/**
|
|
509
|
-
*
|
|
752
|
+
* Application version
|
|
510
753
|
*/
|
|
511
|
-
|
|
754
|
+
appVersion?: string;
|
|
512
755
|
/**
|
|
513
|
-
*
|
|
756
|
+
* Helm API version
|
|
514
757
|
*/
|
|
515
|
-
|
|
758
|
+
apiVersion?: string;
|
|
516
759
|
/**
|
|
517
|
-
*
|
|
760
|
+
* Chart keywords
|
|
518
761
|
*/
|
|
519
|
-
|
|
762
|
+
keywords?: Array<string>;
|
|
520
763
|
/**
|
|
521
|
-
*
|
|
764
|
+
* Chart home URL
|
|
522
765
|
*/
|
|
523
|
-
|
|
766
|
+
home?: string;
|
|
524
767
|
/**
|
|
525
|
-
*
|
|
768
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
526
769
|
*/
|
|
527
|
-
|
|
770
|
+
icon?: string;
|
|
528
771
|
/**
|
|
529
|
-
*
|
|
772
|
+
* Chart source URLs
|
|
530
773
|
*/
|
|
531
|
-
|
|
774
|
+
sources?: Array<string>;
|
|
532
775
|
/**
|
|
533
|
-
*
|
|
776
|
+
* Chart maintainers
|
|
534
777
|
*/
|
|
535
|
-
|
|
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: {
|
|
536
843
|
/**
|
|
537
|
-
*
|
|
844
|
+
* Maximum number of Basic clusters that can be created.
|
|
538
845
|
*/
|
|
539
|
-
|
|
846
|
+
basic_clusters_max: number;
|
|
540
847
|
/**
|
|
541
|
-
*
|
|
848
|
+
* Available number of Basic clusters that can be created.
|
|
542
849
|
*/
|
|
543
|
-
|
|
850
|
+
basic_clusters_available: number;
|
|
544
851
|
/**
|
|
545
|
-
*
|
|
852
|
+
* Maximum number of Pro clusters that can be created.
|
|
546
853
|
*/
|
|
547
|
-
|
|
854
|
+
pro_clusters_max: number;
|
|
548
855
|
/**
|
|
549
|
-
*
|
|
856
|
+
* Available number of Pro clusters that can be created.
|
|
550
857
|
*/
|
|
551
|
-
|
|
858
|
+
pro_clusters_available: number;
|
|
552
859
|
/**
|
|
553
|
-
*
|
|
860
|
+
* Maximum number of fleets that can be created per cluster.
|
|
554
861
|
*/
|
|
555
|
-
|
|
862
|
+
fleets_max: number;
|
|
556
863
|
/**
|
|
557
|
-
*
|
|
864
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
558
865
|
*/
|
|
559
|
-
|
|
866
|
+
cluster_tiers: Array<string>;
|
|
560
867
|
/**
|
|
561
|
-
*
|
|
868
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
562
869
|
*/
|
|
563
|
-
|
|
870
|
+
regions: Array<string>;
|
|
564
871
|
/**
|
|
565
|
-
*
|
|
872
|
+
* List of CFKE control plane versions available for the organization.
|
|
566
873
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
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 = {
|
|
941
|
+
/**
|
|
942
|
+
* Maximum number of Basic clusters that can be created.
|
|
943
|
+
*/
|
|
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.
|
|
573
971
|
*/
|
|
574
|
-
|
|
972
|
+
versions: Array<{
|
|
575
973
|
/**
|
|
576
|
-
*
|
|
974
|
+
* Id of the control plane version. Used in API calls.
|
|
577
975
|
*/
|
|
578
|
-
id
|
|
976
|
+
id: string;
|
|
579
977
|
/**
|
|
580
|
-
*
|
|
978
|
+
* Label of the control plane version. Used in frontent UI.
|
|
581
979
|
*/
|
|
582
|
-
|
|
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<{
|
|
583
1018
|
/**
|
|
584
|
-
*
|
|
1019
|
+
* Tag name.
|
|
585
1020
|
*/
|
|
586
|
-
|
|
1021
|
+
name: string;
|
|
587
1022
|
/**
|
|
588
|
-
*
|
|
1023
|
+
* Size of the tag in bytes.
|
|
589
1024
|
*/
|
|
590
|
-
|
|
1025
|
+
size: number;
|
|
591
1026
|
/**
|
|
592
|
-
*
|
|
1027
|
+
* Media type of the manifest.
|
|
593
1028
|
*/
|
|
594
|
-
|
|
1029
|
+
mediaType?: string;
|
|
595
1030
|
/**
|
|
596
|
-
*
|
|
1031
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
597
1032
|
*/
|
|
598
|
-
|
|
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?: {
|
|
599
1057
|
/**
|
|
600
|
-
*
|
|
1058
|
+
* Size of the config in bytes.
|
|
601
1059
|
*/
|
|
602
|
-
|
|
1060
|
+
size: number;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* Array of layer metadata.
|
|
1064
|
+
*/
|
|
1065
|
+
layers?: Array<{
|
|
603
1066
|
/**
|
|
604
|
-
*
|
|
1067
|
+
* Digest of the layer.
|
|
605
1068
|
*/
|
|
606
|
-
|
|
1069
|
+
digest?: string;
|
|
607
1070
|
/**
|
|
608
|
-
*
|
|
1071
|
+
* Size of the layer in bytes.
|
|
609
1072
|
*/
|
|
610
|
-
|
|
1073
|
+
size: number;
|
|
1074
|
+
}>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Array of manifests for multi-arch images.
|
|
1077
|
+
*/
|
|
1078
|
+
manifests?: Array<{
|
|
611
1079
|
/**
|
|
612
|
-
*
|
|
1080
|
+
* Digest of the manifest.
|
|
613
1081
|
*/
|
|
614
|
-
|
|
1082
|
+
digest: string;
|
|
615
1083
|
/**
|
|
616
|
-
*
|
|
1084
|
+
* Platform information for the manifest.
|
|
617
1085
|
*/
|
|
618
|
-
|
|
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
|
+
};
|
|
619
1100
|
/**
|
|
620
|
-
*
|
|
1101
|
+
* Layers for this platform.
|
|
621
1102
|
*/
|
|
622
|
-
|
|
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
|
+
}>;
|
|
623
1113
|
/**
|
|
624
|
-
*
|
|
1114
|
+
* Total size of this platform manifest in bytes.
|
|
625
1115
|
*/
|
|
626
|
-
|
|
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<{
|
|
627
1174
|
/**
|
|
628
|
-
*
|
|
1175
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
629
1176
|
*/
|
|
630
|
-
|
|
1177
|
+
id: string;
|
|
631
1178
|
/**
|
|
632
|
-
*
|
|
1179
|
+
* Current state of the ticket.
|
|
633
1180
|
*/
|
|
634
|
-
|
|
1181
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
635
1182
|
/**
|
|
636
|
-
*
|
|
1183
|
+
* Ticket category.
|
|
637
1184
|
*/
|
|
638
|
-
|
|
1185
|
+
category: 'billing' | 'technical' | 'general';
|
|
639
1186
|
/**
|
|
640
|
-
*
|
|
1187
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
641
1188
|
*/
|
|
642
|
-
|
|
1189
|
+
summary: string;
|
|
643
1190
|
/**
|
|
644
|
-
*
|
|
1191
|
+
* Closure timestamp. Null while the ticket is open.
|
|
645
1192
|
*/
|
|
646
|
-
|
|
1193
|
+
closed_at?: string;
|
|
647
1194
|
/**
|
|
648
|
-
*
|
|
1195
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
649
1196
|
*/
|
|
650
|
-
|
|
1197
|
+
date_created: string;
|
|
651
1198
|
/**
|
|
652
|
-
*
|
|
1199
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
653
1200
|
*/
|
|
654
|
-
|
|
1201
|
+
date_updated: string;
|
|
655
1202
|
/**
|
|
656
|
-
*
|
|
1203
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
657
1204
|
*/
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
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
|
+
}>;
|
|
661
1252
|
}>;
|
|
662
1253
|
};
|
|
663
|
-
export type
|
|
1254
|
+
export type TicketMessageInput = {
|
|
664
1255
|
/**
|
|
665
|
-
*
|
|
1256
|
+
* Reply body in markdown.
|
|
666
1257
|
*/
|
|
667
|
-
|
|
1258
|
+
body: string;
|
|
1259
|
+
};
|
|
1260
|
+
export type TicketMessage = {
|
|
668
1261
|
/**
|
|
669
|
-
*
|
|
1262
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
670
1263
|
*/
|
|
671
|
-
|
|
1264
|
+
id: string;
|
|
672
1265
|
/**
|
|
673
|
-
*
|
|
1266
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
674
1267
|
*/
|
|
675
|
-
|
|
1268
|
+
type: 'customer_reply' | 'agent_reply';
|
|
676
1269
|
/**
|
|
677
|
-
*
|
|
1270
|
+
* Message body in markdown.
|
|
678
1271
|
*/
|
|
679
|
-
|
|
1272
|
+
body: string;
|
|
680
1273
|
/**
|
|
681
|
-
*
|
|
1274
|
+
* First name of the author. Null when not provided.
|
|
682
1275
|
*/
|
|
683
|
-
|
|
1276
|
+
author_first_name?: string;
|
|
684
1277
|
/**
|
|
685
|
-
*
|
|
1278
|
+
* Last name of the author. Null when not provided.
|
|
686
1279
|
*/
|
|
687
|
-
|
|
1280
|
+
author_last_name?: string;
|
|
688
1281
|
/**
|
|
689
|
-
*
|
|
1282
|
+
* Attachments associated with this message.
|
|
690
1283
|
*/
|
|
691
|
-
|
|
692
|
-
version_channels: Array<string>;
|
|
693
|
-
value_schemas: Array<{
|
|
1284
|
+
attachments?: Array<{
|
|
694
1285
|
/**
|
|
695
|
-
*
|
|
1286
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
696
1287
|
*/
|
|
697
|
-
|
|
1288
|
+
id: string;
|
|
698
1289
|
/**
|
|
699
|
-
*
|
|
1290
|
+
* Original filename as uploaded.
|
|
700
1291
|
*/
|
|
701
|
-
|
|
1292
|
+
filename: string;
|
|
702
1293
|
/**
|
|
703
|
-
*
|
|
1294
|
+
* MIME content type of the attachment.
|
|
704
1295
|
*/
|
|
705
|
-
|
|
1296
|
+
content_type: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Size of the attachment in bytes.
|
|
1299
|
+
*/
|
|
1300
|
+
size: number;
|
|
706
1301
|
}>;
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
709
1302
|
/**
|
|
710
|
-
*
|
|
1303
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
711
1304
|
*/
|
|
712
|
-
|
|
1305
|
+
date_created: string;
|
|
1306
|
+
};
|
|
1307
|
+
export type Ticket = {
|
|
713
1308
|
/**
|
|
714
|
-
*
|
|
1309
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
715
1310
|
*/
|
|
716
|
-
|
|
1311
|
+
id: string;
|
|
717
1312
|
/**
|
|
718
|
-
*
|
|
1313
|
+
* Current state of the ticket.
|
|
719
1314
|
*/
|
|
720
|
-
|
|
1315
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
721
1316
|
/**
|
|
722
|
-
*
|
|
1317
|
+
* Ticket category.
|
|
723
1318
|
*/
|
|
724
|
-
|
|
1319
|
+
category: 'billing' | 'technical' | 'general';
|
|
725
1320
|
/**
|
|
726
|
-
*
|
|
1321
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
727
1322
|
*/
|
|
728
|
-
|
|
729
|
-
};
|
|
730
|
-
export type Organization = {
|
|
1323
|
+
summary: string;
|
|
731
1324
|
/**
|
|
732
|
-
*
|
|
1325
|
+
* Closure timestamp. Null while the ticket is open.
|
|
733
1326
|
*/
|
|
734
|
-
|
|
1327
|
+
closed_at?: string;
|
|
735
1328
|
/**
|
|
736
|
-
*
|
|
1329
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
737
1330
|
*/
|
|
738
|
-
|
|
1331
|
+
date_created: string;
|
|
739
1332
|
/**
|
|
740
|
-
*
|
|
1333
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
741
1334
|
*/
|
|
742
|
-
|
|
1335
|
+
date_updated: string;
|
|
743
1336
|
/**
|
|
744
|
-
*
|
|
1337
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
745
1338
|
*/
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Maximum number of Basic clusters that can be created.
|
|
749
|
-
*/
|
|
750
|
-
basic_clusters_max: number;
|
|
751
|
-
/**
|
|
752
|
-
* Available number of Basic clusters that can be created.
|
|
753
|
-
*/
|
|
754
|
-
basic_clusters_available: number;
|
|
1339
|
+
messages?: Array<{
|
|
755
1340
|
/**
|
|
756
|
-
*
|
|
1341
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
757
1342
|
*/
|
|
758
|
-
|
|
1343
|
+
id: string;
|
|
759
1344
|
/**
|
|
760
|
-
*
|
|
1345
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
761
1346
|
*/
|
|
762
|
-
|
|
1347
|
+
type: 'customer_reply' | 'agent_reply';
|
|
763
1348
|
/**
|
|
764
|
-
*
|
|
1349
|
+
* Message body in markdown.
|
|
765
1350
|
*/
|
|
766
|
-
|
|
1351
|
+
body: string;
|
|
767
1352
|
/**
|
|
768
|
-
*
|
|
1353
|
+
* First name of the author. Null when not provided.
|
|
769
1354
|
*/
|
|
770
|
-
|
|
1355
|
+
author_first_name?: string;
|
|
771
1356
|
/**
|
|
772
|
-
*
|
|
1357
|
+
* Last name of the author. Null when not provided.
|
|
773
1358
|
*/
|
|
774
|
-
|
|
1359
|
+
author_last_name?: string;
|
|
775
1360
|
/**
|
|
776
|
-
*
|
|
1361
|
+
* Attachments associated with this message.
|
|
777
1362
|
*/
|
|
778
|
-
|
|
1363
|
+
attachments?: Array<{
|
|
779
1364
|
/**
|
|
780
|
-
*
|
|
1365
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
781
1366
|
*/
|
|
782
1367
|
id: string;
|
|
783
1368
|
/**
|
|
784
|
-
*
|
|
1369
|
+
* Original filename as uploaded.
|
|
785
1370
|
*/
|
|
786
|
-
|
|
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;
|
|
787
1380
|
}>;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
};
|
|
794
|
-
export type PaymentMethod = {
|
|
795
|
-
/**
|
|
796
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
797
|
-
*/
|
|
798
|
-
id: string;
|
|
799
|
-
/**
|
|
800
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
801
|
-
*/
|
|
802
|
-
setup: boolean;
|
|
803
|
-
/**
|
|
804
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
805
|
-
*/
|
|
806
|
-
type: 'card';
|
|
807
|
-
/**
|
|
808
|
-
* Last 4 digits of the payment card number.
|
|
809
|
-
*/
|
|
810
|
-
last4: string;
|
|
811
|
-
/**
|
|
812
|
-
* Two-digit number representing the card's expiration month.
|
|
813
|
-
*/
|
|
814
|
-
exp_month: number;
|
|
815
|
-
/**
|
|
816
|
-
* Four-digit number representing the card's expiration year.
|
|
817
|
-
*/
|
|
818
|
-
exp_year: number;
|
|
819
|
-
/**
|
|
820
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
821
|
-
*/
|
|
822
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1381
|
+
/**
|
|
1382
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1383
|
+
*/
|
|
1384
|
+
date_created: string;
|
|
1385
|
+
}>;
|
|
823
1386
|
};
|
|
824
1387
|
export type TokenCreateInput = {
|
|
825
1388
|
/**
|
|
@@ -863,35 +1426,85 @@ export type TokenUpdateInput = {
|
|
|
863
1426
|
*/
|
|
864
1427
|
role?: 'Administrator' | 'User';
|
|
865
1428
|
};
|
|
1429
|
+
export type UsageFacets = {
|
|
1430
|
+
/**
|
|
1431
|
+
* List of unique cluster IDs
|
|
1432
|
+
*/
|
|
1433
|
+
cluster_id?: Array<string>;
|
|
1434
|
+
/**
|
|
1435
|
+
* List of unique products
|
|
1436
|
+
*/
|
|
1437
|
+
product?: Array<string>;
|
|
1438
|
+
};
|
|
1439
|
+
export type UsageResponse = {
|
|
1440
|
+
/**
|
|
1441
|
+
* Usage data
|
|
1442
|
+
*/
|
|
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
|
+
}>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Facets for filtering
|
|
1471
|
+
*/
|
|
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
|
+
};
|
|
1482
|
+
};
|
|
866
1483
|
export type Usage = {
|
|
867
1484
|
/**
|
|
868
1485
|
* Hour of the usage
|
|
869
1486
|
*/
|
|
870
|
-
hour
|
|
1487
|
+
hour: string;
|
|
871
1488
|
/**
|
|
872
1489
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
873
1490
|
*/
|
|
874
1491
|
cluster_id: string;
|
|
875
1492
|
/**
|
|
876
|
-
*
|
|
1493
|
+
* The product the usage is associated with
|
|
877
1494
|
*/
|
|
878
|
-
|
|
1495
|
+
product: string;
|
|
879
1496
|
/**
|
|
880
|
-
*
|
|
1497
|
+
* Consumption
|
|
881
1498
|
*/
|
|
882
|
-
|
|
1499
|
+
value: number;
|
|
883
1500
|
/**
|
|
884
|
-
*
|
|
1501
|
+
* Price per unit
|
|
885
1502
|
*/
|
|
886
|
-
|
|
1503
|
+
price: number;
|
|
887
1504
|
/**
|
|
888
|
-
*
|
|
1505
|
+
* Total cost
|
|
889
1506
|
*/
|
|
890
|
-
|
|
891
|
-
cpu: number | '';
|
|
892
|
-
price: number | '';
|
|
893
|
-
value: number | '';
|
|
894
|
-
total: number | '';
|
|
1507
|
+
total: number;
|
|
895
1508
|
};
|
|
896
1509
|
export type UserCreateInput = {
|
|
897
1510
|
/**
|
|
@@ -914,14 +1527,6 @@ export type UserCreateInput = {
|
|
|
914
1527
|
* User password. Must be at least 8 characters long.
|
|
915
1528
|
*/
|
|
916
1529
|
password: string;
|
|
917
|
-
/**
|
|
918
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
919
|
-
*/
|
|
920
|
-
status?: 'active' | 'inactive';
|
|
921
|
-
/**
|
|
922
|
-
* User role. Can be 'Administrator', 'User'.
|
|
923
|
-
*/
|
|
924
|
-
role?: 'Administrator' | 'User';
|
|
925
1530
|
};
|
|
926
1531
|
export type User = {
|
|
927
1532
|
/**
|
|
@@ -975,300 +1580,720 @@ export type UserUpdateInput = {
|
|
|
975
1580
|
*/
|
|
976
1581
|
status?: 'active' | 'inactive';
|
|
977
1582
|
};
|
|
978
|
-
export type
|
|
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 = {
|
|
979
1611
|
body?: never;
|
|
980
1612
|
path?: never;
|
|
981
1613
|
query?: never;
|
|
982
|
-
url: '/
|
|
1614
|
+
url: '/users';
|
|
983
1615
|
};
|
|
984
|
-
export type
|
|
1616
|
+
export type ListUsersErrors = {
|
|
985
1617
|
/**
|
|
986
1618
|
* Not authenticated
|
|
987
1619
|
*/
|
|
988
1620
|
401: unknown;
|
|
989
1621
|
};
|
|
990
|
-
export type
|
|
1622
|
+
export type ListUsersResponses = {
|
|
991
1623
|
/**
|
|
992
|
-
* An array of
|
|
1624
|
+
* An array of users
|
|
993
1625
|
*/
|
|
994
|
-
200: Array<
|
|
1626
|
+
200: Array<User>;
|
|
995
1627
|
};
|
|
996
|
-
export type
|
|
997
|
-
export type
|
|
998
|
-
body
|
|
1628
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1629
|
+
export type CreateUserData = {
|
|
1630
|
+
body: UserCreateInput;
|
|
999
1631
|
path?: never;
|
|
1000
1632
|
query?: never;
|
|
1001
|
-
url: '/
|
|
1633
|
+
url: '/users';
|
|
1002
1634
|
};
|
|
1003
|
-
export type
|
|
1635
|
+
export type CreateUserResponses = {
|
|
1004
1636
|
/**
|
|
1005
|
-
*
|
|
1637
|
+
* Successfully created. Returns created user details.
|
|
1006
1638
|
*/
|
|
1007
|
-
200:
|
|
1639
|
+
200: User;
|
|
1008
1640
|
};
|
|
1009
|
-
export type
|
|
1010
|
-
export type
|
|
1641
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1642
|
+
export type DeleteUserData = {
|
|
1011
1643
|
body?: never;
|
|
1012
|
-
path
|
|
1644
|
+
path: {
|
|
1645
|
+
/**
|
|
1646
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1647
|
+
*/
|
|
1648
|
+
user_id: string;
|
|
1649
|
+
};
|
|
1013
1650
|
query?: never;
|
|
1014
|
-
url: '/
|
|
1651
|
+
url: '/users/{user_id}';
|
|
1015
1652
|
};
|
|
1016
|
-
export type
|
|
1653
|
+
export type DeleteUserErrors = {
|
|
1017
1654
|
/**
|
|
1018
|
-
*
|
|
1655
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1019
1656
|
*/
|
|
1020
|
-
|
|
1021
|
-
};
|
|
1022
|
-
export type GetPaymentMethodResponses = {
|
|
1657
|
+
400: unknown;
|
|
1023
1658
|
/**
|
|
1024
|
-
*
|
|
1659
|
+
* Not authenticated
|
|
1025
1660
|
*/
|
|
1026
|
-
|
|
1027
|
-
};
|
|
1028
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1029
|
-
export type GetPaymentMethodSecretData = {
|
|
1030
|
-
body?: never;
|
|
1031
|
-
path?: never;
|
|
1032
|
-
query?: never;
|
|
1033
|
-
url: '/billing/payment-method';
|
|
1661
|
+
401: unknown;
|
|
1034
1662
|
};
|
|
1035
|
-
export type
|
|
1663
|
+
export type DeleteUserResponses = {
|
|
1036
1664
|
/**
|
|
1037
|
-
*
|
|
1038
|
-
*
|
|
1665
|
+
* User profile information
|
|
1039
1666
|
*/
|
|
1040
|
-
200:
|
|
1041
|
-
/**
|
|
1042
|
-
* The client secret.
|
|
1043
|
-
*/
|
|
1044
|
-
id?: string;
|
|
1045
|
-
};
|
|
1667
|
+
200: User;
|
|
1046
1668
|
};
|
|
1047
|
-
export type
|
|
1048
|
-
export type
|
|
1669
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1670
|
+
export type GetUserData = {
|
|
1049
1671
|
body?: never;
|
|
1050
|
-
path
|
|
1051
|
-
query: {
|
|
1052
|
-
/**
|
|
1053
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1054
|
-
*/
|
|
1055
|
-
start_date: string;
|
|
1672
|
+
path: {
|
|
1056
1673
|
/**
|
|
1057
|
-
*
|
|
1674
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1058
1675
|
*/
|
|
1059
|
-
|
|
1676
|
+
user_id: string;
|
|
1060
1677
|
};
|
|
1061
|
-
|
|
1678
|
+
query?: never;
|
|
1679
|
+
url: '/users/{user_id}';
|
|
1062
1680
|
};
|
|
1063
|
-
export type
|
|
1681
|
+
export type GetUserErrors = {
|
|
1064
1682
|
/**
|
|
1065
1683
|
* Not authenticated
|
|
1066
1684
|
*/
|
|
1067
1685
|
401: unknown;
|
|
1068
1686
|
};
|
|
1069
|
-
export type
|
|
1687
|
+
export type GetUserResponses = {
|
|
1070
1688
|
/**
|
|
1071
|
-
*
|
|
1689
|
+
* User profile information
|
|
1072
1690
|
*/
|
|
1073
|
-
200:
|
|
1691
|
+
200: User;
|
|
1074
1692
|
};
|
|
1075
|
-
export type
|
|
1076
|
-
export type
|
|
1077
|
-
body
|
|
1693
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1694
|
+
export type UpdateUserData = {
|
|
1695
|
+
body: UserUpdateInput;
|
|
1078
1696
|
path: {
|
|
1079
1697
|
/**
|
|
1080
|
-
* Unique
|
|
1698
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1081
1699
|
*/
|
|
1082
|
-
|
|
1700
|
+
user_id: string;
|
|
1083
1701
|
};
|
|
1084
1702
|
query?: never;
|
|
1085
|
-
url: '/
|
|
1703
|
+
url: '/users/{user_id}';
|
|
1086
1704
|
};
|
|
1087
|
-
export type
|
|
1705
|
+
export type UpdateUserResponses = {
|
|
1088
1706
|
/**
|
|
1089
|
-
*
|
|
1707
|
+
* Successfully created. Returns created user details.
|
|
1090
1708
|
*/
|
|
1091
|
-
200:
|
|
1092
|
-
html?: string;
|
|
1093
|
-
};
|
|
1709
|
+
200: User;
|
|
1094
1710
|
};
|
|
1095
|
-
export type
|
|
1096
|
-
export type
|
|
1711
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1712
|
+
export type ListTokensData = {
|
|
1097
1713
|
body?: never;
|
|
1098
1714
|
path?: never;
|
|
1099
1715
|
query?: never;
|
|
1100
|
-
url: '/
|
|
1716
|
+
url: '/tokens';
|
|
1101
1717
|
};
|
|
1102
|
-
export type
|
|
1718
|
+
export type ListTokensErrors = {
|
|
1103
1719
|
/**
|
|
1104
|
-
*
|
|
1720
|
+
* Not authenticated
|
|
1105
1721
|
*/
|
|
1106
|
-
|
|
1107
|
-
};
|
|
1108
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1109
|
-
export type UpdateContactData = {
|
|
1110
|
-
body: BillingContact;
|
|
1111
|
-
path?: never;
|
|
1112
|
-
query?: never;
|
|
1113
|
-
url: '/billing/contact';
|
|
1722
|
+
401: unknown;
|
|
1114
1723
|
};
|
|
1115
|
-
export type
|
|
1724
|
+
export type ListTokensResponses = {
|
|
1116
1725
|
/**
|
|
1117
|
-
*
|
|
1726
|
+
* Returns a list of access token details with masked secrets.
|
|
1118
1727
|
*/
|
|
1119
|
-
200:
|
|
1728
|
+
200: Array<Token>;
|
|
1120
1729
|
};
|
|
1121
|
-
export type
|
|
1122
|
-
export type
|
|
1123
|
-
body
|
|
1730
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1731
|
+
export type CreateTokenData = {
|
|
1732
|
+
body: TokenCreateInput;
|
|
1124
1733
|
path?: never;
|
|
1125
1734
|
query?: never;
|
|
1126
|
-
url: '/
|
|
1735
|
+
url: '/tokens';
|
|
1127
1736
|
};
|
|
1128
|
-
export type
|
|
1737
|
+
export type CreateTokenErrors = {
|
|
1129
1738
|
/**
|
|
1130
1739
|
* Not authenticated
|
|
1131
1740
|
*/
|
|
1132
1741
|
401: unknown;
|
|
1133
1742
|
};
|
|
1134
|
-
export type
|
|
1743
|
+
export type CreateTokenResponses = {
|
|
1135
1744
|
/**
|
|
1136
|
-
*
|
|
1745
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1137
1746
|
*/
|
|
1138
|
-
200:
|
|
1747
|
+
200: Token;
|
|
1139
1748
|
};
|
|
1140
|
-
export type
|
|
1141
|
-
export type
|
|
1142
|
-
body
|
|
1749
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1750
|
+
export type DeleteTokenData = {
|
|
1751
|
+
body?: never;
|
|
1752
|
+
path: {
|
|
1143
1753
|
/**
|
|
1144
|
-
*
|
|
1754
|
+
* Generated unique identifier of the access token.
|
|
1145
1755
|
*/
|
|
1146
|
-
|
|
1756
|
+
token_id: string;
|
|
1147
1757
|
};
|
|
1148
|
-
path?: never;
|
|
1149
1758
|
query?: never;
|
|
1150
|
-
url: '/
|
|
1151
|
-
};
|
|
1152
|
-
export type RedeemCreditsErrors = {
|
|
1153
|
-
/**
|
|
1154
|
-
* Not authenticated
|
|
1155
|
-
*/
|
|
1156
|
-
401: unknown;
|
|
1759
|
+
url: '/tokens/{token_id}';
|
|
1157
1760
|
};
|
|
1158
|
-
export type
|
|
1761
|
+
export type DeleteTokenResponses = {
|
|
1159
1762
|
/**
|
|
1160
|
-
* Successfully
|
|
1763
|
+
* Successfully deleted.
|
|
1161
1764
|
*/
|
|
1162
1765
|
200: unknown;
|
|
1163
1766
|
};
|
|
1164
|
-
export type
|
|
1767
|
+
export type GetTokenData = {
|
|
1165
1768
|
body?: never;
|
|
1166
1769
|
path: {
|
|
1167
1770
|
/**
|
|
1168
|
-
*
|
|
1771
|
+
* Generated unique identifier of the access token.
|
|
1169
1772
|
*/
|
|
1170
|
-
|
|
1773
|
+
token_id: string;
|
|
1171
1774
|
};
|
|
1172
1775
|
query?: never;
|
|
1173
|
-
url: '/
|
|
1776
|
+
url: '/tokens/{token_id}';
|
|
1174
1777
|
};
|
|
1175
|
-
export type
|
|
1778
|
+
export type GetTokenErrors = {
|
|
1176
1779
|
/**
|
|
1177
1780
|
* Not authenticated
|
|
1178
1781
|
*/
|
|
1179
1782
|
401: unknown;
|
|
1180
1783
|
};
|
|
1181
|
-
export type
|
|
1784
|
+
export type GetTokenResponses = {
|
|
1182
1785
|
/**
|
|
1183
|
-
*
|
|
1786
|
+
* Returns access token details with masked secret.
|
|
1184
1787
|
*/
|
|
1185
|
-
200:
|
|
1788
|
+
200: Token;
|
|
1186
1789
|
};
|
|
1187
|
-
export type
|
|
1188
|
-
export type
|
|
1189
|
-
body:
|
|
1790
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1791
|
+
export type UpdateTokenData = {
|
|
1792
|
+
body: TokenUpdateInput;
|
|
1190
1793
|
path: {
|
|
1191
1794
|
/**
|
|
1192
|
-
*
|
|
1795
|
+
* Generated unique identifier of the access token.
|
|
1193
1796
|
*/
|
|
1194
|
-
|
|
1797
|
+
token_id: string;
|
|
1195
1798
|
};
|
|
1196
1799
|
query?: never;
|
|
1197
|
-
url: '/
|
|
1800
|
+
url: '/tokens/{token_id}';
|
|
1198
1801
|
};
|
|
1199
|
-
export type
|
|
1802
|
+
export type UpdateTokenErrors = {
|
|
1200
1803
|
/**
|
|
1201
|
-
*
|
|
1804
|
+
* Not authenticated
|
|
1202
1805
|
*/
|
|
1203
|
-
|
|
1806
|
+
401: unknown;
|
|
1204
1807
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
|
|
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 = {
|
|
1207
1816
|
body?: never;
|
|
1208
1817
|
path: {
|
|
1209
1818
|
/**
|
|
1210
|
-
*
|
|
1819
|
+
* Generated unique identifier of the access token.
|
|
1211
1820
|
*/
|
|
1212
|
-
|
|
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: {
|
|
1213
1854
|
/**
|
|
1214
|
-
*
|
|
1855
|
+
* JSON-encoded TicketCreateInput.
|
|
1215
1856
|
*/
|
|
1216
|
-
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1217
1859
|
};
|
|
1860
|
+
path?: never;
|
|
1218
1861
|
query?: never;
|
|
1219
|
-
url: '/
|
|
1862
|
+
url: '/tickets';
|
|
1220
1863
|
};
|
|
1221
|
-
export type
|
|
1864
|
+
export type CreateTicketResponses = {
|
|
1222
1865
|
/**
|
|
1223
|
-
*
|
|
1866
|
+
* Ticket created.
|
|
1224
1867
|
*/
|
|
1225
|
-
200:
|
|
1868
|
+
200: Ticket;
|
|
1226
1869
|
};
|
|
1227
|
-
export type
|
|
1228
|
-
export type
|
|
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.
|
|
1882
|
+
*/
|
|
1883
|
+
200: Ticket;
|
|
1884
|
+
};
|
|
1885
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1886
|
+
export type GetTicketData = {
|
|
1229
1887
|
body?: never;
|
|
1230
1888
|
path: {
|
|
1889
|
+
ticket_id: string;
|
|
1890
|
+
};
|
|
1891
|
+
query?: never;
|
|
1892
|
+
url: '/tickets/{ticket_id}';
|
|
1893
|
+
};
|
|
1894
|
+
export type GetTicketResponses = {
|
|
1895
|
+
/**
|
|
1896
|
+
* Ticket with messages (internal notes excluded).
|
|
1897
|
+
*/
|
|
1898
|
+
200: Ticket;
|
|
1899
|
+
};
|
|
1900
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1901
|
+
export type ReplyTicketData = {
|
|
1902
|
+
body: {
|
|
1231
1903
|
/**
|
|
1232
|
-
*
|
|
1904
|
+
* JSON-encoded TicketMessageInput.
|
|
1233
1905
|
*/
|
|
1234
|
-
|
|
1906
|
+
payload?: string;
|
|
1907
|
+
attachments?: Array<Blob | File>;
|
|
1908
|
+
};
|
|
1909
|
+
path: {
|
|
1910
|
+
ticket_id: string;
|
|
1911
|
+
};
|
|
1912
|
+
query?: never;
|
|
1913
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1914
|
+
};
|
|
1915
|
+
export type ReplyTicketErrors = {
|
|
1916
|
+
/**
|
|
1917
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1918
|
+
*/
|
|
1919
|
+
409: unknown;
|
|
1920
|
+
};
|
|
1921
|
+
export type ReplyTicketResponses = {
|
|
1922
|
+
/**
|
|
1923
|
+
* Reply appended.
|
|
1924
|
+
*/
|
|
1925
|
+
200: TicketMessage;
|
|
1926
|
+
};
|
|
1927
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1928
|
+
export type GetTicketAttachmentData = {
|
|
1929
|
+
body?: never;
|
|
1930
|
+
path: {
|
|
1931
|
+
ticket_id: string;
|
|
1932
|
+
attachment_id: string;
|
|
1933
|
+
};
|
|
1934
|
+
query?: never;
|
|
1935
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1936
|
+
};
|
|
1937
|
+
export type GetTicketAttachmentResponses = {
|
|
1938
|
+
/**
|
|
1939
|
+
* Attachment binary stream.
|
|
1940
|
+
*/
|
|
1941
|
+
200: Blob | File;
|
|
1942
|
+
};
|
|
1943
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1944
|
+
export type ListRepositoriesData = {
|
|
1945
|
+
body?: never;
|
|
1946
|
+
path?: never;
|
|
1947
|
+
query?: never;
|
|
1948
|
+
url: '/registry';
|
|
1949
|
+
};
|
|
1950
|
+
export type ListRepositoriesErrors = {
|
|
1951
|
+
/**
|
|
1952
|
+
* Not authenticated
|
|
1953
|
+
*/
|
|
1954
|
+
401: unknown;
|
|
1955
|
+
/**
|
|
1956
|
+
* Internal server error
|
|
1957
|
+
*/
|
|
1958
|
+
500: unknown;
|
|
1959
|
+
};
|
|
1960
|
+
export type ListRepositoriesResponses = {
|
|
1961
|
+
/**
|
|
1962
|
+
* List of repositories
|
|
1963
|
+
*/
|
|
1964
|
+
200: Array<RegistryRepository>;
|
|
1965
|
+
};
|
|
1966
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1967
|
+
export type ListTagsData = {
|
|
1968
|
+
body?: never;
|
|
1969
|
+
path: {
|
|
1235
1970
|
/**
|
|
1236
|
-
*
|
|
1971
|
+
* Region where the repository is located
|
|
1972
|
+
*/
|
|
1973
|
+
region: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Name of the repository
|
|
1976
|
+
*/
|
|
1977
|
+
repository: string;
|
|
1978
|
+
};
|
|
1979
|
+
query?: never;
|
|
1980
|
+
url: '/registry/{region}/{repository}';
|
|
1981
|
+
};
|
|
1982
|
+
export type ListTagsErrors = {
|
|
1983
|
+
/**
|
|
1984
|
+
* Not authenticated
|
|
1985
|
+
*/
|
|
1986
|
+
401: unknown;
|
|
1987
|
+
/**
|
|
1988
|
+
* Repository not found
|
|
1989
|
+
*/
|
|
1990
|
+
404: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1995
|
+
};
|
|
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 = {
|
|
2004
|
+
body?: never;
|
|
2005
|
+
path: {
|
|
2006
|
+
/**
|
|
2007
|
+
* Region where the repository is located
|
|
2008
|
+
*/
|
|
2009
|
+
region: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* Name of the repository
|
|
2012
|
+
*/
|
|
2013
|
+
repository: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Name of the tag
|
|
2016
|
+
*/
|
|
2017
|
+
tag: string;
|
|
2018
|
+
};
|
|
2019
|
+
query?: never;
|
|
2020
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2021
|
+
};
|
|
2022
|
+
export type DeleteTagErrors = {
|
|
2023
|
+
/**
|
|
2024
|
+
* Not authenticated
|
|
2025
|
+
*/
|
|
2026
|
+
401: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag not found
|
|
2029
|
+
*/
|
|
2030
|
+
404: unknown;
|
|
2031
|
+
/**
|
|
2032
|
+
* Internal server error
|
|
2033
|
+
*/
|
|
2034
|
+
500: unknown;
|
|
2035
|
+
};
|
|
2036
|
+
export type DeleteTagResponses = {
|
|
2037
|
+
/**
|
|
2038
|
+
* Tag successfully deleted
|
|
2039
|
+
*/
|
|
2040
|
+
200: unknown;
|
|
2041
|
+
};
|
|
2042
|
+
export type GetTagData = {
|
|
2043
|
+
body?: never;
|
|
2044
|
+
path: {
|
|
2045
|
+
/**
|
|
2046
|
+
* Region where the repository is located
|
|
2047
|
+
*/
|
|
2048
|
+
region: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Name of the repository
|
|
2051
|
+
*/
|
|
2052
|
+
repository: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Name of the tag
|
|
2055
|
+
*/
|
|
2056
|
+
tag: string;
|
|
2057
|
+
};
|
|
2058
|
+
query?: never;
|
|
2059
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2060
|
+
};
|
|
2061
|
+
export type GetTagErrors = {
|
|
2062
|
+
/**
|
|
2063
|
+
* Not authenticated
|
|
2064
|
+
*/
|
|
2065
|
+
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag not found
|
|
2068
|
+
*/
|
|
2069
|
+
404: unknown;
|
|
2070
|
+
/**
|
|
2071
|
+
* Internal server error
|
|
2072
|
+
*/
|
|
2073
|
+
500: unknown;
|
|
2074
|
+
};
|
|
2075
|
+
export type GetTagResponses = {
|
|
2076
|
+
/**
|
|
2077
|
+
* Tag details
|
|
2078
|
+
*/
|
|
2079
|
+
200: RegistryTag;
|
|
2080
|
+
};
|
|
2081
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2082
|
+
export type GetOrganizationData = {
|
|
2083
|
+
body?: never;
|
|
2084
|
+
path?: never;
|
|
2085
|
+
query?: never;
|
|
2086
|
+
url: '/organization';
|
|
2087
|
+
};
|
|
2088
|
+
export type GetOrganizationResponses = {
|
|
2089
|
+
/**
|
|
2090
|
+
* Returns a single object containing organization details.
|
|
2091
|
+
*/
|
|
2092
|
+
200: Organization;
|
|
2093
|
+
};
|
|
2094
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2095
|
+
export type CreateOrganizationData = {
|
|
2096
|
+
body: OrganizationCreateInput;
|
|
2097
|
+
path?: never;
|
|
2098
|
+
query?: never;
|
|
2099
|
+
url: '/organization';
|
|
2100
|
+
};
|
|
2101
|
+
export type CreateOrganizationResponses = {
|
|
2102
|
+
/**
|
|
2103
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2104
|
+
*
|
|
2105
|
+
*/
|
|
2106
|
+
200: OrganizationCreateOutput;
|
|
2107
|
+
};
|
|
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
|
+
};
|
|
2124
|
+
path?: never;
|
|
2125
|
+
query?: never;
|
|
2126
|
+
url: '/mcp';
|
|
2127
|
+
};
|
|
2128
|
+
export type PostMcpErrors = {
|
|
2129
|
+
/**
|
|
2130
|
+
* Not authenticated
|
|
2131
|
+
*/
|
|
2132
|
+
401: unknown;
|
|
2133
|
+
};
|
|
2134
|
+
export type PostMcpResponses = {
|
|
2135
|
+
/**
|
|
2136
|
+
* JSON-RPC 2.0 success or error response
|
|
2137
|
+
*/
|
|
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
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2151
|
+
export type ListMarketplaceChartsData = {
|
|
2152
|
+
body?: never;
|
|
2153
|
+
path?: never;
|
|
2154
|
+
query?: never;
|
|
2155
|
+
url: '/marketplace';
|
|
2156
|
+
};
|
|
2157
|
+
export type ListMarketplaceChartsErrors = {
|
|
2158
|
+
/**
|
|
2159
|
+
* Not authenticated
|
|
2160
|
+
*/
|
|
2161
|
+
401: unknown;
|
|
2162
|
+
};
|
|
2163
|
+
export type ListMarketplaceChartsResponses = {
|
|
2164
|
+
/**
|
|
2165
|
+
* An array of chart listings in the marketplace.
|
|
2166
|
+
*/
|
|
2167
|
+
200: Array<MarketplaceListing>;
|
|
2168
|
+
};
|
|
2169
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2170
|
+
export type GetMarketplaceChartFilesData = {
|
|
2171
|
+
body?: never;
|
|
2172
|
+
path: {
|
|
2173
|
+
/**
|
|
2174
|
+
* Name of the chart in the marketplace.
|
|
1237
2175
|
*/
|
|
1238
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;
|
|
1239
2181
|
};
|
|
1240
2182
|
query?: never;
|
|
1241
|
-
url: '/
|
|
2183
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1242
2184
|
};
|
|
1243
|
-
export type
|
|
2185
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1244
2186
|
/**
|
|
1245
|
-
*
|
|
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 = {
|
|
2205
|
+
/**
|
|
2206
|
+
* Not authenticated
|
|
2207
|
+
*/
|
|
2208
|
+
401: unknown;
|
|
2209
|
+
};
|
|
2210
|
+
export type ListInvitesResponses = {
|
|
2211
|
+
/**
|
|
2212
|
+
* An array of invites
|
|
2213
|
+
*/
|
|
2214
|
+
200: Array<Invite>;
|
|
2215
|
+
};
|
|
2216
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2217
|
+
export type CreateInviteData = {
|
|
2218
|
+
body: InviteCreateInput;
|
|
2219
|
+
path?: never;
|
|
2220
|
+
query?: never;
|
|
2221
|
+
url: '/invites';
|
|
2222
|
+
};
|
|
2223
|
+
export type CreateInviteResponses = {
|
|
2224
|
+
/**
|
|
2225
|
+
* Successfully created. Returns created invite details.
|
|
2226
|
+
*/
|
|
2227
|
+
200: Invite;
|
|
2228
|
+
};
|
|
2229
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2230
|
+
export type GetInviteData = {
|
|
2231
|
+
body?: never;
|
|
2232
|
+
path: {
|
|
2233
|
+
/**
|
|
2234
|
+
* Invitation code
|
|
2235
|
+
*/
|
|
2236
|
+
code: string;
|
|
2237
|
+
};
|
|
2238
|
+
query?: never;
|
|
2239
|
+
url: '/invites/{code}';
|
|
2240
|
+
};
|
|
2241
|
+
export type GetInviteResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2244
|
+
*/
|
|
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
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2257
|
+
export type DeleteInviteData = {
|
|
2258
|
+
body?: never;
|
|
2259
|
+
path: {
|
|
2260
|
+
/**
|
|
2261
|
+
* User email address
|
|
2262
|
+
*/
|
|
2263
|
+
email: string;
|
|
2264
|
+
};
|
|
2265
|
+
query?: never;
|
|
2266
|
+
url: '/invites/{email}';
|
|
2267
|
+
};
|
|
2268
|
+
export type DeleteInviteResponses = {
|
|
2269
|
+
/**
|
|
2270
|
+
* Successfully deleted.
|
|
1246
2271
|
*/
|
|
1247
|
-
200:
|
|
2272
|
+
200: unknown;
|
|
1248
2273
|
};
|
|
1249
|
-
export type
|
|
1250
|
-
|
|
1251
|
-
body: ChartUpdateInput;
|
|
2274
|
+
export type QueryClusterData = {
|
|
2275
|
+
body?: never;
|
|
1252
2276
|
path: {
|
|
1253
2277
|
/**
|
|
1254
2278
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1255
2279
|
*/
|
|
1256
2280
|
cluster_id: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1259
|
-
*/
|
|
1260
|
-
chart_name: string;
|
|
1261
2281
|
};
|
|
1262
2282
|
query?: never;
|
|
1263
|
-
url: '/clusters/{cluster_id}/
|
|
2283
|
+
url: '/clusters/{cluster_id}/query';
|
|
1264
2284
|
};
|
|
1265
|
-
export type
|
|
2285
|
+
export type QueryClusterErrors = {
|
|
1266
2286
|
/**
|
|
1267
|
-
*
|
|
2287
|
+
* Not authenticated
|
|
1268
2288
|
*/
|
|
1269
|
-
|
|
2289
|
+
401: unknown;
|
|
2290
|
+
};
|
|
2291
|
+
export type QueryClusterResponses = {
|
|
2292
|
+
/**
|
|
2293
|
+
* Kubernetes API response
|
|
2294
|
+
*/
|
|
2295
|
+
200: unknown;
|
|
1270
2296
|
};
|
|
1271
|
-
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1272
2297
|
export type ListFleetsData = {
|
|
1273
2298
|
body?: never;
|
|
1274
2299
|
path: {
|
|
@@ -1309,6 +2334,10 @@ export type CreateFleetErrors = {
|
|
|
1309
2334
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1310
2335
|
*/
|
|
1311
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;
|
|
1312
2341
|
};
|
|
1313
2342
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1314
2343
|
export type CreateFleetResponses = {
|
|
@@ -1333,6 +2362,13 @@ export type DeleteFleetData = {
|
|
|
1333
2362
|
query?: never;
|
|
1334
2363
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1335
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];
|
|
1336
2372
|
export type DeleteFleetResponses = {
|
|
1337
2373
|
/**
|
|
1338
2374
|
* Successfully deleted.
|
|
@@ -1382,6 +2418,10 @@ export type UpdateFleetErrors = {
|
|
|
1382
2418
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1383
2419
|
*/
|
|
1384
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;
|
|
1385
2425
|
};
|
|
1386
2426
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1387
2427
|
export type UpdateFleetResponses = {
|
|
@@ -1391,7 +2431,7 @@ export type UpdateFleetResponses = {
|
|
|
1391
2431
|
200: string;
|
|
1392
2432
|
};
|
|
1393
2433
|
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
1394
|
-
export type
|
|
2434
|
+
export type ListChartsData = {
|
|
1395
2435
|
body?: never;
|
|
1396
2436
|
path: {
|
|
1397
2437
|
/**
|
|
@@ -1400,525 +2440,485 @@ export type QueryClusterData = {
|
|
|
1400
2440
|
cluster_id: string;
|
|
1401
2441
|
};
|
|
1402
2442
|
query?: never;
|
|
1403
|
-
url: '/clusters/{cluster_id}/
|
|
1404
|
-
};
|
|
1405
|
-
export type QueryClusterErrors = {
|
|
1406
|
-
/**
|
|
1407
|
-
* Not authenticated
|
|
1408
|
-
*/
|
|
1409
|
-
401: unknown;
|
|
1410
|
-
};
|
|
1411
|
-
export type QueryClusterResponses = {
|
|
1412
|
-
/**
|
|
1413
|
-
* Kubernetes API response
|
|
1414
|
-
*/
|
|
1415
|
-
200: unknown;
|
|
1416
|
-
};
|
|
1417
|
-
export type ListClustersData = {
|
|
1418
|
-
body?: never;
|
|
1419
|
-
path?: never;
|
|
1420
|
-
query?: never;
|
|
1421
|
-
url: '/clusters';
|
|
2443
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1422
2444
|
};
|
|
1423
|
-
export type
|
|
2445
|
+
export type ListChartsErrors = {
|
|
1424
2446
|
/**
|
|
1425
2447
|
* Not authenticated
|
|
1426
2448
|
*/
|
|
1427
2449
|
401: unknown;
|
|
1428
2450
|
};
|
|
1429
|
-
export type
|
|
2451
|
+
export type ListChartsResponses = {
|
|
1430
2452
|
/**
|
|
1431
|
-
* An array of
|
|
2453
|
+
* An array of charts
|
|
1432
2454
|
*/
|
|
1433
|
-
200: Array<
|
|
2455
|
+
200: Array<Chart>;
|
|
1434
2456
|
};
|
|
1435
|
-
export type
|
|
1436
|
-
export type
|
|
1437
|
-
body:
|
|
1438
|
-
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
|
+
};
|
|
1439
2466
|
query?: never;
|
|
1440
|
-
url: '/clusters';
|
|
2467
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1441
2468
|
};
|
|
1442
|
-
export type
|
|
2469
|
+
export type CreateChartErrors = {
|
|
1443
2470
|
/**
|
|
1444
|
-
*
|
|
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.
|
|
1445
2472
|
*/
|
|
1446
|
-
|
|
2473
|
+
409: string;
|
|
1447
2474
|
};
|
|
1448
|
-
export type
|
|
1449
|
-
export type
|
|
2475
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2476
|
+
export type CreateChartResponses = {
|
|
1450
2477
|
/**
|
|
1451
|
-
* Successfully created. Returns created
|
|
2478
|
+
* Successfully created. Returns created Chart ID.
|
|
1452
2479
|
*/
|
|
1453
2480
|
200: string;
|
|
1454
2481
|
};
|
|
1455
|
-
export type
|
|
1456
|
-
export type
|
|
2482
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2483
|
+
export type DeleteChartData = {
|
|
1457
2484
|
body?: never;
|
|
1458
2485
|
path: {
|
|
1459
2486
|
/**
|
|
1460
2487
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1461
2488
|
*/
|
|
1462
2489
|
cluster_id: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2492
|
+
*/
|
|
2493
|
+
chart_name: string;
|
|
1463
2494
|
};
|
|
1464
2495
|
query?: never;
|
|
1465
|
-
url: '/clusters/{cluster_id}';
|
|
2496
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1466
2497
|
};
|
|
1467
|
-
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 = {
|
|
1468
2506
|
/**
|
|
1469
2507
|
* Successfully deleted.
|
|
1470
2508
|
*/
|
|
1471
2509
|
200: string;
|
|
1472
2510
|
};
|
|
1473
|
-
export type
|
|
1474
|
-
export type
|
|
2511
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2512
|
+
export type GetChartData = {
|
|
1475
2513
|
body?: never;
|
|
1476
2514
|
path: {
|
|
1477
2515
|
/**
|
|
1478
2516
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1479
2517
|
*/
|
|
1480
2518
|
cluster_id: string;
|
|
1481
|
-
};
|
|
1482
|
-
query?: never;
|
|
1483
|
-
url: '/clusters/{cluster_id}';
|
|
1484
|
-
};
|
|
1485
|
-
export type GetClusterResponses = {
|
|
1486
|
-
/**
|
|
1487
|
-
* Returns a single object containing cluster details.
|
|
1488
|
-
*/
|
|
1489
|
-
200: Cluster;
|
|
1490
|
-
};
|
|
1491
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1492
|
-
export type UpdateClusterData = {
|
|
1493
|
-
body: ClusterUpdateInput;
|
|
1494
|
-
path: {
|
|
1495
2519
|
/**
|
|
1496
|
-
*
|
|
2520
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1497
2521
|
*/
|
|
1498
|
-
|
|
2522
|
+
chart_name: string;
|
|
1499
2523
|
};
|
|
1500
2524
|
query?: never;
|
|
1501
|
-
url: '/clusters/{cluster_id}';
|
|
2525
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1502
2526
|
};
|
|
1503
|
-
export type
|
|
2527
|
+
export type GetChartResponses = {
|
|
1504
2528
|
/**
|
|
1505
|
-
*
|
|
2529
|
+
* Returns a single object containing chart details.
|
|
1506
2530
|
*/
|
|
1507
|
-
200:
|
|
2531
|
+
200: Chart;
|
|
1508
2532
|
};
|
|
1509
|
-
export type
|
|
1510
|
-
export type
|
|
1511
|
-
body
|
|
2533
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2534
|
+
export type UpdateChartData = {
|
|
2535
|
+
body: ChartUpdateInput;
|
|
1512
2536
|
path: {
|
|
1513
2537
|
/**
|
|
1514
2538
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1515
2539
|
*/
|
|
1516
2540
|
cluster_id: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2543
|
+
*/
|
|
2544
|
+
chart_name: string;
|
|
1517
2545
|
};
|
|
1518
2546
|
query?: never;
|
|
1519
|
-
url: '/clusters/{cluster_id}/
|
|
2547
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1520
2548
|
};
|
|
1521
|
-
export type
|
|
2549
|
+
export type UpdateChartErrors = {
|
|
1522
2550
|
/**
|
|
1523
|
-
*
|
|
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.
|
|
1524
2552
|
*/
|
|
1525
|
-
|
|
2553
|
+
409: string;
|
|
1526
2554
|
};
|
|
1527
|
-
export type
|
|
2555
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2556
|
+
export type UpdateChartResponses = {
|
|
1528
2557
|
/**
|
|
1529
|
-
*
|
|
2558
|
+
* Successfully updated.
|
|
1530
2559
|
*/
|
|
1531
|
-
200:
|
|
2560
|
+
200: string;
|
|
1532
2561
|
};
|
|
1533
|
-
export type
|
|
1534
|
-
export type
|
|
2562
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2563
|
+
export type ListClustersData = {
|
|
1535
2564
|
body?: never;
|
|
1536
2565
|
path?: never;
|
|
1537
2566
|
query?: never;
|
|
1538
|
-
url: '/
|
|
2567
|
+
url: '/clusters';
|
|
1539
2568
|
};
|
|
1540
|
-
export type
|
|
2569
|
+
export type ListClustersErrors = {
|
|
1541
2570
|
/**
|
|
1542
2571
|
* Not authenticated
|
|
1543
2572
|
*/
|
|
1544
2573
|
401: unknown;
|
|
1545
2574
|
};
|
|
1546
|
-
export type
|
|
2575
|
+
export type ListClustersResponses = {
|
|
1547
2576
|
/**
|
|
1548
|
-
* An array of
|
|
2577
|
+
* An array of clusters
|
|
1549
2578
|
*/
|
|
1550
|
-
200: Array<
|
|
2579
|
+
200: Array<Cluster>;
|
|
1551
2580
|
};
|
|
1552
|
-
export type
|
|
1553
|
-
export type
|
|
1554
|
-
body:
|
|
1555
|
-
/**
|
|
1556
|
-
* User email address
|
|
1557
|
-
*/
|
|
1558
|
-
email?: string;
|
|
1559
|
-
};
|
|
2581
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2582
|
+
export type CreateClusterData = {
|
|
2583
|
+
body: ClusterCreateInput;
|
|
1560
2584
|
path?: never;
|
|
1561
2585
|
query?: never;
|
|
1562
|
-
url: '/
|
|
2586
|
+
url: '/clusters';
|
|
1563
2587
|
};
|
|
1564
|
-
export type
|
|
2588
|
+
export type CreateClusterErrors = {
|
|
1565
2589
|
/**
|
|
1566
|
-
*
|
|
2590
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1567
2591
|
*/
|
|
1568
|
-
|
|
1569
|
-
};
|
|
1570
|
-
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
1571
|
-
export type GetInviteData = {
|
|
1572
|
-
body?: never;
|
|
1573
|
-
path: {
|
|
1574
|
-
/**
|
|
1575
|
-
* Invitation code
|
|
1576
|
-
*/
|
|
1577
|
-
code: string;
|
|
1578
|
-
};
|
|
1579
|
-
query?: never;
|
|
1580
|
-
url: '/invites/{code}';
|
|
2592
|
+
402: string;
|
|
1581
2593
|
};
|
|
1582
|
-
export type
|
|
2594
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2595
|
+
export type CreateClusterResponses = {
|
|
1583
2596
|
/**
|
|
1584
|
-
*
|
|
2597
|
+
* Successfully created. Returns created Cluster ID.
|
|
1585
2598
|
*/
|
|
1586
|
-
200:
|
|
2599
|
+
200: string;
|
|
1587
2600
|
};
|
|
1588
|
-
export type
|
|
1589
|
-
export type
|
|
2601
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2602
|
+
export type DeleteClusterData = {
|
|
1590
2603
|
body?: never;
|
|
1591
2604
|
path: {
|
|
1592
2605
|
/**
|
|
1593
|
-
*
|
|
2606
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1594
2607
|
*/
|
|
1595
|
-
|
|
2608
|
+
cluster_id: string;
|
|
1596
2609
|
};
|
|
1597
2610
|
query?: never;
|
|
1598
|
-
url: '/
|
|
2611
|
+
url: '/clusters/{cluster_id}';
|
|
1599
2612
|
};
|
|
1600
|
-
export type
|
|
2613
|
+
export type DeleteClusterErrors = {
|
|
1601
2614
|
/**
|
|
1602
|
-
*
|
|
2615
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1603
2616
|
*/
|
|
1604
|
-
|
|
1605
|
-
};
|
|
1606
|
-
export type ListMarketplaceChartsData = {
|
|
1607
|
-
body?: never;
|
|
1608
|
-
path?: never;
|
|
1609
|
-
query?: never;
|
|
1610
|
-
url: '/marketplace';
|
|
1611
|
-
};
|
|
1612
|
-
export type ListMarketplaceChartsErrors = {
|
|
2617
|
+
404: unknown;
|
|
1613
2618
|
/**
|
|
1614
|
-
*
|
|
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.
|
|
1615
2620
|
*/
|
|
1616
|
-
|
|
2621
|
+
409: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2624
|
+
*/
|
|
2625
|
+
503: unknown;
|
|
1617
2626
|
};
|
|
1618
|
-
export type
|
|
2627
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2628
|
+
export type DeleteClusterResponses = {
|
|
1619
2629
|
/**
|
|
1620
|
-
*
|
|
2630
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1621
2631
|
*/
|
|
1622
|
-
200:
|
|
2632
|
+
200: string;
|
|
1623
2633
|
};
|
|
1624
|
-
export type
|
|
1625
|
-
export type
|
|
2634
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2635
|
+
export type GetClusterData = {
|
|
1626
2636
|
body?: never;
|
|
1627
2637
|
path: {
|
|
1628
2638
|
/**
|
|
1629
|
-
* Unique identifier of the
|
|
2639
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1630
2640
|
*/
|
|
1631
|
-
|
|
2641
|
+
cluster_id: string;
|
|
1632
2642
|
};
|
|
1633
2643
|
query?: never;
|
|
1634
|
-
url: '/
|
|
2644
|
+
url: '/clusters/{cluster_id}';
|
|
1635
2645
|
};
|
|
1636
|
-
export type
|
|
2646
|
+
export type GetClusterResponses = {
|
|
1637
2647
|
/**
|
|
1638
|
-
* Returns
|
|
2648
|
+
* Returns a single object containing cluster details.
|
|
1639
2649
|
*/
|
|
1640
|
-
200:
|
|
2650
|
+
200: Cluster;
|
|
1641
2651
|
};
|
|
1642
|
-
export type
|
|
1643
|
-
export type
|
|
1644
|
-
body
|
|
1645
|
-
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
|
+
};
|
|
1646
2661
|
query?: never;
|
|
1647
|
-
url: '/
|
|
2662
|
+
url: '/clusters/{cluster_id}';
|
|
1648
2663
|
};
|
|
1649
|
-
export type
|
|
2664
|
+
export type UpdateClusterErrors = {
|
|
1650
2665
|
/**
|
|
1651
|
-
*
|
|
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.
|
|
1652
2667
|
*/
|
|
1653
|
-
|
|
1654
|
-
};
|
|
1655
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1656
|
-
export type CreateOrganizationData = {
|
|
1657
|
-
body: OrganizationCreateInput;
|
|
1658
|
-
path?: never;
|
|
1659
|
-
query?: never;
|
|
1660
|
-
url: '/organization';
|
|
2668
|
+
409: string;
|
|
1661
2669
|
};
|
|
1662
|
-
export type
|
|
2670
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2671
|
+
export type UpdateClusterResponses = {
|
|
1663
2672
|
/**
|
|
1664
|
-
* Successfully
|
|
2673
|
+
* Successfully updated. Returns updated cluster details.
|
|
1665
2674
|
*/
|
|
1666
|
-
200:
|
|
2675
|
+
200: Cluster;
|
|
1667
2676
|
};
|
|
1668
|
-
export type
|
|
2677
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2678
|
+
export type GetJoinInformationData = {
|
|
1669
2679
|
body?: never;
|
|
1670
|
-
path
|
|
2680
|
+
path: {
|
|
2681
|
+
/**
|
|
2682
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2683
|
+
*/
|
|
2684
|
+
cluster_id: string;
|
|
2685
|
+
};
|
|
1671
2686
|
query?: never;
|
|
1672
|
-
url: '/
|
|
2687
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1673
2688
|
};
|
|
1674
|
-
export type
|
|
2689
|
+
export type GetJoinInformationErrors = {
|
|
1675
2690
|
/**
|
|
1676
2691
|
* Not authenticated
|
|
1677
2692
|
*/
|
|
1678
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;
|
|
1679
2698
|
};
|
|
1680
|
-
export type
|
|
2699
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2700
|
+
export type GetJoinInformationResponses = {
|
|
1681
2701
|
/**
|
|
1682
|
-
*
|
|
2702
|
+
* An object of cluster join information
|
|
1683
2703
|
*/
|
|
1684
|
-
200:
|
|
2704
|
+
200: ClusterJoinInformation;
|
|
1685
2705
|
};
|
|
1686
|
-
export type
|
|
1687
|
-
export type
|
|
1688
|
-
body
|
|
2706
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2707
|
+
export type GetUsageData = {
|
|
2708
|
+
body?: never;
|
|
1689
2709
|
path?: never;
|
|
1690
|
-
query?:
|
|
1691
|
-
|
|
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';
|
|
1692
2717
|
};
|
|
1693
|
-
export type
|
|
2718
|
+
export type GetUsageErrors = {
|
|
1694
2719
|
/**
|
|
1695
2720
|
* Not authenticated
|
|
1696
2721
|
*/
|
|
1697
2722
|
401: unknown;
|
|
1698
2723
|
};
|
|
1699
|
-
export type
|
|
2724
|
+
export type GetUsageResponses = {
|
|
1700
2725
|
/**
|
|
1701
|
-
*
|
|
2726
|
+
* Usage data with facets for filtering
|
|
1702
2727
|
*/
|
|
1703
|
-
200:
|
|
2728
|
+
200: UsageResponse;
|
|
1704
2729
|
};
|
|
1705
|
-
export type
|
|
1706
|
-
export type
|
|
2730
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2731
|
+
export type GetPaymentMethodSecretData = {
|
|
1707
2732
|
body?: never;
|
|
1708
|
-
path
|
|
1709
|
-
/**
|
|
1710
|
-
* Generated unique identifier of the access token.
|
|
1711
|
-
*/
|
|
1712
|
-
token_id: string;
|
|
1713
|
-
};
|
|
2733
|
+
path?: never;
|
|
1714
2734
|
query?: never;
|
|
1715
|
-
url: '/
|
|
2735
|
+
url: '/billing/payment-method';
|
|
1716
2736
|
};
|
|
1717
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1718
2738
|
/**
|
|
1719
|
-
*
|
|
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
|
+
*
|
|
1720
2741
|
*/
|
|
1721
|
-
200:
|
|
1722
|
-
};
|
|
1723
|
-
export type GetTokenData = {
|
|
1724
|
-
body?: never;
|
|
1725
|
-
path: {
|
|
2742
|
+
200: {
|
|
1726
2743
|
/**
|
|
1727
|
-
*
|
|
2744
|
+
* The client secret.
|
|
1728
2745
|
*/
|
|
1729
|
-
|
|
2746
|
+
id?: string;
|
|
1730
2747
|
};
|
|
2748
|
+
};
|
|
2749
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2750
|
+
export type ListPaymentMethodsData = {
|
|
2751
|
+
body?: never;
|
|
2752
|
+
path?: never;
|
|
1731
2753
|
query?: never;
|
|
1732
|
-
url: '/
|
|
2754
|
+
url: '/billing/payment-methods';
|
|
1733
2755
|
};
|
|
1734
|
-
export type
|
|
2756
|
+
export type ListPaymentMethodsErrors = {
|
|
1735
2757
|
/**
|
|
1736
2758
|
* Not authenticated
|
|
1737
2759
|
*/
|
|
1738
2760
|
401: unknown;
|
|
1739
2761
|
};
|
|
1740
|
-
export type
|
|
2762
|
+
export type ListPaymentMethodsResponses = {
|
|
1741
2763
|
/**
|
|
1742
|
-
*
|
|
2764
|
+
* An array of payment methods.
|
|
1743
2765
|
*/
|
|
1744
|
-
200:
|
|
2766
|
+
200: Array<PaymentMethod>;
|
|
1745
2767
|
};
|
|
1746
|
-
export type
|
|
1747
|
-
export type
|
|
1748
|
-
body
|
|
2768
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2769
|
+
export type SetDefaultPaymentMethodData = {
|
|
2770
|
+
body?: never;
|
|
1749
2771
|
path: {
|
|
1750
2772
|
/**
|
|
1751
|
-
*
|
|
2773
|
+
* Stripe payment method identifier.
|
|
1752
2774
|
*/
|
|
1753
|
-
|
|
2775
|
+
paymentMethodId: string;
|
|
1754
2776
|
};
|
|
1755
2777
|
query?: never;
|
|
1756
|
-
url: '/
|
|
2778
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1757
2779
|
};
|
|
1758
|
-
export type
|
|
2780
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2781
|
+
/**
|
|
2782
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2783
|
+
*/
|
|
2784
|
+
400: unknown;
|
|
1759
2785
|
/**
|
|
1760
2786
|
* Not authenticated
|
|
1761
2787
|
*/
|
|
1762
2788
|
401: unknown;
|
|
2789
|
+
/**
|
|
2790
|
+
* Payment method not found.
|
|
2791
|
+
*/
|
|
2792
|
+
404: unknown;
|
|
1763
2793
|
};
|
|
1764
|
-
export type
|
|
2794
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1765
2795
|
/**
|
|
1766
|
-
*
|
|
2796
|
+
* Default payment method updated.
|
|
1767
2797
|
*/
|
|
1768
|
-
|
|
2798
|
+
204: void;
|
|
1769
2799
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
export type
|
|
2800
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2801
|
+
export type DeletePaymentMethodData = {
|
|
1772
2802
|
body?: never;
|
|
1773
2803
|
path: {
|
|
1774
2804
|
/**
|
|
1775
|
-
*
|
|
2805
|
+
* Stripe payment method identifier.
|
|
1776
2806
|
*/
|
|
1777
|
-
|
|
2807
|
+
paymentMethodId: string;
|
|
1778
2808
|
};
|
|
1779
2809
|
query?: never;
|
|
1780
|
-
url: '/
|
|
2810
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1781
2811
|
};
|
|
1782
|
-
export type
|
|
2812
|
+
export type DeletePaymentMethodErrors = {
|
|
2813
|
+
/**
|
|
2814
|
+
* The bank transfer payment method cannot be removed.
|
|
2815
|
+
*/
|
|
2816
|
+
400: unknown;
|
|
1783
2817
|
/**
|
|
1784
2818
|
* Not authenticated
|
|
1785
2819
|
*/
|
|
1786
2820
|
401: unknown;
|
|
1787
|
-
};
|
|
1788
|
-
export type RegenerateTokenResponses = {
|
|
1789
2821
|
/**
|
|
1790
|
-
*
|
|
2822
|
+
* Payment method not found.
|
|
1791
2823
|
*/
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
path: {
|
|
1798
|
-
/**
|
|
1799
|
-
* User email address.
|
|
1800
|
-
*/
|
|
1801
|
-
email: string;
|
|
1802
|
-
};
|
|
1803
|
-
query?: never;
|
|
1804
|
-
url: '/users/organizations/{email}';
|
|
2824
|
+
404: unknown;
|
|
2825
|
+
/**
|
|
2826
|
+
* Cannot delete the only remaining payment method.
|
|
2827
|
+
*/
|
|
2828
|
+
409: unknown;
|
|
1805
2829
|
};
|
|
1806
|
-
export type
|
|
2830
|
+
export type DeletePaymentMethodResponses = {
|
|
1807
2831
|
/**
|
|
1808
|
-
*
|
|
2832
|
+
* Payment method deleted.
|
|
1809
2833
|
*/
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1813
|
-
*/
|
|
1814
|
-
realm?: string;
|
|
1815
|
-
/**
|
|
1816
|
-
* Human-readable name of the organization
|
|
1817
|
-
*/
|
|
1818
|
-
displayName?: string;
|
|
1819
|
-
}>;
|
|
2834
|
+
204: void;
|
|
1820
2835
|
};
|
|
1821
|
-
export type
|
|
1822
|
-
export type
|
|
2836
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2837
|
+
export type ListInvoicesData = {
|
|
1823
2838
|
body?: never;
|
|
1824
2839
|
path?: never;
|
|
1825
2840
|
query?: never;
|
|
1826
|
-
url: '/
|
|
2841
|
+
url: '/billing/invoices';
|
|
1827
2842
|
};
|
|
1828
|
-
export type
|
|
2843
|
+
export type ListInvoicesErrors = {
|
|
1829
2844
|
/**
|
|
1830
2845
|
* Not authenticated
|
|
1831
2846
|
*/
|
|
1832
2847
|
401: unknown;
|
|
1833
2848
|
};
|
|
1834
|
-
export type
|
|
2849
|
+
export type ListInvoicesResponses = {
|
|
1835
2850
|
/**
|
|
1836
|
-
* An array of
|
|
2851
|
+
* An array of usage records.
|
|
1837
2852
|
*/
|
|
1838
|
-
200: Array<
|
|
2853
|
+
200: Array<Invoice>;
|
|
1839
2854
|
};
|
|
1840
|
-
export type
|
|
1841
|
-
export type
|
|
1842
|
-
body
|
|
2855
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2856
|
+
export type GetContactData = {
|
|
2857
|
+
body?: never;
|
|
1843
2858
|
path?: never;
|
|
1844
2859
|
query?: never;
|
|
1845
|
-
url: '/
|
|
2860
|
+
url: '/billing/contact';
|
|
1846
2861
|
};
|
|
1847
|
-
export type
|
|
2862
|
+
export type GetContactResponses = {
|
|
1848
2863
|
/**
|
|
1849
|
-
*
|
|
2864
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1850
2865
|
*/
|
|
1851
|
-
200:
|
|
2866
|
+
200: BillingContact;
|
|
1852
2867
|
};
|
|
1853
|
-
export type
|
|
1854
|
-
export type
|
|
1855
|
-
body
|
|
1856
|
-
path
|
|
1857
|
-
/**
|
|
1858
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1859
|
-
*/
|
|
1860
|
-
user_id: string;
|
|
1861
|
-
};
|
|
2868
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2869
|
+
export type UpdateContactData = {
|
|
2870
|
+
body: BillingContact;
|
|
2871
|
+
path?: never;
|
|
1862
2872
|
query?: never;
|
|
1863
|
-
url: '/
|
|
2873
|
+
url: '/billing/contact';
|
|
1864
2874
|
};
|
|
1865
|
-
export type
|
|
2875
|
+
export type UpdateContactResponses = {
|
|
1866
2876
|
/**
|
|
1867
|
-
*
|
|
2877
|
+
* Successfully updated. Returns updated organization details.
|
|
1868
2878
|
*/
|
|
1869
|
-
|
|
2879
|
+
200: BillingContact;
|
|
2880
|
+
};
|
|
2881
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2882
|
+
export type GetCreditsData = {
|
|
2883
|
+
body?: never;
|
|
2884
|
+
path?: never;
|
|
2885
|
+
query?: never;
|
|
2886
|
+
url: '/billing/credits';
|
|
2887
|
+
};
|
|
2888
|
+
export type GetCreditsErrors = {
|
|
1870
2889
|
/**
|
|
1871
2890
|
* Not authenticated
|
|
1872
2891
|
*/
|
|
1873
2892
|
401: unknown;
|
|
1874
2893
|
};
|
|
1875
|
-
export type
|
|
2894
|
+
export type GetCreditsResponses = {
|
|
1876
2895
|
/**
|
|
1877
|
-
*
|
|
2896
|
+
* An array of the applied promotional credits records.
|
|
1878
2897
|
*/
|
|
1879
|
-
200:
|
|
2898
|
+
200: Array<BillingCredits>;
|
|
1880
2899
|
};
|
|
1881
|
-
export type
|
|
1882
|
-
export type
|
|
1883
|
-
body
|
|
1884
|
-
path: {
|
|
2900
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2901
|
+
export type RedeemCreditsData = {
|
|
2902
|
+
body: {
|
|
1885
2903
|
/**
|
|
1886
|
-
*
|
|
2904
|
+
* Promotional code to redeem
|
|
1887
2905
|
*/
|
|
1888
|
-
|
|
2906
|
+
code?: string;
|
|
1889
2907
|
};
|
|
2908
|
+
path?: never;
|
|
1890
2909
|
query?: never;
|
|
1891
|
-
url: '/
|
|
2910
|
+
url: '/billing/credits';
|
|
1892
2911
|
};
|
|
1893
|
-
export type
|
|
2912
|
+
export type RedeemCreditsErrors = {
|
|
1894
2913
|
/**
|
|
1895
2914
|
* Not authenticated
|
|
1896
2915
|
*/
|
|
1897
2916
|
401: unknown;
|
|
1898
2917
|
};
|
|
1899
|
-
export type
|
|
1900
|
-
/**
|
|
1901
|
-
* User profile information
|
|
1902
|
-
*/
|
|
1903
|
-
200: User;
|
|
1904
|
-
};
|
|
1905
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1906
|
-
export type UpdateUserData = {
|
|
1907
|
-
body: UserUpdateInput;
|
|
1908
|
-
path: {
|
|
1909
|
-
/**
|
|
1910
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1911
|
-
*/
|
|
1912
|
-
user_id: string;
|
|
1913
|
-
};
|
|
1914
|
-
query?: never;
|
|
1915
|
-
url: '/users/{user_id}';
|
|
1916
|
-
};
|
|
1917
|
-
export type UpdateUserResponses = {
|
|
2918
|
+
export type RedeemCreditsResponses = {
|
|
1918
2919
|
/**
|
|
1919
|
-
* Successfully created
|
|
2920
|
+
* Successfully created a new organization.
|
|
1920
2921
|
*/
|
|
1921
|
-
200:
|
|
2922
|
+
200: unknown;
|
|
1922
2923
|
};
|
|
1923
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1924
2924
|
//# sourceMappingURL=types.gen.d.ts.map
|