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