@cloudfleet/sdk 0.0.1-e9ffb68 → 0.0.1-ea4847c
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +104 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- 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/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +993 -107
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1905 -174
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +240 -197
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +348 -274
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1493 -756
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3339 -1205
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1239 -292
- package/dist/zod.gen.js.map +1 -1
- package/package.json +27 -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';
|
|
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.
|
|
205
|
+
*/
|
|
206
|
+
region: string;
|
|
207
|
+
/**
|
|
208
|
+
* Cluster networking configuration. Immutable after creation.
|
|
177
209
|
*/
|
|
178
|
-
|
|
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.
|
|
@@ -247,18 +307,69 @@ export type Cluster = {
|
|
|
247
307
|
*/
|
|
248
308
|
tier: 'basic' | 'pro';
|
|
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.
|
|
251
336
|
*/
|
|
252
|
-
region
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
340
|
+
*/
|
|
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';
|
|
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). Omit this field to keep the existing value.
|
|
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'>;
|
|
327
474
|
/**
|
|
328
|
-
*
|
|
475
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
329
476
|
*/
|
|
330
|
-
|
|
477
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
478
|
+
/**
|
|
479
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
480
|
+
*/
|
|
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). Omit this field to keep the existing value.
|
|
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
|
*/
|
|
@@ -631,36 +890,52 @@ export type Organization = {
|
|
|
631
890
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
891
|
*/
|
|
633
892
|
status: 'active' | 'closed' | 'suspended';
|
|
893
|
+
/**
|
|
894
|
+
* 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.
|
|
895
|
+
*/
|
|
896
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
634
897
|
};
|
|
635
898
|
export type PaymentMethod = {
|
|
636
899
|
/**
|
|
637
|
-
*
|
|
900
|
+
* 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
901
|
*/
|
|
639
902
|
id: string;
|
|
640
903
|
/**
|
|
641
|
-
*
|
|
642
|
-
*/
|
|
643
|
-
setup: boolean;
|
|
644
|
-
/**
|
|
645
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
904
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
646
905
|
*/
|
|
647
|
-
type: 'card';
|
|
906
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
648
907
|
/**
|
|
649
|
-
* Last 4 digits of the payment card number.
|
|
908
|
+
* 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
909
|
*/
|
|
651
910
|
last4: string;
|
|
652
911
|
/**
|
|
653
|
-
* Two-digit number representing the card's expiration month.
|
|
912
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
654
913
|
*/
|
|
655
914
|
exp_month: number;
|
|
656
915
|
/**
|
|
657
|
-
* Four-digit number representing the card's expiration year.
|
|
916
|
+
* 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
917
|
*/
|
|
659
918
|
exp_year: number;
|
|
660
919
|
/**
|
|
661
|
-
* Payment card brand
|
|
920
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
921
|
+
*/
|
|
922
|
+
brand: string;
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
*/
|
|
926
|
+
iban: string;
|
|
927
|
+
/**
|
|
928
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
929
|
+
*/
|
|
930
|
+
bic: string;
|
|
931
|
+
/**
|
|
932
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
933
|
+
*/
|
|
934
|
+
account_holder_name: string;
|
|
935
|
+
/**
|
|
936
|
+
* 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
937
|
*/
|
|
663
|
-
|
|
938
|
+
is_default: boolean;
|
|
664
939
|
};
|
|
665
940
|
export type PlatformQuota = {
|
|
666
941
|
/**
|
|
@@ -857,123 +1132,375 @@ export type RegistryTag = {
|
|
|
857
1132
|
*/
|
|
858
1133
|
uri: string;
|
|
859
1134
|
};
|
|
860
|
-
export type
|
|
861
|
-
/**
|
|
862
|
-
* Human readable access token name.
|
|
863
|
-
*/
|
|
864
|
-
name: string;
|
|
865
|
-
/**
|
|
866
|
-
* Role assumed by the token.
|
|
867
|
-
*/
|
|
868
|
-
role: 'Administrator' | 'User';
|
|
869
|
-
};
|
|
870
|
-
export type Token = {
|
|
871
|
-
/**
|
|
872
|
-
* Human readable access token name.
|
|
873
|
-
*/
|
|
874
|
-
name: string;
|
|
1135
|
+
export type TicketAttachment = {
|
|
875
1136
|
/**
|
|
876
|
-
*
|
|
1137
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
877
1138
|
*/
|
|
878
|
-
|
|
1139
|
+
id: string;
|
|
879
1140
|
/**
|
|
880
|
-
*
|
|
1141
|
+
* Original filename as uploaded.
|
|
881
1142
|
*/
|
|
882
|
-
|
|
1143
|
+
filename: string;
|
|
883
1144
|
/**
|
|
884
|
-
*
|
|
1145
|
+
* MIME content type of the attachment.
|
|
885
1146
|
*/
|
|
886
|
-
|
|
1147
|
+
content_type: string;
|
|
887
1148
|
/**
|
|
888
|
-
*
|
|
1149
|
+
* Size of the attachment in bytes.
|
|
889
1150
|
*/
|
|
890
|
-
|
|
1151
|
+
size: number;
|
|
891
1152
|
};
|
|
892
|
-
export type
|
|
893
|
-
/**
|
|
894
|
-
* Human readable access token name.
|
|
895
|
-
*/
|
|
896
|
-
name?: string;
|
|
1153
|
+
export type TicketCreateInput = {
|
|
897
1154
|
/**
|
|
898
|
-
*
|
|
1155
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
899
1156
|
*/
|
|
900
|
-
|
|
901
|
-
};
|
|
902
|
-
export type UsageFacets = {
|
|
1157
|
+
category: 'billing' | 'technical' | 'general';
|
|
903
1158
|
/**
|
|
904
|
-
*
|
|
1159
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
905
1160
|
*/
|
|
906
|
-
|
|
1161
|
+
body: string;
|
|
907
1162
|
/**
|
|
908
|
-
*
|
|
1163
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
909
1164
|
*/
|
|
910
|
-
|
|
1165
|
+
properties?: {
|
|
1166
|
+
[key: string]: unknown;
|
|
1167
|
+
};
|
|
911
1168
|
};
|
|
912
|
-
export type
|
|
1169
|
+
export type TicketListResponse = {
|
|
913
1170
|
/**
|
|
914
|
-
*
|
|
1171
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
915
1172
|
*/
|
|
916
|
-
|
|
1173
|
+
items: Array<{
|
|
917
1174
|
/**
|
|
918
|
-
*
|
|
1175
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
919
1176
|
*/
|
|
920
|
-
|
|
1177
|
+
id: string;
|
|
921
1178
|
/**
|
|
922
|
-
*
|
|
1179
|
+
* Current state of the ticket.
|
|
923
1180
|
*/
|
|
924
|
-
|
|
1181
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
925
1182
|
/**
|
|
926
|
-
*
|
|
1183
|
+
* Ticket category.
|
|
927
1184
|
*/
|
|
928
|
-
|
|
1185
|
+
category: 'billing' | 'technical' | 'general';
|
|
929
1186
|
/**
|
|
930
|
-
*
|
|
1187
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
931
1188
|
*/
|
|
932
|
-
|
|
1189
|
+
summary: string;
|
|
933
1190
|
/**
|
|
934
|
-
*
|
|
1191
|
+
* Closure timestamp. Null while the ticket is open.
|
|
935
1192
|
*/
|
|
936
|
-
|
|
1193
|
+
closed_at?: string;
|
|
937
1194
|
/**
|
|
938
|
-
*
|
|
1195
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
939
1196
|
*/
|
|
940
|
-
|
|
941
|
-
}>;
|
|
942
|
-
/**
|
|
943
|
-
* Facets for filtering
|
|
944
|
-
*/
|
|
945
|
-
facets: {
|
|
1197
|
+
date_created: string;
|
|
946
1198
|
/**
|
|
947
|
-
*
|
|
1199
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
948
1200
|
*/
|
|
949
|
-
|
|
1201
|
+
date_updated: string;
|
|
950
1202
|
/**
|
|
951
|
-
*
|
|
1203
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
952
1204
|
*/
|
|
953
|
-
|
|
954
|
-
|
|
1205
|
+
messages?: Array<{
|
|
1206
|
+
/**
|
|
1207
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1208
|
+
*/
|
|
1209
|
+
id: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1212
|
+
*/
|
|
1213
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1214
|
+
/**
|
|
1215
|
+
* Message body in markdown.
|
|
1216
|
+
*/
|
|
1217
|
+
body: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* First name of the author. Null when not provided.
|
|
1220
|
+
*/
|
|
1221
|
+
author_first_name?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Last name of the author. Null when not provided.
|
|
1224
|
+
*/
|
|
1225
|
+
author_last_name?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Attachments associated with this message.
|
|
1228
|
+
*/
|
|
1229
|
+
attachments?: Array<{
|
|
1230
|
+
/**
|
|
1231
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1232
|
+
*/
|
|
1233
|
+
id: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* Original filename as uploaded.
|
|
1236
|
+
*/
|
|
1237
|
+
filename: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* MIME content type of the attachment.
|
|
1240
|
+
*/
|
|
1241
|
+
content_type: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Size of the attachment in bytes.
|
|
1244
|
+
*/
|
|
1245
|
+
size: number;
|
|
1246
|
+
}>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1249
|
+
*/
|
|
1250
|
+
date_created: string;
|
|
1251
|
+
}>;
|
|
1252
|
+
}>;
|
|
955
1253
|
};
|
|
956
|
-
export type
|
|
1254
|
+
export type TicketMessageInput = {
|
|
957
1255
|
/**
|
|
958
|
-
*
|
|
1256
|
+
* Reply body in markdown.
|
|
959
1257
|
*/
|
|
960
|
-
|
|
1258
|
+
body: string;
|
|
1259
|
+
};
|
|
1260
|
+
export type TicketMessage = {
|
|
961
1261
|
/**
|
|
962
|
-
* Unique identifier of the
|
|
1262
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
963
1263
|
*/
|
|
964
|
-
|
|
1264
|
+
id: string;
|
|
965
1265
|
/**
|
|
966
|
-
*
|
|
1266
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
967
1267
|
*/
|
|
968
|
-
|
|
1268
|
+
type: 'customer_reply' | 'agent_reply';
|
|
969
1269
|
/**
|
|
970
|
-
*
|
|
1270
|
+
* Message body in markdown.
|
|
971
1271
|
*/
|
|
972
|
-
|
|
1272
|
+
body: string;
|
|
973
1273
|
/**
|
|
974
|
-
*
|
|
1274
|
+
* First name of the author. Null when not provided.
|
|
975
1275
|
*/
|
|
976
|
-
|
|
1276
|
+
author_first_name?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Last name of the author. Null when not provided.
|
|
1279
|
+
*/
|
|
1280
|
+
author_last_name?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* Attachments associated with this message.
|
|
1283
|
+
*/
|
|
1284
|
+
attachments?: Array<{
|
|
1285
|
+
/**
|
|
1286
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1287
|
+
*/
|
|
1288
|
+
id: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Original filename as uploaded.
|
|
1291
|
+
*/
|
|
1292
|
+
filename: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* MIME content type of the attachment.
|
|
1295
|
+
*/
|
|
1296
|
+
content_type: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Size of the attachment in bytes.
|
|
1299
|
+
*/
|
|
1300
|
+
size: number;
|
|
1301
|
+
}>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1304
|
+
*/
|
|
1305
|
+
date_created: string;
|
|
1306
|
+
};
|
|
1307
|
+
export type Ticket = {
|
|
1308
|
+
/**
|
|
1309
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1310
|
+
*/
|
|
1311
|
+
id: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* Current state of the ticket.
|
|
1314
|
+
*/
|
|
1315
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1316
|
+
/**
|
|
1317
|
+
* Ticket category.
|
|
1318
|
+
*/
|
|
1319
|
+
category: 'billing' | 'technical' | 'general';
|
|
1320
|
+
/**
|
|
1321
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1322
|
+
*/
|
|
1323
|
+
summary: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1326
|
+
*/
|
|
1327
|
+
closed_at?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1330
|
+
*/
|
|
1331
|
+
date_created: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1334
|
+
*/
|
|
1335
|
+
date_updated: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1338
|
+
*/
|
|
1339
|
+
messages?: Array<{
|
|
1340
|
+
/**
|
|
1341
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1342
|
+
*/
|
|
1343
|
+
id: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1346
|
+
*/
|
|
1347
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1348
|
+
/**
|
|
1349
|
+
* Message body in markdown.
|
|
1350
|
+
*/
|
|
1351
|
+
body: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* First name of the author. Null when not provided.
|
|
1354
|
+
*/
|
|
1355
|
+
author_first_name?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Last name of the author. Null when not provided.
|
|
1358
|
+
*/
|
|
1359
|
+
author_last_name?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Attachments associated with this message.
|
|
1362
|
+
*/
|
|
1363
|
+
attachments?: Array<{
|
|
1364
|
+
/**
|
|
1365
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1366
|
+
*/
|
|
1367
|
+
id: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Original filename as uploaded.
|
|
1370
|
+
*/
|
|
1371
|
+
filename: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* MIME content type of the attachment.
|
|
1374
|
+
*/
|
|
1375
|
+
content_type: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Size of the attachment in bytes.
|
|
1378
|
+
*/
|
|
1379
|
+
size: number;
|
|
1380
|
+
}>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1383
|
+
*/
|
|
1384
|
+
date_created: string;
|
|
1385
|
+
}>;
|
|
1386
|
+
};
|
|
1387
|
+
export type TokenCreateInput = {
|
|
1388
|
+
/**
|
|
1389
|
+
* Human readable access token name.
|
|
1390
|
+
*/
|
|
1391
|
+
name: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* Role assumed by the token.
|
|
1394
|
+
*/
|
|
1395
|
+
role: 'Administrator' | 'User';
|
|
1396
|
+
};
|
|
1397
|
+
export type Token = {
|
|
1398
|
+
/**
|
|
1399
|
+
* Human readable access token name.
|
|
1400
|
+
*/
|
|
1401
|
+
name: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Role assumed by the token.
|
|
1404
|
+
*/
|
|
1405
|
+
role: 'Administrator' | 'User';
|
|
1406
|
+
/**
|
|
1407
|
+
* Generated unique identifier of the access token.
|
|
1408
|
+
*/
|
|
1409
|
+
id?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* Access token secret. Unmasked only during creation.
|
|
1412
|
+
*/
|
|
1413
|
+
secret?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
1416
|
+
*/
|
|
1417
|
+
date_created: string;
|
|
1418
|
+
};
|
|
1419
|
+
export type TokenUpdateInput = {
|
|
1420
|
+
/**
|
|
1421
|
+
* Human readable access token name.
|
|
1422
|
+
*/
|
|
1423
|
+
name?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Role assumed by the token.
|
|
1426
|
+
*/
|
|
1427
|
+
role?: 'Administrator' | 'User';
|
|
1428
|
+
};
|
|
1429
|
+
export type UsageFacets = {
|
|
1430
|
+
/**
|
|
1431
|
+
* List of unique cluster IDs
|
|
1432
|
+
*/
|
|
1433
|
+
cluster_id?: Array<string>;
|
|
1434
|
+
/**
|
|
1435
|
+
* List of unique products
|
|
1436
|
+
*/
|
|
1437
|
+
product?: Array<string>;
|
|
1438
|
+
};
|
|
1439
|
+
export type UsageResponse = {
|
|
1440
|
+
/**
|
|
1441
|
+
* Usage data
|
|
1442
|
+
*/
|
|
1443
|
+
data: Array<{
|
|
1444
|
+
/**
|
|
1445
|
+
* Hour of the usage
|
|
1446
|
+
*/
|
|
1447
|
+
hour: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1450
|
+
*/
|
|
1451
|
+
cluster_id: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* The product the usage is associated with
|
|
1454
|
+
*/
|
|
1455
|
+
product: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Consumption
|
|
1458
|
+
*/
|
|
1459
|
+
value: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* Price per unit
|
|
1462
|
+
*/
|
|
1463
|
+
price: number;
|
|
1464
|
+
/**
|
|
1465
|
+
* Total cost
|
|
1466
|
+
*/
|
|
1467
|
+
total: number;
|
|
1468
|
+
}>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Facets for filtering
|
|
1471
|
+
*/
|
|
1472
|
+
facets: {
|
|
1473
|
+
/**
|
|
1474
|
+
* List of unique cluster IDs
|
|
1475
|
+
*/
|
|
1476
|
+
cluster_id?: Array<string>;
|
|
1477
|
+
/**
|
|
1478
|
+
* List of unique products
|
|
1479
|
+
*/
|
|
1480
|
+
product?: Array<string>;
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
export type Usage = {
|
|
1484
|
+
/**
|
|
1485
|
+
* Hour of the usage
|
|
1486
|
+
*/
|
|
1487
|
+
hour: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1490
|
+
*/
|
|
1491
|
+
cluster_id: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* The product the usage is associated with
|
|
1494
|
+
*/
|
|
1495
|
+
product: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Consumption
|
|
1498
|
+
*/
|
|
1499
|
+
value: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* Price per unit
|
|
1502
|
+
*/
|
|
1503
|
+
price: number;
|
|
977
1504
|
/**
|
|
978
1505
|
* Total cost
|
|
979
1506
|
*/
|
|
@@ -1000,14 +1527,6 @@ export type UserCreateInput = {
|
|
|
1000
1527
|
* User password. Must be at least 8 characters long.
|
|
1001
1528
|
*/
|
|
1002
1529
|
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
1530
|
};
|
|
1012
1531
|
export type User = {
|
|
1013
1532
|
/**
|
|
@@ -1061,466 +1580,698 @@ export type UserUpdateInput = {
|
|
|
1061
1580
|
*/
|
|
1062
1581
|
status?: 'active' | 'inactive';
|
|
1063
1582
|
};
|
|
1064
|
-
export type
|
|
1583
|
+
export type ListUserOrganizationsData = {
|
|
1065
1584
|
body?: never;
|
|
1066
|
-
path
|
|
1067
|
-
query?: {
|
|
1585
|
+
path: {
|
|
1068
1586
|
/**
|
|
1069
|
-
*
|
|
1587
|
+
* User email address.
|
|
1070
1588
|
*/
|
|
1071
|
-
|
|
1589
|
+
email: string;
|
|
1072
1590
|
};
|
|
1073
|
-
|
|
1074
|
-
};
|
|
1075
|
-
export type GetUsageErrors = {
|
|
1076
|
-
/**
|
|
1077
|
-
* Not authenticated
|
|
1078
|
-
*/
|
|
1079
|
-
401: unknown;
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/users/organizations/{email}';
|
|
1080
1593
|
};
|
|
1081
|
-
export type
|
|
1594
|
+
export type ListUserOrganizationsResponses = {
|
|
1082
1595
|
/**
|
|
1083
|
-
*
|
|
1596
|
+
* An array of organizations the user belongs to.
|
|
1084
1597
|
*/
|
|
1085
|
-
200:
|
|
1598
|
+
200: Array<{
|
|
1599
|
+
/**
|
|
1600
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1601
|
+
*/
|
|
1602
|
+
realm?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* Human-readable name of the organization
|
|
1605
|
+
*/
|
|
1606
|
+
displayName?: string;
|
|
1607
|
+
}>;
|
|
1086
1608
|
};
|
|
1087
|
-
export type
|
|
1088
|
-
export type
|
|
1609
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1610
|
+
export type ListUsersData = {
|
|
1089
1611
|
body?: never;
|
|
1090
1612
|
path?: never;
|
|
1091
1613
|
query?: never;
|
|
1092
|
-
url: '/
|
|
1614
|
+
url: '/users';
|
|
1093
1615
|
};
|
|
1094
|
-
export type
|
|
1616
|
+
export type ListUsersErrors = {
|
|
1095
1617
|
/**
|
|
1096
|
-
*
|
|
1618
|
+
* Not authenticated
|
|
1097
1619
|
*/
|
|
1098
|
-
|
|
1620
|
+
401: unknown;
|
|
1099
1621
|
};
|
|
1100
|
-
export type
|
|
1622
|
+
export type ListUsersResponses = {
|
|
1101
1623
|
/**
|
|
1102
|
-
*
|
|
1624
|
+
* An array of users
|
|
1103
1625
|
*/
|
|
1104
|
-
200:
|
|
1626
|
+
200: Array<User>;
|
|
1105
1627
|
};
|
|
1106
|
-
export type
|
|
1107
|
-
export type
|
|
1108
|
-
body
|
|
1628
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1629
|
+
export type CreateUserData = {
|
|
1630
|
+
body: UserCreateInput;
|
|
1109
1631
|
path?: never;
|
|
1110
1632
|
query?: never;
|
|
1111
|
-
url: '/
|
|
1633
|
+
url: '/users';
|
|
1112
1634
|
};
|
|
1113
|
-
export type
|
|
1635
|
+
export type CreateUserResponses = {
|
|
1114
1636
|
/**
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1637
|
+
* Successfully created. Returns created user details.
|
|
1117
1638
|
*/
|
|
1118
|
-
200:
|
|
1639
|
+
200: User;
|
|
1640
|
+
};
|
|
1641
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1642
|
+
export type DeleteUserData = {
|
|
1643
|
+
body?: never;
|
|
1644
|
+
path: {
|
|
1119
1645
|
/**
|
|
1120
|
-
*
|
|
1646
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1121
1647
|
*/
|
|
1122
|
-
|
|
1648
|
+
user_id: string;
|
|
1123
1649
|
};
|
|
1124
|
-
};
|
|
1125
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1126
|
-
export type ListInvoicesData = {
|
|
1127
|
-
body?: never;
|
|
1128
|
-
path?: never;
|
|
1129
1650
|
query?: never;
|
|
1130
|
-
url: '/
|
|
1651
|
+
url: '/users/{user_id}';
|
|
1131
1652
|
};
|
|
1132
|
-
export type
|
|
1653
|
+
export type DeleteUserErrors = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1656
|
+
*/
|
|
1657
|
+
400: unknown;
|
|
1133
1658
|
/**
|
|
1134
1659
|
* Not authenticated
|
|
1135
1660
|
*/
|
|
1136
1661
|
401: unknown;
|
|
1137
1662
|
};
|
|
1138
|
-
export type
|
|
1663
|
+
export type DeleteUserResponses = {
|
|
1139
1664
|
/**
|
|
1140
|
-
*
|
|
1665
|
+
* User profile information
|
|
1141
1666
|
*/
|
|
1142
|
-
200:
|
|
1667
|
+
200: User;
|
|
1143
1668
|
};
|
|
1144
|
-
export type
|
|
1145
|
-
export type
|
|
1669
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1670
|
+
export type GetUserData = {
|
|
1146
1671
|
body?: never;
|
|
1147
|
-
path
|
|
1672
|
+
path: {
|
|
1673
|
+
/**
|
|
1674
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1675
|
+
*/
|
|
1676
|
+
user_id: string;
|
|
1677
|
+
};
|
|
1148
1678
|
query?: never;
|
|
1149
|
-
url: '/
|
|
1679
|
+
url: '/users/{user_id}';
|
|
1150
1680
|
};
|
|
1151
|
-
export type
|
|
1681
|
+
export type GetUserErrors = {
|
|
1152
1682
|
/**
|
|
1153
|
-
*
|
|
1683
|
+
* Not authenticated
|
|
1154
1684
|
*/
|
|
1155
|
-
|
|
1685
|
+
401: unknown;
|
|
1156
1686
|
};
|
|
1157
|
-
export type
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1687
|
+
export type GetUserResponses = {
|
|
1688
|
+
/**
|
|
1689
|
+
* User profile information
|
|
1690
|
+
*/
|
|
1691
|
+
200: User;
|
|
1692
|
+
};
|
|
1693
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1694
|
+
export type UpdateUserData = {
|
|
1695
|
+
body: UserUpdateInput;
|
|
1696
|
+
path: {
|
|
1697
|
+
/**
|
|
1698
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1699
|
+
*/
|
|
1700
|
+
user_id: string;
|
|
1701
|
+
};
|
|
1161
1702
|
query?: never;
|
|
1162
|
-
url: '/
|
|
1703
|
+
url: '/users/{user_id}';
|
|
1163
1704
|
};
|
|
1164
|
-
export type
|
|
1705
|
+
export type UpdateUserResponses = {
|
|
1165
1706
|
/**
|
|
1166
|
-
* Successfully
|
|
1707
|
+
* Successfully created. Returns created user details.
|
|
1167
1708
|
*/
|
|
1168
|
-
200:
|
|
1709
|
+
200: User;
|
|
1169
1710
|
};
|
|
1170
|
-
export type
|
|
1171
|
-
export type
|
|
1711
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1712
|
+
export type ListTokensData = {
|
|
1172
1713
|
body?: never;
|
|
1173
1714
|
path?: never;
|
|
1174
1715
|
query?: never;
|
|
1175
|
-
url: '/
|
|
1716
|
+
url: '/tokens';
|
|
1176
1717
|
};
|
|
1177
|
-
export type
|
|
1718
|
+
export type ListTokensErrors = {
|
|
1178
1719
|
/**
|
|
1179
1720
|
* Not authenticated
|
|
1180
1721
|
*/
|
|
1181
1722
|
401: unknown;
|
|
1182
1723
|
};
|
|
1183
|
-
export type
|
|
1724
|
+
export type ListTokensResponses = {
|
|
1184
1725
|
/**
|
|
1185
|
-
*
|
|
1726
|
+
* Returns a list of access token details with masked secrets.
|
|
1186
1727
|
*/
|
|
1187
|
-
200: Array<
|
|
1728
|
+
200: Array<Token>;
|
|
1188
1729
|
};
|
|
1189
|
-
export type
|
|
1190
|
-
export type
|
|
1191
|
-
body:
|
|
1192
|
-
/**
|
|
1193
|
-
* Promotional code to redeem
|
|
1194
|
-
*/
|
|
1195
|
-
code?: string;
|
|
1196
|
-
};
|
|
1730
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1731
|
+
export type CreateTokenData = {
|
|
1732
|
+
body: TokenCreateInput;
|
|
1197
1733
|
path?: never;
|
|
1198
1734
|
query?: never;
|
|
1199
|
-
url: '/
|
|
1735
|
+
url: '/tokens';
|
|
1200
1736
|
};
|
|
1201
|
-
export type
|
|
1737
|
+
export type CreateTokenErrors = {
|
|
1202
1738
|
/**
|
|
1203
1739
|
* Not authenticated
|
|
1204
1740
|
*/
|
|
1205
1741
|
401: unknown;
|
|
1206
1742
|
};
|
|
1207
|
-
export type
|
|
1743
|
+
export type CreateTokenResponses = {
|
|
1208
1744
|
/**
|
|
1209
|
-
* Successfully created
|
|
1745
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1746
|
+
*/
|
|
1747
|
+
200: Token;
|
|
1748
|
+
};
|
|
1749
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1750
|
+
export type DeleteTokenData = {
|
|
1751
|
+
body?: never;
|
|
1752
|
+
path: {
|
|
1753
|
+
/**
|
|
1754
|
+
* Generated unique identifier of the access token.
|
|
1755
|
+
*/
|
|
1756
|
+
token_id: string;
|
|
1757
|
+
};
|
|
1758
|
+
query?: never;
|
|
1759
|
+
url: '/tokens/{token_id}';
|
|
1760
|
+
};
|
|
1761
|
+
export type DeleteTokenResponses = {
|
|
1762
|
+
/**
|
|
1763
|
+
* Successfully deleted.
|
|
1210
1764
|
*/
|
|
1211
1765
|
200: unknown;
|
|
1212
1766
|
};
|
|
1213
|
-
export type
|
|
1767
|
+
export type GetTokenData = {
|
|
1214
1768
|
body?: never;
|
|
1215
1769
|
path: {
|
|
1216
1770
|
/**
|
|
1217
|
-
*
|
|
1771
|
+
* Generated unique identifier of the access token.
|
|
1218
1772
|
*/
|
|
1219
|
-
|
|
1773
|
+
token_id: string;
|
|
1220
1774
|
};
|
|
1221
1775
|
query?: never;
|
|
1222
|
-
url: '/
|
|
1776
|
+
url: '/tokens/{token_id}';
|
|
1223
1777
|
};
|
|
1224
|
-
export type
|
|
1778
|
+
export type GetTokenErrors = {
|
|
1225
1779
|
/**
|
|
1226
1780
|
* Not authenticated
|
|
1227
1781
|
*/
|
|
1228
1782
|
401: unknown;
|
|
1229
1783
|
};
|
|
1230
|
-
export type
|
|
1784
|
+
export type GetTokenResponses = {
|
|
1231
1785
|
/**
|
|
1232
|
-
*
|
|
1786
|
+
* Returns access token details with masked secret.
|
|
1233
1787
|
*/
|
|
1234
|
-
200:
|
|
1788
|
+
200: Token;
|
|
1235
1789
|
};
|
|
1236
|
-
export type
|
|
1237
|
-
export type
|
|
1238
|
-
body:
|
|
1790
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1791
|
+
export type UpdateTokenData = {
|
|
1792
|
+
body: TokenUpdateInput;
|
|
1239
1793
|
path: {
|
|
1240
1794
|
/**
|
|
1241
|
-
*
|
|
1795
|
+
* Generated unique identifier of the access token.
|
|
1242
1796
|
*/
|
|
1243
|
-
|
|
1797
|
+
token_id: string;
|
|
1244
1798
|
};
|
|
1245
1799
|
query?: never;
|
|
1246
|
-
url: '/
|
|
1800
|
+
url: '/tokens/{token_id}';
|
|
1247
1801
|
};
|
|
1248
|
-
export type
|
|
1802
|
+
export type UpdateTokenErrors = {
|
|
1249
1803
|
/**
|
|
1250
|
-
*
|
|
1804
|
+
* Not authenticated
|
|
1251
1805
|
*/
|
|
1252
|
-
|
|
1806
|
+
401: unknown;
|
|
1253
1807
|
};
|
|
1254
|
-
export type
|
|
1255
|
-
|
|
1808
|
+
export type UpdateTokenResponses = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1811
|
+
*/
|
|
1812
|
+
200: Token;
|
|
1813
|
+
};
|
|
1814
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1815
|
+
export type RegenerateTokenData = {
|
|
1256
1816
|
body?: never;
|
|
1257
1817
|
path: {
|
|
1258
1818
|
/**
|
|
1259
|
-
*
|
|
1260
|
-
*/
|
|
1261
|
-
cluster_id: string;
|
|
1262
|
-
/**
|
|
1263
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1819
|
+
* Generated unique identifier of the access token.
|
|
1264
1820
|
*/
|
|
1265
|
-
|
|
1821
|
+
token_id: string;
|
|
1266
1822
|
};
|
|
1267
1823
|
query?: never;
|
|
1268
|
-
url: '/
|
|
1824
|
+
url: '/tokens/{token_id}/secret';
|
|
1269
1825
|
};
|
|
1270
|
-
export type
|
|
1826
|
+
export type RegenerateTokenErrors = {
|
|
1271
1827
|
/**
|
|
1272
|
-
*
|
|
1828
|
+
* Not authenticated
|
|
1273
1829
|
*/
|
|
1274
|
-
|
|
1830
|
+
401: unknown;
|
|
1275
1831
|
};
|
|
1276
|
-
export type
|
|
1277
|
-
|
|
1832
|
+
export type RegenerateTokenResponses = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1835
|
+
*/
|
|
1836
|
+
200: Token;
|
|
1837
|
+
};
|
|
1838
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1839
|
+
export type ListTicketsData = {
|
|
1278
1840
|
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
|
-
};
|
|
1841
|
+
path?: never;
|
|
1289
1842
|
query?: never;
|
|
1290
|
-
url: '/
|
|
1843
|
+
url: '/tickets';
|
|
1291
1844
|
};
|
|
1292
|
-
export type
|
|
1845
|
+
export type ListTicketsResponses = {
|
|
1293
1846
|
/**
|
|
1294
|
-
*
|
|
1847
|
+
* Tickets for the organization.
|
|
1295
1848
|
*/
|
|
1296
|
-
200:
|
|
1849
|
+
200: TicketListResponse;
|
|
1297
1850
|
};
|
|
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;
|
|
1851
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1852
|
+
export type CreateTicketData = {
|
|
1853
|
+
body: {
|
|
1306
1854
|
/**
|
|
1307
|
-
*
|
|
1855
|
+
* JSON-encoded TicketCreateInput.
|
|
1308
1856
|
*/
|
|
1309
|
-
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1310
1859
|
};
|
|
1860
|
+
path?: never;
|
|
1311
1861
|
query?: never;
|
|
1312
|
-
url: '/
|
|
1862
|
+
url: '/tickets';
|
|
1313
1863
|
};
|
|
1314
|
-
export type
|
|
1864
|
+
export type CreateTicketResponses = {
|
|
1315
1865
|
/**
|
|
1316
|
-
*
|
|
1866
|
+
* Ticket created.
|
|
1317
1867
|
*/
|
|
1318
|
-
200:
|
|
1868
|
+
200: Ticket;
|
|
1319
1869
|
};
|
|
1320
|
-
export type
|
|
1321
|
-
export type
|
|
1870
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1871
|
+
export type CloseTicketData = {
|
|
1322
1872
|
body?: never;
|
|
1323
1873
|
path: {
|
|
1324
|
-
|
|
1325
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1326
|
-
*/
|
|
1327
|
-
cluster_id: string;
|
|
1874
|
+
ticket_id: string;
|
|
1328
1875
|
};
|
|
1329
1876
|
query?: never;
|
|
1330
|
-
url: '/
|
|
1877
|
+
url: '/tickets/{ticket_id}';
|
|
1331
1878
|
};
|
|
1332
|
-
export type
|
|
1879
|
+
export type CloseTicketResponses = {
|
|
1333
1880
|
/**
|
|
1334
|
-
*
|
|
1881
|
+
* Ticket closed.
|
|
1335
1882
|
*/
|
|
1336
|
-
|
|
1883
|
+
200: Ticket;
|
|
1337
1884
|
};
|
|
1338
|
-
export type
|
|
1885
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1886
|
+
export type GetTicketData = {
|
|
1887
|
+
body?: never;
|
|
1888
|
+
path: {
|
|
1889
|
+
ticket_id: string;
|
|
1890
|
+
};
|
|
1891
|
+
query?: never;
|
|
1892
|
+
url: '/tickets/{ticket_id}';
|
|
1893
|
+
};
|
|
1894
|
+
export type GetTicketResponses = {
|
|
1339
1895
|
/**
|
|
1340
|
-
*
|
|
1896
|
+
* Ticket with messages (internal notes excluded).
|
|
1341
1897
|
*/
|
|
1342
|
-
200:
|
|
1898
|
+
200: Ticket;
|
|
1343
1899
|
};
|
|
1344
|
-
export type
|
|
1345
|
-
export type
|
|
1346
|
-
body:
|
|
1347
|
-
path: {
|
|
1900
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1901
|
+
export type ReplyTicketData = {
|
|
1902
|
+
body: {
|
|
1348
1903
|
/**
|
|
1349
|
-
*
|
|
1904
|
+
* JSON-encoded TicketMessageInput.
|
|
1350
1905
|
*/
|
|
1351
|
-
|
|
1906
|
+
payload?: string;
|
|
1907
|
+
attachments?: Array<Blob | File>;
|
|
1908
|
+
};
|
|
1909
|
+
path: {
|
|
1910
|
+
ticket_id: string;
|
|
1352
1911
|
};
|
|
1353
1912
|
query?: never;
|
|
1354
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1355
1914
|
};
|
|
1356
|
-
export type
|
|
1915
|
+
export type ReplyTicketErrors = {
|
|
1357
1916
|
/**
|
|
1358
|
-
*
|
|
1917
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1359
1918
|
*/
|
|
1360
|
-
|
|
1919
|
+
409: unknown;
|
|
1361
1920
|
};
|
|
1362
|
-
export type
|
|
1363
|
-
export type CreateFleetResponses = {
|
|
1921
|
+
export type ReplyTicketResponses = {
|
|
1364
1922
|
/**
|
|
1365
|
-
*
|
|
1923
|
+
* Reply appended.
|
|
1366
1924
|
*/
|
|
1367
|
-
200:
|
|
1925
|
+
200: TicketMessage;
|
|
1368
1926
|
};
|
|
1369
|
-
export type
|
|
1370
|
-
export type
|
|
1927
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1928
|
+
export type GetTicketAttachmentData = {
|
|
1371
1929
|
body?: never;
|
|
1372
1930
|
path: {
|
|
1373
|
-
|
|
1374
|
-
|
|
1931
|
+
ticket_id: string;
|
|
1932
|
+
attachment_id: string;
|
|
1933
|
+
};
|
|
1934
|
+
query?: never;
|
|
1935
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1936
|
+
};
|
|
1937
|
+
export type GetTicketAttachmentResponses = {
|
|
1938
|
+
/**
|
|
1939
|
+
* Attachment binary stream.
|
|
1940
|
+
*/
|
|
1941
|
+
200: Blob | File;
|
|
1942
|
+
};
|
|
1943
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1944
|
+
export type ListRepositoriesData = {
|
|
1945
|
+
body?: never;
|
|
1946
|
+
path?: never;
|
|
1947
|
+
query?: never;
|
|
1948
|
+
url: '/registry';
|
|
1949
|
+
};
|
|
1950
|
+
export type ListRepositoriesErrors = {
|
|
1951
|
+
/**
|
|
1952
|
+
* Not authenticated
|
|
1953
|
+
*/
|
|
1954
|
+
401: unknown;
|
|
1955
|
+
/**
|
|
1956
|
+
* Internal server error
|
|
1957
|
+
*/
|
|
1958
|
+
500: unknown;
|
|
1959
|
+
};
|
|
1960
|
+
export type ListRepositoriesResponses = {
|
|
1961
|
+
/**
|
|
1962
|
+
* List of repositories
|
|
1963
|
+
*/
|
|
1964
|
+
200: Array<RegistryRepository>;
|
|
1965
|
+
};
|
|
1966
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1967
|
+
export type ListTagsData = {
|
|
1968
|
+
body?: never;
|
|
1969
|
+
path: {
|
|
1970
|
+
/**
|
|
1971
|
+
* Region where the repository is located
|
|
1375
1972
|
*/
|
|
1376
|
-
|
|
1973
|
+
region: string;
|
|
1377
1974
|
/**
|
|
1378
|
-
*
|
|
1975
|
+
* Name of the repository
|
|
1379
1976
|
*/
|
|
1380
|
-
|
|
1977
|
+
repository: string;
|
|
1381
1978
|
};
|
|
1382
1979
|
query?: never;
|
|
1383
|
-
url: '/
|
|
1980
|
+
url: '/registry/{region}/{repository}';
|
|
1384
1981
|
};
|
|
1385
|
-
export type
|
|
1982
|
+
export type ListTagsErrors = {
|
|
1386
1983
|
/**
|
|
1387
|
-
*
|
|
1984
|
+
* Not authenticated
|
|
1388
1985
|
*/
|
|
1389
|
-
|
|
1986
|
+
401: unknown;
|
|
1987
|
+
/**
|
|
1988
|
+
* Repository not found
|
|
1989
|
+
*/
|
|
1990
|
+
404: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
1390
1995
|
};
|
|
1391
|
-
export type
|
|
1392
|
-
|
|
1996
|
+
export type ListTagsResponses = {
|
|
1997
|
+
/**
|
|
1998
|
+
* Repository with tags
|
|
1999
|
+
*/
|
|
2000
|
+
200: RegistryRepositoryWithTags;
|
|
2001
|
+
};
|
|
2002
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2003
|
+
export type DeleteTagData = {
|
|
1393
2004
|
body?: never;
|
|
1394
2005
|
path: {
|
|
1395
2006
|
/**
|
|
1396
|
-
*
|
|
2007
|
+
* Region where the repository is located
|
|
1397
2008
|
*/
|
|
1398
|
-
|
|
2009
|
+
region: string;
|
|
1399
2010
|
/**
|
|
1400
|
-
*
|
|
2011
|
+
* Name of the repository
|
|
1401
2012
|
*/
|
|
1402
|
-
|
|
2013
|
+
repository: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Name of the tag
|
|
2016
|
+
*/
|
|
2017
|
+
tag: string;
|
|
1403
2018
|
};
|
|
1404
2019
|
query?: never;
|
|
1405
|
-
url: '/
|
|
2020
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1406
2021
|
};
|
|
1407
|
-
export type
|
|
2022
|
+
export type DeleteTagErrors = {
|
|
1408
2023
|
/**
|
|
1409
|
-
*
|
|
2024
|
+
* Not authenticated
|
|
1410
2025
|
*/
|
|
1411
|
-
|
|
2026
|
+
401: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag not found
|
|
2029
|
+
*/
|
|
2030
|
+
404: unknown;
|
|
2031
|
+
/**
|
|
2032
|
+
* Internal server error
|
|
2033
|
+
*/
|
|
2034
|
+
500: unknown;
|
|
1412
2035
|
};
|
|
1413
|
-
export type
|
|
1414
|
-
|
|
1415
|
-
|
|
2036
|
+
export type DeleteTagResponses = {
|
|
2037
|
+
/**
|
|
2038
|
+
* Tag successfully deleted
|
|
2039
|
+
*/
|
|
2040
|
+
200: unknown;
|
|
2041
|
+
};
|
|
2042
|
+
export type GetTagData = {
|
|
2043
|
+
body?: never;
|
|
1416
2044
|
path: {
|
|
1417
2045
|
/**
|
|
1418
|
-
*
|
|
2046
|
+
* Region where the repository is located
|
|
1419
2047
|
*/
|
|
1420
|
-
|
|
2048
|
+
region: string;
|
|
1421
2049
|
/**
|
|
1422
|
-
*
|
|
2050
|
+
* Name of the repository
|
|
1423
2051
|
*/
|
|
1424
|
-
|
|
2052
|
+
repository: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Name of the tag
|
|
2055
|
+
*/
|
|
2056
|
+
tag: string;
|
|
1425
2057
|
};
|
|
1426
2058
|
query?: never;
|
|
1427
|
-
url: '/
|
|
2059
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1428
2060
|
};
|
|
1429
|
-
export type
|
|
2061
|
+
export type GetTagErrors = {
|
|
1430
2062
|
/**
|
|
1431
|
-
*
|
|
2063
|
+
* Not authenticated
|
|
1432
2064
|
*/
|
|
1433
|
-
|
|
2065
|
+
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag not found
|
|
2068
|
+
*/
|
|
2069
|
+
404: unknown;
|
|
2070
|
+
/**
|
|
2071
|
+
* Internal server error
|
|
2072
|
+
*/
|
|
2073
|
+
500: unknown;
|
|
1434
2074
|
};
|
|
1435
|
-
export type
|
|
1436
|
-
export type UpdateFleetResponses = {
|
|
2075
|
+
export type GetTagResponses = {
|
|
1437
2076
|
/**
|
|
1438
|
-
*
|
|
2077
|
+
* Tag details
|
|
1439
2078
|
*/
|
|
1440
|
-
200:
|
|
2079
|
+
200: RegistryTag;
|
|
1441
2080
|
};
|
|
1442
|
-
export type
|
|
1443
|
-
export type
|
|
2081
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2082
|
+
export type GetOrganizationData = {
|
|
1444
2083
|
body?: never;
|
|
1445
|
-
path
|
|
2084
|
+
path?: never;
|
|
2085
|
+
query?: never;
|
|
2086
|
+
url: '/organization';
|
|
2087
|
+
};
|
|
2088
|
+
export type GetOrganizationResponses = {
|
|
2089
|
+
/**
|
|
2090
|
+
* Returns a single object containing organization details.
|
|
2091
|
+
*/
|
|
2092
|
+
200: Organization;
|
|
2093
|
+
};
|
|
2094
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2095
|
+
export type CreateOrganizationData = {
|
|
2096
|
+
body: OrganizationCreateInput;
|
|
2097
|
+
path?: never;
|
|
2098
|
+
query?: never;
|
|
2099
|
+
url: '/organization';
|
|
2100
|
+
};
|
|
2101
|
+
export type CreateOrganizationResponses = {
|
|
2102
|
+
/**
|
|
2103
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2104
|
+
*
|
|
2105
|
+
*/
|
|
2106
|
+
200: OrganizationCreateOutput;
|
|
2107
|
+
};
|
|
2108
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2109
|
+
export type PostMcpData = {
|
|
2110
|
+
/**
|
|
2111
|
+
* JSON-RPC 2.0 request payload
|
|
2112
|
+
*/
|
|
2113
|
+
body: {
|
|
2114
|
+
jsonrpc?: string;
|
|
2115
|
+
method?: string;
|
|
2116
|
+
id?: string | number;
|
|
1446
2117
|
/**
|
|
1447
|
-
*
|
|
2118
|
+
* Method-specific parameters
|
|
1448
2119
|
*/
|
|
1449
|
-
|
|
2120
|
+
params?: {
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
1450
2123
|
};
|
|
2124
|
+
path?: never;
|
|
1451
2125
|
query?: never;
|
|
1452
|
-
url: '/
|
|
2126
|
+
url: '/mcp';
|
|
1453
2127
|
};
|
|
1454
|
-
export type
|
|
2128
|
+
export type PostMcpErrors = {
|
|
1455
2129
|
/**
|
|
1456
2130
|
* Not authenticated
|
|
1457
2131
|
*/
|
|
1458
2132
|
401: unknown;
|
|
1459
2133
|
};
|
|
1460
|
-
export type
|
|
2134
|
+
export type PostMcpResponses = {
|
|
1461
2135
|
/**
|
|
1462
|
-
*
|
|
2136
|
+
* JSON-RPC 2.0 success or error response
|
|
1463
2137
|
*/
|
|
1464
|
-
200:
|
|
2138
|
+
200: {
|
|
2139
|
+
jsonrpc?: string;
|
|
2140
|
+
id?: string | number;
|
|
2141
|
+
result?: {
|
|
2142
|
+
[key: string]: unknown;
|
|
2143
|
+
};
|
|
2144
|
+
error?: {
|
|
2145
|
+
code?: number;
|
|
2146
|
+
message?: string;
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
1465
2149
|
};
|
|
1466
|
-
export type
|
|
2150
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2151
|
+
export type ListMarketplaceChartsData = {
|
|
1467
2152
|
body?: never;
|
|
1468
2153
|
path?: never;
|
|
1469
2154
|
query?: never;
|
|
1470
|
-
url: '/
|
|
2155
|
+
url: '/marketplace';
|
|
1471
2156
|
};
|
|
1472
|
-
export type
|
|
2157
|
+
export type ListMarketplaceChartsErrors = {
|
|
1473
2158
|
/**
|
|
1474
2159
|
* Not authenticated
|
|
1475
2160
|
*/
|
|
1476
2161
|
401: unknown;
|
|
1477
2162
|
};
|
|
1478
|
-
export type
|
|
2163
|
+
export type ListMarketplaceChartsResponses = {
|
|
1479
2164
|
/**
|
|
1480
|
-
* An array of
|
|
2165
|
+
* An array of chart listings in the marketplace.
|
|
1481
2166
|
*/
|
|
1482
|
-
200: Array<
|
|
2167
|
+
200: Array<MarketplaceListing>;
|
|
1483
2168
|
};
|
|
1484
|
-
export type
|
|
1485
|
-
export type
|
|
1486
|
-
body
|
|
2169
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2170
|
+
export type GetMarketplaceChartFilesData = {
|
|
2171
|
+
body?: never;
|
|
2172
|
+
path: {
|
|
2173
|
+
/**
|
|
2174
|
+
* Name of the chart in the marketplace.
|
|
2175
|
+
*/
|
|
2176
|
+
chart_name: string;
|
|
2177
|
+
/**
|
|
2178
|
+
* 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).
|
|
2179
|
+
*/
|
|
2180
|
+
version_channel: string;
|
|
2181
|
+
};
|
|
2182
|
+
query?: never;
|
|
2183
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2184
|
+
};
|
|
2185
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2186
|
+
/**
|
|
2187
|
+
* Chart not found or no version matches the channel
|
|
2188
|
+
*/
|
|
2189
|
+
404: unknown;
|
|
2190
|
+
};
|
|
2191
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2192
|
+
/**
|
|
2193
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2194
|
+
*/
|
|
2195
|
+
200: MarketplaceListingFiles;
|
|
2196
|
+
};
|
|
2197
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2198
|
+
export type ListInvitesData = {
|
|
2199
|
+
body?: never;
|
|
1487
2200
|
path?: never;
|
|
1488
2201
|
query?: never;
|
|
1489
|
-
url: '/
|
|
2202
|
+
url: '/invites';
|
|
1490
2203
|
};
|
|
1491
|
-
export type
|
|
2204
|
+
export type ListInvitesErrors = {
|
|
1492
2205
|
/**
|
|
1493
|
-
*
|
|
2206
|
+
* Not authenticated
|
|
1494
2207
|
*/
|
|
1495
|
-
|
|
2208
|
+
401: unknown;
|
|
1496
2209
|
};
|
|
1497
|
-
export type
|
|
1498
|
-
export type CreateClusterResponses = {
|
|
2210
|
+
export type ListInvitesResponses = {
|
|
1499
2211
|
/**
|
|
1500
|
-
*
|
|
2212
|
+
* An array of invites
|
|
1501
2213
|
*/
|
|
1502
|
-
200:
|
|
2214
|
+
200: Array<Invite>;
|
|
1503
2215
|
};
|
|
1504
|
-
export type
|
|
1505
|
-
export type
|
|
2216
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2217
|
+
export type CreateInviteData = {
|
|
2218
|
+
body: InviteCreateInput;
|
|
2219
|
+
path?: never;
|
|
2220
|
+
query?: never;
|
|
2221
|
+
url: '/invites';
|
|
2222
|
+
};
|
|
2223
|
+
export type CreateInviteResponses = {
|
|
2224
|
+
/**
|
|
2225
|
+
* Successfully created. Returns created invite details.
|
|
2226
|
+
*/
|
|
2227
|
+
200: Invite;
|
|
2228
|
+
};
|
|
2229
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2230
|
+
export type GetInviteData = {
|
|
1506
2231
|
body?: never;
|
|
1507
2232
|
path: {
|
|
1508
2233
|
/**
|
|
1509
|
-
*
|
|
2234
|
+
* Invitation code
|
|
1510
2235
|
*/
|
|
1511
|
-
|
|
2236
|
+
code: string;
|
|
1512
2237
|
};
|
|
1513
2238
|
query?: never;
|
|
1514
|
-
url: '/
|
|
2239
|
+
url: '/invites/{code}';
|
|
1515
2240
|
};
|
|
1516
|
-
export type
|
|
2241
|
+
export type GetInviteResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2244
|
+
*/
|
|
2245
|
+
200: {
|
|
2246
|
+
/**
|
|
2247
|
+
* Email address the invite was issued to.
|
|
2248
|
+
*/
|
|
2249
|
+
email?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Identifier of the organization the invite grants access to.
|
|
2252
|
+
*/
|
|
2253
|
+
organization_id?: string;
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2257
|
+
export type DeleteInviteData = {
|
|
2258
|
+
body?: never;
|
|
2259
|
+
path: {
|
|
2260
|
+
/**
|
|
2261
|
+
* User email address
|
|
2262
|
+
*/
|
|
2263
|
+
email: string;
|
|
2264
|
+
};
|
|
2265
|
+
query?: never;
|
|
2266
|
+
url: '/invites/{email}';
|
|
2267
|
+
};
|
|
2268
|
+
export type DeleteInviteResponses = {
|
|
1517
2269
|
/**
|
|
1518
2270
|
* Successfully deleted.
|
|
1519
2271
|
*/
|
|
1520
|
-
200:
|
|
2272
|
+
200: unknown;
|
|
1521
2273
|
};
|
|
1522
|
-
export type
|
|
1523
|
-
export type GetClusterData = {
|
|
2274
|
+
export type QueryClusterData = {
|
|
1524
2275
|
body?: never;
|
|
1525
2276
|
path: {
|
|
1526
2277
|
/**
|
|
@@ -1529,17 +2280,22 @@ export type GetClusterData = {
|
|
|
1529
2280
|
cluster_id: string;
|
|
1530
2281
|
};
|
|
1531
2282
|
query?: never;
|
|
1532
|
-
url: '/clusters/{cluster_id}';
|
|
2283
|
+
url: '/clusters/{cluster_id}/query';
|
|
1533
2284
|
};
|
|
1534
|
-
export type
|
|
2285
|
+
export type QueryClusterErrors = {
|
|
1535
2286
|
/**
|
|
1536
|
-
*
|
|
2287
|
+
* Not authenticated
|
|
1537
2288
|
*/
|
|
1538
|
-
|
|
2289
|
+
401: unknown;
|
|
1539
2290
|
};
|
|
1540
|
-
export type
|
|
1541
|
-
|
|
1542
|
-
|
|
2291
|
+
export type QueryClusterResponses = {
|
|
2292
|
+
/**
|
|
2293
|
+
* Kubernetes API response
|
|
2294
|
+
*/
|
|
2295
|
+
200: unknown;
|
|
2296
|
+
};
|
|
2297
|
+
export type ListFleetsData = {
|
|
2298
|
+
body?: never;
|
|
1543
2299
|
path: {
|
|
1544
2300
|
/**
|
|
1545
2301
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
@@ -1547,17 +2303,23 @@ export type UpdateClusterData = {
|
|
|
1547
2303
|
cluster_id: string;
|
|
1548
2304
|
};
|
|
1549
2305
|
query?: never;
|
|
1550
|
-
url: '/clusters/{cluster_id}';
|
|
2306
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1551
2307
|
};
|
|
1552
|
-
export type
|
|
2308
|
+
export type ListFleetsErrors = {
|
|
1553
2309
|
/**
|
|
1554
|
-
*
|
|
2310
|
+
* Not authenticated
|
|
1555
2311
|
*/
|
|
1556
|
-
|
|
2312
|
+
401: unknown;
|
|
1557
2313
|
};
|
|
1558
|
-
export type
|
|
1559
|
-
|
|
1560
|
-
|
|
2314
|
+
export type ListFleetsResponses = {
|
|
2315
|
+
/**
|
|
2316
|
+
* An array of fleets
|
|
2317
|
+
*/
|
|
2318
|
+
200: Array<Fleet>;
|
|
2319
|
+
};
|
|
2320
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2321
|
+
export type CreateFleetData = {
|
|
2322
|
+
body: FleetCreateInput;
|
|
1561
2323
|
path: {
|
|
1562
2324
|
/**
|
|
1563
2325
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
@@ -1565,623 +2327,598 @@ export type GetClusterCaData = {
|
|
|
1565
2327
|
cluster_id: string;
|
|
1566
2328
|
};
|
|
1567
2329
|
query?: never;
|
|
1568
|
-
url: '/clusters/{cluster_id}/
|
|
2330
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1569
2331
|
};
|
|
1570
|
-
export type
|
|
2332
|
+
export type CreateFleetErrors = {
|
|
2333
|
+
/**
|
|
2334
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2335
|
+
*/
|
|
2336
|
+
402: string;
|
|
1571
2337
|
/**
|
|
1572
|
-
*
|
|
2338
|
+
* 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.
|
|
1573
2339
|
*/
|
|
1574
|
-
|
|
2340
|
+
409: string;
|
|
1575
2341
|
};
|
|
1576
|
-
export type
|
|
2342
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2343
|
+
export type CreateFleetResponses = {
|
|
1577
2344
|
/**
|
|
1578
|
-
*
|
|
2345
|
+
* Successfully created. Returns created Fleet ID.
|
|
1579
2346
|
*/
|
|
1580
2347
|
200: string;
|
|
1581
2348
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
export type
|
|
2349
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2350
|
+
export type DeleteFleetData = {
|
|
1584
2351
|
body?: never;
|
|
1585
2352
|
path: {
|
|
1586
2353
|
/**
|
|
1587
2354
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1588
2355
|
*/
|
|
1589
2356
|
cluster_id: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2359
|
+
*/
|
|
2360
|
+
fleet_name: string;
|
|
1590
2361
|
};
|
|
1591
2362
|
query?: never;
|
|
1592
|
-
url: '/clusters/{cluster_id}/
|
|
2363
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1593
2364
|
};
|
|
1594
|
-
export type
|
|
2365
|
+
export type DeleteFleetErrors = {
|
|
1595
2366
|
/**
|
|
1596
|
-
*
|
|
2367
|
+
* 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
2368
|
*/
|
|
1598
|
-
|
|
2369
|
+
409: string;
|
|
1599
2370
|
};
|
|
1600
|
-
export type
|
|
2371
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2372
|
+
export type DeleteFleetResponses = {
|
|
1601
2373
|
/**
|
|
1602
|
-
*
|
|
2374
|
+
* Successfully deleted.
|
|
1603
2375
|
*/
|
|
1604
|
-
200:
|
|
2376
|
+
200: string;
|
|
1605
2377
|
};
|
|
1606
|
-
export type
|
|
1607
|
-
export type
|
|
2378
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2379
|
+
export type GetFleetData = {
|
|
1608
2380
|
body?: never;
|
|
1609
|
-
path
|
|
2381
|
+
path: {
|
|
2382
|
+
/**
|
|
2383
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2384
|
+
*/
|
|
2385
|
+
cluster_id: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2388
|
+
*/
|
|
2389
|
+
fleet_name: string;
|
|
2390
|
+
};
|
|
1610
2391
|
query?: never;
|
|
1611
|
-
url: '/
|
|
2392
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1612
2393
|
};
|
|
1613
|
-
export type
|
|
2394
|
+
export type GetFleetResponses = {
|
|
1614
2395
|
/**
|
|
1615
|
-
*
|
|
2396
|
+
* Returns a single object containing fleet details.
|
|
1616
2397
|
*/
|
|
1617
|
-
|
|
2398
|
+
200: Fleet;
|
|
1618
2399
|
};
|
|
1619
|
-
export type
|
|
2400
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2401
|
+
export type UpdateFleetData = {
|
|
2402
|
+
body: FleetUpdateInput;
|
|
2403
|
+
path: {
|
|
2404
|
+
/**
|
|
2405
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2406
|
+
*/
|
|
2407
|
+
cluster_id: string;
|
|
2408
|
+
/**
|
|
2409
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2410
|
+
*/
|
|
2411
|
+
fleet_name: string;
|
|
2412
|
+
};
|
|
2413
|
+
query?: never;
|
|
2414
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2415
|
+
};
|
|
2416
|
+
export type UpdateFleetErrors = {
|
|
1620
2417
|
/**
|
|
1621
|
-
*
|
|
2418
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1622
2419
|
*/
|
|
1623
|
-
|
|
2420
|
+
402: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* 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.
|
|
2423
|
+
*/
|
|
2424
|
+
409: string;
|
|
1624
2425
|
};
|
|
1625
|
-
export type
|
|
1626
|
-
export type
|
|
1627
|
-
|
|
2426
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2427
|
+
export type UpdateFleetResponses = {
|
|
2428
|
+
/**
|
|
2429
|
+
* Successfully updated.
|
|
2430
|
+
*/
|
|
2431
|
+
200: string;
|
|
2432
|
+
};
|
|
2433
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2434
|
+
export type ListChartsData = {
|
|
2435
|
+
body?: never;
|
|
2436
|
+
path: {
|
|
1628
2437
|
/**
|
|
1629
|
-
*
|
|
2438
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1630
2439
|
*/
|
|
1631
|
-
|
|
2440
|
+
cluster_id: string;
|
|
1632
2441
|
};
|
|
1633
|
-
path?: never;
|
|
1634
2442
|
query?: never;
|
|
1635
|
-
url: '/
|
|
2443
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1636
2444
|
};
|
|
1637
|
-
export type
|
|
2445
|
+
export type ListChartsErrors = {
|
|
1638
2446
|
/**
|
|
1639
|
-
*
|
|
2447
|
+
* Not authenticated
|
|
1640
2448
|
*/
|
|
1641
|
-
|
|
2449
|
+
401: unknown;
|
|
1642
2450
|
};
|
|
1643
|
-
export type
|
|
1644
|
-
|
|
1645
|
-
|
|
2451
|
+
export type ListChartsResponses = {
|
|
2452
|
+
/**
|
|
2453
|
+
* An array of charts
|
|
2454
|
+
*/
|
|
2455
|
+
200: Array<Chart>;
|
|
2456
|
+
};
|
|
2457
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2458
|
+
export type CreateChartData = {
|
|
2459
|
+
body: ChartCreateInput;
|
|
1646
2460
|
path: {
|
|
1647
2461
|
/**
|
|
1648
|
-
*
|
|
2462
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1649
2463
|
*/
|
|
1650
|
-
|
|
2464
|
+
cluster_id: string;
|
|
1651
2465
|
};
|
|
1652
2466
|
query?: never;
|
|
1653
|
-
url: '/
|
|
2467
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1654
2468
|
};
|
|
1655
|
-
export type
|
|
2469
|
+
export type CreateChartErrors = {
|
|
1656
2470
|
/**
|
|
1657
|
-
*
|
|
2471
|
+
* 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
2472
|
*/
|
|
1659
|
-
|
|
2473
|
+
409: string;
|
|
1660
2474
|
};
|
|
1661
|
-
export type
|
|
1662
|
-
export type
|
|
2475
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2476
|
+
export type CreateChartResponses = {
|
|
2477
|
+
/**
|
|
2478
|
+
* Successfully created. Returns created Chart ID.
|
|
2479
|
+
*/
|
|
2480
|
+
200: string;
|
|
2481
|
+
};
|
|
2482
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2483
|
+
export type DeleteChartData = {
|
|
1663
2484
|
body?: never;
|
|
1664
2485
|
path: {
|
|
1665
2486
|
/**
|
|
1666
|
-
*
|
|
2487
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1667
2488
|
*/
|
|
1668
|
-
|
|
2489
|
+
cluster_id: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2492
|
+
*/
|
|
2493
|
+
chart_name: string;
|
|
1669
2494
|
};
|
|
1670
2495
|
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';
|
|
2496
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1684
2497
|
};
|
|
1685
|
-
export type
|
|
2498
|
+
export type DeleteChartErrors = {
|
|
1686
2499
|
/**
|
|
1687
|
-
*
|
|
2500
|
+
* 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
2501
|
*/
|
|
1689
|
-
|
|
2502
|
+
409: string;
|
|
1690
2503
|
};
|
|
1691
|
-
export type
|
|
2504
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2505
|
+
export type DeleteChartResponses = {
|
|
1692
2506
|
/**
|
|
1693
|
-
*
|
|
2507
|
+
* Successfully deleted.
|
|
1694
2508
|
*/
|
|
1695
|
-
200:
|
|
2509
|
+
200: string;
|
|
1696
2510
|
};
|
|
1697
|
-
export type
|
|
1698
|
-
export type
|
|
2511
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2512
|
+
export type GetChartData = {
|
|
1699
2513
|
body?: never;
|
|
1700
2514
|
path: {
|
|
1701
2515
|
/**
|
|
1702
|
-
*
|
|
2516
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1703
2517
|
*/
|
|
1704
|
-
|
|
2518
|
+
cluster_id: string;
|
|
1705
2519
|
/**
|
|
1706
|
-
*
|
|
2520
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1707
2521
|
*/
|
|
1708
|
-
|
|
2522
|
+
chart_name: string;
|
|
1709
2523
|
};
|
|
1710
2524
|
query?: never;
|
|
1711
|
-
url: '/
|
|
1712
|
-
};
|
|
1713
|
-
export type GetMarketplaceChartFilesErrors = {
|
|
1714
|
-
/**
|
|
1715
|
-
* Chart not found or no version matches the channel
|
|
1716
|
-
*/
|
|
1717
|
-
404: unknown;
|
|
2525
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1718
2526
|
};
|
|
1719
|
-
export type
|
|
2527
|
+
export type GetChartResponses = {
|
|
1720
2528
|
/**
|
|
1721
|
-
* Returns
|
|
2529
|
+
* Returns a single object containing chart details.
|
|
1722
2530
|
*/
|
|
1723
|
-
200:
|
|
2531
|
+
200: Chart;
|
|
1724
2532
|
};
|
|
1725
|
-
export type
|
|
1726
|
-
export type
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
*/
|
|
1730
|
-
body: {
|
|
1731
|
-
jsonrpc?: string;
|
|
1732
|
-
method?: string;
|
|
1733
|
-
id?: string | number;
|
|
2533
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2534
|
+
export type UpdateChartData = {
|
|
2535
|
+
body: ChartUpdateInput;
|
|
2536
|
+
path: {
|
|
1734
2537
|
/**
|
|
1735
|
-
*
|
|
2538
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1736
2539
|
*/
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
2540
|
+
cluster_id: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2543
|
+
*/
|
|
2544
|
+
chart_name: string;
|
|
1740
2545
|
};
|
|
1741
|
-
path?: never;
|
|
1742
2546
|
query?: never;
|
|
1743
|
-
url: '/
|
|
2547
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1744
2548
|
};
|
|
1745
|
-
export type
|
|
2549
|
+
export type UpdateChartErrors = {
|
|
1746
2550
|
/**
|
|
1747
|
-
*
|
|
2551
|
+
* 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
2552
|
*/
|
|
1749
|
-
|
|
2553
|
+
409: string;
|
|
1750
2554
|
};
|
|
1751
|
-
export type
|
|
2555
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2556
|
+
export type UpdateChartResponses = {
|
|
1752
2557
|
/**
|
|
1753
|
-
*
|
|
2558
|
+
* Successfully updated.
|
|
1754
2559
|
*/
|
|
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
|
-
};
|
|
2560
|
+
200: string;
|
|
1766
2561
|
};
|
|
1767
|
-
export type
|
|
1768
|
-
export type
|
|
2562
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2563
|
+
export type ListClustersData = {
|
|
1769
2564
|
body?: never;
|
|
1770
2565
|
path?: never;
|
|
1771
2566
|
query?: never;
|
|
1772
|
-
url: '/
|
|
2567
|
+
url: '/clusters';
|
|
1773
2568
|
};
|
|
1774
|
-
export type
|
|
2569
|
+
export type ListClustersErrors = {
|
|
1775
2570
|
/**
|
|
1776
|
-
*
|
|
2571
|
+
* Not authenticated
|
|
1777
2572
|
*/
|
|
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';
|
|
2573
|
+
401: unknown;
|
|
1786
2574
|
};
|
|
1787
|
-
export type
|
|
2575
|
+
export type ListClustersResponses = {
|
|
1788
2576
|
/**
|
|
1789
|
-
*
|
|
2577
|
+
* An array of clusters
|
|
1790
2578
|
*/
|
|
1791
|
-
200:
|
|
2579
|
+
200: Array<Cluster>;
|
|
1792
2580
|
};
|
|
1793
|
-
export type
|
|
1794
|
-
|
|
2581
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2582
|
+
export type CreateClusterData = {
|
|
2583
|
+
body: ClusterCreateInput;
|
|
1795
2584
|
path?: never;
|
|
1796
2585
|
query?: never;
|
|
1797
|
-
url: '/
|
|
2586
|
+
url: '/clusters';
|
|
1798
2587
|
};
|
|
1799
|
-
export type
|
|
1800
|
-
/**
|
|
1801
|
-
* Not authenticated
|
|
1802
|
-
*/
|
|
1803
|
-
401: unknown;
|
|
2588
|
+
export type CreateClusterErrors = {
|
|
1804
2589
|
/**
|
|
1805
|
-
*
|
|
2590
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1806
2591
|
*/
|
|
1807
|
-
|
|
2592
|
+
402: string;
|
|
1808
2593
|
};
|
|
1809
|
-
export type
|
|
2594
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2595
|
+
export type CreateClusterResponses = {
|
|
1810
2596
|
/**
|
|
1811
|
-
*
|
|
2597
|
+
* Successfully created. Returns created Cluster ID.
|
|
1812
2598
|
*/
|
|
1813
|
-
200:
|
|
2599
|
+
200: string;
|
|
1814
2600
|
};
|
|
1815
|
-
export type
|
|
1816
|
-
export type
|
|
2601
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2602
|
+
export type DeleteClusterData = {
|
|
1817
2603
|
body?: never;
|
|
1818
2604
|
path: {
|
|
1819
2605
|
/**
|
|
1820
|
-
*
|
|
1821
|
-
*/
|
|
1822
|
-
region: string;
|
|
1823
|
-
/**
|
|
1824
|
-
* Name of the repository
|
|
2606
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1825
2607
|
*/
|
|
1826
|
-
|
|
2608
|
+
cluster_id: string;
|
|
1827
2609
|
};
|
|
1828
2610
|
query?: never;
|
|
1829
|
-
url: '/
|
|
2611
|
+
url: '/clusters/{cluster_id}';
|
|
1830
2612
|
};
|
|
1831
|
-
export type
|
|
2613
|
+
export type DeleteClusterErrors = {
|
|
1832
2614
|
/**
|
|
1833
|
-
*
|
|
2615
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1834
2616
|
*/
|
|
1835
|
-
|
|
2617
|
+
404: unknown;
|
|
1836
2618
|
/**
|
|
1837
|
-
*
|
|
2619
|
+
* 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
2620
|
*/
|
|
1839
|
-
|
|
2621
|
+
409: string;
|
|
1840
2622
|
/**
|
|
1841
|
-
*
|
|
2623
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1842
2624
|
*/
|
|
1843
|
-
|
|
2625
|
+
503: unknown;
|
|
1844
2626
|
};
|
|
1845
|
-
export type
|
|
2627
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2628
|
+
export type DeleteClusterResponses = {
|
|
1846
2629
|
/**
|
|
1847
|
-
*
|
|
2630
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1848
2631
|
*/
|
|
1849
|
-
200:
|
|
2632
|
+
200: string;
|
|
1850
2633
|
};
|
|
1851
|
-
export type
|
|
1852
|
-
export type
|
|
2634
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2635
|
+
export type GetClusterData = {
|
|
1853
2636
|
body?: never;
|
|
1854
2637
|
path: {
|
|
1855
2638
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
*/
|
|
1858
|
-
region: string;
|
|
1859
|
-
/**
|
|
1860
|
-
* Name of the repository
|
|
1861
|
-
*/
|
|
1862
|
-
repository: string;
|
|
1863
|
-
/**
|
|
1864
|
-
* Name of the tag
|
|
2639
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1865
2640
|
*/
|
|
1866
|
-
|
|
2641
|
+
cluster_id: string;
|
|
1867
2642
|
};
|
|
1868
2643
|
query?: never;
|
|
1869
|
-
url: '/
|
|
2644
|
+
url: '/clusters/{cluster_id}';
|
|
1870
2645
|
};
|
|
1871
|
-
export type
|
|
1872
|
-
/**
|
|
1873
|
-
* Not authenticated
|
|
1874
|
-
*/
|
|
1875
|
-
401: unknown;
|
|
2646
|
+
export type GetClusterResponses = {
|
|
1876
2647
|
/**
|
|
1877
|
-
*
|
|
2648
|
+
* Returns a single object containing cluster details.
|
|
1878
2649
|
*/
|
|
1879
|
-
|
|
2650
|
+
200: Cluster;
|
|
2651
|
+
};
|
|
2652
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2653
|
+
export type UpdateClusterData = {
|
|
2654
|
+
body: ClusterUpdateInput;
|
|
2655
|
+
path: {
|
|
2656
|
+
/**
|
|
2657
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2658
|
+
*/
|
|
2659
|
+
cluster_id: string;
|
|
2660
|
+
};
|
|
2661
|
+
query?: never;
|
|
2662
|
+
url: '/clusters/{cluster_id}';
|
|
2663
|
+
};
|
|
2664
|
+
export type UpdateClusterErrors = {
|
|
1880
2665
|
/**
|
|
1881
|
-
*
|
|
2666
|
+
* 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
2667
|
*/
|
|
1883
|
-
|
|
2668
|
+
409: string;
|
|
1884
2669
|
};
|
|
1885
|
-
export type
|
|
2670
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2671
|
+
export type UpdateClusterResponses = {
|
|
1886
2672
|
/**
|
|
1887
|
-
*
|
|
2673
|
+
* Successfully updated. Returns updated cluster details.
|
|
1888
2674
|
*/
|
|
1889
|
-
200:
|
|
2675
|
+
200: Cluster;
|
|
1890
2676
|
};
|
|
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;
|
|
2677
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2678
|
+
export type GetJoinInformationData = {
|
|
2679
|
+
body?: never;
|
|
2680
|
+
path: {
|
|
1902
2681
|
/**
|
|
1903
|
-
*
|
|
2682
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1904
2683
|
*/
|
|
1905
|
-
|
|
2684
|
+
cluster_id: string;
|
|
1906
2685
|
};
|
|
1907
2686
|
query?: never;
|
|
1908
|
-
url: '/
|
|
2687
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1909
2688
|
};
|
|
1910
|
-
export type
|
|
2689
|
+
export type GetJoinInformationErrors = {
|
|
1911
2690
|
/**
|
|
1912
2691
|
* Not authenticated
|
|
1913
2692
|
*/
|
|
1914
2693
|
401: unknown;
|
|
1915
2694
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
*/
|
|
1918
|
-
404: unknown;
|
|
1919
|
-
/**
|
|
1920
|
-
* Internal server error
|
|
2695
|
+
* 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
2696
|
*/
|
|
1922
|
-
|
|
2697
|
+
409: string;
|
|
1923
2698
|
};
|
|
1924
|
-
export type
|
|
2699
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2700
|
+
export type GetJoinInformationResponses = {
|
|
1925
2701
|
/**
|
|
1926
|
-
*
|
|
2702
|
+
* An object of cluster join information
|
|
1927
2703
|
*/
|
|
1928
|
-
200:
|
|
2704
|
+
200: ClusterJoinInformation;
|
|
1929
2705
|
};
|
|
1930
|
-
export type
|
|
1931
|
-
export type
|
|
2706
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2707
|
+
export type GetUsageData = {
|
|
1932
2708
|
body?: never;
|
|
1933
2709
|
path?: never;
|
|
1934
|
-
query?:
|
|
1935
|
-
|
|
2710
|
+
query?: {
|
|
2711
|
+
/**
|
|
2712
|
+
* 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)
|
|
2713
|
+
*/
|
|
2714
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2715
|
+
};
|
|
2716
|
+
url: '/billing/usage';
|
|
1936
2717
|
};
|
|
1937
|
-
export type
|
|
2718
|
+
export type GetUsageErrors = {
|
|
1938
2719
|
/**
|
|
1939
2720
|
* Not authenticated
|
|
1940
2721
|
*/
|
|
1941
2722
|
401: unknown;
|
|
1942
2723
|
};
|
|
1943
|
-
export type
|
|
2724
|
+
export type GetUsageResponses = {
|
|
1944
2725
|
/**
|
|
1945
|
-
*
|
|
2726
|
+
* Usage data with facets for filtering
|
|
1946
2727
|
*/
|
|
1947
|
-
200:
|
|
2728
|
+
200: UsageResponse;
|
|
1948
2729
|
};
|
|
1949
|
-
export type
|
|
1950
|
-
export type
|
|
1951
|
-
body
|
|
2730
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2731
|
+
export type GetPaymentMethodSecretData = {
|
|
2732
|
+
body?: never;
|
|
1952
2733
|
path?: never;
|
|
1953
2734
|
query?: never;
|
|
1954
|
-
url: '/
|
|
1955
|
-
};
|
|
1956
|
-
export type CreateTokenErrors = {
|
|
1957
|
-
/**
|
|
1958
|
-
* Not authenticated
|
|
1959
|
-
*/
|
|
1960
|
-
401: unknown;
|
|
2735
|
+
url: '/billing/payment-method';
|
|
1961
2736
|
};
|
|
1962
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1963
2738
|
/**
|
|
1964
|
-
*
|
|
2739
|
+
* 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.
|
|
2740
|
+
*
|
|
1965
2741
|
*/
|
|
1966
|
-
200:
|
|
1967
|
-
};
|
|
1968
|
-
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1969
|
-
export type DeleteTokenData = {
|
|
1970
|
-
body?: never;
|
|
1971
|
-
path: {
|
|
2742
|
+
200: {
|
|
1972
2743
|
/**
|
|
1973
|
-
*
|
|
2744
|
+
* The client secret.
|
|
1974
2745
|
*/
|
|
1975
|
-
|
|
2746
|
+
id?: string;
|
|
1976
2747
|
};
|
|
1977
|
-
query?: never;
|
|
1978
|
-
url: '/tokens/{token_id}';
|
|
1979
|
-
};
|
|
1980
|
-
export type DeleteTokenResponses = {
|
|
1981
|
-
/**
|
|
1982
|
-
* Successfully deleted.
|
|
1983
|
-
*/
|
|
1984
|
-
200: unknown;
|
|
1985
2748
|
};
|
|
1986
|
-
export type
|
|
2749
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2750
|
+
export type ListPaymentMethodsData = {
|
|
1987
2751
|
body?: never;
|
|
1988
|
-
path
|
|
1989
|
-
/**
|
|
1990
|
-
* Generated unique identifier of the access token.
|
|
1991
|
-
*/
|
|
1992
|
-
token_id: string;
|
|
1993
|
-
};
|
|
2752
|
+
path?: never;
|
|
1994
2753
|
query?: never;
|
|
1995
|
-
url: '/
|
|
2754
|
+
url: '/billing/payment-methods';
|
|
1996
2755
|
};
|
|
1997
|
-
export type
|
|
2756
|
+
export type ListPaymentMethodsErrors = {
|
|
1998
2757
|
/**
|
|
1999
2758
|
* Not authenticated
|
|
2000
2759
|
*/
|
|
2001
2760
|
401: unknown;
|
|
2002
2761
|
};
|
|
2003
|
-
export type
|
|
2762
|
+
export type ListPaymentMethodsResponses = {
|
|
2004
2763
|
/**
|
|
2005
|
-
*
|
|
2764
|
+
* An array of payment methods.
|
|
2006
2765
|
*/
|
|
2007
|
-
200:
|
|
2766
|
+
200: Array<PaymentMethod>;
|
|
2008
2767
|
};
|
|
2009
|
-
export type
|
|
2010
|
-
export type
|
|
2011
|
-
body
|
|
2768
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2769
|
+
export type SetDefaultPaymentMethodData = {
|
|
2770
|
+
body?: never;
|
|
2012
2771
|
path: {
|
|
2013
2772
|
/**
|
|
2014
|
-
*
|
|
2773
|
+
* Stripe payment method identifier.
|
|
2015
2774
|
*/
|
|
2016
|
-
|
|
2775
|
+
paymentMethodId: string;
|
|
2017
2776
|
};
|
|
2018
2777
|
query?: never;
|
|
2019
|
-
url: '/
|
|
2778
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2020
2779
|
};
|
|
2021
|
-
export type
|
|
2780
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2781
|
+
/**
|
|
2782
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2783
|
+
*/
|
|
2784
|
+
400: unknown;
|
|
2022
2785
|
/**
|
|
2023
2786
|
* Not authenticated
|
|
2024
2787
|
*/
|
|
2025
2788
|
401: unknown;
|
|
2789
|
+
/**
|
|
2790
|
+
* Payment method not found.
|
|
2791
|
+
*/
|
|
2792
|
+
404: unknown;
|
|
2026
2793
|
};
|
|
2027
|
-
export type
|
|
2794
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2028
2795
|
/**
|
|
2029
|
-
*
|
|
2796
|
+
* Default payment method updated.
|
|
2030
2797
|
*/
|
|
2031
|
-
|
|
2798
|
+
204: void;
|
|
2032
2799
|
};
|
|
2033
|
-
export type
|
|
2034
|
-
export type
|
|
2800
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2801
|
+
export type DeletePaymentMethodData = {
|
|
2035
2802
|
body?: never;
|
|
2036
2803
|
path: {
|
|
2037
2804
|
/**
|
|
2038
|
-
*
|
|
2805
|
+
* Stripe payment method identifier.
|
|
2039
2806
|
*/
|
|
2040
|
-
|
|
2807
|
+
paymentMethodId: string;
|
|
2041
2808
|
};
|
|
2042
2809
|
query?: never;
|
|
2043
|
-
url: '/
|
|
2810
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2044
2811
|
};
|
|
2045
|
-
export type
|
|
2812
|
+
export type DeletePaymentMethodErrors = {
|
|
2813
|
+
/**
|
|
2814
|
+
* The bank transfer payment method cannot be removed.
|
|
2815
|
+
*/
|
|
2816
|
+
400: unknown;
|
|
2046
2817
|
/**
|
|
2047
2818
|
* Not authenticated
|
|
2048
2819
|
*/
|
|
2049
2820
|
401: unknown;
|
|
2050
|
-
};
|
|
2051
|
-
export type RegenerateTokenResponses = {
|
|
2052
2821
|
/**
|
|
2053
|
-
*
|
|
2822
|
+
* Payment method not found.
|
|
2054
2823
|
*/
|
|
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}';
|
|
2824
|
+
404: unknown;
|
|
2825
|
+
/**
|
|
2826
|
+
* Cannot delete the only remaining payment method.
|
|
2827
|
+
*/
|
|
2828
|
+
409: unknown;
|
|
2068
2829
|
};
|
|
2069
|
-
export type
|
|
2830
|
+
export type DeletePaymentMethodResponses = {
|
|
2070
2831
|
/**
|
|
2071
|
-
*
|
|
2832
|
+
* Payment method deleted.
|
|
2072
2833
|
*/
|
|
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
|
-
}>;
|
|
2834
|
+
204: void;
|
|
2083
2835
|
};
|
|
2084
|
-
export type
|
|
2085
|
-
export type
|
|
2836
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2837
|
+
export type ListInvoicesData = {
|
|
2086
2838
|
body?: never;
|
|
2087
2839
|
path?: never;
|
|
2088
2840
|
query?: never;
|
|
2089
|
-
url: '/
|
|
2841
|
+
url: '/billing/invoices';
|
|
2090
2842
|
};
|
|
2091
|
-
export type
|
|
2843
|
+
export type ListInvoicesErrors = {
|
|
2092
2844
|
/**
|
|
2093
2845
|
* Not authenticated
|
|
2094
2846
|
*/
|
|
2095
2847
|
401: unknown;
|
|
2096
2848
|
};
|
|
2097
|
-
export type
|
|
2849
|
+
export type ListInvoicesResponses = {
|
|
2098
2850
|
/**
|
|
2099
|
-
* An array of
|
|
2851
|
+
* An array of usage records.
|
|
2100
2852
|
*/
|
|
2101
|
-
200: Array<
|
|
2853
|
+
200: Array<Invoice>;
|
|
2102
2854
|
};
|
|
2103
|
-
export type
|
|
2104
|
-
export type
|
|
2105
|
-
body
|
|
2855
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2856
|
+
export type GetContactData = {
|
|
2857
|
+
body?: never;
|
|
2106
2858
|
path?: never;
|
|
2107
2859
|
query?: never;
|
|
2108
|
-
url: '/
|
|
2860
|
+
url: '/billing/contact';
|
|
2109
2861
|
};
|
|
2110
|
-
export type
|
|
2862
|
+
export type GetContactResponses = {
|
|
2111
2863
|
/**
|
|
2112
|
-
*
|
|
2864
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2113
2865
|
*/
|
|
2114
|
-
200:
|
|
2866
|
+
200: BillingContact;
|
|
2115
2867
|
};
|
|
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
|
-
};
|
|
2868
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2869
|
+
export type UpdateContactData = {
|
|
2870
|
+
body: BillingContact;
|
|
2871
|
+
path?: never;
|
|
2125
2872
|
query?: never;
|
|
2126
|
-
url: '/
|
|
2873
|
+
url: '/billing/contact';
|
|
2127
2874
|
};
|
|
2128
|
-
export type
|
|
2875
|
+
export type UpdateContactResponses = {
|
|
2129
2876
|
/**
|
|
2130
|
-
*
|
|
2877
|
+
* Successfully updated. Returns updated organization details.
|
|
2131
2878
|
*/
|
|
2132
|
-
|
|
2879
|
+
200: BillingContact;
|
|
2880
|
+
};
|
|
2881
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2882
|
+
export type GetCreditsData = {
|
|
2883
|
+
body?: never;
|
|
2884
|
+
path?: never;
|
|
2885
|
+
query?: never;
|
|
2886
|
+
url: '/billing/credits';
|
|
2887
|
+
};
|
|
2888
|
+
export type GetCreditsErrors = {
|
|
2133
2889
|
/**
|
|
2134
2890
|
* Not authenticated
|
|
2135
2891
|
*/
|
|
2136
2892
|
401: unknown;
|
|
2137
2893
|
};
|
|
2138
|
-
export type
|
|
2894
|
+
export type GetCreditsResponses = {
|
|
2139
2895
|
/**
|
|
2140
|
-
*
|
|
2896
|
+
* An array of the applied promotional credits records.
|
|
2141
2897
|
*/
|
|
2142
|
-
200:
|
|
2898
|
+
200: Array<BillingCredits>;
|
|
2143
2899
|
};
|
|
2144
|
-
export type
|
|
2145
|
-
export type
|
|
2146
|
-
body
|
|
2147
|
-
path: {
|
|
2900
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2901
|
+
export type RedeemCreditsData = {
|
|
2902
|
+
body: {
|
|
2148
2903
|
/**
|
|
2149
|
-
*
|
|
2904
|
+
* Promotional code to redeem
|
|
2150
2905
|
*/
|
|
2151
|
-
|
|
2906
|
+
code?: string;
|
|
2152
2907
|
};
|
|
2908
|
+
path?: never;
|
|
2153
2909
|
query?: never;
|
|
2154
|
-
url: '/
|
|
2910
|
+
url: '/billing/credits';
|
|
2155
2911
|
};
|
|
2156
|
-
export type
|
|
2912
|
+
export type RedeemCreditsErrors = {
|
|
2157
2913
|
/**
|
|
2158
2914
|
* Not authenticated
|
|
2159
2915
|
*/
|
|
2160
2916
|
401: unknown;
|
|
2161
2917
|
};
|
|
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 = {
|
|
2918
|
+
export type RedeemCreditsResponses = {
|
|
2181
2919
|
/**
|
|
2182
|
-
* Successfully created
|
|
2920
|
+
* Successfully created a new organization.
|
|
2183
2921
|
*/
|
|
2184
|
-
200:
|
|
2922
|
+
200: unknown;
|
|
2185
2923
|
};
|
|
2186
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2187
2924
|
//# sourceMappingURL=types.gen.d.ts.map
|