@cloudfleet/sdk 0.0.1-081916a → 0.0.1-0880dd0
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 +436 -325
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +467 -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 +895 -116
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1825 -192
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +249 -196
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +358 -274
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1439 -771
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3365 -1207
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1258 -296
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
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,6 +243,10 @@ 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
|
*/
|
|
@@ -237,6 +294,9 @@ export type ClusterJoinInformation = {
|
|
|
237
294
|
gcp_workload_identity_provider: string;
|
|
238
295
|
};
|
|
239
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
299
|
+
*/
|
|
240
300
|
export type Cluster = {
|
|
241
301
|
/**
|
|
242
302
|
* Name of the cluster.
|
|
@@ -245,20 +305,71 @@ export type Cluster = {
|
|
|
245
305
|
/**
|
|
246
306
|
* Tier of the cluster.
|
|
247
307
|
*/
|
|
248
|
-
tier: 'basic' | 'pro';
|
|
308
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
249
309
|
/**
|
|
250
|
-
*
|
|
310
|
+
* Version of the kubernetes cluster.
|
|
311
|
+
*/
|
|
312
|
+
version_channel: string;
|
|
313
|
+
/**
|
|
314
|
+
* Release channel for the cluster's control plane.
|
|
315
|
+
*/
|
|
316
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
317
|
+
/**
|
|
318
|
+
* Cluster feature toggles.
|
|
319
|
+
*/
|
|
320
|
+
features: {
|
|
321
|
+
/**
|
|
322
|
+
* GPU sharing strategy.
|
|
323
|
+
*/
|
|
324
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
325
|
+
/**
|
|
326
|
+
* Maximum number of pods that may share a single GPU.
|
|
327
|
+
*/
|
|
328
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
329
|
+
/**
|
|
330
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
331
|
+
*/
|
|
332
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
336
|
+
*/
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
251
340
|
*/
|
|
252
|
-
|
|
341
|
+
networking: {
|
|
342
|
+
/**
|
|
343
|
+
* CIDR block for pod IPs.
|
|
344
|
+
*/
|
|
345
|
+
pod_cidr: string;
|
|
346
|
+
/**
|
|
347
|
+
* CIDR block for service IPs.
|
|
348
|
+
*/
|
|
349
|
+
service_cidr: string;
|
|
350
|
+
/**
|
|
351
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
352
|
+
*/
|
|
353
|
+
dual_stack: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
356
|
+
*/
|
|
357
|
+
pod_cidr_v6: string;
|
|
358
|
+
/**
|
|
359
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
360
|
+
*/
|
|
361
|
+
service_cidr_v6: string;
|
|
362
|
+
};
|
|
253
363
|
/**
|
|
254
364
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
365
|
*/
|
|
256
366
|
id: string;
|
|
257
367
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
368
|
+
* Status of the cluster.
|
|
259
369
|
*/
|
|
260
|
-
status: '
|
|
370
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
371
|
endpoint?: string | '';
|
|
372
|
+
endpoint_public?: string | '';
|
|
262
373
|
/**
|
|
263
374
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
375
|
*/
|
|
@@ -278,129 +389,259 @@ export type Cluster = {
|
|
|
278
389
|
/**
|
|
279
390
|
* Indicates if the cluster is ready to be used.
|
|
280
391
|
*/
|
|
281
|
-
ready
|
|
282
|
-
/**
|
|
283
|
-
* Version of the kubernetes cluster.
|
|
284
|
-
*/
|
|
285
|
-
version_channel?: string;
|
|
392
|
+
ready: boolean;
|
|
286
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
396
|
+
*/
|
|
287
397
|
export type ClusterUpdateInput = {
|
|
288
398
|
/**
|
|
289
399
|
* Name of the cluster.
|
|
290
400
|
*/
|
|
291
|
-
name
|
|
401
|
+
name: string;
|
|
292
402
|
/**
|
|
293
403
|
* Tier of the cluster.
|
|
294
404
|
*/
|
|
295
|
-
tier
|
|
405
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
296
406
|
/**
|
|
297
407
|
* Version of the kubernetes cluster.
|
|
298
408
|
*/
|
|
299
409
|
version_channel?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Release channel for the cluster's control plane.
|
|
412
|
+
*/
|
|
413
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
414
|
+
/**
|
|
415
|
+
* Cluster feature toggles.
|
|
416
|
+
*/
|
|
417
|
+
features?: {
|
|
418
|
+
/**
|
|
419
|
+
* GPU sharing strategy.
|
|
420
|
+
*/
|
|
421
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
422
|
+
/**
|
|
423
|
+
* Maximum number of pods that may share a single GPU.
|
|
424
|
+
*/
|
|
425
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
426
|
+
/**
|
|
427
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
428
|
+
*/
|
|
429
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
430
|
+
};
|
|
300
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
434
|
+
*/
|
|
301
435
|
export type FleetCreateInput = {
|
|
302
436
|
/**
|
|
303
437
|
* Limits define a set of bounds for provisioning capacity.
|
|
304
438
|
*/
|
|
305
439
|
limits?: {
|
|
306
440
|
/**
|
|
307
|
-
* CPU limit in cores.
|
|
441
|
+
* CPU limit in cores. Maximum 100,000.
|
|
308
442
|
*/
|
|
309
|
-
cpu
|
|
443
|
+
cpu?: number;
|
|
310
444
|
};
|
|
311
445
|
gcp?: {
|
|
312
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
313
447
|
/**
|
|
314
|
-
*
|
|
448
|
+
* 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
449
|
*/
|
|
316
|
-
project
|
|
450
|
+
project?: string;
|
|
317
451
|
};
|
|
318
452
|
hetzner?: {
|
|
319
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
320
454
|
/**
|
|
321
|
-
* Hetzner Cloud API
|
|
455
|
+
* 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
456
|
*/
|
|
323
|
-
apiKey
|
|
457
|
+
apiKey?: string;
|
|
324
458
|
};
|
|
325
459
|
aws?: {
|
|
326
|
-
enabled
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
463
|
+
*/
|
|
464
|
+
controllerRoleArn?: string;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* 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.
|
|
468
|
+
*/
|
|
469
|
+
constraints?: {
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
472
|
+
*/
|
|
473
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
474
|
+
/**
|
|
475
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
476
|
+
*/
|
|
477
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
327
478
|
/**
|
|
328
|
-
*
|
|
479
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
329
480
|
*/
|
|
330
|
-
|
|
481
|
+
'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'>;
|
|
482
|
+
/**
|
|
483
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
484
|
+
*/
|
|
485
|
+
'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
486
|
};
|
|
487
|
+
/**
|
|
488
|
+
* 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`).
|
|
489
|
+
*/
|
|
490
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
332
491
|
/**
|
|
333
492
|
* Unique identifier of the kubernetes fleet.
|
|
334
493
|
*/
|
|
335
494
|
id: string;
|
|
336
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
498
|
+
*/
|
|
337
499
|
export type Fleet = {
|
|
338
500
|
/**
|
|
339
501
|
* Limits define a set of bounds for provisioning capacity.
|
|
340
502
|
*/
|
|
341
503
|
limits?: {
|
|
342
504
|
/**
|
|
343
|
-
* CPU limit in cores.
|
|
505
|
+
* CPU limit in cores. Maximum 100,000.
|
|
344
506
|
*/
|
|
345
|
-
cpu
|
|
507
|
+
cpu?: number;
|
|
346
508
|
};
|
|
347
509
|
gcp?: {
|
|
348
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
349
511
|
/**
|
|
350
|
-
*
|
|
512
|
+
* 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
513
|
*/
|
|
352
|
-
project
|
|
514
|
+
project?: string;
|
|
353
515
|
};
|
|
354
516
|
hetzner?: {
|
|
355
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
356
518
|
/**
|
|
357
|
-
* Hetzner
|
|
519
|
+
* 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
520
|
*/
|
|
359
|
-
apiKey
|
|
521
|
+
apiKey?: string;
|
|
360
522
|
};
|
|
361
523
|
aws?: {
|
|
362
|
-
enabled
|
|
524
|
+
enabled: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
527
|
+
*/
|
|
528
|
+
controllerRoleArn?: string;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* 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.
|
|
532
|
+
*/
|
|
533
|
+
constraints: {
|
|
534
|
+
/**
|
|
535
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
536
|
+
*/
|
|
537
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
538
|
+
/**
|
|
539
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
540
|
+
*/
|
|
541
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
542
|
+
/**
|
|
543
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
544
|
+
*/
|
|
545
|
+
'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
546
|
/**
|
|
364
|
-
*
|
|
547
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
365
548
|
*/
|
|
366
|
-
|
|
549
|
+
'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
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* 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`).
|
|
553
|
+
*/
|
|
554
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
368
555
|
/**
|
|
369
556
|
* Unique identifier of the kubernetes fleet.
|
|
370
557
|
*/
|
|
371
558
|
id: string;
|
|
559
|
+
/**
|
|
560
|
+
* Indicates whether the fleet configuration is healthy.
|
|
561
|
+
*/
|
|
562
|
+
ready: boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
565
|
+
*/
|
|
566
|
+
status_message?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Creation date and time of the fleet.
|
|
569
|
+
*/
|
|
570
|
+
created_at: string;
|
|
571
|
+
/**
|
|
572
|
+
* Date and time the fleet was last updated.
|
|
573
|
+
*/
|
|
574
|
+
updated_at: string;
|
|
372
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
578
|
+
*/
|
|
373
579
|
export type FleetUpdateInput = {
|
|
374
580
|
/**
|
|
375
581
|
* Limits define a set of bounds for provisioning capacity.
|
|
376
582
|
*/
|
|
377
583
|
limits?: {
|
|
378
584
|
/**
|
|
379
|
-
* CPU limit in cores.
|
|
585
|
+
* CPU limit in cores. Maximum 100,000.
|
|
380
586
|
*/
|
|
381
|
-
cpu
|
|
587
|
+
cpu?: number;
|
|
382
588
|
};
|
|
383
589
|
gcp?: {
|
|
384
|
-
enabled
|
|
590
|
+
enabled: boolean;
|
|
385
591
|
/**
|
|
386
|
-
*
|
|
592
|
+
* 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
593
|
*/
|
|
388
|
-
project
|
|
594
|
+
project?: string;
|
|
389
595
|
};
|
|
390
596
|
hetzner?: {
|
|
391
|
-
enabled
|
|
597
|
+
enabled: boolean;
|
|
392
598
|
/**
|
|
393
|
-
* Hetzner Cloud API
|
|
599
|
+
* 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
600
|
*/
|
|
395
|
-
apiKey
|
|
601
|
+
apiKey?: string;
|
|
396
602
|
};
|
|
397
603
|
aws?: {
|
|
398
|
-
enabled
|
|
604
|
+
enabled: boolean;
|
|
605
|
+
/**
|
|
606
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
607
|
+
*/
|
|
608
|
+
controllerRoleArn?: string;
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* 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.
|
|
612
|
+
*/
|
|
613
|
+
constraints?: {
|
|
614
|
+
/**
|
|
615
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
616
|
+
*/
|
|
617
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
618
|
+
/**
|
|
619
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
620
|
+
*/
|
|
621
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
622
|
+
/**
|
|
623
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
624
|
+
*/
|
|
625
|
+
'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
626
|
/**
|
|
400
|
-
*
|
|
627
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
401
628
|
*/
|
|
402
|
-
|
|
629
|
+
'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
630
|
};
|
|
631
|
+
/**
|
|
632
|
+
* 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`).
|
|
633
|
+
*/
|
|
634
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
635
|
+
};
|
|
636
|
+
export type InviteCreateInput = {
|
|
637
|
+
/**
|
|
638
|
+
* Email address of the user to invite.
|
|
639
|
+
*/
|
|
640
|
+
email: string;
|
|
641
|
+
/**
|
|
642
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
643
|
+
*/
|
|
644
|
+
role?: 'Administrator' | 'User';
|
|
404
645
|
};
|
|
405
646
|
export type Invite = {
|
|
406
647
|
/**
|
|
@@ -423,6 +664,10 @@ export type Invite = {
|
|
|
423
664
|
* Generated unique invite code.
|
|
424
665
|
*/
|
|
425
666
|
code?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
669
|
+
*/
|
|
670
|
+
role?: 'Administrator' | 'User';
|
|
426
671
|
};
|
|
427
672
|
export type Invoice = {
|
|
428
673
|
/**
|
|
@@ -543,6 +788,10 @@ export type MarketplaceListing = {
|
|
|
543
788
|
};
|
|
544
789
|
};
|
|
545
790
|
export type OrganizationCreateInput = {
|
|
791
|
+
/**
|
|
792
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
793
|
+
*/
|
|
794
|
+
type: 'business' | 'personal';
|
|
546
795
|
/**
|
|
547
796
|
* Email address used for billing as a string.
|
|
548
797
|
*/
|
|
@@ -564,6 +813,12 @@ export type OrganizationCreateInput = {
|
|
|
564
813
|
*/
|
|
565
814
|
password: string;
|
|
566
815
|
};
|
|
816
|
+
export type OrganizationCreateOutput = {
|
|
817
|
+
/**
|
|
818
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
819
|
+
*/
|
|
820
|
+
id: string;
|
|
821
|
+
};
|
|
567
822
|
export type Organization = {
|
|
568
823
|
/**
|
|
569
824
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -573,6 +828,10 @@ export type Organization = {
|
|
|
573
828
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
829
|
*/
|
|
575
830
|
name?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
833
|
+
*/
|
|
834
|
+
type: 'business' | 'personal';
|
|
576
835
|
/**
|
|
577
836
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
837
|
*/
|
|
@@ -597,6 +856,14 @@ export type Organization = {
|
|
|
597
856
|
* Available number of Pro clusters that can be created.
|
|
598
857
|
*/
|
|
599
858
|
pro_clusters_available: number;
|
|
859
|
+
/**
|
|
860
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
861
|
+
*/
|
|
862
|
+
enterprise_clusters_max: number;
|
|
863
|
+
/**
|
|
864
|
+
* Available number of Enterprise clusters that can be created.
|
|
865
|
+
*/
|
|
866
|
+
enterprise_clusters_available: number;
|
|
600
867
|
/**
|
|
601
868
|
* Maximum number of fleets that can be created per cluster.
|
|
602
869
|
*/
|
|
@@ -631,36 +898,52 @@ export type Organization = {
|
|
|
631
898
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
899
|
*/
|
|
633
900
|
status: 'active' | 'closed' | 'suspended';
|
|
901
|
+
/**
|
|
902
|
+
* 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.
|
|
903
|
+
*/
|
|
904
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
634
905
|
};
|
|
635
906
|
export type PaymentMethod = {
|
|
636
907
|
/**
|
|
637
|
-
*
|
|
908
|
+
* 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
909
|
*/
|
|
639
910
|
id: string;
|
|
640
911
|
/**
|
|
641
|
-
*
|
|
642
|
-
*/
|
|
643
|
-
setup: boolean;
|
|
644
|
-
/**
|
|
645
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
912
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
646
913
|
*/
|
|
647
|
-
type: 'card';
|
|
914
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
648
915
|
/**
|
|
649
|
-
* Last 4 digits of the payment card number.
|
|
916
|
+
* 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
917
|
*/
|
|
651
918
|
last4: string;
|
|
652
919
|
/**
|
|
653
|
-
* Two-digit number representing the card's expiration month.
|
|
920
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
654
921
|
*/
|
|
655
922
|
exp_month: number;
|
|
656
923
|
/**
|
|
657
|
-
* Four-digit number representing the card's expiration year.
|
|
924
|
+
* 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
925
|
*/
|
|
659
926
|
exp_year: number;
|
|
660
927
|
/**
|
|
661
|
-
* Payment card brand
|
|
928
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
929
|
+
*/
|
|
930
|
+
brand: string;
|
|
931
|
+
/**
|
|
932
|
+
* 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.
|
|
933
|
+
*/
|
|
934
|
+
iban: string;
|
|
935
|
+
/**
|
|
936
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
937
|
+
*/
|
|
938
|
+
bic: string;
|
|
939
|
+
/**
|
|
940
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
941
|
+
*/
|
|
942
|
+
account_holder_name: string;
|
|
943
|
+
/**
|
|
944
|
+
* 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).
|
|
662
945
|
*/
|
|
663
|
-
|
|
946
|
+
is_default: boolean;
|
|
664
947
|
};
|
|
665
948
|
export type PlatformQuota = {
|
|
666
949
|
/**
|
|
@@ -679,6 +962,14 @@ export type PlatformQuota = {
|
|
|
679
962
|
* Available number of Pro clusters that can be created.
|
|
680
963
|
*/
|
|
681
964
|
pro_clusters_available: number;
|
|
965
|
+
/**
|
|
966
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
967
|
+
*/
|
|
968
|
+
enterprise_clusters_max: number;
|
|
969
|
+
/**
|
|
970
|
+
* Available number of Enterprise clusters that can be created.
|
|
971
|
+
*/
|
|
972
|
+
enterprise_clusters_available: number;
|
|
682
973
|
/**
|
|
683
974
|
* Maximum number of fleets that can be created per cluster.
|
|
684
975
|
*/
|
|
@@ -857,137 +1148,304 @@ export type RegistryTag = {
|
|
|
857
1148
|
*/
|
|
858
1149
|
uri: string;
|
|
859
1150
|
};
|
|
860
|
-
export type
|
|
1151
|
+
export type TicketAttachment = {
|
|
861
1152
|
/**
|
|
862
|
-
*
|
|
1153
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
863
1154
|
*/
|
|
864
|
-
|
|
1155
|
+
id: string;
|
|
865
1156
|
/**
|
|
866
|
-
*
|
|
1157
|
+
* Original filename as uploaded.
|
|
867
1158
|
*/
|
|
868
|
-
|
|
869
|
-
};
|
|
870
|
-
export type Token = {
|
|
1159
|
+
filename: string;
|
|
871
1160
|
/**
|
|
872
|
-
*
|
|
1161
|
+
* MIME content type of the attachment.
|
|
873
1162
|
*/
|
|
874
|
-
|
|
1163
|
+
content_type: string;
|
|
875
1164
|
/**
|
|
876
|
-
*
|
|
1165
|
+
* Size of the attachment in bytes.
|
|
877
1166
|
*/
|
|
878
|
-
|
|
1167
|
+
size: number;
|
|
1168
|
+
};
|
|
1169
|
+
export type TicketCreateInput = {
|
|
879
1170
|
/**
|
|
880
|
-
*
|
|
1171
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
881
1172
|
*/
|
|
882
|
-
|
|
1173
|
+
category: 'billing' | 'technical' | 'general';
|
|
883
1174
|
/**
|
|
884
|
-
*
|
|
1175
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
885
1176
|
*/
|
|
886
|
-
|
|
1177
|
+
body: string;
|
|
887
1178
|
/**
|
|
888
|
-
*
|
|
1179
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
889
1180
|
*/
|
|
890
|
-
|
|
1181
|
+
properties?: {
|
|
1182
|
+
[key: string]: unknown;
|
|
1183
|
+
};
|
|
891
1184
|
};
|
|
892
|
-
export type
|
|
1185
|
+
export type TicketMessageInput = {
|
|
893
1186
|
/**
|
|
894
|
-
*
|
|
1187
|
+
* Reply body in markdown.
|
|
895
1188
|
*/
|
|
896
|
-
|
|
1189
|
+
body: string;
|
|
1190
|
+
};
|
|
1191
|
+
export type TicketMessage = {
|
|
897
1192
|
/**
|
|
898
|
-
*
|
|
1193
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
899
1194
|
*/
|
|
900
|
-
|
|
901
|
-
};
|
|
902
|
-
export type UsageFacets = {
|
|
1195
|
+
id: string;
|
|
903
1196
|
/**
|
|
904
|
-
*
|
|
1197
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
905
1198
|
*/
|
|
906
|
-
|
|
1199
|
+
type: 'customer_reply' | 'agent_reply';
|
|
907
1200
|
/**
|
|
908
|
-
*
|
|
1201
|
+
* Message body in markdown.
|
|
909
1202
|
*/
|
|
910
|
-
|
|
911
|
-
};
|
|
912
|
-
export type UsageResponse = {
|
|
1203
|
+
body: string;
|
|
913
1204
|
/**
|
|
914
|
-
*
|
|
1205
|
+
* First name of the author. Null when not provided.
|
|
915
1206
|
*/
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
1207
|
+
author_first_name?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Last name of the author. Null when not provided.
|
|
1210
|
+
*/
|
|
1211
|
+
author_last_name?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* Attachments associated with this message.
|
|
1214
|
+
*/
|
|
1215
|
+
attachments?: Array<{
|
|
925
1216
|
/**
|
|
926
|
-
*
|
|
1217
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
927
1218
|
*/
|
|
928
|
-
|
|
1219
|
+
id: string;
|
|
929
1220
|
/**
|
|
930
|
-
*
|
|
1221
|
+
* Original filename as uploaded.
|
|
931
1222
|
*/
|
|
932
|
-
|
|
1223
|
+
filename: string;
|
|
933
1224
|
/**
|
|
934
|
-
*
|
|
1225
|
+
* MIME content type of the attachment.
|
|
935
1226
|
*/
|
|
936
|
-
|
|
1227
|
+
content_type: string;
|
|
937
1228
|
/**
|
|
938
|
-
*
|
|
1229
|
+
* Size of the attachment in bytes.
|
|
939
1230
|
*/
|
|
940
|
-
|
|
1231
|
+
size: number;
|
|
941
1232
|
}>;
|
|
942
1233
|
/**
|
|
943
|
-
*
|
|
1234
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
944
1235
|
*/
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* List of unique cluster IDs
|
|
948
|
-
*/
|
|
949
|
-
cluster_id?: Array<string>;
|
|
950
|
-
/**
|
|
951
|
-
* List of unique products
|
|
952
|
-
*/
|
|
953
|
-
product?: Array<string>;
|
|
954
|
-
};
|
|
1236
|
+
date_created: string;
|
|
955
1237
|
};
|
|
956
|
-
export type
|
|
1238
|
+
export type Ticket = {
|
|
957
1239
|
/**
|
|
958
|
-
*
|
|
1240
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
959
1241
|
*/
|
|
960
|
-
|
|
1242
|
+
id: string;
|
|
961
1243
|
/**
|
|
962
|
-
*
|
|
1244
|
+
* Current state of the ticket.
|
|
963
1245
|
*/
|
|
964
|
-
|
|
1246
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
965
1247
|
/**
|
|
966
|
-
*
|
|
1248
|
+
* Ticket category.
|
|
967
1249
|
*/
|
|
968
|
-
|
|
1250
|
+
category: 'billing' | 'technical' | 'general';
|
|
969
1251
|
/**
|
|
970
|
-
*
|
|
1252
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
971
1253
|
*/
|
|
972
|
-
|
|
1254
|
+
summary: string;
|
|
973
1255
|
/**
|
|
974
|
-
*
|
|
1256
|
+
* Closure timestamp. Null while the ticket is open.
|
|
975
1257
|
*/
|
|
976
|
-
|
|
1258
|
+
closed_at?: string;
|
|
977
1259
|
/**
|
|
978
|
-
*
|
|
1260
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
979
1261
|
*/
|
|
980
|
-
|
|
981
|
-
};
|
|
982
|
-
export type UserCreateInput = {
|
|
1262
|
+
date_created: string;
|
|
983
1263
|
/**
|
|
984
|
-
*
|
|
1264
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
985
1265
|
*/
|
|
986
|
-
|
|
1266
|
+
date_updated: string;
|
|
987
1267
|
/**
|
|
988
|
-
*
|
|
1268
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
989
1269
|
*/
|
|
990
|
-
|
|
1270
|
+
messages?: Array<{
|
|
1271
|
+
/**
|
|
1272
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1273
|
+
*/
|
|
1274
|
+
id: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1277
|
+
*/
|
|
1278
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1279
|
+
/**
|
|
1280
|
+
* Message body in markdown.
|
|
1281
|
+
*/
|
|
1282
|
+
body: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* First name of the author. Null when not provided.
|
|
1285
|
+
*/
|
|
1286
|
+
author_first_name?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* Last name of the author. Null when not provided.
|
|
1289
|
+
*/
|
|
1290
|
+
author_last_name?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Attachments associated with this message.
|
|
1293
|
+
*/
|
|
1294
|
+
attachments?: Array<{
|
|
1295
|
+
/**
|
|
1296
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1297
|
+
*/
|
|
1298
|
+
id: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* Original filename as uploaded.
|
|
1301
|
+
*/
|
|
1302
|
+
filename: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* MIME content type of the attachment.
|
|
1305
|
+
*/
|
|
1306
|
+
content_type: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Size of the attachment in bytes.
|
|
1309
|
+
*/
|
|
1310
|
+
size: number;
|
|
1311
|
+
}>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1314
|
+
*/
|
|
1315
|
+
date_created: string;
|
|
1316
|
+
}>;
|
|
1317
|
+
};
|
|
1318
|
+
export type TokenCreateInput = {
|
|
1319
|
+
/**
|
|
1320
|
+
* Human readable access token name.
|
|
1321
|
+
*/
|
|
1322
|
+
name: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* Role assumed by the token.
|
|
1325
|
+
*/
|
|
1326
|
+
role: 'Administrator' | 'User';
|
|
1327
|
+
};
|
|
1328
|
+
export type Token = {
|
|
1329
|
+
/**
|
|
1330
|
+
* Human readable access token name.
|
|
1331
|
+
*/
|
|
1332
|
+
name: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Role assumed by the token.
|
|
1335
|
+
*/
|
|
1336
|
+
role: 'Administrator' | 'User';
|
|
1337
|
+
/**
|
|
1338
|
+
* Generated unique identifier of the access token.
|
|
1339
|
+
*/
|
|
1340
|
+
id?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Access token secret. Unmasked only during creation.
|
|
1343
|
+
*/
|
|
1344
|
+
secret?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
1347
|
+
*/
|
|
1348
|
+
date_created: string;
|
|
1349
|
+
};
|
|
1350
|
+
export type TokenUpdateInput = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Human readable access token name.
|
|
1353
|
+
*/
|
|
1354
|
+
name?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Role assumed by the token.
|
|
1357
|
+
*/
|
|
1358
|
+
role?: 'Administrator' | 'User';
|
|
1359
|
+
};
|
|
1360
|
+
export type UsageFacets = {
|
|
1361
|
+
/**
|
|
1362
|
+
* List of unique cluster IDs
|
|
1363
|
+
*/
|
|
1364
|
+
cluster_id?: Array<string>;
|
|
1365
|
+
/**
|
|
1366
|
+
* List of unique products
|
|
1367
|
+
*/
|
|
1368
|
+
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'>;
|
|
1369
|
+
};
|
|
1370
|
+
export type UsageResponse = {
|
|
1371
|
+
/**
|
|
1372
|
+
* Usage data
|
|
1373
|
+
*/
|
|
1374
|
+
data: Array<{
|
|
1375
|
+
/**
|
|
1376
|
+
* Hour of the usage
|
|
1377
|
+
*/
|
|
1378
|
+
hour: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1381
|
+
*/
|
|
1382
|
+
cluster_id: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* The product the usage is associated with
|
|
1385
|
+
*/
|
|
1386
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1387
|
+
/**
|
|
1388
|
+
* Consumption
|
|
1389
|
+
*/
|
|
1390
|
+
value: number;
|
|
1391
|
+
/**
|
|
1392
|
+
* Price per unit
|
|
1393
|
+
*/
|
|
1394
|
+
price: number;
|
|
1395
|
+
/**
|
|
1396
|
+
* Total cost
|
|
1397
|
+
*/
|
|
1398
|
+
total: number;
|
|
1399
|
+
}>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Facets for filtering
|
|
1402
|
+
*/
|
|
1403
|
+
facets: {
|
|
1404
|
+
/**
|
|
1405
|
+
* List of unique cluster IDs
|
|
1406
|
+
*/
|
|
1407
|
+
cluster_id?: Array<string>;
|
|
1408
|
+
/**
|
|
1409
|
+
* List of unique products
|
|
1410
|
+
*/
|
|
1411
|
+
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'>;
|
|
1412
|
+
};
|
|
1413
|
+
};
|
|
1414
|
+
export type Usage = {
|
|
1415
|
+
/**
|
|
1416
|
+
* Hour of the usage
|
|
1417
|
+
*/
|
|
1418
|
+
hour: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1421
|
+
*/
|
|
1422
|
+
cluster_id: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* The product the usage is associated with
|
|
1425
|
+
*/
|
|
1426
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
1427
|
+
/**
|
|
1428
|
+
* Consumption
|
|
1429
|
+
*/
|
|
1430
|
+
value: number;
|
|
1431
|
+
/**
|
|
1432
|
+
* Price per unit
|
|
1433
|
+
*/
|
|
1434
|
+
price: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* Total cost
|
|
1437
|
+
*/
|
|
1438
|
+
total: number;
|
|
1439
|
+
};
|
|
1440
|
+
export type UserCreateInput = {
|
|
1441
|
+
/**
|
|
1442
|
+
* User email address.
|
|
1443
|
+
*/
|
|
1444
|
+
email: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* User first name.
|
|
1447
|
+
*/
|
|
1448
|
+
first_name: string;
|
|
991
1449
|
/**
|
|
992
1450
|
* User last name.
|
|
993
1451
|
*/
|
|
@@ -1000,14 +1458,6 @@ export type UserCreateInput = {
|
|
|
1000
1458
|
* User password. Must be at least 8 characters long.
|
|
1001
1459
|
*/
|
|
1002
1460
|
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
1461
|
};
|
|
1012
1462
|
export type User = {
|
|
1013
1463
|
/**
|
|
@@ -1061,466 +1511,698 @@ export type UserUpdateInput = {
|
|
|
1061
1511
|
*/
|
|
1062
1512
|
status?: 'active' | 'inactive';
|
|
1063
1513
|
};
|
|
1064
|
-
export type
|
|
1514
|
+
export type ListUserOrganizationsData = {
|
|
1065
1515
|
body?: never;
|
|
1066
|
-
path
|
|
1067
|
-
query?: {
|
|
1516
|
+
path: {
|
|
1068
1517
|
/**
|
|
1069
|
-
*
|
|
1518
|
+
* User email address.
|
|
1070
1519
|
*/
|
|
1071
|
-
|
|
1520
|
+
email: string;
|
|
1072
1521
|
};
|
|
1073
|
-
|
|
1074
|
-
};
|
|
1075
|
-
export type GetUsageErrors = {
|
|
1076
|
-
/**
|
|
1077
|
-
* Not authenticated
|
|
1078
|
-
*/
|
|
1079
|
-
401: unknown;
|
|
1522
|
+
query?: never;
|
|
1523
|
+
url: '/users/organizations/{email}';
|
|
1080
1524
|
};
|
|
1081
|
-
export type
|
|
1525
|
+
export type ListUserOrganizationsResponses = {
|
|
1082
1526
|
/**
|
|
1083
|
-
*
|
|
1527
|
+
* An array of organizations the user belongs to.
|
|
1084
1528
|
*/
|
|
1085
|
-
200:
|
|
1529
|
+
200: Array<{
|
|
1530
|
+
/**
|
|
1531
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1532
|
+
*/
|
|
1533
|
+
realm?: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* Human-readable name of the organization
|
|
1536
|
+
*/
|
|
1537
|
+
displayName?: string;
|
|
1538
|
+
}>;
|
|
1086
1539
|
};
|
|
1087
|
-
export type
|
|
1088
|
-
export type
|
|
1540
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1541
|
+
export type ListUsersData = {
|
|
1089
1542
|
body?: never;
|
|
1090
1543
|
path?: never;
|
|
1091
1544
|
query?: never;
|
|
1092
|
-
url: '/
|
|
1545
|
+
url: '/users';
|
|
1093
1546
|
};
|
|
1094
|
-
export type
|
|
1547
|
+
export type ListUsersErrors = {
|
|
1095
1548
|
/**
|
|
1096
|
-
*
|
|
1549
|
+
* Not authenticated
|
|
1097
1550
|
*/
|
|
1098
|
-
|
|
1551
|
+
401: unknown;
|
|
1099
1552
|
};
|
|
1100
|
-
export type
|
|
1553
|
+
export type ListUsersResponses = {
|
|
1101
1554
|
/**
|
|
1102
|
-
*
|
|
1555
|
+
* An array of users
|
|
1103
1556
|
*/
|
|
1104
|
-
200:
|
|
1557
|
+
200: Array<User>;
|
|
1105
1558
|
};
|
|
1106
|
-
export type
|
|
1107
|
-
export type
|
|
1108
|
-
body
|
|
1559
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1560
|
+
export type CreateUserData = {
|
|
1561
|
+
body: UserCreateInput;
|
|
1109
1562
|
path?: never;
|
|
1110
1563
|
query?: never;
|
|
1111
|
-
url: '/
|
|
1564
|
+
url: '/users';
|
|
1112
1565
|
};
|
|
1113
|
-
export type
|
|
1566
|
+
export type CreateUserResponses = {
|
|
1114
1567
|
/**
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1568
|
+
* Successfully created. Returns created user details.
|
|
1117
1569
|
*/
|
|
1118
|
-
200:
|
|
1570
|
+
200: User;
|
|
1571
|
+
};
|
|
1572
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1573
|
+
export type DeleteUserData = {
|
|
1574
|
+
body?: never;
|
|
1575
|
+
path: {
|
|
1119
1576
|
/**
|
|
1120
|
-
*
|
|
1577
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1121
1578
|
*/
|
|
1122
|
-
|
|
1579
|
+
user_id: string;
|
|
1123
1580
|
};
|
|
1124
|
-
};
|
|
1125
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1126
|
-
export type ListInvoicesData = {
|
|
1127
|
-
body?: never;
|
|
1128
|
-
path?: never;
|
|
1129
1581
|
query?: never;
|
|
1130
|
-
url: '/
|
|
1582
|
+
url: '/users/{user_id}';
|
|
1131
1583
|
};
|
|
1132
|
-
export type
|
|
1584
|
+
export type DeleteUserErrors = {
|
|
1585
|
+
/**
|
|
1586
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1587
|
+
*/
|
|
1588
|
+
400: unknown;
|
|
1133
1589
|
/**
|
|
1134
1590
|
* Not authenticated
|
|
1135
1591
|
*/
|
|
1136
1592
|
401: unknown;
|
|
1137
1593
|
};
|
|
1138
|
-
export type
|
|
1594
|
+
export type DeleteUserResponses = {
|
|
1139
1595
|
/**
|
|
1140
|
-
*
|
|
1596
|
+
* User profile information
|
|
1141
1597
|
*/
|
|
1142
|
-
200:
|
|
1598
|
+
200: User;
|
|
1143
1599
|
};
|
|
1144
|
-
export type
|
|
1145
|
-
export type
|
|
1600
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1601
|
+
export type GetUserData = {
|
|
1146
1602
|
body?: never;
|
|
1147
|
-
path
|
|
1148
|
-
|
|
1149
|
-
|
|
1603
|
+
path: {
|
|
1604
|
+
/**
|
|
1605
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1606
|
+
*/
|
|
1607
|
+
user_id: string;
|
|
1608
|
+
};
|
|
1609
|
+
query?: never;
|
|
1610
|
+
url: '/users/{user_id}';
|
|
1150
1611
|
};
|
|
1151
|
-
export type
|
|
1612
|
+
export type GetUserErrors = {
|
|
1152
1613
|
/**
|
|
1153
|
-
*
|
|
1614
|
+
* Not authenticated
|
|
1154
1615
|
*/
|
|
1155
|
-
|
|
1616
|
+
401: unknown;
|
|
1156
1617
|
};
|
|
1157
|
-
export type
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1618
|
+
export type GetUserResponses = {
|
|
1619
|
+
/**
|
|
1620
|
+
* User profile information
|
|
1621
|
+
*/
|
|
1622
|
+
200: User;
|
|
1623
|
+
};
|
|
1624
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1625
|
+
export type UpdateUserData = {
|
|
1626
|
+
body: UserUpdateInput;
|
|
1627
|
+
path: {
|
|
1628
|
+
/**
|
|
1629
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1630
|
+
*/
|
|
1631
|
+
user_id: string;
|
|
1632
|
+
};
|
|
1161
1633
|
query?: never;
|
|
1162
|
-
url: '/
|
|
1634
|
+
url: '/users/{user_id}';
|
|
1163
1635
|
};
|
|
1164
|
-
export type
|
|
1636
|
+
export type UpdateUserResponses = {
|
|
1165
1637
|
/**
|
|
1166
|
-
* Successfully
|
|
1638
|
+
* Successfully created. Returns created user details.
|
|
1167
1639
|
*/
|
|
1168
|
-
200:
|
|
1640
|
+
200: User;
|
|
1169
1641
|
};
|
|
1170
|
-
export type
|
|
1171
|
-
export type
|
|
1642
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1643
|
+
export type ListTokensData = {
|
|
1172
1644
|
body?: never;
|
|
1173
1645
|
path?: never;
|
|
1174
1646
|
query?: never;
|
|
1175
|
-
url: '/
|
|
1647
|
+
url: '/tokens';
|
|
1176
1648
|
};
|
|
1177
|
-
export type
|
|
1649
|
+
export type ListTokensErrors = {
|
|
1178
1650
|
/**
|
|
1179
1651
|
* Not authenticated
|
|
1180
1652
|
*/
|
|
1181
1653
|
401: unknown;
|
|
1182
1654
|
};
|
|
1183
|
-
export type
|
|
1655
|
+
export type ListTokensResponses = {
|
|
1184
1656
|
/**
|
|
1185
|
-
*
|
|
1657
|
+
* Returns a list of access token details with masked secrets.
|
|
1186
1658
|
*/
|
|
1187
|
-
200: Array<
|
|
1659
|
+
200: Array<Token>;
|
|
1188
1660
|
};
|
|
1189
|
-
export type
|
|
1190
|
-
export type
|
|
1191
|
-
body:
|
|
1192
|
-
/**
|
|
1193
|
-
* Promotional code to redeem
|
|
1194
|
-
*/
|
|
1195
|
-
code?: string;
|
|
1196
|
-
};
|
|
1661
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1662
|
+
export type CreateTokenData = {
|
|
1663
|
+
body: TokenCreateInput;
|
|
1197
1664
|
path?: never;
|
|
1198
1665
|
query?: never;
|
|
1199
|
-
url: '/
|
|
1666
|
+
url: '/tokens';
|
|
1200
1667
|
};
|
|
1201
|
-
export type
|
|
1668
|
+
export type CreateTokenErrors = {
|
|
1202
1669
|
/**
|
|
1203
1670
|
* Not authenticated
|
|
1204
1671
|
*/
|
|
1205
1672
|
401: unknown;
|
|
1206
1673
|
};
|
|
1207
|
-
export type
|
|
1674
|
+
export type CreateTokenResponses = {
|
|
1208
1675
|
/**
|
|
1209
|
-
* Successfully created
|
|
1676
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1677
|
+
*/
|
|
1678
|
+
200: Token;
|
|
1679
|
+
};
|
|
1680
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1681
|
+
export type DeleteTokenData = {
|
|
1682
|
+
body?: never;
|
|
1683
|
+
path: {
|
|
1684
|
+
/**
|
|
1685
|
+
* Generated unique identifier of the access token.
|
|
1686
|
+
*/
|
|
1687
|
+
token_id: string;
|
|
1688
|
+
};
|
|
1689
|
+
query?: never;
|
|
1690
|
+
url: '/tokens/{token_id}';
|
|
1691
|
+
};
|
|
1692
|
+
export type DeleteTokenResponses = {
|
|
1693
|
+
/**
|
|
1694
|
+
* Successfully deleted.
|
|
1210
1695
|
*/
|
|
1211
1696
|
200: unknown;
|
|
1212
1697
|
};
|
|
1213
|
-
export type
|
|
1698
|
+
export type GetTokenData = {
|
|
1214
1699
|
body?: never;
|
|
1215
1700
|
path: {
|
|
1216
1701
|
/**
|
|
1217
|
-
*
|
|
1702
|
+
* Generated unique identifier of the access token.
|
|
1218
1703
|
*/
|
|
1219
|
-
|
|
1704
|
+
token_id: string;
|
|
1220
1705
|
};
|
|
1221
1706
|
query?: never;
|
|
1222
|
-
url: '/
|
|
1707
|
+
url: '/tokens/{token_id}';
|
|
1223
1708
|
};
|
|
1224
|
-
export type
|
|
1709
|
+
export type GetTokenErrors = {
|
|
1225
1710
|
/**
|
|
1226
1711
|
* Not authenticated
|
|
1227
1712
|
*/
|
|
1228
1713
|
401: unknown;
|
|
1229
1714
|
};
|
|
1230
|
-
export type
|
|
1715
|
+
export type GetTokenResponses = {
|
|
1231
1716
|
/**
|
|
1232
|
-
*
|
|
1717
|
+
* Returns access token details with masked secret.
|
|
1233
1718
|
*/
|
|
1234
|
-
200:
|
|
1719
|
+
200: Token;
|
|
1235
1720
|
};
|
|
1236
|
-
export type
|
|
1237
|
-
export type
|
|
1238
|
-
body:
|
|
1721
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1722
|
+
export type UpdateTokenData = {
|
|
1723
|
+
body: TokenUpdateInput;
|
|
1239
1724
|
path: {
|
|
1240
1725
|
/**
|
|
1241
|
-
*
|
|
1726
|
+
* Generated unique identifier of the access token.
|
|
1242
1727
|
*/
|
|
1243
|
-
|
|
1728
|
+
token_id: string;
|
|
1244
1729
|
};
|
|
1245
1730
|
query?: never;
|
|
1246
|
-
url: '/
|
|
1731
|
+
url: '/tokens/{token_id}';
|
|
1247
1732
|
};
|
|
1248
|
-
export type
|
|
1733
|
+
export type UpdateTokenErrors = {
|
|
1249
1734
|
/**
|
|
1250
|
-
*
|
|
1735
|
+
* Not authenticated
|
|
1251
1736
|
*/
|
|
1252
|
-
|
|
1737
|
+
401: unknown;
|
|
1253
1738
|
};
|
|
1254
|
-
export type
|
|
1255
|
-
|
|
1739
|
+
export type UpdateTokenResponses = {
|
|
1740
|
+
/**
|
|
1741
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1742
|
+
*/
|
|
1743
|
+
200: Token;
|
|
1744
|
+
};
|
|
1745
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1746
|
+
export type RegenerateTokenData = {
|
|
1256
1747
|
body?: never;
|
|
1257
1748
|
path: {
|
|
1258
1749
|
/**
|
|
1259
|
-
*
|
|
1260
|
-
*/
|
|
1261
|
-
cluster_id: string;
|
|
1262
|
-
/**
|
|
1263
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1750
|
+
* Generated unique identifier of the access token.
|
|
1264
1751
|
*/
|
|
1265
|
-
|
|
1752
|
+
token_id: string;
|
|
1266
1753
|
};
|
|
1267
1754
|
query?: never;
|
|
1268
|
-
url: '/
|
|
1755
|
+
url: '/tokens/{token_id}/secret';
|
|
1269
1756
|
};
|
|
1270
|
-
export type
|
|
1757
|
+
export type RegenerateTokenErrors = {
|
|
1271
1758
|
/**
|
|
1272
|
-
*
|
|
1759
|
+
* Not authenticated
|
|
1273
1760
|
*/
|
|
1274
|
-
|
|
1761
|
+
401: unknown;
|
|
1275
1762
|
};
|
|
1276
|
-
export type
|
|
1277
|
-
|
|
1763
|
+
export type RegenerateTokenResponses = {
|
|
1764
|
+
/**
|
|
1765
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1766
|
+
*/
|
|
1767
|
+
200: Token;
|
|
1768
|
+
};
|
|
1769
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1770
|
+
export type ListTicketsData = {
|
|
1278
1771
|
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
|
-
};
|
|
1772
|
+
path?: never;
|
|
1289
1773
|
query?: never;
|
|
1290
|
-
url: '/
|
|
1774
|
+
url: '/tickets';
|
|
1291
1775
|
};
|
|
1292
|
-
export type
|
|
1776
|
+
export type ListTicketsResponses = {
|
|
1293
1777
|
/**
|
|
1294
|
-
*
|
|
1778
|
+
* An array of tickets for the organization, newest first.
|
|
1295
1779
|
*/
|
|
1296
|
-
200:
|
|
1780
|
+
200: Array<Ticket>;
|
|
1297
1781
|
};
|
|
1298
|
-
export type
|
|
1299
|
-
export type
|
|
1300
|
-
body:
|
|
1301
|
-
path: {
|
|
1302
|
-
/**
|
|
1303
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1304
|
-
*/
|
|
1305
|
-
cluster_id: string;
|
|
1782
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1783
|
+
export type CreateTicketData = {
|
|
1784
|
+
body: {
|
|
1306
1785
|
/**
|
|
1307
|
-
*
|
|
1786
|
+
* JSON-encoded TicketCreateInput.
|
|
1308
1787
|
*/
|
|
1309
|
-
|
|
1788
|
+
payload?: string;
|
|
1789
|
+
attachments?: Array<Blob | File>;
|
|
1310
1790
|
};
|
|
1791
|
+
path?: never;
|
|
1311
1792
|
query?: never;
|
|
1312
|
-
url: '/
|
|
1793
|
+
url: '/tickets';
|
|
1313
1794
|
};
|
|
1314
|
-
export type
|
|
1795
|
+
export type CreateTicketResponses = {
|
|
1315
1796
|
/**
|
|
1316
|
-
*
|
|
1797
|
+
* Ticket created.
|
|
1317
1798
|
*/
|
|
1318
|
-
200:
|
|
1799
|
+
200: Ticket;
|
|
1319
1800
|
};
|
|
1320
|
-
export type
|
|
1321
|
-
export type
|
|
1801
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1802
|
+
export type CloseTicketData = {
|
|
1322
1803
|
body?: never;
|
|
1323
1804
|
path: {
|
|
1324
|
-
|
|
1325
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1326
|
-
*/
|
|
1327
|
-
cluster_id: string;
|
|
1805
|
+
ticket_id: string;
|
|
1328
1806
|
};
|
|
1329
1807
|
query?: never;
|
|
1330
|
-
url: '/
|
|
1808
|
+
url: '/tickets/{ticket_id}';
|
|
1331
1809
|
};
|
|
1332
|
-
export type
|
|
1810
|
+
export type CloseTicketResponses = {
|
|
1333
1811
|
/**
|
|
1334
|
-
*
|
|
1812
|
+
* Ticket closed.
|
|
1335
1813
|
*/
|
|
1336
|
-
|
|
1814
|
+
200: Ticket;
|
|
1337
1815
|
};
|
|
1338
|
-
export type
|
|
1816
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1817
|
+
export type GetTicketData = {
|
|
1818
|
+
body?: never;
|
|
1819
|
+
path: {
|
|
1820
|
+
ticket_id: string;
|
|
1821
|
+
};
|
|
1822
|
+
query?: never;
|
|
1823
|
+
url: '/tickets/{ticket_id}';
|
|
1824
|
+
};
|
|
1825
|
+
export type GetTicketResponses = {
|
|
1339
1826
|
/**
|
|
1340
|
-
*
|
|
1827
|
+
* Ticket with messages (internal notes excluded).
|
|
1341
1828
|
*/
|
|
1342
|
-
200:
|
|
1829
|
+
200: Ticket;
|
|
1343
1830
|
};
|
|
1344
|
-
export type
|
|
1345
|
-
export type
|
|
1346
|
-
body:
|
|
1347
|
-
path: {
|
|
1831
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1832
|
+
export type ReplyTicketData = {
|
|
1833
|
+
body: {
|
|
1348
1834
|
/**
|
|
1349
|
-
*
|
|
1835
|
+
* JSON-encoded TicketMessageInput.
|
|
1350
1836
|
*/
|
|
1351
|
-
|
|
1837
|
+
payload?: string;
|
|
1838
|
+
attachments?: Array<Blob | File>;
|
|
1839
|
+
};
|
|
1840
|
+
path: {
|
|
1841
|
+
ticket_id: string;
|
|
1352
1842
|
};
|
|
1353
1843
|
query?: never;
|
|
1354
|
-
url: '/
|
|
1844
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1355
1845
|
};
|
|
1356
|
-
export type
|
|
1846
|
+
export type ReplyTicketErrors = {
|
|
1357
1847
|
/**
|
|
1358
|
-
*
|
|
1848
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1359
1849
|
*/
|
|
1360
|
-
|
|
1850
|
+
409: unknown;
|
|
1361
1851
|
};
|
|
1362
|
-
export type
|
|
1363
|
-
export type CreateFleetResponses = {
|
|
1852
|
+
export type ReplyTicketResponses = {
|
|
1364
1853
|
/**
|
|
1365
|
-
*
|
|
1854
|
+
* Reply appended.
|
|
1366
1855
|
*/
|
|
1367
|
-
200:
|
|
1856
|
+
200: TicketMessage;
|
|
1368
1857
|
};
|
|
1369
|
-
export type
|
|
1370
|
-
export type
|
|
1858
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1859
|
+
export type GetTicketAttachmentData = {
|
|
1371
1860
|
body?: never;
|
|
1372
1861
|
path: {
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
*/
|
|
1376
|
-
cluster_id: string;
|
|
1377
|
-
/**
|
|
1378
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1379
|
-
*/
|
|
1380
|
-
fleet_name: string;
|
|
1862
|
+
ticket_id: string;
|
|
1863
|
+
attachment_id: string;
|
|
1381
1864
|
};
|
|
1382
1865
|
query?: never;
|
|
1383
|
-
url: '/
|
|
1866
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1384
1867
|
};
|
|
1385
|
-
export type
|
|
1868
|
+
export type GetTicketAttachmentResponses = {
|
|
1386
1869
|
/**
|
|
1387
|
-
*
|
|
1870
|
+
* Attachment binary stream.
|
|
1388
1871
|
*/
|
|
1389
|
-
200:
|
|
1872
|
+
200: Blob | File;
|
|
1390
1873
|
};
|
|
1391
|
-
export type
|
|
1392
|
-
export type
|
|
1874
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1875
|
+
export type ListRepositoriesData = {
|
|
1393
1876
|
body?: never;
|
|
1394
|
-
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;
|
|
1403
|
-
};
|
|
1877
|
+
path?: never;
|
|
1404
1878
|
query?: never;
|
|
1405
|
-
url: '/
|
|
1879
|
+
url: '/registry';
|
|
1406
1880
|
};
|
|
1407
|
-
export type
|
|
1881
|
+
export type ListRepositoriesErrors = {
|
|
1408
1882
|
/**
|
|
1409
|
-
*
|
|
1883
|
+
* Not authenticated
|
|
1410
1884
|
*/
|
|
1411
|
-
|
|
1885
|
+
401: unknown;
|
|
1886
|
+
/**
|
|
1887
|
+
* Internal server error
|
|
1888
|
+
*/
|
|
1889
|
+
500: unknown;
|
|
1412
1890
|
};
|
|
1413
|
-
export type
|
|
1414
|
-
|
|
1415
|
-
|
|
1891
|
+
export type ListRepositoriesResponses = {
|
|
1892
|
+
/**
|
|
1893
|
+
* List of repositories
|
|
1894
|
+
*/
|
|
1895
|
+
200: Array<RegistryRepository>;
|
|
1896
|
+
};
|
|
1897
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1898
|
+
export type ListTagsData = {
|
|
1899
|
+
body?: never;
|
|
1416
1900
|
path: {
|
|
1417
1901
|
/**
|
|
1418
|
-
*
|
|
1902
|
+
* Region where the repository is located
|
|
1419
1903
|
*/
|
|
1420
|
-
|
|
1904
|
+
region: string;
|
|
1421
1905
|
/**
|
|
1422
|
-
*
|
|
1906
|
+
* Name of the repository
|
|
1423
1907
|
*/
|
|
1424
|
-
|
|
1908
|
+
repository: string;
|
|
1425
1909
|
};
|
|
1426
1910
|
query?: never;
|
|
1427
|
-
url: '/
|
|
1911
|
+
url: '/registry/{region}/{repository}';
|
|
1428
1912
|
};
|
|
1429
|
-
export type
|
|
1913
|
+
export type ListTagsErrors = {
|
|
1430
1914
|
/**
|
|
1431
|
-
*
|
|
1915
|
+
* Not authenticated
|
|
1432
1916
|
*/
|
|
1433
|
-
|
|
1917
|
+
401: unknown;
|
|
1918
|
+
/**
|
|
1919
|
+
* Repository not found
|
|
1920
|
+
*/
|
|
1921
|
+
404: unknown;
|
|
1922
|
+
/**
|
|
1923
|
+
* Internal server error
|
|
1924
|
+
*/
|
|
1925
|
+
500: unknown;
|
|
1434
1926
|
};
|
|
1435
|
-
export type
|
|
1436
|
-
export type UpdateFleetResponses = {
|
|
1927
|
+
export type ListTagsResponses = {
|
|
1437
1928
|
/**
|
|
1438
|
-
*
|
|
1929
|
+
* Repository with tags
|
|
1439
1930
|
*/
|
|
1440
|
-
200:
|
|
1931
|
+
200: RegistryRepositoryWithTags;
|
|
1441
1932
|
};
|
|
1442
|
-
export type
|
|
1443
|
-
export type
|
|
1933
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1934
|
+
export type DeleteTagData = {
|
|
1444
1935
|
body?: never;
|
|
1445
1936
|
path: {
|
|
1446
1937
|
/**
|
|
1447
|
-
*
|
|
1938
|
+
* Region where the repository is located
|
|
1448
1939
|
*/
|
|
1449
|
-
|
|
1940
|
+
region: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* Name of the repository
|
|
1943
|
+
*/
|
|
1944
|
+
repository: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* Name of the tag
|
|
1947
|
+
*/
|
|
1948
|
+
tag: string;
|
|
1450
1949
|
};
|
|
1451
1950
|
query?: never;
|
|
1452
|
-
url: '/
|
|
1951
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1453
1952
|
};
|
|
1454
|
-
export type
|
|
1953
|
+
export type DeleteTagErrors = {
|
|
1455
1954
|
/**
|
|
1456
1955
|
* Not authenticated
|
|
1457
1956
|
*/
|
|
1458
1957
|
401: unknown;
|
|
1958
|
+
/**
|
|
1959
|
+
* Tag not found
|
|
1960
|
+
*/
|
|
1961
|
+
404: unknown;
|
|
1962
|
+
/**
|
|
1963
|
+
* Internal server error
|
|
1964
|
+
*/
|
|
1965
|
+
500: unknown;
|
|
1459
1966
|
};
|
|
1460
|
-
export type
|
|
1967
|
+
export type DeleteTagResponses = {
|
|
1461
1968
|
/**
|
|
1462
|
-
*
|
|
1969
|
+
* Tag successfully deleted
|
|
1463
1970
|
*/
|
|
1464
1971
|
200: unknown;
|
|
1465
1972
|
};
|
|
1466
|
-
export type
|
|
1973
|
+
export type GetTagData = {
|
|
1974
|
+
body?: never;
|
|
1975
|
+
path: {
|
|
1976
|
+
/**
|
|
1977
|
+
* Region where the repository is located
|
|
1978
|
+
*/
|
|
1979
|
+
region: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* Name of the repository
|
|
1982
|
+
*/
|
|
1983
|
+
repository: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Name of the tag
|
|
1986
|
+
*/
|
|
1987
|
+
tag: string;
|
|
1988
|
+
};
|
|
1989
|
+
query?: never;
|
|
1990
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1991
|
+
};
|
|
1992
|
+
export type GetTagErrors = {
|
|
1993
|
+
/**
|
|
1994
|
+
* Not authenticated
|
|
1995
|
+
*/
|
|
1996
|
+
401: unknown;
|
|
1997
|
+
/**
|
|
1998
|
+
* Tag not found
|
|
1999
|
+
*/
|
|
2000
|
+
404: unknown;
|
|
2001
|
+
/**
|
|
2002
|
+
* Internal server error
|
|
2003
|
+
*/
|
|
2004
|
+
500: unknown;
|
|
2005
|
+
};
|
|
2006
|
+
export type GetTagResponses = {
|
|
2007
|
+
/**
|
|
2008
|
+
* Tag details
|
|
2009
|
+
*/
|
|
2010
|
+
200: RegistryTag;
|
|
2011
|
+
};
|
|
2012
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2013
|
+
export type GetOrganizationData = {
|
|
1467
2014
|
body?: never;
|
|
1468
2015
|
path?: never;
|
|
1469
2016
|
query?: never;
|
|
1470
|
-
url: '/
|
|
2017
|
+
url: '/organization';
|
|
1471
2018
|
};
|
|
1472
|
-
export type
|
|
2019
|
+
export type GetOrganizationResponses = {
|
|
2020
|
+
/**
|
|
2021
|
+
* Returns a single object containing organization details.
|
|
2022
|
+
*/
|
|
2023
|
+
200: Organization;
|
|
2024
|
+
};
|
|
2025
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2026
|
+
export type CreateOrganizationData = {
|
|
2027
|
+
body: OrganizationCreateInput;
|
|
2028
|
+
path?: never;
|
|
2029
|
+
query?: never;
|
|
2030
|
+
url: '/organization';
|
|
2031
|
+
};
|
|
2032
|
+
export type CreateOrganizationResponses = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2035
|
+
*
|
|
2036
|
+
*/
|
|
2037
|
+
200: OrganizationCreateOutput;
|
|
2038
|
+
};
|
|
2039
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2040
|
+
export type PostMcpData = {
|
|
2041
|
+
/**
|
|
2042
|
+
* JSON-RPC 2.0 request payload
|
|
2043
|
+
*/
|
|
2044
|
+
body: {
|
|
2045
|
+
jsonrpc?: string;
|
|
2046
|
+
method?: string;
|
|
2047
|
+
id?: string | number;
|
|
2048
|
+
/**
|
|
2049
|
+
* Method-specific parameters
|
|
2050
|
+
*/
|
|
2051
|
+
params?: {
|
|
2052
|
+
[key: string]: unknown;
|
|
2053
|
+
};
|
|
2054
|
+
};
|
|
2055
|
+
path?: never;
|
|
2056
|
+
query?: never;
|
|
2057
|
+
url: '/mcp';
|
|
2058
|
+
};
|
|
2059
|
+
export type PostMcpErrors = {
|
|
1473
2060
|
/**
|
|
1474
2061
|
* Not authenticated
|
|
1475
2062
|
*/
|
|
1476
2063
|
401: unknown;
|
|
1477
2064
|
};
|
|
1478
|
-
export type
|
|
2065
|
+
export type PostMcpResponses = {
|
|
1479
2066
|
/**
|
|
1480
|
-
*
|
|
2067
|
+
* JSON-RPC 2.0 success or error response
|
|
1481
2068
|
*/
|
|
1482
|
-
200:
|
|
2069
|
+
200: {
|
|
2070
|
+
jsonrpc?: string;
|
|
2071
|
+
id?: string | number;
|
|
2072
|
+
result?: {
|
|
2073
|
+
[key: string]: unknown;
|
|
2074
|
+
};
|
|
2075
|
+
error?: {
|
|
2076
|
+
code?: number;
|
|
2077
|
+
message?: string;
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
1483
2080
|
};
|
|
1484
|
-
export type
|
|
1485
|
-
export type
|
|
1486
|
-
body
|
|
2081
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2082
|
+
export type ListMarketplaceChartsData = {
|
|
2083
|
+
body?: never;
|
|
1487
2084
|
path?: never;
|
|
1488
2085
|
query?: never;
|
|
1489
|
-
url: '/
|
|
2086
|
+
url: '/marketplace';
|
|
1490
2087
|
};
|
|
1491
|
-
export type
|
|
2088
|
+
export type ListMarketplaceChartsErrors = {
|
|
1492
2089
|
/**
|
|
1493
|
-
*
|
|
2090
|
+
* Not authenticated
|
|
1494
2091
|
*/
|
|
1495
|
-
|
|
2092
|
+
401: unknown;
|
|
1496
2093
|
};
|
|
1497
|
-
export type
|
|
1498
|
-
export type CreateClusterResponses = {
|
|
2094
|
+
export type ListMarketplaceChartsResponses = {
|
|
1499
2095
|
/**
|
|
1500
|
-
*
|
|
2096
|
+
* An array of chart listings in the marketplace.
|
|
1501
2097
|
*/
|
|
1502
|
-
200:
|
|
2098
|
+
200: Array<MarketplaceListing>;
|
|
1503
2099
|
};
|
|
1504
|
-
export type
|
|
1505
|
-
export type
|
|
2100
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2101
|
+
export type GetMarketplaceChartFilesData = {
|
|
1506
2102
|
body?: never;
|
|
1507
2103
|
path: {
|
|
1508
2104
|
/**
|
|
1509
|
-
*
|
|
2105
|
+
* Name of the chart in the marketplace.
|
|
1510
2106
|
*/
|
|
1511
|
-
|
|
2107
|
+
chart_name: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2110
|
+
*/
|
|
2111
|
+
version_channel: string;
|
|
1512
2112
|
};
|
|
1513
2113
|
query?: never;
|
|
1514
|
-
url: '/
|
|
2114
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1515
2115
|
};
|
|
1516
|
-
export type
|
|
2116
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2117
|
+
/**
|
|
2118
|
+
* Chart not found or no version matches the channel
|
|
2119
|
+
*/
|
|
2120
|
+
404: unknown;
|
|
2121
|
+
};
|
|
2122
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2125
|
+
*/
|
|
2126
|
+
200: MarketplaceListingFiles;
|
|
2127
|
+
};
|
|
2128
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2129
|
+
export type ListInvitesData = {
|
|
2130
|
+
body?: never;
|
|
2131
|
+
path?: never;
|
|
2132
|
+
query?: never;
|
|
2133
|
+
url: '/invites';
|
|
2134
|
+
};
|
|
2135
|
+
export type ListInvitesErrors = {
|
|
2136
|
+
/**
|
|
2137
|
+
* Not authenticated
|
|
2138
|
+
*/
|
|
2139
|
+
401: unknown;
|
|
2140
|
+
};
|
|
2141
|
+
export type ListInvitesResponses = {
|
|
2142
|
+
/**
|
|
2143
|
+
* An array of invites
|
|
2144
|
+
*/
|
|
2145
|
+
200: Array<Invite>;
|
|
2146
|
+
};
|
|
2147
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2148
|
+
export type CreateInviteData = {
|
|
2149
|
+
body: InviteCreateInput;
|
|
2150
|
+
path?: never;
|
|
2151
|
+
query?: never;
|
|
2152
|
+
url: '/invites';
|
|
2153
|
+
};
|
|
2154
|
+
export type CreateInviteResponses = {
|
|
2155
|
+
/**
|
|
2156
|
+
* Successfully created. Returns created invite details.
|
|
2157
|
+
*/
|
|
2158
|
+
200: Invite;
|
|
2159
|
+
};
|
|
2160
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2161
|
+
export type GetInviteData = {
|
|
2162
|
+
body?: never;
|
|
2163
|
+
path: {
|
|
2164
|
+
/**
|
|
2165
|
+
* Invitation code
|
|
2166
|
+
*/
|
|
2167
|
+
code: string;
|
|
2168
|
+
};
|
|
2169
|
+
query?: never;
|
|
2170
|
+
url: '/invites/{code}';
|
|
2171
|
+
};
|
|
2172
|
+
export type GetInviteResponses = {
|
|
2173
|
+
/**
|
|
2174
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2175
|
+
*/
|
|
2176
|
+
200: {
|
|
2177
|
+
/**
|
|
2178
|
+
* Email address the invite was issued to.
|
|
2179
|
+
*/
|
|
2180
|
+
email?: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* Identifier of the organization the invite grants access to.
|
|
2183
|
+
*/
|
|
2184
|
+
organization_id?: string;
|
|
2185
|
+
};
|
|
2186
|
+
};
|
|
2187
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2188
|
+
export type DeleteInviteData = {
|
|
2189
|
+
body?: never;
|
|
2190
|
+
path: {
|
|
2191
|
+
/**
|
|
2192
|
+
* User email address
|
|
2193
|
+
*/
|
|
2194
|
+
email: string;
|
|
2195
|
+
};
|
|
2196
|
+
query?: never;
|
|
2197
|
+
url: '/invites/{email}';
|
|
2198
|
+
};
|
|
2199
|
+
export type DeleteInviteResponses = {
|
|
1517
2200
|
/**
|
|
1518
2201
|
* Successfully deleted.
|
|
1519
2202
|
*/
|
|
1520
|
-
200:
|
|
2203
|
+
200: unknown;
|
|
1521
2204
|
};
|
|
1522
|
-
export type
|
|
1523
|
-
export type GetClusterData = {
|
|
2205
|
+
export type QueryClusterData = {
|
|
1524
2206
|
body?: never;
|
|
1525
2207
|
path: {
|
|
1526
2208
|
/**
|
|
@@ -1529,17 +2211,22 @@ export type GetClusterData = {
|
|
|
1529
2211
|
cluster_id: string;
|
|
1530
2212
|
};
|
|
1531
2213
|
query?: never;
|
|
1532
|
-
url: '/clusters/{cluster_id}';
|
|
2214
|
+
url: '/clusters/{cluster_id}/query';
|
|
1533
2215
|
};
|
|
1534
|
-
export type
|
|
2216
|
+
export type QueryClusterErrors = {
|
|
1535
2217
|
/**
|
|
1536
|
-
*
|
|
2218
|
+
* Not authenticated
|
|
1537
2219
|
*/
|
|
1538
|
-
|
|
2220
|
+
401: unknown;
|
|
1539
2221
|
};
|
|
1540
|
-
export type
|
|
1541
|
-
|
|
1542
|
-
|
|
2222
|
+
export type QueryClusterResponses = {
|
|
2223
|
+
/**
|
|
2224
|
+
* Kubernetes API response
|
|
2225
|
+
*/
|
|
2226
|
+
200: unknown;
|
|
2227
|
+
};
|
|
2228
|
+
export type ListFleetsData = {
|
|
2229
|
+
body?: never;
|
|
1543
2230
|
path: {
|
|
1544
2231
|
/**
|
|
1545
2232
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
@@ -1547,17 +2234,23 @@ export type UpdateClusterData = {
|
|
|
1547
2234
|
cluster_id: string;
|
|
1548
2235
|
};
|
|
1549
2236
|
query?: never;
|
|
1550
|
-
url: '/clusters/{cluster_id}';
|
|
2237
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1551
2238
|
};
|
|
1552
|
-
export type
|
|
2239
|
+
export type ListFleetsErrors = {
|
|
1553
2240
|
/**
|
|
1554
|
-
*
|
|
2241
|
+
* Not authenticated
|
|
1555
2242
|
*/
|
|
1556
|
-
|
|
2243
|
+
401: unknown;
|
|
1557
2244
|
};
|
|
1558
|
-
export type
|
|
1559
|
-
|
|
1560
|
-
|
|
2245
|
+
export type ListFleetsResponses = {
|
|
2246
|
+
/**
|
|
2247
|
+
* An array of fleets
|
|
2248
|
+
*/
|
|
2249
|
+
200: Array<Fleet>;
|
|
2250
|
+
};
|
|
2251
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2252
|
+
export type CreateFleetData = {
|
|
2253
|
+
body: FleetCreateInput;
|
|
1561
2254
|
path: {
|
|
1562
2255
|
/**
|
|
1563
2256
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
@@ -1565,623 +2258,598 @@ export type GetClusterCaData = {
|
|
|
1565
2258
|
cluster_id: string;
|
|
1566
2259
|
};
|
|
1567
2260
|
query?: never;
|
|
1568
|
-
url: '/clusters/{cluster_id}/
|
|
2261
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1569
2262
|
};
|
|
1570
|
-
export type
|
|
2263
|
+
export type CreateFleetErrors = {
|
|
1571
2264
|
/**
|
|
1572
|
-
* Cluster
|
|
2265
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1573
2266
|
*/
|
|
1574
|
-
|
|
2267
|
+
402: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* 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.
|
|
2270
|
+
*/
|
|
2271
|
+
409: string;
|
|
1575
2272
|
};
|
|
1576
|
-
export type
|
|
2273
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2274
|
+
export type CreateFleetResponses = {
|
|
1577
2275
|
/**
|
|
1578
|
-
*
|
|
2276
|
+
* Successfully created. Returns created Fleet ID.
|
|
1579
2277
|
*/
|
|
1580
2278
|
200: string;
|
|
1581
2279
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
export type
|
|
2280
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2281
|
+
export type DeleteFleetData = {
|
|
1584
2282
|
body?: never;
|
|
1585
2283
|
path: {
|
|
1586
2284
|
/**
|
|
1587
2285
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1588
2286
|
*/
|
|
1589
2287
|
cluster_id: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2290
|
+
*/
|
|
2291
|
+
fleet_name: string;
|
|
1590
2292
|
};
|
|
1591
2293
|
query?: never;
|
|
1592
|
-
url: '/clusters/{cluster_id}/
|
|
2294
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1593
2295
|
};
|
|
1594
|
-
export type
|
|
2296
|
+
export type DeleteFleetErrors = {
|
|
1595
2297
|
/**
|
|
1596
|
-
*
|
|
2298
|
+
* 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.
|
|
1597
2299
|
*/
|
|
1598
|
-
|
|
2300
|
+
409: string;
|
|
1599
2301
|
};
|
|
1600
|
-
export type
|
|
2302
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2303
|
+
export type DeleteFleetResponses = {
|
|
1601
2304
|
/**
|
|
1602
|
-
*
|
|
2305
|
+
* Successfully deleted.
|
|
1603
2306
|
*/
|
|
1604
|
-
200:
|
|
2307
|
+
200: string;
|
|
1605
2308
|
};
|
|
1606
|
-
export type
|
|
1607
|
-
export type
|
|
2309
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2310
|
+
export type GetFleetData = {
|
|
1608
2311
|
body?: never;
|
|
1609
|
-
path
|
|
2312
|
+
path: {
|
|
2313
|
+
/**
|
|
2314
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2315
|
+
*/
|
|
2316
|
+
cluster_id: string;
|
|
2317
|
+
/**
|
|
2318
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2319
|
+
*/
|
|
2320
|
+
fleet_name: string;
|
|
2321
|
+
};
|
|
1610
2322
|
query?: never;
|
|
1611
|
-
url: '/
|
|
2323
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1612
2324
|
};
|
|
1613
|
-
export type
|
|
2325
|
+
export type GetFleetResponses = {
|
|
1614
2326
|
/**
|
|
1615
|
-
*
|
|
2327
|
+
* Returns a single object containing fleet details.
|
|
1616
2328
|
*/
|
|
1617
|
-
|
|
2329
|
+
200: Fleet;
|
|
1618
2330
|
};
|
|
1619
|
-
export type
|
|
2331
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2332
|
+
export type UpdateFleetData = {
|
|
2333
|
+
body: FleetUpdateInput;
|
|
2334
|
+
path: {
|
|
2335
|
+
/**
|
|
2336
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2337
|
+
*/
|
|
2338
|
+
cluster_id: string;
|
|
2339
|
+
/**
|
|
2340
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2341
|
+
*/
|
|
2342
|
+
fleet_name: string;
|
|
2343
|
+
};
|
|
2344
|
+
query?: never;
|
|
2345
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2346
|
+
};
|
|
2347
|
+
export type UpdateFleetErrors = {
|
|
1620
2348
|
/**
|
|
1621
|
-
*
|
|
2349
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1622
2350
|
*/
|
|
1623
|
-
|
|
2351
|
+
402: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* 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.
|
|
2354
|
+
*/
|
|
2355
|
+
409: string;
|
|
1624
2356
|
};
|
|
1625
|
-
export type
|
|
1626
|
-
export type
|
|
1627
|
-
|
|
2357
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2358
|
+
export type UpdateFleetResponses = {
|
|
2359
|
+
/**
|
|
2360
|
+
* Successfully updated.
|
|
2361
|
+
*/
|
|
2362
|
+
200: string;
|
|
2363
|
+
};
|
|
2364
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2365
|
+
export type ListChartsData = {
|
|
2366
|
+
body?: never;
|
|
2367
|
+
path: {
|
|
1628
2368
|
/**
|
|
1629
|
-
*
|
|
2369
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1630
2370
|
*/
|
|
1631
|
-
|
|
2371
|
+
cluster_id: string;
|
|
1632
2372
|
};
|
|
1633
|
-
path?: never;
|
|
1634
2373
|
query?: never;
|
|
1635
|
-
url: '/
|
|
2374
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1636
2375
|
};
|
|
1637
|
-
export type
|
|
2376
|
+
export type ListChartsErrors = {
|
|
1638
2377
|
/**
|
|
1639
|
-
*
|
|
2378
|
+
* Not authenticated
|
|
1640
2379
|
*/
|
|
1641
|
-
|
|
2380
|
+
401: unknown;
|
|
1642
2381
|
};
|
|
1643
|
-
export type
|
|
1644
|
-
|
|
1645
|
-
|
|
2382
|
+
export type ListChartsResponses = {
|
|
2383
|
+
/**
|
|
2384
|
+
* An array of charts
|
|
2385
|
+
*/
|
|
2386
|
+
200: Array<Chart>;
|
|
2387
|
+
};
|
|
2388
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2389
|
+
export type CreateChartData = {
|
|
2390
|
+
body: ChartCreateInput;
|
|
1646
2391
|
path: {
|
|
1647
2392
|
/**
|
|
1648
|
-
*
|
|
2393
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1649
2394
|
*/
|
|
1650
|
-
|
|
2395
|
+
cluster_id: string;
|
|
1651
2396
|
};
|
|
1652
2397
|
query?: never;
|
|
1653
|
-
url: '/
|
|
2398
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1654
2399
|
};
|
|
1655
|
-
export type
|
|
2400
|
+
export type CreateChartErrors = {
|
|
1656
2401
|
/**
|
|
1657
|
-
*
|
|
2402
|
+
* 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.
|
|
1658
2403
|
*/
|
|
1659
|
-
|
|
2404
|
+
409: string;
|
|
1660
2405
|
};
|
|
1661
|
-
export type
|
|
1662
|
-
export type
|
|
2406
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2407
|
+
export type CreateChartResponses = {
|
|
2408
|
+
/**
|
|
2409
|
+
* Successfully created. Returns created Chart ID.
|
|
2410
|
+
*/
|
|
2411
|
+
200: string;
|
|
2412
|
+
};
|
|
2413
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2414
|
+
export type DeleteChartData = {
|
|
1663
2415
|
body?: never;
|
|
1664
2416
|
path: {
|
|
1665
2417
|
/**
|
|
1666
|
-
*
|
|
2418
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1667
2419
|
*/
|
|
1668
|
-
|
|
2420
|
+
cluster_id: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2423
|
+
*/
|
|
2424
|
+
chart_name: string;
|
|
1669
2425
|
};
|
|
1670
2426
|
query?: never;
|
|
1671
|
-
url: '/
|
|
1672
|
-
};
|
|
1673
|
-
export type DeleteInviteResponses = {
|
|
1674
|
-
/**
|
|
1675
|
-
* Successfully deleted.
|
|
1676
|
-
*/
|
|
1677
|
-
200: unknown;
|
|
1678
|
-
};
|
|
1679
|
-
export type ListMarketplaceChartsData = {
|
|
1680
|
-
body?: never;
|
|
1681
|
-
path?: never;
|
|
1682
|
-
query?: never;
|
|
1683
|
-
url: '/marketplace';
|
|
2427
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1684
2428
|
};
|
|
1685
|
-
export type
|
|
2429
|
+
export type DeleteChartErrors = {
|
|
1686
2430
|
/**
|
|
1687
|
-
*
|
|
2431
|
+
* 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.
|
|
1688
2432
|
*/
|
|
1689
|
-
|
|
2433
|
+
409: string;
|
|
1690
2434
|
};
|
|
1691
|
-
export type
|
|
2435
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2436
|
+
export type DeleteChartResponses = {
|
|
1692
2437
|
/**
|
|
1693
|
-
*
|
|
2438
|
+
* Successfully deleted.
|
|
1694
2439
|
*/
|
|
1695
|
-
200:
|
|
2440
|
+
200: string;
|
|
1696
2441
|
};
|
|
1697
|
-
export type
|
|
1698
|
-
export type
|
|
2442
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2443
|
+
export type GetChartData = {
|
|
1699
2444
|
body?: never;
|
|
1700
2445
|
path: {
|
|
1701
2446
|
/**
|
|
1702
|
-
*
|
|
2447
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1703
2448
|
*/
|
|
1704
|
-
|
|
2449
|
+
cluster_id: string;
|
|
1705
2450
|
/**
|
|
1706
|
-
*
|
|
2451
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1707
2452
|
*/
|
|
1708
|
-
|
|
2453
|
+
chart_name: string;
|
|
1709
2454
|
};
|
|
1710
2455
|
query?: never;
|
|
1711
|
-
url: '/
|
|
1712
|
-
};
|
|
1713
|
-
export type GetMarketplaceChartFilesErrors = {
|
|
1714
|
-
/**
|
|
1715
|
-
* Chart not found or no version matches the channel
|
|
1716
|
-
*/
|
|
1717
|
-
404: unknown;
|
|
2456
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1718
2457
|
};
|
|
1719
|
-
export type
|
|
2458
|
+
export type GetChartResponses = {
|
|
1720
2459
|
/**
|
|
1721
|
-
* Returns
|
|
2460
|
+
* Returns a single object containing chart details.
|
|
1722
2461
|
*/
|
|
1723
|
-
200:
|
|
2462
|
+
200: Chart;
|
|
1724
2463
|
};
|
|
1725
|
-
export type
|
|
1726
|
-
export type
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
*/
|
|
1730
|
-
body: {
|
|
1731
|
-
jsonrpc?: string;
|
|
1732
|
-
method?: string;
|
|
1733
|
-
id?: string | number;
|
|
2464
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2465
|
+
export type UpdateChartData = {
|
|
2466
|
+
body: ChartUpdateInput;
|
|
2467
|
+
path: {
|
|
1734
2468
|
/**
|
|
1735
|
-
*
|
|
2469
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1736
2470
|
*/
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
2471
|
+
cluster_id: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2474
|
+
*/
|
|
2475
|
+
chart_name: string;
|
|
1740
2476
|
};
|
|
1741
|
-
path?: never;
|
|
1742
2477
|
query?: never;
|
|
1743
|
-
url: '/
|
|
2478
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1744
2479
|
};
|
|
1745
|
-
export type
|
|
2480
|
+
export type UpdateChartErrors = {
|
|
1746
2481
|
/**
|
|
1747
|
-
*
|
|
2482
|
+
* 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.
|
|
1748
2483
|
*/
|
|
1749
|
-
|
|
2484
|
+
409: string;
|
|
1750
2485
|
};
|
|
1751
|
-
export type
|
|
2486
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2487
|
+
export type UpdateChartResponses = {
|
|
1752
2488
|
/**
|
|
1753
|
-
*
|
|
2489
|
+
* Successfully updated.
|
|
1754
2490
|
*/
|
|
1755
|
-
200:
|
|
1756
|
-
jsonrpc?: string;
|
|
1757
|
-
id?: string | number;
|
|
1758
|
-
result?: {
|
|
1759
|
-
[key: string]: unknown;
|
|
1760
|
-
};
|
|
1761
|
-
error?: {
|
|
1762
|
-
code?: number;
|
|
1763
|
-
message?: string;
|
|
1764
|
-
};
|
|
1765
|
-
};
|
|
2491
|
+
200: string;
|
|
1766
2492
|
};
|
|
1767
|
-
export type
|
|
1768
|
-
export type
|
|
2493
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2494
|
+
export type ListClustersData = {
|
|
1769
2495
|
body?: never;
|
|
1770
2496
|
path?: never;
|
|
1771
2497
|
query?: never;
|
|
1772
|
-
url: '/
|
|
2498
|
+
url: '/clusters';
|
|
1773
2499
|
};
|
|
1774
|
-
export type
|
|
2500
|
+
export type ListClustersErrors = {
|
|
1775
2501
|
/**
|
|
1776
|
-
*
|
|
2502
|
+
* Not authenticated
|
|
1777
2503
|
*/
|
|
1778
|
-
|
|
1779
|
-
};
|
|
1780
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1781
|
-
export type CreateOrganizationData = {
|
|
1782
|
-
body: OrganizationCreateInput;
|
|
1783
|
-
path?: never;
|
|
1784
|
-
query?: never;
|
|
1785
|
-
url: '/organization';
|
|
2504
|
+
401: unknown;
|
|
1786
2505
|
};
|
|
1787
|
-
export type
|
|
2506
|
+
export type ListClustersResponses = {
|
|
1788
2507
|
/**
|
|
1789
|
-
*
|
|
2508
|
+
* An array of clusters
|
|
1790
2509
|
*/
|
|
1791
|
-
200:
|
|
2510
|
+
200: Array<Cluster>;
|
|
1792
2511
|
};
|
|
1793
|
-
export type
|
|
1794
|
-
|
|
2512
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2513
|
+
export type CreateClusterData = {
|
|
2514
|
+
body: ClusterCreateInput;
|
|
1795
2515
|
path?: never;
|
|
1796
2516
|
query?: never;
|
|
1797
|
-
url: '/
|
|
2517
|
+
url: '/clusters';
|
|
1798
2518
|
};
|
|
1799
|
-
export type
|
|
1800
|
-
/**
|
|
1801
|
-
* Not authenticated
|
|
1802
|
-
*/
|
|
1803
|
-
401: unknown;
|
|
2519
|
+
export type CreateClusterErrors = {
|
|
1804
2520
|
/**
|
|
1805
|
-
*
|
|
2521
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1806
2522
|
*/
|
|
1807
|
-
|
|
2523
|
+
402: string;
|
|
1808
2524
|
};
|
|
1809
|
-
export type
|
|
2525
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2526
|
+
export type CreateClusterResponses = {
|
|
1810
2527
|
/**
|
|
1811
|
-
*
|
|
2528
|
+
* Successfully created. Returns created Cluster ID.
|
|
1812
2529
|
*/
|
|
1813
|
-
200:
|
|
2530
|
+
200: string;
|
|
1814
2531
|
};
|
|
1815
|
-
export type
|
|
1816
|
-
export type
|
|
2532
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2533
|
+
export type DeleteClusterData = {
|
|
1817
2534
|
body?: never;
|
|
1818
2535
|
path: {
|
|
1819
2536
|
/**
|
|
1820
|
-
*
|
|
1821
|
-
*/
|
|
1822
|
-
region: string;
|
|
1823
|
-
/**
|
|
1824
|
-
* Name of the repository
|
|
2537
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1825
2538
|
*/
|
|
1826
|
-
|
|
2539
|
+
cluster_id: string;
|
|
1827
2540
|
};
|
|
1828
2541
|
query?: never;
|
|
1829
|
-
url: '/
|
|
2542
|
+
url: '/clusters/{cluster_id}';
|
|
1830
2543
|
};
|
|
1831
|
-
export type
|
|
2544
|
+
export type DeleteClusterErrors = {
|
|
1832
2545
|
/**
|
|
1833
|
-
*
|
|
2546
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1834
2547
|
*/
|
|
1835
|
-
|
|
2548
|
+
404: unknown;
|
|
1836
2549
|
/**
|
|
1837
|
-
*
|
|
2550
|
+
* 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.
|
|
1838
2551
|
*/
|
|
1839
|
-
|
|
2552
|
+
409: string;
|
|
1840
2553
|
/**
|
|
1841
|
-
*
|
|
2554
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1842
2555
|
*/
|
|
1843
|
-
|
|
2556
|
+
503: unknown;
|
|
1844
2557
|
};
|
|
1845
|
-
export type
|
|
2558
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2559
|
+
export type DeleteClusterResponses = {
|
|
1846
2560
|
/**
|
|
1847
|
-
*
|
|
2561
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1848
2562
|
*/
|
|
1849
|
-
200:
|
|
2563
|
+
200: string;
|
|
1850
2564
|
};
|
|
1851
|
-
export type
|
|
1852
|
-
export type
|
|
2565
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2566
|
+
export type GetClusterData = {
|
|
1853
2567
|
body?: never;
|
|
1854
2568
|
path: {
|
|
1855
2569
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
*/
|
|
1858
|
-
region: string;
|
|
1859
|
-
/**
|
|
1860
|
-
* Name of the repository
|
|
1861
|
-
*/
|
|
1862
|
-
repository: string;
|
|
1863
|
-
/**
|
|
1864
|
-
* Name of the tag
|
|
2570
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1865
2571
|
*/
|
|
1866
|
-
|
|
2572
|
+
cluster_id: string;
|
|
1867
2573
|
};
|
|
1868
2574
|
query?: never;
|
|
1869
|
-
url: '/
|
|
2575
|
+
url: '/clusters/{cluster_id}';
|
|
1870
2576
|
};
|
|
1871
|
-
export type
|
|
1872
|
-
/**
|
|
1873
|
-
* Not authenticated
|
|
1874
|
-
*/
|
|
1875
|
-
401: unknown;
|
|
2577
|
+
export type GetClusterResponses = {
|
|
1876
2578
|
/**
|
|
1877
|
-
*
|
|
2579
|
+
* Returns a single object containing cluster details.
|
|
1878
2580
|
*/
|
|
1879
|
-
|
|
2581
|
+
200: Cluster;
|
|
2582
|
+
};
|
|
2583
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2584
|
+
export type UpdateClusterData = {
|
|
2585
|
+
body: ClusterUpdateInput;
|
|
2586
|
+
path: {
|
|
2587
|
+
/**
|
|
2588
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2589
|
+
*/
|
|
2590
|
+
cluster_id: string;
|
|
2591
|
+
};
|
|
2592
|
+
query?: never;
|
|
2593
|
+
url: '/clusters/{cluster_id}';
|
|
2594
|
+
};
|
|
2595
|
+
export type UpdateClusterErrors = {
|
|
1880
2596
|
/**
|
|
1881
|
-
*
|
|
2597
|
+
* 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
2598
|
*/
|
|
1883
|
-
|
|
2599
|
+
409: string;
|
|
1884
2600
|
};
|
|
1885
|
-
export type
|
|
2601
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2602
|
+
export type UpdateClusterResponses = {
|
|
1886
2603
|
/**
|
|
1887
|
-
*
|
|
2604
|
+
* Successfully updated. Returns updated cluster details.
|
|
1888
2605
|
*/
|
|
1889
|
-
200:
|
|
2606
|
+
200: Cluster;
|
|
1890
2607
|
};
|
|
1891
|
-
export type
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
* Region where the repository is located
|
|
1896
|
-
*/
|
|
1897
|
-
region: string;
|
|
1898
|
-
/**
|
|
1899
|
-
* Name of the repository
|
|
1900
|
-
*/
|
|
1901
|
-
repository: string;
|
|
2608
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2609
|
+
export type GetJoinInformationData = {
|
|
2610
|
+
body?: never;
|
|
2611
|
+
path: {
|
|
1902
2612
|
/**
|
|
1903
|
-
*
|
|
2613
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1904
2614
|
*/
|
|
1905
|
-
|
|
2615
|
+
cluster_id: string;
|
|
1906
2616
|
};
|
|
1907
2617
|
query?: never;
|
|
1908
|
-
url: '/
|
|
2618
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1909
2619
|
};
|
|
1910
|
-
export type
|
|
2620
|
+
export type GetJoinInformationErrors = {
|
|
1911
2621
|
/**
|
|
1912
2622
|
* Not authenticated
|
|
1913
2623
|
*/
|
|
1914
2624
|
401: unknown;
|
|
1915
2625
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
*/
|
|
1918
|
-
404: unknown;
|
|
1919
|
-
/**
|
|
1920
|
-
* Internal server error
|
|
2626
|
+
* 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.
|
|
1921
2627
|
*/
|
|
1922
|
-
|
|
2628
|
+
409: string;
|
|
1923
2629
|
};
|
|
1924
|
-
export type
|
|
2630
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2631
|
+
export type GetJoinInformationResponses = {
|
|
1925
2632
|
/**
|
|
1926
|
-
*
|
|
2633
|
+
* An object of cluster join information
|
|
1927
2634
|
*/
|
|
1928
|
-
200:
|
|
2635
|
+
200: ClusterJoinInformation;
|
|
1929
2636
|
};
|
|
1930
|
-
export type
|
|
1931
|
-
export type
|
|
2637
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2638
|
+
export type GetUsageData = {
|
|
1932
2639
|
body?: never;
|
|
1933
2640
|
path?: never;
|
|
1934
|
-
query?:
|
|
1935
|
-
|
|
2641
|
+
query?: {
|
|
2642
|
+
/**
|
|
2643
|
+
* 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)
|
|
2644
|
+
*/
|
|
2645
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2646
|
+
};
|
|
2647
|
+
url: '/billing/usage';
|
|
1936
2648
|
};
|
|
1937
|
-
export type
|
|
2649
|
+
export type GetUsageErrors = {
|
|
1938
2650
|
/**
|
|
1939
2651
|
* Not authenticated
|
|
1940
2652
|
*/
|
|
1941
2653
|
401: unknown;
|
|
1942
2654
|
};
|
|
1943
|
-
export type
|
|
2655
|
+
export type GetUsageResponses = {
|
|
1944
2656
|
/**
|
|
1945
|
-
*
|
|
2657
|
+
* Usage data with facets for filtering
|
|
1946
2658
|
*/
|
|
1947
|
-
200:
|
|
2659
|
+
200: UsageResponse;
|
|
1948
2660
|
};
|
|
1949
|
-
export type
|
|
1950
|
-
export type
|
|
1951
|
-
body
|
|
2661
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2662
|
+
export type GetPaymentMethodSecretData = {
|
|
2663
|
+
body?: never;
|
|
1952
2664
|
path?: never;
|
|
1953
2665
|
query?: never;
|
|
1954
|
-
url: '/
|
|
1955
|
-
};
|
|
1956
|
-
export type CreateTokenErrors = {
|
|
1957
|
-
/**
|
|
1958
|
-
* Not authenticated
|
|
1959
|
-
*/
|
|
1960
|
-
401: unknown;
|
|
2666
|
+
url: '/billing/payment-method';
|
|
1961
2667
|
};
|
|
1962
|
-
export type
|
|
2668
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1963
2669
|
/**
|
|
1964
|
-
*
|
|
2670
|
+
* 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.
|
|
2671
|
+
*
|
|
1965
2672
|
*/
|
|
1966
|
-
200:
|
|
1967
|
-
};
|
|
1968
|
-
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1969
|
-
export type DeleteTokenData = {
|
|
1970
|
-
body?: never;
|
|
1971
|
-
path: {
|
|
2673
|
+
200: {
|
|
1972
2674
|
/**
|
|
1973
|
-
*
|
|
2675
|
+
* The client secret.
|
|
1974
2676
|
*/
|
|
1975
|
-
|
|
2677
|
+
id?: string;
|
|
1976
2678
|
};
|
|
1977
|
-
query?: never;
|
|
1978
|
-
url: '/tokens/{token_id}';
|
|
1979
|
-
};
|
|
1980
|
-
export type DeleteTokenResponses = {
|
|
1981
|
-
/**
|
|
1982
|
-
* Successfully deleted.
|
|
1983
|
-
*/
|
|
1984
|
-
200: unknown;
|
|
1985
2679
|
};
|
|
1986
|
-
export type
|
|
2680
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2681
|
+
export type ListPaymentMethodsData = {
|
|
1987
2682
|
body?: never;
|
|
1988
|
-
path
|
|
1989
|
-
/**
|
|
1990
|
-
* Generated unique identifier of the access token.
|
|
1991
|
-
*/
|
|
1992
|
-
token_id: string;
|
|
1993
|
-
};
|
|
2683
|
+
path?: never;
|
|
1994
2684
|
query?: never;
|
|
1995
|
-
url: '/
|
|
2685
|
+
url: '/billing/payment-methods';
|
|
1996
2686
|
};
|
|
1997
|
-
export type
|
|
2687
|
+
export type ListPaymentMethodsErrors = {
|
|
1998
2688
|
/**
|
|
1999
2689
|
* Not authenticated
|
|
2000
2690
|
*/
|
|
2001
2691
|
401: unknown;
|
|
2002
2692
|
};
|
|
2003
|
-
export type
|
|
2693
|
+
export type ListPaymentMethodsResponses = {
|
|
2004
2694
|
/**
|
|
2005
|
-
*
|
|
2695
|
+
* An array of payment methods.
|
|
2006
2696
|
*/
|
|
2007
|
-
200:
|
|
2697
|
+
200: Array<PaymentMethod>;
|
|
2008
2698
|
};
|
|
2009
|
-
export type
|
|
2010
|
-
export type
|
|
2011
|
-
body
|
|
2699
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2700
|
+
export type SetDefaultPaymentMethodData = {
|
|
2701
|
+
body?: never;
|
|
2012
2702
|
path: {
|
|
2013
2703
|
/**
|
|
2014
|
-
*
|
|
2704
|
+
* Stripe payment method identifier.
|
|
2015
2705
|
*/
|
|
2016
|
-
|
|
2706
|
+
paymentMethodId: string;
|
|
2017
2707
|
};
|
|
2018
2708
|
query?: never;
|
|
2019
|
-
url: '/
|
|
2709
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2020
2710
|
};
|
|
2021
|
-
export type
|
|
2711
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2712
|
+
/**
|
|
2713
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2714
|
+
*/
|
|
2715
|
+
400: unknown;
|
|
2022
2716
|
/**
|
|
2023
2717
|
* Not authenticated
|
|
2024
2718
|
*/
|
|
2025
2719
|
401: unknown;
|
|
2720
|
+
/**
|
|
2721
|
+
* Payment method not found.
|
|
2722
|
+
*/
|
|
2723
|
+
404: unknown;
|
|
2026
2724
|
};
|
|
2027
|
-
export type
|
|
2725
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2028
2726
|
/**
|
|
2029
|
-
*
|
|
2727
|
+
* Default payment method updated.
|
|
2030
2728
|
*/
|
|
2031
|
-
|
|
2729
|
+
204: void;
|
|
2032
2730
|
};
|
|
2033
|
-
export type
|
|
2034
|
-
export type
|
|
2731
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2732
|
+
export type DeletePaymentMethodData = {
|
|
2035
2733
|
body?: never;
|
|
2036
2734
|
path: {
|
|
2037
2735
|
/**
|
|
2038
|
-
*
|
|
2736
|
+
* Stripe payment method identifier.
|
|
2039
2737
|
*/
|
|
2040
|
-
|
|
2738
|
+
paymentMethodId: string;
|
|
2041
2739
|
};
|
|
2042
2740
|
query?: never;
|
|
2043
|
-
url: '/
|
|
2741
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2044
2742
|
};
|
|
2045
|
-
export type
|
|
2743
|
+
export type DeletePaymentMethodErrors = {
|
|
2744
|
+
/**
|
|
2745
|
+
* The bank transfer payment method cannot be removed.
|
|
2746
|
+
*/
|
|
2747
|
+
400: unknown;
|
|
2046
2748
|
/**
|
|
2047
2749
|
* Not authenticated
|
|
2048
2750
|
*/
|
|
2049
2751
|
401: unknown;
|
|
2050
|
-
};
|
|
2051
|
-
export type RegenerateTokenResponses = {
|
|
2052
2752
|
/**
|
|
2053
|
-
*
|
|
2753
|
+
* Payment method not found.
|
|
2054
2754
|
*/
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
path: {
|
|
2061
|
-
/**
|
|
2062
|
-
* User email address.
|
|
2063
|
-
*/
|
|
2064
|
-
email: string;
|
|
2065
|
-
};
|
|
2066
|
-
query?: never;
|
|
2067
|
-
url: '/users/organizations/{email}';
|
|
2755
|
+
404: unknown;
|
|
2756
|
+
/**
|
|
2757
|
+
* Cannot delete the only remaining payment method.
|
|
2758
|
+
*/
|
|
2759
|
+
409: unknown;
|
|
2068
2760
|
};
|
|
2069
|
-
export type
|
|
2761
|
+
export type DeletePaymentMethodResponses = {
|
|
2070
2762
|
/**
|
|
2071
|
-
*
|
|
2763
|
+
* Payment method deleted.
|
|
2072
2764
|
*/
|
|
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
|
-
}>;
|
|
2765
|
+
204: void;
|
|
2083
2766
|
};
|
|
2084
|
-
export type
|
|
2085
|
-
export type
|
|
2767
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2768
|
+
export type ListInvoicesData = {
|
|
2086
2769
|
body?: never;
|
|
2087
2770
|
path?: never;
|
|
2088
2771
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2772
|
+
url: '/billing/invoices';
|
|
2090
2773
|
};
|
|
2091
|
-
export type
|
|
2774
|
+
export type ListInvoicesErrors = {
|
|
2092
2775
|
/**
|
|
2093
2776
|
* Not authenticated
|
|
2094
2777
|
*/
|
|
2095
2778
|
401: unknown;
|
|
2096
2779
|
};
|
|
2097
|
-
export type
|
|
2780
|
+
export type ListInvoicesResponses = {
|
|
2098
2781
|
/**
|
|
2099
|
-
* An array of
|
|
2782
|
+
* An array of usage records.
|
|
2100
2783
|
*/
|
|
2101
|
-
200: Array<
|
|
2784
|
+
200: Array<Invoice>;
|
|
2102
2785
|
};
|
|
2103
|
-
export type
|
|
2104
|
-
export type
|
|
2105
|
-
body
|
|
2786
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2787
|
+
export type GetContactData = {
|
|
2788
|
+
body?: never;
|
|
2106
2789
|
path?: never;
|
|
2107
2790
|
query?: never;
|
|
2108
|
-
url: '/
|
|
2791
|
+
url: '/billing/contact';
|
|
2109
2792
|
};
|
|
2110
|
-
export type
|
|
2793
|
+
export type GetContactResponses = {
|
|
2111
2794
|
/**
|
|
2112
|
-
*
|
|
2795
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2113
2796
|
*/
|
|
2114
|
-
200:
|
|
2797
|
+
200: BillingContact;
|
|
2115
2798
|
};
|
|
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
|
-
};
|
|
2799
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2800
|
+
export type UpdateContactData = {
|
|
2801
|
+
body: BillingContact;
|
|
2802
|
+
path?: never;
|
|
2125
2803
|
query?: never;
|
|
2126
|
-
url: '/
|
|
2804
|
+
url: '/billing/contact';
|
|
2127
2805
|
};
|
|
2128
|
-
export type
|
|
2806
|
+
export type UpdateContactResponses = {
|
|
2129
2807
|
/**
|
|
2130
|
-
*
|
|
2808
|
+
* Successfully updated. Returns updated organization details.
|
|
2131
2809
|
*/
|
|
2132
|
-
|
|
2810
|
+
200: BillingContact;
|
|
2811
|
+
};
|
|
2812
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2813
|
+
export type GetCreditsData = {
|
|
2814
|
+
body?: never;
|
|
2815
|
+
path?: never;
|
|
2816
|
+
query?: never;
|
|
2817
|
+
url: '/billing/credits';
|
|
2818
|
+
};
|
|
2819
|
+
export type GetCreditsErrors = {
|
|
2133
2820
|
/**
|
|
2134
2821
|
* Not authenticated
|
|
2135
2822
|
*/
|
|
2136
2823
|
401: unknown;
|
|
2137
2824
|
};
|
|
2138
|
-
export type
|
|
2825
|
+
export type GetCreditsResponses = {
|
|
2139
2826
|
/**
|
|
2140
|
-
*
|
|
2827
|
+
* An array of the applied promotional credits records.
|
|
2141
2828
|
*/
|
|
2142
|
-
200:
|
|
2829
|
+
200: Array<BillingCredits>;
|
|
2143
2830
|
};
|
|
2144
|
-
export type
|
|
2145
|
-
export type
|
|
2146
|
-
body
|
|
2147
|
-
path: {
|
|
2831
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2832
|
+
export type RedeemCreditsData = {
|
|
2833
|
+
body: {
|
|
2148
2834
|
/**
|
|
2149
|
-
*
|
|
2835
|
+
* Promotional code to redeem
|
|
2150
2836
|
*/
|
|
2151
|
-
|
|
2837
|
+
code?: string;
|
|
2152
2838
|
};
|
|
2839
|
+
path?: never;
|
|
2153
2840
|
query?: never;
|
|
2154
|
-
url: '/
|
|
2841
|
+
url: '/billing/credits';
|
|
2155
2842
|
};
|
|
2156
|
-
export type
|
|
2843
|
+
export type RedeemCreditsErrors = {
|
|
2157
2844
|
/**
|
|
2158
2845
|
* Not authenticated
|
|
2159
2846
|
*/
|
|
2160
2847
|
401: unknown;
|
|
2161
2848
|
};
|
|
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 = {
|
|
2849
|
+
export type RedeemCreditsResponses = {
|
|
2181
2850
|
/**
|
|
2182
|
-
* Successfully created
|
|
2851
|
+
* Successfully created a new organization.
|
|
2183
2852
|
*/
|
|
2184
|
-
200:
|
|
2853
|
+
200: unknown;
|
|
2185
2854
|
};
|
|
2186
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2187
2855
|
//# sourceMappingURL=types.gen.d.ts.map
|