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