@cloudfleet/sdk 0.0.1-017af9f → 0.0.1-019156c

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 (46) hide show
  1. package/README.md +56 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +432 -614
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
  4. package/dist/@tanstack/react-query.gen.js +431 -404
  5. package/dist/@tanstack/react-query.gen.js.map +1 -1
  6. package/dist/client/client.gen.d.ts.map +1 -1
  7. package/dist/client/client.gen.js +1 -4
  8. package/dist/client/client.gen.js.map +1 -1
  9. package/dist/client/types.gen.d.ts +1 -1
  10. package/dist/client/types.gen.d.ts.map +1 -1
  11. package/dist/client/utils.gen.d.ts +2 -2
  12. package/dist/client/utils.gen.d.ts.map +1 -1
  13. package/dist/client/utils.gen.js +3 -3
  14. package/dist/client/utils.gen.js.map +1 -1
  15. package/dist/core/params.gen.js +4 -4
  16. package/dist/core/params.gen.js.map +1 -1
  17. package/dist/errors.d.ts +42 -0
  18. package/dist/errors.d.ts.map +1 -0
  19. package/dist/errors.js +83 -0
  20. package/dist/errors.js.map +1 -0
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +4 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/schemas.gen.d.ts +832 -515
  26. package/dist/schemas.gen.d.ts.map +1 -1
  27. package/dist/schemas.gen.js +1126 -661
  28. package/dist/schemas.gen.js.map +1 -1
  29. package/dist/sdk.gen.d.ts +226 -221
  30. package/dist/sdk.gen.d.ts.map +1 -1
  31. package/dist/sdk.gen.js +340 -324
  32. package/dist/sdk.gen.js.map +1 -1
  33. package/dist/services/kubernetes/api.d.ts +18 -55
  34. package/dist/services/kubernetes/api.d.ts.map +1 -1
  35. package/dist/services/kubernetes/api.js +36 -75
  36. package/dist/services/kubernetes/api.js.map +1 -1
  37. package/dist/services/kubernetes/index.d.ts.map +1 -1
  38. package/dist/services/kubernetes/index.js +36 -37
  39. package/dist/services/kubernetes/index.js.map +1 -1
  40. package/dist/types.gen.d.ts +1281 -1017
  41. package/dist/types.gen.d.ts.map +1 -1
  42. package/dist/zod.gen.d.ts +1937 -1588
  43. package/dist/zod.gen.d.ts.map +1 -1
  44. package/dist/zod.gen.js +609 -416
  45. package/dist/zod.gen.js.map +1 -1
  46. package/package.json +10 -15
@@ -2,6 +2,10 @@ export type ClientOptions = {
2
2
  baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
3
  };
4
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
5
9
  /**
6
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
7
11
  */
@@ -49,7 +53,7 @@ export type BillingContact = {
49
53
  /**
50
54
  * Type of the tax ID.
51
55
  */
52
- tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
56
+ tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'be_vat' | 'bf_ifu' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bj_ifu' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'et_tin' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
53
57
  };
54
58
  export type BillingCredits = {
55
59
  /**
@@ -85,97 +89,72 @@ export type BillingCredits = {
85
89
  */
86
90
  value_remaining?: number;
87
91
  };
