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