@cloudfleet/sdk 0.0.1-869c561 → 0.0.1-882a962

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