88
- export type ChartCreateInput = {
89
- /**
90
- * Values to be used in the chart encoded as a JSON string.
91
- */
92
- values: string;
93
- /**
94
- * Desired version range or channel for the chart.
95
- */
96
- version_channel: string;
97
- /**
98
- * Unique identifier of the chart deployment aka name of the helm release.
99
- */
100
- name: string;
101
- /**
102
- * Namespace of the chart deployment
103
- */
104
- namespace: string;
105
- /**
106
- * Name of the chart listing
107
- */
108
- chart: string;
109
- };
110
- export type Chart = {
111
- /**
112
- * Values to be used in the chart encoded as a JSON string.
113
- */
114
- values: string;
115
- /**
116
- * Desired version range or channel for the chart.
117
- */
118
- version_channel: string;
92
+ /**
93
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
94
+ */
95
+ export type ClusterCreateInput = {
119
96
  /**
120
- * Unique identifier of the chart deployment aka name of the helm release.
97
+ * Name of the cluster.
121
98
  */
122
99
  name: string;
123
100
  /**
124
- * Namespace of the chart deployment
125
- */
126
- namespace: string;
127
- /**
128
- * Name of the chart listing
129
- */
130
- chart: string;
131
- /**
132
- * Status of the chart deployment.
133
- */
134
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
135
- /**
136
- * Current version of the chart deployment.
137
- */
138
- version_current: string;
139
- /**
140
- * Creation date and time of the chart deployment.
141
- */
142
- created_at: string;
143
- /**
144
- * Last update date and time of the chart deployment.
145
- */
146
- updated_at: string;
147
- /**
148
- * Indicates if the chart deployment is ready to be used.
149
- */
150
- ready: boolean;
151
- };
152
- export type ChartUpdateInput = {
153
- /**
154
- * Values to be used in the chart encoded as a JSON string.
101
+ * Tier of the cluster.
155
102
  */
156
- values: string;
103
+ tier?: 'basic' | 'pro' | 'enterprise';
157
104
  /**
158
- * Desired version range or channel for the chart.
105
+ * Version of the kubernetes cluster.
159
106
  */
160
- version_channel: string;
161
- };
162
- export type ClusterCreateInput = {
107
+ version_channel?: string;
163
108
  /**
164
- * Name of the cluster.
109
+ * Release channel for the cluster's control plane.
165
110
  */
166
- name: string;
111
+ release_channel?: 'rapid' | 'stable' | 'extended';
167
112
  /**
168
- * Tier of the cluster.
113
+ * Cluster feature toggles.
169
114
  */
170
- tier: 'basic' | 'pro';
115
+ features?: {
116
+ /**
117
+ * GPU sharing strategy.
118
+ */
119
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
120
+ /**
121
+ * Maximum number of pods that may share a single GPU.
122
+ */
123
+ gpu_max_shared_clients_per_gpu?: number;
124
+ /**
125
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
126
+ */
127
+ cilium_socket_lb_host_namespace_only?: boolean;
128
+ };
171
129
  /**
172
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
130
+ * Cloudfleet control plane region. This field can not be updated after creation.
173
131
  */
174
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
132
+ region: string;
175
133
  /**
176
- * Version of the kubernetes cluster.
134
+ * Cluster networking configuration. Immutable after creation.
177
135
  */
178
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
136
+ networking?: {
137
+ /**
138
+ * CIDR block for pod IPs.
139
+ */
140
+ pod_cidr?: string;
141
+ /**
142
+ * CIDR block for service IPs.
143
+ */
144
+ service_cidr?: string;
145
+ /**
146
+ * Enable IPv4+IPv6 dual-stack networking.
147
+ */
148
+ dual_stack?: boolean;
149
+ /**
150
+ * IPv6 pod CIDR. Requires dual_stack.
151
+ */
152
+ pod_cidr_v6?: string;
153
+ /**
154
+ * IPv6 service CIDR. Requires dual_stack.
155
+ */
156
+ service_cidr_v6?: string;
157
+ };
179
158
  };
180
159
  export type ClusterJoinInformation = {
181
160
  /**
@@ -190,10 +169,18 @@ export type ClusterJoinInformation = {
190
169
  * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
191
170
  */
192
171
  cluster_dns: string;
172
+ /**
173
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
174
+ */
175
+ pod_cidr: string;
193
176
  /**
194
177
  * Authentication key for the cluster.
195
178
  */
196
179
  auth_key: string;
180
+ /**
181
+ * Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
182
+ */
183
+ login_server: string;
197
184
  /**
198
185
  * Bootstrap token for the cluster.
199
186
  */
@@ -237,6 +224,9 @@ export type ClusterJoinInformation = {
237
224
  gcp_workload_identity_provider: string;
238
225
  };
239
226
  };
227
+ /**
228
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
229
+ */
240
230
  export type Cluster = {
241
231
  /**
242
232
  * Name of the cluster.
@@ -245,19 +235,69 @@ export type Cluster = {
245
235
  /**
246
236
  * Tier of the cluster.
247
237
  */
248
- tier: 'basic' | 'pro';
238
+ tier: 'basic' | 'pro' | 'enterprise';
239
+ /**
240
+ * Version of the kubernetes cluster.
241
+ */
242
+ version_channel: string;
243
+ /**
244
+ * Release channel for the cluster's control plane.
245
+ */
246
+ release_channel: 'rapid' | 'stable' | 'extended';
247
+ /**
248
+ * Cluster feature toggles.
249
+ */
250
+ features: {
251
+ /**
252
+ * GPU sharing strategy.
253
+ */
254
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
255
+ /**
256
+ * Maximum number of pods that may share a single GPU.
257
+ */
258
+ gpu_max_shared_clients_per_gpu: number;
259
+ /**
260
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
261
+ */
262
+ cilium_socket_lb_host_namespace_only: boolean;
263
+ };
264
+ /**
265
+ * Cloudfleet control plane region. This field can not be updated after creation.
266
+ */
267
+ region: string;
249
268
  /**
250
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
269
+ * Cluster networking configuration. Immutable after creation.
251
270
  */
252
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
271
+ networking: {
272
+ /**
273
+ * CIDR block for pod IPs.
274
+ */
275
+ pod_cidr: string;
276
+ /**
277
+ * CIDR block for service IPs.
278
+ */
279
+ service_cidr: string;
280
+ /**
281
+ * Enable IPv4+IPv6 dual-stack networking.
282
+ */
283
+ dual_stack: boolean;
284
+ /**
285
+ * IPv6 pod CIDR. Requires dual_stack.
286
+ */
287
+ pod_cidr_v6: string;
288
+ /**
289
+ * IPv6 service CIDR. Requires dual_stack.
290
+ */
291
+ service_cidr_v6: string;
292
+ };
253
293
  /**
254
294
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
255
295
  */
256
296
  id: string;
257
297
  /**
258
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
298
+ * Status of the cluster.
259
299
  */
260
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
300
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
261
301
  endpoint?: string | '';
262
302
  endpoint_public?: string | '';
263
303
  /**
@@ -279,59 +319,110 @@ export type Cluster = {
279
319
  /**
280
320
  * Indicates if the cluster is ready to be used.
281
321
  */
282
- ready?: boolean;
283
- /**
284
- * Version of the kubernetes cluster.
285
- */
286
- version_channel?: string;
322
+ ready: boolean;
287
323
  };
324
+ /**
325
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
326
+ */
288
327
  export type ClusterUpdateInput = {
289
328
  /**
290
329
  * Name of the cluster.
291
330
  */
292
- name?: string;
331
+ name: string;
293
332
  /**
294
333
  * Tier of the cluster.
295
334
  */
296
- tier: 'basic' | 'pro';
335
+ tier?: 'basic' | 'pro' | 'enterprise';
297
336
  /**
298
337
  * Version of the kubernetes cluster.
299
338
  */
300
339
  version_channel?: string;
340
+ /**
341
+ * Release channel for the cluster's control plane.
342
+ */
343
+ release_channel?: 'rapid' | 'stable' | 'extended';
344
+ /**
345
+ * Cluster feature toggles.
346
+ */
347
+ features?: {
348
+ /**
349
+ * GPU sharing strategy.
350
+ */
351
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
352
+ /**
353
+ * Maximum number of pods that may share a single GPU.
354
+ */
355
+ gpu_max_shared_clients_per_gpu?: number;
356
+ /**
357
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
358
+ */
359
+ cilium_socket_lb_host_namespace_only?: boolean;
360
+ };
361
+ };
362
+ export type FeedbackCreateInput = {
363
+ /**
364
+ * Overall sentiment: positive, neutral or negative.
365
+ */
366
+ sentiment: 'positive' | 'neutral' | 'negative';
367
+ /**
368
+ * What was useful, confusing, wrong or missing.
369
+ */
370
+ message: string;
371
+ /**
372
+ * What you were trying to do when it happened.
373
+ */
374
+ context?: string;
375
+ /**
376
+ * Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.
377
+ */
378
+ source?: 'cli' | 'mcp' | 'plugin' | 'console' | 'api';
379
+ /**
380
+ * Name and version of the sending client.
381
+ */
382
+ client?: string;
383
+ };
384
+ export type Feedback = {
385
+ /**
386
+ * Unique identifier of the feedback entry (Mongo ObjectId).
387
+ */
388
+ id: string;
301
389
  };
390
+ /**
391
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
392
+ */
302
393
  export type FleetCreateInput = {
303
394
  /**
304
395
  * Limits define a set of bounds for provisioning capacity.
305
396
  */
306
397
  limits?: {
307
398
  /**
308
- * CPU limit in cores.
399
+ * CPU limit in cores. Maximum 100,000.
309
400
  */
310
401
  cpu?: number;
311
402
  };
312
403
  gcp?: {
313
- enabled?: boolean;
404
+ enabled: boolean;
314
405
  /**
315
- * Project GCP Project id to deploy instances into
406
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
316
407
  */
317
- project: string;
408
+ project?: string;
318
409
  };
319
410
  hetzner?: {
320
- enabled?: boolean;
411
+ enabled: boolean;
321
412
  /**
322
- * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
413
+ * 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.
323
414
  */
324
415
  apiKey?: string;
325
416
  };
326
417
  aws?: {
327
- enabled?: boolean;
418
+ enabled: boolean;
328
419
  /**
329
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
420
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
330
421
  */
331
- controllerRoleArn: string;
422
+ controllerRoleArn?: string;
332
423
  };
333
424
  /**
334
- * 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. Omit a field to place no restriction on that key.
425
+ * 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.
335
426
  */
336
427
  constraints?: {
337
428
  /**
@@ -352,57 +443,77 @@ export type FleetCreateInput = {
352
443
  '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'>;
353
444
  };
354
445
  /**
355
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
446
+ * 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`).
356
447
  */
357
448
  scalingProfile?: 'aggressive' | 'conservative';
449
+ /**
450
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
451
+ */
452
+ taints?: Array<{
453
+ /**
454
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
455
+ */
456
+ key: string;
457
+ /**
458
+ * Taint value. Optional.
459
+ */
460
+ value?: string;
461
+ /**
462
+ * Taint effect.
463
+ */
464
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
465
+ }>;
358
466
  /**
359
467
  * Unique identifier of the kubernetes fleet.
360
468
  */
361
469
  id: string;
362
470
  };
471
+ /**
472
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
473
+ */
363
474
  export type Fleet = {
364
475
  /**
365
476
  * Limits define a set of bounds for provisioning capacity.
366
477
  */
367
478
  limits?: {
368
479
  /**
369
- * CPU limit in cores.
480
+ * CPU limit in cores. Maximum 100,000.
370
481
  */
371
482
  cpu?: number;
372
483
  };
373
484
  gcp?: {
374
- enabled?: boolean;
485
+ enabled: boolean;
375
486
  /**
376
- * Project GCP Project id to deploy instances into
487
+ * 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.
377
488
  */
378
- project: string;
489
+ project?: string;
379
490
  };
380
491
  hetzner?: {
381
- enabled?: boolean;
492
+ enabled: boolean;
382
493
  /**
383
- * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
494
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
384
495
  */
385
496
  apiKey?: string;
386
497
  };
387
498
  aws?: {
388
- enabled?: boolean;
499
+ enabled: boolean;
389
500
  /**
390
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
501
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
391
502
  */
392
- controllerRoleArn: string;
503
+ controllerRoleArn?: string;
393
504
  };
394
505
  /**
395
- * 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. Omit a field to place no restriction on that key.
506
+ * 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.
396
507
  */
397
- constraints?: {
508
+ constraints: {
398
509
  /**
399
510
  * Allowed values for `karpenter.sh/capacity-type`.
400
511
  */
401
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
512
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
402
513
  /**
403
514
  * Allowed values for `kubernetes.io/arch`.
404
515
  */
405
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
516
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
406
517
  /**
407
518
  * Allowed values for `cfke.io/instance-family`.
408
519
  */
@@ -413,47 +524,83 @@ export type Fleet = {
413
524
  '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'>;
414
525
  };
415
526
  /**
416
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
527
+ * 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`).
417
528
  */
418
- scalingProfile?: 'aggressive' | 'conservative';
529
+ scalingProfile: 'aggressive' | 'conservative';
530
+ /**
531
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
532
+ */
533
+ taints: Array<{
534
+ /**
535
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
536
+ */
537
+ key: string;
538
+ /**
539
+ * Taint value. Optional.
540
+ */
541
+ value?: string;
542
+ /**
543
+ * Taint effect.
544
+ */
545
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
546
+ }>;
419
547
  /**
420
548
  * Unique identifier of the kubernetes fleet.
421
549
  */
422
550
  id: string;
551
+ /**
552
+ * Indicates whether the fleet configuration is healthy.
553
+ */
554
+ ready: boolean;
555
+ /**
556
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
557
+ */
558
+ status_message?: string;
559
+ /**
560
+ * Creation date and time of the fleet.
561
+ */
562
+ created_at: string;
563
+ /**
564
+ * Date and time the fleet was last updated.
565
+ */
566
+ updated_at: string;
423
567
  };
568
+ /**
569
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
570
+ */
424
571
  export type FleetUpdateInput = {
425
572
  /**
426
573
  * Limits define a set of bounds for provisioning capacity.
427
574
  */
428
575
  limits?: {
429
576
  /**
430
- * CPU limit in cores.
577
+ * CPU limit in cores. Maximum 100,000.
431
578
  */
432
579
  cpu?: number;
433
580
  };
434
581
  gcp?: {
435
- enabled?: boolean;
582
+ enabled: boolean;
436
583
  /**
437
- * Project GCP Project id to deploy instances into
584
+ * 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.
438
585
  */
439
- project: string;
586
+ project?: string;
440
587
  };
441
588
  hetzner?: {
442
- enabled?: boolean;
589
+ enabled: boolean;
443
590
  /**
444
- * Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
591
+ * 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.
445
592
  */
446
593
  apiKey?: string;
447
594
  };
448
595
  aws?: {
449
- enabled?: boolean;
596
+ enabled: boolean;
450
597
  /**
451
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
598
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
452
599
  */
453
- controllerRoleArn: string;
600
+ controllerRoleArn?: string;
454
601
  };
455
602
  /**
456
- * 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. Omit a field to place no restriction on that key.
603
+ * 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.
457
604
  */
458
605
  constraints?: {
459
606
  /**
@@ -474,9 +621,36 @@ export type FleetUpdateInput = {
474
621
  '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'>;
475
622
  };
476
623
  /**
477
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
624
+ * 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`).
478
625
  */
479
626
  scalingProfile?: 'aggressive' | 'conservative';
627
+ /**
628
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
629
+ */
630
+ taints?: Array<{
631
+ /**
632
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
633
+ */
634
+ key: string;
635
+ /**
636
+ * Taint value. Optional.
637
+ */
638
+ value?: string;
639
+ /**
640
+ * Taint effect.
641
+ */
642
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
643
+ }>;
644
+ };
645
+ export type InviteCreateInput = {
646
+ /**
647
+ * Email address of the user to invite.
648
+ */
649
+ email: string;
650
+ /**
651
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
652
+ */
653
+ role?: 'Administrator' | 'User';
480
654
  };
481
655
  export type Invite = {
482
656
  /**
@@ -499,156 +673,169 @@ export type Invite = {
499
673
  * Generated unique invite code.
500
674
  */
501
675
  code?: string;
502
- };
503
- export type Invoice = {
504
- /**
505
- * Unique identifier of the invoice.
506
- */
507
- id?: string;
508
- number?: string;
509
676
  /**
510
- * Status of the invoice
677
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
511
678
  */
512
- status?: string;
679
+ role?: 'Administrator' | 'User';
680
+ };
681
+ export type InvoicePaymentAttempt = {
513
682
  /**
514
- * Total amount of the invoice
683
+ * Identifier of the invoice.
515
684
  */
516
- total?: number;
685
+ invoice_id: string;
517
686
  /**
518
- * Currency of the invoice
687
+ * Invoice number. Null if the invoice has no number.
519
688
  */
520
- currency?: string;
689
+ number: string;
521
690
  /**
522
- * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
691
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
523
692
  */
524
- created: string;
693
+ amount: number;
525
694
  /**
526
- * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
695
+ * Currency of the invoice.
527
696
  */
528
- period_start: string;
697
+ currency: string;
529
698
  /**
530
- * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
699
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
531
700
  */
532
- period_end: string;
533
- invoice_pdf?: string;
534
- };
535
- export type MarketplaceListingFiles = {
701
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
536
702
  /**
537
- * Raw Chart.yaml content from the Helm chart
703
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
538
704
  */
539
- chartYaml?: string;
705
+ client_secret: string;
540
706
  /**
541
- * Raw values.yaml content from the Helm chart
707
+ * Decline code. Set only when `status` is `failed`.
542
708
  */
543
- valuesYaml?: string;
709
+ failure_code: string;
544
710
  /**
545
- * JSON schema for values.yaml as a string
711
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
546
712
  */
547
- valuesSchemaJson?: string;
713
+ failure_message: string;
548
714
  };
549
- export type MarketplaceListing = {
550
- /**
551
- * Name of the chart
552
- */
553
- name: string;
554
- /**
555
- * Available versions of the chart
556
- */
557
- versions: Array<string>;
715
+ export type InvoicePaymentResult = {
558
716
  /**
559
- * Version channels for the chart
717
+ * Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
560
718
  */
561
- version_channels: Array<string>;
719
+ code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
562
720
  /**
563
- * Latest version of the chart
721
+ * Summary of the outcome, suitable for display.
564
722
  */
565
- latestVersion: string;
723
+ message: string;
566
724
  /**
567
- * Chart metadata
725
+ * One entry per invoice charged, oldest first.
568
726
  */
569
- metadata?: {
570
- /**
571
- * Chart name from metadata
572
- */
573
- name: string;
574
- /**
575
- * Chart version from metadata
576
- */
577
- version: string;
727
+ results: Array<{
578
728
  /**
579
- * Chart description
729
+ * Identifier of the invoice.
580
730
  */
581
- description?: string;
731
+ invoice_id: string;
582
732
  /**
583
- * Application version
733
+ * Invoice number. Null if the invoice has no number.
584
734
  */
585
- appVersion?: string;
735
+ number: string;
586
736
  /**
587
- * Helm API version
737
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
588
738
  */
589
- apiVersion?: string;
739
+ amount: number;
590
740
  /**
591
- * Chart keywords
741
+ * Currency of the invoice.
592
742
  */
593
- keywords?: Array<string>;
743
+ currency: string;
594
744
  /**
595
- * Chart home URL
745
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
596
746
  */
597
- home?: string;
747
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
598
748
  /**
599
- * A URL to an SVG or PNG image to be used as an icon
749
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
600
750
  */
601
- icon?: string;
751
+ client_secret: string;
602
752
  /**
603
- * Chart source URLs
753
+ * Decline code. Set only when `status` is `failed`.
604
754
  */
605
- sources?: Array<string>;
755
+ failure_code: string;
606
756
  /**
607
- * Chart maintainers
757
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
608
758
  */
609
- maintainers?: Array<{
610
- /**
611
- * Maintainer name
612
- */
613
- name: string;
614
- /**
615
- * Maintainer email
616
- */
617
- email?: string;
618
- }>;
619
- };
759
+ failure_message: string;
760
+ }>;
620
761
  };
621
- export type OrganizationCreateInput = {
762
+ export type Invoice = {
622
763
  /**
623
- * Email address used for billing as a string.
764
+ * Unique identifier of the invoice.
624
765
  */
625
- email: string;
766
+ id?: string;
767
+ number?: string;
626
768
  /**
627
- * First name of the billing contact person.
769
+ * Status of the invoice
628
770
  */
629
- first_name: string;
771
+ status?: string;
630
772
  /**
631
- * Last name of the billing contact person.
773
+ * Total amount of the invoice
632
774
  */
633
- last_name: string;
775
+ total?: number;
634
776
  /**
635
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
777
+ * Currency of the invoice
636
778
  */
637
- company_name: string;
779
+ currency?: string;
638
780
  /**
639
- * 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.
781
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
640
782
  */
641
- password: string;
642
- };
643
- export type Organization = {
783
+ created: string;
644
784
  /**
645
- * Unique identifier of the organization. UUID v4 string in canonical form
785
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
646
786
  */
647
- id: string;
787
+ period_start: string;
648
788
  /**
649
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
789
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
650
790
  */
651
- name?: string;
791
+ period_end: string;
792
+ invoice_pdf?: string;
793
+ };
794
+ export type OrganizationCreateInput = {
795
+ /**
796
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
797
+ */
798
+ type: 'business' | 'personal';
799
+ /**
800
+ * Email address used for billing as a string.
801
+ */
802
+ email: string;
803
+ /**
804
+ * First name of the billing contact person.
805
+ */
806
+ first_name: string;
807
+ /**
808
+ * Last name of the billing contact person.
809
+ */
810
+ last_name: string;
811
+ /**
812
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
813
+ */
814
+ company_name: string;
815
+ /**
816
+ * 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.
817
+ */
818
+ password: string;
819
+ };
820
+ export type OrganizationCreateOutput = {
821
+ /**
822
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
823
+ */
824
+ id: string;
825
+ };
826
+ export type Organization = {
827
+ /**
828
+ * Unique identifier of the organization. UUID v4 string in canonical form
829
+ */
830
+ id: string;
831
+ /**
832
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
833
+ */
834
+ name?: string;
835
+ /**
836
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
837
+ */
838
+ type: 'business' | 'personal';
652
839
  /**
653
840
  * Creation date of the organization. ISO 8601 date string in UTC timezone
654
841
  */
@@ -673,6 +860,14 @@ export type Organization = {
673
860
  * Available number of Pro clusters that can be created.
674
861
  */
675
862
  pro_clusters_available: number;
863
+ /**
864
+ * Maximum number of Enterprise clusters that can be created.
865
+ */
866
+ enterprise_clusters_max: number;
867
+ /**
868
+ * Available number of Enterprise clusters that can be created.
869
+ */
870
+ enterprise_clusters_available: number;
676
871
  /**
677
872
  * Maximum number of fleets that can be created per cluster.
678
873
  */
@@ -707,36 +902,52 @@ export type Organization = {
707
902
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
708
903
  */
709
904
  status: 'active' | 'closed' | 'suspended';
905
+ /**
906
+ * 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.
907
+ */
908
+ verification: 'none' | 'submitted' | 'verified';
710
909
  };
711
910
  export type PaymentMethod = {
712
911
  /**
713
- * Unique identifier of the organization. UUID v4 string in canonical form.
912
+ * 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.
714
913
  */
715
914
  id: string;
716
915
  /**
717
- * Whether organization payment method was set up and ready to use for payments.
916
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
718
917
  */
719
- setup: boolean;
918
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
720
919
  /**
721
- * Payment method type type. Only `card` payments supported at the moment.
722
- */
723
- type: 'card';
724
- /**
725
- * Last 4 digits of the payment card number.
920
+ * 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.
726
921
  */
727
922
  last4: string;
728
923
  /**
729
- * Two-digit number representing the card's expiration month.
924
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
730
925
  */
731
926
  exp_month: number;
732
927
  /**
733
- * Four-digit number representing the card's expiration year.
928
+ * 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.
734
929
  */
735
930
  exp_year: number;
736
931
  /**
737
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
932
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
933
+ */
934
+ brand: string;
935
+ /**
936
+ * 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.
937
+ */
938
+ iban: string;
939
+ /**
940
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
941
+ */
942
+ bic: string;
943
+ /**
944
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
738
945
  */
739
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
946
+ account_holder_name: string;
947
+ /**
948
+ * 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).
949
+ */
950
+ is_default: boolean;
740
951
  };
741
952
  export type PlatformQuota = {
742
953
  /**
@@ -755,6 +966,14 @@ export type PlatformQuota = {
755
966
  * Available number of Pro clusters that can be created.
756
967
  */
757
968
  pro_clusters_available: number;
969
+ /**
970
+ * Maximum number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_max: number;
973
+ /**
974
+ * Available number of Enterprise clusters that can be created.
975
+ */
976
+ enterprise_clusters_available: number;
758
977
  /**
759
978
  * Maximum number of fleets that can be created per cluster.
760
979
  */
@@ -933,6 +1152,32 @@ export type RegistryTag = {
933
1152
  */
934
1153
  uri: string;
935
1154
  };
1155
+ export type RoadmapItemCreateInput = {
1156
+ /**
1157
+ * Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.
1158
+ */
1159
+ text: string;
1160
+ };
1161
+ export type RoadmapItem = {
1162
+ /**
1163
+ * Unique identifier of the roadmap item (Mongo ObjectId).
1164
+ */
1165
+ id: string;
1166
+ /**
1167
+ * Short description of the roadmap item.
1168
+ */
1169
+ text: string;
1170
+ /**
1171
+ * The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.
1172
+ */
1173
+ vote: -1 | 1 | 2;
1174
+ };
1175
+ export type RoadmapVoteInput = {
1176
+ /**
1177
+ * Vote value: -1 (down), 1 (up), or 2 (double up).
1178
+ */
1179
+ value: -1 | 1 | 2;
1180
+ };
936
1181
  export type TicketAttachment = {
937
1182
  /**
938
1183
  * Unique identifier of the attachment (Mongo ObjectId).
@@ -966,91 +1211,10 @@ export type TicketCreateInput = {
966
1211
  properties?: {
967
1212
  [key: string]: unknown;
968
1213
  };
969
- };
970
- export type TicketListResponse = {
971
1214
  /**
972
- * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1215
+ * Grant Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.
973
1216
  */
974
- items: Array<{
975
- /**
976
- * Unique identifier of the ticket (Mongo ObjectId).
977
- */
978
- id: string;
979
- /**
980
- * Current state of the ticket.
981
- */
982
- status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
983
- /**
984
- * Ticket category.
985
- */
986
- category: 'billing' | 'technical' | 'general';
987
- /**
988
- * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
989
- */
990
- summary: string;
991
- /**
992
- * Closure timestamp. Null while the ticket is open.
993
- */
994
- closed_at?: string;
995
- /**
996
- * Creation date of the ticket. ISO 8601 UTC.
997
- */
998
- date_created: string;
999
- /**
1000
- * Last update date of the ticket. ISO 8601 UTC.
1001
- */
1002
- date_updated: string;
1003
- /**
1004
- * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1005
- */
1006
- messages?: Array<{
1007
- /**
1008
- * Unique identifier of the message (Mongo ObjectId).
1009
- */
1010
- id: string;
1011
- /**
1012
- * Message type. Internal notes are filtered out of customer-facing responses.
1013
- */
1014
- type: 'customer_reply' | 'agent_reply';
1015
- /**
1016
- * Message body in markdown.
1017
- */
1018
- body: string;
1019
- /**
1020
- * First name of the author. Null when not provided.
1021
- */
1022
- author_first_name?: string;
1023
- /**
1024
- * Last name of the author. Null when not provided.
1025
- */
1026
- author_last_name?: string;
1027
- /**
1028
- * Attachments associated with this message.
1029
- */
1030
- attachments?: Array<{
1031
- /**
1032
- * Unique identifier of the attachment (Mongo ObjectId).
1033
- */
1034
- id: string;
1035
- /**
1036
- * Original filename as uploaded.
1037
- */
1038
- filename: string;
1039
- /**
1040
- * MIME content type of the attachment.
1041
- */
1042
- content_type: string;
1043
- /**
1044
- * Size of the attachment in bytes.
1045
- */
1046
- size: number;
1047
- }>;
1048
- /**
1049
- * Creation date of the message. ISO 8601 UTC.
1050
- */
1051
- date_created: string;
1052
- }>;
1053
- }>;
1217
+ grant_support_access?: boolean;
1054
1218
  };
1055
1219
  export type TicketMessageInput = {
1056
1220
  /**
@@ -1122,6 +1286,14 @@ export type Ticket = {
1122
1286
  * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1123
1287
  */
1124
1288
  summary: string;
1289
+ /**
1290
+ * Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.
1291
+ */
1292
+ support_access_granted: boolean;
1293
+ /**
1294
+ * When support access was granted. Null if it never was. Kept after the ticket is closed.
1295
+ */
1296
+ support_access_granted_at: string;
1125
1297
  /**
1126
1298
  * Closure timestamp. Null while the ticket is open.
1127
1299
  */
@@ -1235,7 +1407,7 @@ export type UsageFacets = {
1235
1407
  /**
1236
1408
  * List of unique products
1237
1409
  */
1238
- product?: Array<string>;
1410
+ 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'>;
1239
1411
  };
1240
1412
  export type UsageResponse = {
1241
1413
  /**
@@ -1253,7 +1425,7 @@ export type UsageResponse = {
1253
1425
  /**
1254
1426
  * The product the usage is associated with
1255
1427
  */
1256
- product: string;
1428
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1257
1429
  /**
1258
1430
  * Consumption
1259
1431
  */
@@ -1278,7 +1450,7 @@ export type UsageResponse = {
1278
1450
  /**
1279
1451
  * List of unique products
1280
1452
  */
1281
- product?: Array<string>;
1453
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
1282
1454
  };
1283
1455
  };
1284
1456
  export type Usage = {
@@ -1293,7 +1465,7 @@ export type Usage = {
1293
1465
  /**
1294
1466
  * The product the usage is associated with
1295
1467
  */
1296
- product: string;
1468
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1297
1469
  /**
1298
1470
  * Consumption
1299
1471
  */
@@ -1328,14 +1500,6 @@ export type UserCreateInput = {
1328
1500
  * User password. Must be at least 8 characters long.
1329
1501
  */
1330
1502
  password: string;
1331
- /**
1332
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
1333
- */
1334
- status?: 'active' | 'inactive';
1335
- /**
1336
- * User role. Can be 'Administrator', 'User'.
1337
- */
1338
- role?: 'Administrator' | 'User';
1339
1503
  };
1340
1504
  export type User = {
1341
1505
  /**
@@ -1389,711 +1553,456 @@ export type UserUpdateInput = {
1389
1553
  */
1390
1554
  status?: 'active' | 'inactive';
1391
1555
  };
1392
- export type GetUsageData = {
1556
+ export type ListUserOrganizationsData = {
1393
1557
  body?: never;
1394
- path?: never;
1395
- query?: {
1558
+ path: {
1396
1559
  /**
1397
- * 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)
1560
+ * User email address.
1398
1561
  */
1399
- granularity?: 'hourly' | 'daily' | 'monthly';
1562
+ email: string;
1400
1563
  };
1401
- url: '/billing/usage';
1402
- };
1403
- export type GetUsageErrors = {
1404
- /**
1405
- * Not authenticated
1406
- */
1407
- 401: unknown;
1564
+ query?: never;
1565
+ url: '/users/organizations/{email}';
1408
1566
  };
1409
- export type GetUsageResponses = {
1567
+ export type ListUserOrganizationsResponses = {
1410
1568
  /**
1411
- * Usage data with facets for filtering
1569
+ * An array of organizations the user belongs to.
1412
1570
  */
1413
- 200: UsageResponse;
1571
+ 200: Array<{
1572
+ /**
1573
+ * Unique identifier of the organization. UUID v4 string in canonical form
1574
+ */
1575
+ realm?: string;
1576
+ /**
1577
+ * Human-readable name of the organization
1578
+ */
1579
+ displayName?: string;
1580
+ }>;
1414
1581
  };
1415
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1416
- export type GetPaymentMethodData = {
1582
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1583
+ export type ListUsersData = {
1417
1584
  body?: never;
1418
1585
  path?: never;
1419
1586
  query?: never;
1420
- url: '/billing/payment-method';
1587
+ url: '/users';
1421
1588
  };
1422
- export type GetPaymentMethodErrors = {
1589
+ export type ListUsersErrors = {
1423
1590
  /**
1424
- * Returns 404 Not Found if the organization does not have a payment method set up.
1591
+ * Not authenticated
1425
1592
  */
1426
- 404: unknown;
1593
+ 401: unknown;
1427
1594
  };
1428
- export type GetPaymentMethodResponses = {
1595
+ export type ListUsersResponses = {
1429
1596
  /**
1430
- * Redacted payment card information.
1597
+ * An array of users
1431
1598
  */
1432
- 200: PaymentMethod;
1599
+ 200: Array<User>;
1433
1600
  };
1434
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1435
- export type GetPaymentMethodSecretData = {
1436
- body?: never;
1601
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1602
+ export type CreateUserData = {
1603
+ body: UserCreateInput;
1437
1604
  path?: never;
1438
1605
  query?: never;
1439
- url: '/billing/payment-method';
1606
+ url: '/users';
1440
1607
  };
1441
- export type GetPaymentMethodSecretResponses = {
1608
+ export type CreateUserResponses = {
1442
1609
  /**
1443
- * 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.
1444
- *
1610
+ * Successfully created. Returns created user details.
1445
1611
  */
1446
- 200: {
1612
+ 200: User;
1613
+ };
1614
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1615
+ export type DeleteUserData = {
1616
+ body?: never;
1617
+ path: {
1447
1618
  /**
1448
- * The client secret.
1619
+ * Unique user identifier. UUID v4 string in canonical form
1449
1620
  */
1450
- id?: string;
1621
+ user_id: string;
1451
1622
  };
1452
- };
1453
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1454
- export type ListInvoicesData = {
1455
- body?: never;
1456
- path?: never;
1457
1623
  query?: never;
1458
- url: '/billing/invoices';
1459
- };
1460
- export type ListInvoicesErrors = {
1461
- /**
1462
- * Not authenticated
1463
- */
1464
- 401: unknown;
1624
+ url: '/users/{user_id}';
1465
1625
  };
1466
- export type ListInvoicesResponses = {
1626
+ export type DeleteUserErrors = {
1467
1627
  /**
1468
- * An array of usage records.
1628
+ * Deleting own user is not allowed. Delete your organization instead.
1469
1629
  */
1470
- 200: Array<Invoice>;
1471
- };
1472
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1473
- export type GetContactData = {
1474
- body?: never;
1475
- path?: never;
1476
- query?: never;
1477
- url: '/billing/contact';
1478
- };
1479
- export type GetContactResponses = {
1630
+ 400: unknown;
1480
1631
  /**
1481
- * Returns a single object containing organization contact and billing address details.
1632
+ * Not authenticated
1482
1633
  */
1483
- 200: BillingContact;
1484
- };
1485
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1486
- export type UpdateContactData = {
1487
- body: BillingContact;
1488
- path?: never;
1489
- query?: never;
1490
- url: '/billing/contact';
1634
+ 401: unknown;
1491
1635
  };
1492
- export type UpdateContactResponses = {
1636
+ export type DeleteUserResponses = {
1493
1637
  /**
1494
- * Successfully updated. Returns updated organization details.
1638
+ * User profile information
1495
1639
  */
1496
- 200: BillingContact;
1640
+ 200: User;
1497
1641
  };
1498
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1499
- export type GetCreditsData = {
1642
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1643
+ export type GetUserData = {
1500
1644
  body?: never;
1501
- path?: never;
1645
+ path: {
1646
+ /**
1647
+ * Unique user identifier. UUID v4 string in canonical form
1648
+ */
1649
+ user_id: string;
1650
+ };
1502
1651
  query?: never;
1503
- url: '/billing/credits';
1652
+ url: '/users/{user_id}';
1504
1653
  };
1505
- export type GetCreditsErrors = {
1654
+ export type GetUserErrors = {
1506
1655
  /**
1507
1656
  * Not authenticated
1508
1657
  */
1509
1658
  401: unknown;
1510
1659
  };
1511
- export type GetCreditsResponses = {
1660
+ export type GetUserResponses = {
1512
1661
  /**
1513
- * An array of the applied promotional credits records.
1662
+ * User profile information
1514
1663
  */
1515
- 200: Array<BillingCredits>;
1664
+ 200: User;
1516
1665
  };
1517
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1518
- export type RedeemCreditsData = {
1519
- body: {
1666
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1667
+ export type UpdateUserData = {
1668
+ body: UserUpdateInput;
1669
+ path: {
1520
1670
  /**
1521
- * Promotional code to redeem
1671
+ * Unique user identifier. UUID v4 string in canonical form
1522
1672
  */
1523
- code?: string;
1673
+ user_id: string;
1524
1674
  };
1675
+ query?: never;
1676
+ url: '/users/{user_id}';
1677
+ };
1678
+ export type UpdateUserResponses = {
1679
+ /**
1680
+ * Successfully created. Returns created user details.
1681
+ */
1682
+ 200: User;
1683
+ };
1684
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1685
+ export type ListTokensData = {
1686
+ body?: never;
1525
1687
  path?: never;
1526
1688
  query?: never;
1527
- url: '/billing/credits';
1689
+ url: '/tokens';
1528
1690
  };
1529
- export type RedeemCreditsErrors = {
1691
+ export type ListTokensErrors = {
1530
1692
  /**
1531
1693
  * Not authenticated
1532
1694
  */
1533
1695
  401: unknown;
1534
1696
  };
1535
- export type RedeemCreditsResponses = {
1697
+ export type ListTokensResponses = {
1536
1698
  /**
1537
- * Successfully created a new organization.
1699
+ * Returns a list of access token details with masked secrets.
1538
1700
  */
1539
- 200: unknown;
1701
+ 200: Array<Token>;
1540
1702
  };
1541
- export type ListChartsData = {
1542
- body?: never;
1543
- path: {
1544
- /**
1545
- * Unique identifier of the cluster. UUID v4 string in canonical form
1546
- */
1547
- cluster_id: string;
1548
- };
1703
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1704
+ export type CreateTokenData = {
1705
+ body: TokenCreateInput;
1706
+ path?: never;
1549
1707
  query?: never;
1550
- url: '/clusters/{cluster_id}/charts';
1708
+ url: '/tokens';
1551
1709
  };
1552
- export type ListChartsErrors = {
1710
+ export type CreateTokenErrors = {
1553
1711
  /**
1554
1712
  * Not authenticated
1555
1713
  */
1556
1714
  401: unknown;
1557
1715
  };
1558
- export type ListChartsResponses = {
1716
+ export type CreateTokenResponses = {
1559
1717
  /**
1560
- * An array of charts
1718
+ * Successfully created. Returns created token details with unmasked/raw secret.
1561
1719
  */
1562
- 200: Array<Chart>;
1720
+ 200: Token;
1563
1721
  };
1564
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1565
- export type CreateChartData = {
1566
- body: ChartCreateInput;
1722
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1723
+ export type DeleteTokenData = {
1724
+ body?: never;
1567
1725
  path: {
1568
1726
  /**
1569
- * Unique identifier of the cluster. UUID v4 string in canonical form
1727
+ * Generated unique identifier of the access token.
1570
1728
  */
1571
- cluster_id: string;
1729
+ token_id: string;
1572
1730
  };
1573
1731
  query?: never;
1574
- url: '/clusters/{cluster_id}/charts';
1732
+ url: '/tokens/{token_id}';
1575
1733
  };
1576
- export type CreateChartResponses = {
1734
+ export type DeleteTokenResponses = {
1577
1735
  /**
1578
- * Successfully created. Returns created Chart ID.
1736
+ * Successfully deleted.
1579
1737
  */
1580
- 200: string;
1738
+ 200: unknown;
1581
1739
  };
1582
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1583
- export type DeleteChartData = {
1740
+ export type GetTokenData = {
1584
1741
  body?: never;
1585
1742
  path: {
1586
1743
  /**
1587
- * Unique identifier of the cluster. UUID v4 string in canonical form
1588
- */
1589
- cluster_id: string;
1590
- /**
1591
- * Chart deployment name as the unique identifier of the chart.
1744
+ * Generated unique identifier of the access token.
1592
1745
  */
1593
- chart_name: string;
1746
+ token_id: string;
1594
1747
  };
1595
1748
  query?: never;
1596
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1749
+ url: '/tokens/{token_id}';
1597
1750
  };
1598
- export type DeleteChartResponses = {
1751
+ export type GetTokenErrors = {
1599
1752
  /**
1600
- * Successfully deleted.
1753
+ * Not authenticated
1601
1754
  */
1602
- 200: string;
1603
- };
1604
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1605
- export type GetChartData = {
1606
- body?: never;
1607
- path: {
1608
- /**
1609
- * Unique identifier of the cluster. UUID v4 string in canonical form
1610
- */
1611
- cluster_id: string;
1612
- /**
1613
- * Chart deployment name as the unique identifier of the chart.
1614
- */
1615
- chart_name: string;
1616
- };
1617
- query?: never;
1618
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1755
+ 401: unknown;
1619
1756
  };
1620
- export type GetChartResponses = {
1757
+ export type GetTokenResponses = {
1621
1758
  /**
1622
- * Returns a single object containing chart details.
1759
+ * Returns access token details with masked secret.
1623
1760
  */
1624
- 200: Chart;
1761
+ 200: Token;
1625
1762
  };
1626
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1627
- export type UpdateChartData = {
1628
- body: ChartUpdateInput;
1763
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1764
+ export type UpdateTokenData = {
1765
+ body: TokenUpdateInput;
1629
1766
  path: {
1630
1767
  /**
1631
- * Unique identifier of the cluster. UUID v4 string in canonical form
1632
- */
1633
- cluster_id: string;
1634
- /**
1635
- * Chart deployment name as the unique identifier of the chart.
1768
+ * Generated unique identifier of the access token.
1636
1769
  */
1637
- chart_name: string;
1770
+ token_id: string;
1638
1771
  };
1639
1772
  query?: never;
1640
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1773
+ url: '/tokens/{token_id}';
1641
1774
  };
1642
- export type UpdateChartResponses = {
1775
+ export type UpdateTokenErrors = {
1643
1776
  /**
1644
- * Successfully updated.
1777
+ * Not authenticated
1645
1778
  */
1646
- 200: string;
1779
+ 401: unknown;
1647
1780
  };
1648
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1649
- export type ListFleetsData = {
1781
+ export type UpdateTokenResponses = {
1782
+ /**
1783
+ * Successfully updated. Returns updated token details with masked secret.
1784
+ */
1785
+ 200: Token;
1786
+ };
1787
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1788
+ export type RegenerateTokenData = {
1650
1789
  body?: never;
1651
1790
  path: {
1652
1791
  /**
1653
- * Unique identifier of the cluster. UUID v4 string in canonical form
1792
+ * Generated unique identifier of the access token.
1654
1793
  */
1655
- cluster_id: string;
1794
+ token_id: string;
1656
1795
  };
1657
1796
  query?: never;
1658
- url: '/clusters/{cluster_id}/fleets';
1797
+ url: '/tokens/{token_id}/secret';
1659
1798
  };
1660
- export type ListFleetsErrors = {
1799
+ export type RegenerateTokenErrors = {
1661
1800
  /**
1662
1801
  * Not authenticated
1663
1802
  */
1664
1803
  401: unknown;
1665
1804
  };
1666
- export type ListFleetsResponses = {
1805
+ export type RegenerateTokenResponses = {
1667
1806
  /**
1668
- * An array of fleets
1807
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1669
1808
  */
1670
- 200: Array<Fleet>;
1809
+ 200: Token;
1671
1810
  };
1672
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1673
- export type CreateFleetData = {
1674
- body: FleetCreateInput;
1675
- path: {
1676
- /**
1677
- * Unique identifier of the cluster. UUID v4 string in canonical form
1678
- */
1679
- cluster_id: string;
1680
- };
1811
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1812
+ export type ListTicketsData = {
1813
+ body?: never;
1814
+ path?: never;
1681
1815
  query?: never;
1682
- url: '/clusters/{cluster_id}/fleets';
1816
+ url: '/tickets';
1683
1817
  };
1684
- export type CreateFleetErrors = {
1818
+ export type ListTicketsResponses = {
1685
1819
  /**
1686
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1820
+ * An array of tickets for the organization, newest first.
1687
1821
  */
1688
- 402: string;
1822
+ 200: Array<Ticket>;
1689
1823
  };
1690
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1691
- export type CreateFleetResponses = {
1824
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1825
+ export type CreateTicketData = {
1826
+ body: {
1827
+ /**
1828
+ * JSON-encoded TicketCreateInput.
1829
+ */
1830
+ payload?: string;
1831
+ attachments?: Array<Blob | File>;
1832
+ };
1833
+ path?: never;
1834
+ query?: never;
1835
+ url: '/tickets';
1836
+ };
1837
+ export type CreateTicketResponses = {
1692
1838
  /**
1693
- * Successfully created. Returns created Fleet ID.
1839
+ * Ticket created.
1694
1840
  */
1695
- 200: string;
1841
+ 200: Ticket;
1696
1842
  };
1697
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1698
- export type DeleteFleetData = {
1843
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1844
+ export type CloseTicketData = {
1699
1845
  body?: never;
1700
1846
  path: {
1701
- /**
1702
- * Unique identifier of the cluster. UUID v4 string in canonical form
1703
- */
1704
- cluster_id: string;
1705
- /**
1706
- * Unique identifier of the fleet. UUID v4 string in canonical form
1707
- */
1708
- fleet_name: string;
1847
+ ticket_id: string;
1709
1848
  };
1710
1849
  query?: never;
1711
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1850
+ url: '/tickets/{ticket_id}';
1712
1851
  };
1713
- export type DeleteFleetResponses = {
1852
+ export type CloseTicketResponses = {
1714
1853
  /**
1715
- * Successfully deleted.
1854
+ * Ticket closed.
1716
1855
  */
1717
- 200: string;
1856
+ 200: Ticket;
1718
1857
  };
1719
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1720
- export type GetFleetData = {
1858
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1859
+ export type GetTicketData = {
1721
1860
  body?: never;
1722
1861
  path: {
1723
- /**
1724
- * Unique identifier of the cluster. UUID v4 string in canonical form
1725
- */
1726
- cluster_id: string;
1727
- /**
1728
- * Unique identifier of the fleet. UUID v4 string in canonical form
1729
- */
1730
- fleet_name: string;
1862
+ ticket_id: string;
1731
1863
  };
1732
1864
  query?: never;
1733
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1865
+ url: '/tickets/{ticket_id}';
1734
1866
  };
1735
- export type GetFleetResponses = {
1867
+ export type GetTicketResponses = {
1736
1868
  /**
1737
- * Returns a single object containing fleet details.
1869
+ * Ticket with messages (internal notes excluded).
1738
1870
  */
1739
- 200: Fleet;
1871
+ 200: Ticket;
1740
1872
  };
1741
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1742
- export type UpdateFleetData = {
1743
- body: FleetUpdateInput;
1873
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1874
+ export type GrantTicketSupportAccessData = {
1875
+ body?: never;
1744
1876
  path: {
1745
- /**
1746
- * Unique identifier of the cluster. UUID v4 string in canonical form
1747
- */
1748
- cluster_id: string;
1749
- /**
1750
- * Unique identifier of the fleet. UUID v4 string in canonical form
1751
- */
1752
- fleet_name: string;
1877
+ ticket_id: string;
1753
1878
  };
1754
1879
  query?: never;
1755
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1880
+ url: '/tickets/{ticket_id}/support-access';
1756
1881
  };
1757
- export type UpdateFleetErrors = {
1882
+ export type GrantTicketSupportAccessErrors = {
1758
1883
  /**
1759
- * Organization must have a valid payment method configured to access this endpoint.
1884
+ * Ticket is closed. Open a new ticket instead.
1760
1885
  */
1761
- 402: string;
1886
+ 409: unknown;
1762
1887
  };
1763
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1764
- export type UpdateFleetResponses = {
1888
+ export type GrantTicketSupportAccessResponses = {
1765
1889
  /**
1766
- * Successfully updated.
1890
+ * Support access granted.
1767
1891
  */
1768
- 200: string;
1892
+ 200: Ticket;
1769
1893
  };
1770
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1771
- export type QueryClusterData = {
1772
- body?: never;
1773
- path: {
1894
+ export type GrantTicketSupportAccessResponse = GrantTicketSupportAccessResponses[keyof GrantTicketSupportAccessResponses];
1895
+ export type ReplyTicketData = {
1896
+ body: {
1774
1897
  /**
1775
- * Unique identifier of the cluster. UUID v4 string in canonical form
1898
+ * JSON-encoded TicketMessageInput.
1776
1899
  */
1777
- cluster_id: string;
1900
+ payload?: string;
1901
+ attachments?: Array<Blob | File>;
1902
+ };
1903
+ path: {
1904
+ ticket_id: string;
1778
1905
  };
1779
1906
  query?: never;
1780
- url: '/clusters/{cluster_id}/query';
1907
+ url: '/tickets/{ticket_id}/messages';
1781
1908
  };
1782
- export type QueryClusterErrors = {
1909
+ export type ReplyTicketErrors = {
1783
1910
  /**
1784
- * Not authenticated
1911
+ * Ticket is closed. Open a new ticket instead.
1785
1912
  */
1786
- 401: unknown;
1913
+ 409: unknown;
1787
1914
  };
1788
- export type QueryClusterResponses = {
1789
- /**
1790
- * Kubernetes API response
1791
- */
1792
- 200: unknown;
1793
- };
1794
- export type ListClustersData = {
1795
- body?: never;
1796
- path?: never;
1797
- query?: never;
1798
- url: '/clusters';
1799
- };
1800
- export type ListClustersErrors = {
1801
- /**
1802
- * Not authenticated
1803
- */
1804
- 401: unknown;
1805
- };
1806
- export type ListClustersResponses = {
1807
- /**
1808
- * An array of clusters
1809
- */
1810
- 200: Array<Cluster>;
1811
- };
1812
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1813
- export type CreateClusterData = {
1814
- body: ClusterCreateInput;
1815
- path?: never;
1816
- query?: never;
1817
- url: '/clusters';
1818
- };
1819
- export type CreateClusterErrors = {
1820
- /**
1821
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
1822
- */
1823
- 402: string;
1824
- };
1825
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1826
- export type CreateClusterResponses = {
1827
- /**
1828
- * Successfully created. Returns created Cluster ID.
1829
- */
1830
- 200: string;
1831
- };
1832
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1833
- export type DeleteClusterData = {
1834
- body?: never;
1835
- path: {
1836
- /**
1837
- * Unique identifier of the cluster. UUID v4 string in canonical form
1838
- */
1839
- cluster_id: string;
1840
- };
1841
- query?: never;
1842
- url: '/clusters/{cluster_id}';
1843
- };
1844
- export type DeleteClusterResponses = {
1845
- /**
1846
- * Successfully deleted.
1847
- */
1848
- 200: string;
1849
- };
1850
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1851
- export type GetClusterData = {
1852
- body?: never;
1853
- path: {
1854
- /**
1855
- * Unique identifier of the cluster. UUID v4 string in canonical form
1856
- */
1857
- cluster_id: string;
1858
- };
1859
- query?: never;
1860
- url: '/clusters/{cluster_id}';
1861
- };
1862
- export type GetClusterResponses = {
1863
- /**
1864
- * Returns a single object containing cluster details.
1865
- */
1866
- 200: Cluster;
1867
- };
1868
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1869
- export type UpdateClusterData = {
1870
- body: ClusterUpdateInput;
1871
- path: {
1872
- /**
1873
- * Unique identifier of the cluster. UUID v4 string in canonical form
1874
- */
1875
- cluster_id: string;
1876
- };
1877
- query?: never;
1878
- url: '/clusters/{cluster_id}';
1879
- };
1880
- export type UpdateClusterResponses = {
1915
+ export type ReplyTicketResponses = {
1881
1916
  /**
1882
- * Successfully updated. Returns updated cluster details.
1917
+ * Reply appended.
1883
1918
  */
1884
- 200: Cluster;
1919
+ 200: TicketMessage;
1885
1920
  };
1886
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1887
- export type GetJoinInformationData = {
1921
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1922
+ export type GetTicketAttachmentData = {
1888
1923
  body?: never;
1889
1924
  path: {
1890
- /**
1891
- * Unique identifier of the cluster. UUID v4 string in canonical form
1892
- */
1893
- cluster_id: string;
1925
+ ticket_id: string;
1926
+ attachment_id: string;
1894
1927
  };
1895
1928
  query?: never;
1896
- url: '/clusters/{cluster_id}/join_information';
1897
- };
1898
- export type GetJoinInformationErrors = {
1899
- /**
1900
- * Not authenticated
1901
- */
1902
- 401: unknown;
1929
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1903
1930
  };
1904
- export type GetJoinInformationResponses = {
1931
+ export type GetTicketAttachmentResponses = {
1905
1932
  /**
1906
- * An object of cluster join information
1933
+ * Attachment binary stream.
1907
1934
  */
1908
- 200: ClusterJoinInformation;
1935
+ 200: Blob | File;
1909
1936
  };
1910
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1911
- export type ListInvitesData = {
1937
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1938
+ export type ListRoadmapData = {
1912
1939
  body?: never;
1913
1940
  path?: never;
1914
1941
  query?: never;
1915
- url: '/invites';
1916
- };
1917
- export type ListInvitesErrors = {
1918
- /**
1919
- * Not authenticated
1920
- */
1921
- 401: unknown;
1942
+ url: '/roadmap';
1922
1943
  };
1923
- export type ListInvitesResponses = {
1944
+ export type ListRoadmapResponses = {
1924
1945
  /**
1925
- * An array of invites
1946
+ * An array of roadmap items, newest first.
1926
1947
  */
1927
- 200: Array<Invite>;
1948
+ 200: Array<RoadmapItem>;
1928
1949
  };
1929
- export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1930
- export type CreateInviteData = {
1931
- body: {
1932
- /**
1933
- * User email address
1934
- */
1935
- email?: string;
1936
- };
1950
+ export type ListRoadmapResponse = ListRoadmapResponses[keyof ListRoadmapResponses];
1951
+ export type SuggestRoadmapData = {
1952
+ body: RoadmapItemCreateInput;
1937
1953
  path?: never;
1938
1954
  query?: never;
1939
- url: '/invites';
1940
- };
1941
- export type CreateInviteResponses = {
1942
- /**
1943
- * Successfully created. Returns created invite details.
1944
- */
1945
- 200: Invite;
1946
- };
1947
- export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
1948
- export type GetInviteData = {
1949
- body?: never;
1950
- path: {
1951
- /**
1952
- * Invitation code
1953
- */
1954
- code: string;
1955
- };
1956
- query?: never;
1957
- url: '/invites/{code}';
1955
+ url: '/roadmap';
1958
1956
  };
1959
- export type GetInviteResponses = {
1957
+ export type SuggestRoadmapResponses = {
1960
1958
  /**
1961
- * Returns a single object containing invite details.
1959
+ * Suggestion submitted for review.
1962
1960
  */
1963
- 200: Invite;
1961
+ 200: RoadmapItem;
1964
1962
  };
1965
- export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1966
- export type DeleteInviteData = {
1963
+ export type SuggestRoadmapResponse = SuggestRoadmapResponses[keyof SuggestRoadmapResponses];
1964
+ export type UnvoteRoadmapData = {
1967
1965
  body?: never;
1968
1966
  path: {
1969
- /**
1970
- * User email address
1971
- */
1972
- email: string;
1967
+ item_id: string;
1973
1968
  };
1974
1969
  query?: never;
1975
- url: '/invites/{email}';
1976
- };
1977
- export type DeleteInviteResponses = {
1978
- /**
1979
- * Successfully deleted.
1980
- */
1981
- 200: unknown;
1982
- };
1983
- export type ListMarketplaceChartsData = {
1984
- body?: never;
1985
- path?: never;
1986
- query?: never;
1987
- url: '/marketplace';
1970
+ url: '/roadmap/{item_id}/vote';
1988
1971
  };
1989
- export type ListMarketplaceChartsErrors = {
1972
+ export type UnvoteRoadmapErrors = {
1990
1973
  /**
1991
- * Not authenticated
1974
+ * Roadmap item not found.
1992
1975
  */
1993
- 401: unknown;
1976
+ 404: unknown;
1994
1977
  };
1995
- export type ListMarketplaceChartsResponses = {
1978
+ export type UnvoteRoadmapResponses = {
1996
1979
  /**
1997
- * An array of chart listings in the marketplace.
1980
+ * Vote removed. Returns the item without a vote.
1998
1981
  */
1999
- 200: Array<MarketplaceListing>;
1982
+ 200: RoadmapItem;
2000
1983
  };
2001
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2002
- export type GetMarketplaceChartFilesData = {
2003
- body?: never;
1984
+ export type UnvoteRoadmapResponse = UnvoteRoadmapResponses[keyof UnvoteRoadmapResponses];
1985
+ export type VoteRoadmapData = {
1986
+ body: RoadmapVoteInput;
2004
1987
  path: {
2005
- /**
2006
- * Name of the chart in the marketplace.
2007
- */
2008
- chart_name: string;
2009
- /**
2010
- * 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).
2011
- */
2012
- version_channel: string;
1988
+ item_id: string;
2013
1989
  };
2014
1990
  query?: never;
2015
- url: '/marketplace/{chart_name}/files/{version_channel}';
1991
+ url: '/roadmap/{item_id}/vote';
2016
1992
  };
2017
- export type GetMarketplaceChartFilesErrors = {
1993
+ export type VoteRoadmapErrors = {
2018
1994
  /**
2019
- * Chart not found or no version matches the channel
1995
+ * Roadmap item not found.
2020
1996
  */
2021
1997
  404: unknown;
2022
1998
  };
2023
- export type GetMarketplaceChartFilesResponses = {
2024
- /**
2025
- * Returns an object containing the chart files for the latest matching version.
2026
- */
2027
- 200: MarketplaceListingFiles;
2028
- };
2029
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2030
- export type PostMcpData = {
2031
- /**
2032
- * JSON-RPC 2.0 request payload
2033
- */
2034
- body: {
2035
- jsonrpc?: string;
2036
- method?: string;
2037
- id?: string | number;
2038
- /**
2039
- * Method-specific parameters
2040
- */
2041
- params?: {
2042
- [key: string]: unknown;
2043
- };
2044
- };
2045
- path?: never;
2046
- query?: never;
2047
- url: '/mcp';
2048
- };
2049
- export type PostMcpErrors = {
2050
- /**
2051
- * Not authenticated
2052
- */
2053
- 401: unknown;
2054
- };
2055
- export type PostMcpResponses = {
2056
- /**
2057
- * JSON-RPC 2.0 success or error response
2058
- */
2059
- 200: {
2060
- jsonrpc?: string;
2061
- id?: string | number;
2062
- result?: {
2063
- [key: string]: unknown;
2064
- };
2065
- error?: {
2066
- code?: number;
2067
- message?: string;
2068
- };
2069
- };
2070
- };
2071
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2072
- export type GetOrganizationData = {
2073
- body?: never;
2074
- path?: never;
2075
- query?: never;
2076
- url: '/organization';
2077
- };
2078
- export type GetOrganizationResponses = {
2079
- /**
2080
- * Returns a single object containing organization details.
2081
- */
2082
- 200: Organization;
2083
- };
2084
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2085
- export type CreateOrganizationData = {
2086
- body: OrganizationCreateInput;
2087
- path?: never;
2088
- query?: never;
2089
- url: '/organization';
2090
- };
2091
- export type CreateOrganizationResponses = {
1999
+ export type VoteRoadmapResponses = {
2092
2000
  /**
2093
- * Successfully created a new organization.
2001
+ * Vote saved. Returns the item with your vote.
2094
2002
  */
2095
- 200: unknown;
2003
+ 200: RoadmapItem;
2096
2004
  };
2005
+ export type VoteRoadmapResponse = VoteRoadmapResponses[keyof VoteRoadmapResponses];
2097
2006
  export type ListRepositoriesData = {
2098
2007
  body?: never;
2099
2008
  path?: never;
@@ -2232,365 +2141,720 @@ export type GetTagResponses = {
2232
2141
  200: RegistryTag;
2233
2142
  };
2234
2143
  export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2235
- export type ListTicketsData = {
2144
+ export type GetOrganizationData = {
2236
2145
  body?: never;
2237
2146
  path?: never;
2238
2147
  query?: never;
2239
- url: '/tickets';
2148
+ url: '/organization';
2240
2149
  };
2241
- export type ListTicketsResponses = {
2150
+ export type GetOrganizationResponses = {
2242
2151
  /**
2243
- * Tickets for the organization.
2152
+ * Returns a single object containing organization details.
2244
2153
  */
2245
- 200: TicketListResponse;
2154
+ 200: Organization;
2246
2155
  };
2247
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2248
- export type CreateTicketData = {
2156
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2157
+ export type CreateOrganizationData = {
2158
+ body: OrganizationCreateInput;
2159
+ path?: never;
2160
+ query?: never;
2161
+ url: '/organization';
2162
+ };
2163
+ export type CreateOrganizationResponses = {
2164
+ /**
2165
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2166
+ *
2167
+ */
2168
+ 200: OrganizationCreateOutput;
2169
+ };
2170
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2171
+ export type PostMcpData = {
2172
+ /**
2173
+ * JSON-RPC 2.0 request payload
2174
+ */
2249
2175
  body: {
2176
+ jsonrpc?: string;
2177
+ method?: string;
2178
+ id?: string | number;
2250
2179
  /**
2251
- * JSON-encoded TicketCreateInput.
2180
+ * Method-specific parameters
2252
2181
  */
2253
- payload?: string;
2254
- attachments?: Array<Blob | File>;
2182
+ params?: {
2183
+ [key: string]: unknown;
2184
+ };
2255
2185
  };
2256
2186
  path?: never;
2257
2187
  query?: never;
2258
- url: '/tickets';
2188
+ url: '/mcp';
2259
2189
  };
2260
- export type CreateTicketResponses = {
2190
+ export type PostMcpErrors = {
2261
2191
  /**
2262
- * Ticket created.
2192
+ * Not authenticated
2263
2193
  */
2264
- 200: Ticket;
2194
+ 401: unknown;
2265
2195
  };
2266
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2267
- export type CloseTicketData = {
2196
+ export type PostMcpResponses = {
2197
+ /**
2198
+ * JSON-RPC 2.0 success or error response
2199
+ */
2200
+ 200: {
2201
+ jsonrpc?: string;
2202
+ id?: string | number;
2203
+ result?: {
2204
+ [key: string]: unknown;
2205
+ };
2206
+ error?: {
2207
+ code?: number;
2208
+ message?: string;
2209
+ };
2210
+ };
2211
+ };
2212
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2213
+ export type ListInvitesData = {
2214
+ body?: never;
2215
+ path?: never;
2216
+ query?: never;
2217
+ url: '/invites';
2218
+ };
2219
+ export type ListInvitesErrors = {
2220
+ /**
2221
+ * Not authenticated
2222
+ */
2223
+ 401: unknown;
2224
+ };
2225
+ export type ListInvitesResponses = {
2226
+ /**
2227
+ * An array of invites
2228
+ */
2229
+ 200: Array<Invite>;
2230
+ };
2231
+ export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
2232
+ export type CreateInviteData = {
2233
+ body: InviteCreateInput;
2234
+ path?: never;
2235
+ query?: never;
2236
+ url: '/invites';
2237
+ };
2238
+ export type CreateInviteResponses = {
2239
+ /**
2240
+ * Successfully created. Returns created invite details.
2241
+ */
2242
+ 200: Invite;
2243
+ };
2244
+ export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
2245
+ export type GetInviteData = {
2268
2246
  body?: never;
2269
2247
  path: {
2270
- ticket_id: string;
2248
+ /**
2249
+ * Invitation code
2250
+ */
2251
+ code: string;
2271
2252
  };
2272
2253
  query?: never;
2273
- url: '/tickets/{ticket_id}';
2254
+ url: '/invites/{code}';
2274
2255
  };
2275
- export type CloseTicketResponses = {
2256
+ export type GetInviteResponses = {
2276
2257
  /**
2277
- * Ticket closed.
2258
+ * The invitation code is valid. Returns the invited email and organization.
2278
2259
  */
2279
- 200: Ticket;
2260
+ 200: {
2261
+ /**
2262
+ * Email address the invite was issued to.
2263
+ */
2264
+ email?: string;
2265
+ /**
2266
+ * Identifier of the organization the invite grants access to.
2267
+ */
2268
+ organization_id?: string;
2269
+ };
2280
2270
  };
2281
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2282
- export type GetTicketData = {
2271
+ export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
2272
+ export type DeleteInviteData = {
2283
2273
  body?: never;
2284
2274
  path: {
2285
- ticket_id: string;
2275
+ /**
2276
+ * User email address
2277
+ */
2278
+ email: string;
2286
2279
  };
2287
2280
  query?: never;
2288
- url: '/tickets/{ticket_id}';
2281
+ url: '/invites/{email}';
2289
2282
  };
2290
- export type GetTicketResponses = {
2283
+ export type DeleteInviteResponses = {
2291
2284
  /**
2292
- * Ticket with messages (internal notes excluded).
2285
+ * Successfully deleted.
2293
2286
  */
2294
- 200: Ticket;
2287
+ 200: unknown;
2295
2288
  };
2296
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2297
- export type ReplyTicketData = {
2298
- body: {
2289
+ export type SendFeedbackData = {
2290
+ body: FeedbackCreateInput;
2291
+ path?: never;
2292
+ query?: never;
2293
+ url: '/feedback';
2294
+ };
2295
+ export type SendFeedbackErrors = {
2296
+ /**
2297
+ * Too much feedback from this organization in the last hour.
2298
+ */
2299
+ 429: unknown;
2300
+ };
2301
+ export type SendFeedbackResponses = {
2302
+ /**
2303
+ * Feedback received.
2304
+ */
2305
+ 200: Feedback;
2306
+ };
2307
+ export type SendFeedbackResponse = SendFeedbackResponses[keyof SendFeedbackResponses];
2308
+ export type QueryClusterData = {
2309
+ body?: never;
2310
+ path: {
2299
2311
  /**
2300
- * JSON-encoded TicketMessageInput.
2312
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2301
2313
  */
2302
- payload?: string;
2303
- attachments?: Array<Blob | File>;
2314
+ cluster_id: string;
2304
2315
  };
2316
+ query?: never;
2317
+ url: '/clusters/{cluster_id}/query';
2318
+ };
2319
+ export type QueryClusterErrors = {
2320
+ /**
2321
+ * Not authenticated
2322
+ */
2323
+ 401: unknown;
2324
+ };
2325
+ export type QueryClusterResponses = {
2326
+ /**
2327
+ * Kubernetes API response
2328
+ */
2329
+ 200: unknown;
2330
+ };
2331
+ export type ListFleetsData = {
2332
+ body?: never;
2305
2333
  path: {
2306
- ticket_id: string;
2334
+ /**
2335
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2336
+ */
2337
+ cluster_id: string;
2307
2338
  };
2308
2339
  query?: never;
2309
- url: '/tickets/{ticket_id}/messages';
2340
+ url: '/clusters/{cluster_id}/fleets';
2310
2341
  };
2311
- export type ReplyTicketErrors = {
2342
+ export type ListFleetsErrors = {
2312
2343
  /**
2313
- * Ticket is closed. Open a new ticket instead.
2344
+ * Not authenticated
2314
2345
  */
2315
- 409: unknown;
2346
+ 401: unknown;
2316
2347
  };
2317
- export type ReplyTicketResponses = {
2348
+ export type ListFleetsResponses = {
2318
2349
  /**
2319
- * Reply appended.
2350
+ * An array of fleets
2320
2351
  */
2321
- 200: TicketMessage;
2352
+ 200: Array<Fleet>;
2322
2353
  };
2323
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2324
- export type GetTicketAttachmentData = {
2354
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2355
+ export type CreateFleetData = {
2356
+ body: FleetCreateInput;
2357
+ path: {
2358
+ /**
2359
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2360
+ */
2361
+ cluster_id: string;
2362
+ };
2363
+ query?: never;
2364
+ url: '/clusters/{cluster_id}/fleets';
2365
+ };
2366
+ export type CreateFleetErrors = {
2367
+ /**
2368
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2369
+ */
2370
+ 402: string;
2371
+ /**
2372
+ * 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.
2373
+ */
2374
+ 409: string;
2375
+ };
2376
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2377
+ export type CreateFleetResponses = {
2378
+ /**
2379
+ * Successfully created. Returns created Fleet ID.
2380
+ */
2381
+ 200: string;
2382
+ };
2383
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2384
+ export type DeleteFleetData = {
2325
2385
  body?: never;
2326
2386
  path: {
2327
- ticket_id: string;
2328
- attachment_id: string;
2387
+ /**
2388
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2389
+ */
2390
+ cluster_id: string;
2391
+ /**
2392
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2393
+ */
2394
+ fleet_name: string;
2329
2395
  };
2330
2396
  query?: never;
2331
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2397
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2332
2398
  };
2333
- export type GetTicketAttachmentResponses = {
2399
+ export type DeleteFleetErrors = {
2334
2400
  /**
2335
- * Attachment binary stream.
2401
+ * 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.
2336
2402
  */
2337
- 200: Blob | File;
2403
+ 409: string;
2404
+ };
2405
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2406
+ export type DeleteFleetResponses = {
2407
+ /**
2408
+ * Successfully deleted.
2409
+ */
2410
+ 200: string;
2411
+ };
2412
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2413
+ export type GetFleetData = {
2414
+ body?: never;
2415
+ path: {
2416
+ /**
2417
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2418
+ */
2419
+ cluster_id: string;
2420
+ /**
2421
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2422
+ */
2423
+ fleet_name: string;
2424
+ };
2425
+ query?: never;
2426
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2427
+ };
2428
+ export type GetFleetResponses = {
2429
+ /**
2430
+ * Returns a single object containing fleet details.
2431
+ */
2432
+ 200: Fleet;
2433
+ };
2434
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2435
+ export type UpdateFleetData = {
2436
+ body: FleetUpdateInput;
2437
+ path: {
2438
+ /**
2439
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2440
+ */
2441
+ cluster_id: string;
2442
+ /**
2443
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2444
+ */
2445
+ fleet_name: string;
2446
+ };
2447
+ query?: never;
2448
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2449
+ };
2450
+ export type UpdateFleetErrors = {
2451
+ /**
2452
+ * Organization must have a valid payment method configured to access this endpoint.
2453
+ */
2454
+ 402: string;
2455
+ /**
2456
+ * 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.
2457
+ */
2458
+ 409: string;
2459
+ };
2460
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2461
+ export type UpdateFleetResponses = {
2462
+ /**
2463
+ * Successfully updated.
2464
+ */
2465
+ 200: string;
2466
+ };
2467
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2468
+ export type ListClustersData = {
2469
+ body?: never;
2470
+ path?: never;
2471
+ query?: never;
2472
+ url: '/clusters';
2473
+ };
2474
+ export type ListClustersErrors = {
2475
+ /**
2476
+ * Not authenticated
2477
+ */
2478
+ 401: unknown;
2479
+ };
2480
+ export type ListClustersResponses = {
2481
+ /**
2482
+ * An array of clusters
2483
+ */
2484
+ 200: Array<Cluster>;
2485
+ };
2486
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2487
+ export type CreateClusterData = {
2488
+ body: ClusterCreateInput;
2489
+ path?: never;
2490
+ query?: never;
2491
+ url: '/clusters';
2492
+ };
2493
+ export type CreateClusterErrors = {
2494
+ /**
2495
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2496
+ */
2497
+ 402: string;
2498
+ };
2499
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2500
+ export type CreateClusterResponses = {
2501
+ /**
2502
+ * Successfully created. Returns created Cluster ID.
2503
+ */
2504
+ 200: string;
2505
+ };
2506
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2507
+ export type DeleteClusterData = {
2508
+ body?: never;
2509
+ path: {
2510
+ /**
2511
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2512
+ */
2513
+ cluster_id: string;
2514
+ };
2515
+ query?: never;
2516
+ url: '/clusters/{cluster_id}';
2517
+ };
2518
+ export type DeleteClusterErrors = {
2519
+ /**
2520
+ * Cluster not found; it does not exist or has already been deleted.
2521
+ */
2522
+ 404: unknown;
2523
+ /**
2524
+ * 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.
2525
+ */
2526
+ 409: string;
2527
+ /**
2528
+ * Transient failure tearing down the cluster; retry the request.
2529
+ */
2530
+ 503: unknown;
2531
+ };
2532
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2533
+ export type DeleteClusterResponses = {
2534
+ /**
2535
+ * Successfully deleted. The cluster has been torn down.
2536
+ */
2537
+ 200: string;
2538
+ };
2539
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2540
+ export type GetClusterData = {
2541
+ body?: never;
2542
+ path: {
2543
+ /**
2544
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2545
+ */
2546
+ cluster_id: string;
2547
+ };
2548
+ query?: never;
2549
+ url: '/clusters/{cluster_id}';
2550
+ };
2551
+ export type GetClusterResponses = {
2552
+ /**
2553
+ * Returns a single object containing cluster details.
2554
+ */
2555
+ 200: Cluster;
2556
+ };
2557
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2558
+ export type UpdateClusterData = {
2559
+ body: ClusterUpdateInput;
2560
+ path: {
2561
+ /**
2562
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2563
+ */
2564
+ cluster_id: string;
2565
+ };
2566
+ query?: never;
2567
+ url: '/clusters/{cluster_id}';
2568
+ };
2569
+ export type UpdateClusterErrors = {
2570
+ /**
2571
+ * 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.
2572
+ */
2573
+ 409: string;
2574
+ };
2575
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2576
+ export type UpdateClusterResponses = {
2577
+ /**
2578
+ * Successfully updated. Returns updated cluster details.
2579
+ */
2580
+ 200: Cluster;
2338
2581
  };
2339
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2340
- export type ListTokensData = {
2582
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2583
+ export type GetJoinInformationData = {
2341
2584
  body?: never;
2342
- path?: never;
2585
+ path: {
2586
+ /**
2587
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2588
+ */
2589
+ cluster_id: string;
2590
+ };
2343
2591
  query?: never;
2344
- url: '/tokens';
2592
+ url: '/clusters/{cluster_id}/join_information';
2345
2593
  };
2346
- export type ListTokensErrors = {
2594
+ export type GetJoinInformationErrors = {
2347
2595
  /**
2348
2596
  * Not authenticated
2349
2597
  */
2350
2598
  401: unknown;
2599
+ /**
2600
+ * 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.
2601
+ */
2602
+ 409: string;
2603
+ /**
2604
+ * The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
2605
+ */
2606
+ 426: string;
2351
2607
  };
2352
- export type ListTokensResponses = {
2608
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2609
+ export type GetJoinInformationResponses = {
2353
2610
  /**
2354
- * Returns a list of access token details with masked secrets.
2611
+ * An object of cluster join information
2355
2612
  */
2356
- 200: Array<Token>;
2613
+ 200: ClusterJoinInformation;
2357
2614
  };
2358
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2359
- export type CreateTokenData = {
2360
- body: TokenCreateInput;
2615
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2616
+ export type GetUsageData = {
2617
+ body?: never;
2361
2618
  path?: never;
2362
- query?: never;
2363
- url: '/tokens';
2619
+ query?: {
2620
+ /**
2621
+ * 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)
2622
+ */
2623
+ granularity?: 'hourly' | 'daily' | 'monthly';
2624
+ };
2625
+ url: '/billing/usage';
2364
2626
  };
2365
- export type CreateTokenErrors = {
2627
+ export type GetUsageErrors = {
2366
2628
  /**
2367
2629
  * Not authenticated
2368
2630
  */
2369
2631
  401: unknown;
2370
2632
  };
2371
- export type CreateTokenResponses = {
2633
+ export type GetUsageResponses = {
2372
2634
  /**
2373
- * Successfully created. Returns created token details with unmasked/raw secret.
2635
+ * Usage data with facets for filtering
2374
2636
  */
2375
- 200: Token;
2637
+ 200: UsageResponse;
2376
2638
  };
2377
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2378
- export type DeleteTokenData = {
2639
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2640
+ export type GetPaymentMethodSecretData = {
2379
2641
  body?: never;
2380
- path: {
2381
- /**
2382
- * Generated unique identifier of the access token.
2383
- */
2384
- token_id: string;
2385
- };
2642
+ path?: never;
2386
2643
  query?: never;
2387
- url: '/tokens/{token_id}';
2644
+ url: '/billing/payment-method';
2388
2645
  };
2389
- export type DeleteTokenResponses = {
2646
+ export type GetPaymentMethodSecretResponses = {
2390
2647
  /**
2391
- * Successfully deleted.
2648
+ * 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.
2649
+ *
2392
2650
  */
2393
- 200: unknown;
2394
- };
2395
- export type GetTokenData = {
2396
- body?: never;
2397
- path: {
2651
+ 200: {
2398
2652
  /**
2399
- * Generated unique identifier of the access token.
2653
+ * The client secret.
2400
2654
  */
2401
- token_id: string;
2655
+ id?: string;
2402
2656
  };
2657
+ };
2658
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2659
+ export type ListPaymentMethodsData = {
2660
+ body?: never;
2661
+ path?: never;
2403
2662
  query?: never;
2404
- url: '/tokens/{token_id}';
2663
+ url: '/billing/payment-methods';
2405
2664
  };
2406
- export type GetTokenErrors = {
2665
+ export type ListPaymentMethodsErrors = {
2407
2666
  /**
2408
2667
  * Not authenticated
2409
2668
  */
2410
2669
  401: unknown;
2411
2670
  };
2412
- export type GetTokenResponses = {
2671
+ export type ListPaymentMethodsResponses = {
2413
2672
  /**
2414
- * Returns access token details with masked secret.
2673
+ * An array of payment methods.
2415
2674
  */
2416
- 200: Token;
2675
+ 200: Array<PaymentMethod>;
2417
2676
  };
2418
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2419
- export type UpdateTokenData = {
2420
- body: TokenUpdateInput;
2677
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2678
+ export type SetDefaultPaymentMethodData = {
2679
+ body?: never;
2421
2680
  path: {
2422
2681
  /**
2423
- * Generated unique identifier of the access token.
2682
+ * Stripe payment method identifier.
2424
2683
  */
2425
- token_id: string;
2684
+ paymentMethodId: string;
2426
2685
  };
2427
2686
  query?: never;
2428
- url: '/tokens/{token_id}';
2687
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2429
2688
  };
2430
- export type UpdateTokenErrors = {
2689
+ export type SetDefaultPaymentMethodErrors = {
2690
+ /**
2691
+ * The bank transfer payment method cannot be set as the default.
2692
+ */
2693
+ 400: unknown;
2431
2694
  /**
2432
2695
  * Not authenticated
2433
2696
  */
2434
2697
  401: unknown;
2698
+ /**
2699
+ * Payment method not found.
2700
+ */
2701
+ 404: unknown;
2435
2702
  };
2436
- export type UpdateTokenResponses = {
2703
+ export type SetDefaultPaymentMethodResponses = {
2437
2704
  /**
2438
- * Successfully updated. Returns updated token details with masked secret.
2705
+ * Default payment method updated.
2439
2706
  */
2440
- 200: Token;
2707
+ 204: void;
2441
2708
  };
2442
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2443
- export type RegenerateTokenData = {
2709
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2710
+ export type DeletePaymentMethodData = {
2444
2711
  body?: never;
2445
2712
  path: {
2446
2713
  /**
2447
- * Generated unique identifier of the access token.
2714
+ * Stripe payment method identifier.
2448
2715
  */
2449
- token_id: string;
2716
+ paymentMethodId: string;
2450
2717
  };
2451
2718
  query?: never;
2452
- url: '/tokens/{token_id}/secret';
2719
+ url: '/billing/payment-methods/{paymentMethodId}';
2453
2720
  };
2454
- export type RegenerateTokenErrors = {
2721
+ export type DeletePaymentMethodErrors = {
2722
+ /**
2723
+ * The bank transfer payment method cannot be removed.
2724
+ */
2725
+ 400: unknown;
2455
2726
  /**
2456
2727
  * Not authenticated
2457
2728
  */
2458
2729
  401: unknown;
2730
+ /**
2731
+ * Payment method not found.
2732
+ */
2733
+ 404: unknown;
2734
+ /**
2735
+ * Cannot delete the only remaining payment method.
2736
+ */
2737
+ 409: unknown;
2459
2738
  };
2460
- export type RegenerateTokenResponses = {
2739
+ export type DeletePaymentMethodResponses = {
2461
2740
  /**
2462
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2741
+ * Payment method deleted.
2463
2742
  */
2464
- 200: Token;
2743
+ 204: void;
2465
2744
  };
2466
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2467
- export type ListUserOrganizationsData = {
2745
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2746
+ export type ListInvoicesData = {
2468
2747
  body?: never;
2469
- path: {
2470
- /**
2471
- * User email address.
2472
- */
2473
- email: string;
2474
- };
2748
+ path?: never;
2475
2749
  query?: never;
2476
- url: '/users/organizations/{email}';
2750
+ url: '/billing/invoices';
2477
2751
  };
2478
- export type ListUserOrganizationsResponses = {
2752
+ export type ListInvoicesErrors = {
2479
2753
  /**
2480
- * An array of organizations the user belongs to.
2754
+ * Not authenticated
2481
2755
  */
2482
- 200: Array<{
2483
- /**
2484
- * Unique identifier of the organization. UUID v4 string in canonical form
2485
- */
2486
- realm?: string;
2487
- /**
2488
- * Human-readable name of the organization
2489
- */
2490
- displayName?: string;
2491
- }>;
2756
+ 401: unknown;
2492
2757
  };
2493
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2494
- export type ListUsersData = {
2758
+ export type ListInvoicesResponses = {
2759
+ /**
2760
+ * An array of usage records.
2761
+ */
2762
+ 200: Array<Invoice>;
2763
+ };
2764
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2765
+ export type PayOpenInvoicesData = {
2495
2766
  body?: never;
2496
2767
  path?: never;
2497
2768
  query?: never;
2498
- url: '/users';
2769
+ url: '/billing/invoices/pay';
2499
2770
  };
2500
- export type ListUsersErrors = {
2771
+ export type PayOpenInvoicesErrors = {
2772
+ /**
2773
+ * The organization has no payment method that can be charged.
2774
+ */
2775
+ 400: unknown;
2501
2776
  /**
2502
2777
  * Not authenticated
2503
2778
  */
2504
2779
  401: unknown;
2780
+ /**
2781
+ * Too many payment attempts for this organization.
2782
+ */
2783
+ 429: unknown;
2505
2784
  };
2506
- export type ListUsersResponses = {
2785
+ export type PayOpenInvoicesResponses = {
2507
2786
  /**
2508
- * An array of users
2787
+ * The outcome of the attempt.
2509
2788
  */
2510
- 200: Array<User>;
2789
+ 200: InvoicePaymentResult;
2511
2790
  };
2512
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2513
- export type CreateUserData = {
2514
- body: UserCreateInput;
2791
+ export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
2792
+ export type GetContactData = {
2793
+ body?: never;
2515
2794
  path?: never;
2516
2795
  query?: never;
2517
- url: '/users';
2796
+ url: '/billing/contact';
2518
2797
  };
2519
- export type CreateUserResponses = {
2798
+ export type GetContactResponses = {
2520
2799
  /**
2521
- * Successfully created. Returns created user details.
2800
+ * Returns a single object containing organization contact and billing address details.
2522
2801
  */
2523
- 200: User;
2802
+ 200: BillingContact;
2524
2803
  };
2525
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2526
- export type DeleteUserData = {
2527
- body?: never;
2528
- path: {
2529
- /**
2530
- * Unique user identifier. UUID v4 string in canonical form
2531
- */
2532
- user_id: string;
2533
- };
2804
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2805
+ export type UpdateContactData = {
2806
+ body: BillingContact;
2807
+ path?: never;
2534
2808
  query?: never;
2535
- url: '/users/{user_id}';
2809
+ url: '/billing/contact';
2536
2810
  };
2537
- export type DeleteUserErrors = {
2811
+ export type UpdateContactResponses = {
2538
2812
  /**
2539
- * Deleting own user is not allowed. Delete your organization instead.
2813
+ * Successfully updated. Returns updated organization details.
2540
2814
  */
2541
- 400: unknown;
2815
+ 200: BillingContact;
2816
+ };
2817
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2818
+ export type GetCreditsData = {
2819
+ body?: never;
2820
+ path?: never;
2821
+ query?: never;
2822
+ url: '/billing/credits';
2823
+ };
2824
+ export type GetCreditsErrors = {
2542
2825
  /**
2543
2826
  * Not authenticated
2544
2827
  */
2545
2828
  401: unknown;
2546
2829
  };
2547
- export type DeleteUserResponses = {
2830
+ export type GetCreditsResponses = {
2548
2831
  /**
2549
- * User profile information
2832
+ * An array of the applied promotional credits records.
2550
2833
  */
2551
- 200: User;
2834
+ 200: Array<BillingCredits>;
2552
2835
  };
2553
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2554
- export type GetUserData = {
2555
- body?: never;
2556
- path: {
2836
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2837
+ export type RedeemCreditsData = {
2838
+ body: {
2557
2839
  /**
2558
- * Unique user identifier. UUID v4 string in canonical form
2840
+ * Promotional code to redeem
2559
2841
  */
2560
- user_id: string;
2842
+ code?: string;
2561
2843
  };
2844
+ path?: never;
2562
2845
  query?: never;
2563
- url: '/users/{user_id}';
2846
+ url: '/billing/credits';
2564
2847
  };
2565
- export type GetUserErrors = {
2848
+ export type RedeemCreditsErrors = {
2566
2849
  /**
2567
2850
  * Not authenticated
2568
2851
  */
2569
2852
  401: unknown;
2570
2853
  };
2571
- export type GetUserResponses = {
2572
- /**
2573
- * User profile information
2574
- */
2575
- 200: User;
2576
- };
2577
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2578
- export type UpdateUserData = {
2579
- body: UserUpdateInput;
2580
- path: {
2581
- /**
2582
- * Unique user identifier. UUID v4 string in canonical form
2583
- */
2584
- user_id: string;
2585
- };
2586
- query?: never;
2587
- url: '/users/{user_id}';
2588
- };
2589
- export type UpdateUserResponses = {
2854
+ export type RedeemCreditsResponses = {
2590
2855
  /**
2591
- * Successfully created. Returns created user details.
2856
+ * Successfully created a new organization.
2592
2857
  */
2593
- 200: User;
2858
+ 200: unknown;
2594
2859
  };
2595
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2596
2860
  //# sourceMappingURL=types.gen.d.ts.map