@cloudfleet/sdk 0.0.1-ef41cb3 → 0.0.1-f018175
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 +114 -102
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +8 -4
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +13 -15
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +22 -10
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.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 +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +1534 -220
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2937 -337
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +257 -167
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +370 -323
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1838 -588
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3487 -1376
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1429 -582
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -8
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
|
|
171
|
-
/**
|
|
172
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
-
*/
|
|
174
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
177
|
+
tier?: 'basic' | 'pro';
|
|
175
178
|
/**
|
|
176
179
|
* Version of the kubernetes cluster.
|
|
177
180
|
*/
|
|
178
181
|
version_channel?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Release channel for the cluster's control plane.
|
|
184
|
+
*/
|
|
185
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
186
|
+
/**
|
|
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.
|
|
209
|
+
*/
|
|
210
|
+
networking?: {
|
|
211
|
+
/**
|
|
212
|
+
* CIDR block for pod IPs.
|
|
213
|
+
*/
|
|
214
|
+
pod_cidr?: string;
|
|
215
|
+
/**
|
|
216
|
+
* CIDR block for service IPs.
|
|
217
|
+
*/
|
|
218
|
+
service_cidr?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
221
|
+
*/
|
|
222
|
+
dual_stack?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
225
|
+
*/
|
|
226
|
+
pod_cidr_v6?: string;
|
|
227
|
+
/**
|
|
228
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
229
|
+
*/
|
|
230
|
+
service_cidr_v6?: string;
|
|
231
|
+
};
|
|
179
232
|
};
|
|
180
233
|
export type ClusterJoinInformation = {
|
|
181
234
|
/**
|
|
@@ -186,6 +239,14 @@ export type ClusterJoinInformation = {
|
|
|
186
239
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
187
240
|
*/
|
|
188
241
|
endpoint: string;
|
|
242
|
+
/**
|
|
243
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
244
|
+
*/
|
|
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;
|
|
189
250
|
/**
|
|
190
251
|
* Authentication key for the cluster.
|
|
191
252
|
*/
|
|
@@ -233,6 +294,9 @@ export type ClusterJoinInformation = {
|
|
|
233
294
|
gcp_workload_identity_provider: string;
|
|
234
295
|
};
|
|
235
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
299
|
+
*/
|
|
236
300
|
export type Cluster = {
|
|
237
301
|
/**
|
|
238
302
|
* Name of the cluster.
|
|
@@ -243,22 +307,69 @@ export type Cluster = {
|
|
|
243
307
|
*/
|
|
244
308
|
tier: 'basic' | 'pro';
|
|
245
309
|
/**
|
|
246
|
-
*
|
|
310
|
+
* Version of the kubernetes cluster.
|
|
247
311
|
*/
|
|
248
|
-
|
|
312
|
+
version_channel: string;
|
|
249
313
|
/**
|
|
250
|
-
*
|
|
314
|
+
* Release channel for the cluster's control plane.
|
|
251
315
|
*/
|
|
252
|
-
|
|
316
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
317
|
+
/**
|
|
318
|
+
* Cluster feature toggles.
|
|
319
|
+
*/
|
|
320
|
+
features: {
|
|
321
|
+
/**
|
|
322
|
+
* GPU sharing strategy.
|
|
323
|
+
*/
|
|
324
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
325
|
+
/**
|
|
326
|
+
* Maximum number of pods that may share a single GPU.
|
|
327
|
+
*/
|
|
328
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
329
|
+
/**
|
|
330
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
331
|
+
*/
|
|
332
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
336
|
+
*/
|
|
337
|
+
region: string;
|
|
338
|
+
/**
|
|
339
|
+
* Cluster networking configuration. Immutable after creation.
|
|
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,125 +389,259 @@ export type Cluster = {
|
|
|
278
389
|
/**
|
|
279
390
|
* Indicates if the cluster is ready to be used.
|
|
280
391
|
*/
|
|
281
|
-
ready
|
|
392
|
+
ready: boolean;
|
|
282
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
396
|
+
*/
|
|
283
397
|
export type ClusterUpdateInput = {
|
|
284
398
|
/**
|
|
285
399
|
* Name of the cluster.
|
|
286
400
|
*/
|
|
287
|
-
name
|
|
401
|
+
name: string;
|
|
288
402
|
/**
|
|
289
403
|
* Tier of the cluster.
|
|
290
404
|
*/
|
|
291
|
-
tier
|
|
405
|
+
tier?: 'basic' | 'pro';
|
|
292
406
|
/**
|
|
293
407
|
* Version of the kubernetes cluster.
|
|
294
408
|
*/
|
|
295
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
|
+
};
|
|
296
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
434
|
+
*/
|
|
297
435
|
export type FleetCreateInput = {
|
|
298
436
|
/**
|
|
299
437
|
* Limits define a set of bounds for provisioning capacity.
|
|
300
438
|
*/
|
|
301
439
|
limits?: {
|
|
302
440
|
/**
|
|
303
|
-
* CPU limit in cores.
|
|
441
|
+
* CPU limit in cores. Maximum 100,000.
|
|
304
442
|
*/
|
|
305
|
-
cpu
|
|
443
|
+
cpu?: number;
|
|
306
444
|
};
|
|
307
445
|
gcp?: {
|
|
308
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
309
447
|
/**
|
|
310
|
-
*
|
|
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.
|
|
311
449
|
*/
|
|
312
|
-
project
|
|
450
|
+
project?: string;
|
|
313
451
|
};
|
|
314
452
|
hetzner?: {
|
|
315
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
316
454
|
/**
|
|
317
|
-
* Hetzner Cloud API
|
|
455
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
318
456
|
*/
|
|
319
|
-
apiKey
|
|
457
|
+
apiKey?: string;
|
|
320
458
|
};
|
|
321
459
|
aws?: {
|
|
322
|
-
enabled
|
|
460
|
+
enabled: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
463
|
+
*/
|
|
464
|
+
controllerRoleArn?: string;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
468
|
+
*/
|
|
469
|
+
constraints?: {
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
472
|
+
*/
|
|
473
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
474
|
+
/**
|
|
475
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
476
|
+
*/
|
|
477
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
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'>;
|
|
323
482
|
/**
|
|
324
|
-
*
|
|
483
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
325
484
|
*/
|
|
326
|
-
|
|
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'>;
|
|
327
486
|
};
|
|
487
|
+
/**
|
|
488
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
489
|
+
*/
|
|
490
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
328
491
|
/**
|
|
329
492
|
* Unique identifier of the kubernetes fleet.
|
|
330
493
|
*/
|
|
331
494
|
id: string;
|
|
332
495
|
};
|
|
496
|
+
/**
|
|
497
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
498
|
+
*/
|
|
333
499
|
export type Fleet = {
|
|
334
500
|
/**
|
|
335
501
|
* Limits define a set of bounds for provisioning capacity.
|
|
336
502
|
*/
|
|
337
503
|
limits?: {
|
|
338
504
|
/**
|
|
339
|
-
* CPU limit in cores.
|
|
505
|
+
* CPU limit in cores. Maximum 100,000.
|
|
340
506
|
*/
|
|
341
|
-
cpu
|
|
507
|
+
cpu?: number;
|
|
342
508
|
};
|
|
343
509
|
gcp?: {
|
|
344
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
345
511
|
/**
|
|
346
|
-
*
|
|
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.
|
|
347
513
|
*/
|
|
348
|
-
project
|
|
514
|
+
project?: string;
|
|
349
515
|
};
|
|
350
516
|
hetzner?: {
|
|
351
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
352
518
|
/**
|
|
353
|
-
* 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.
|
|
354
520
|
*/
|
|
355
|
-
apiKey
|
|
521
|
+
apiKey?: string;
|
|
356
522
|
};
|
|
357
523
|
aws?: {
|
|
358
|
-
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: {
|
|
359
534
|
/**
|
|
360
|
-
*
|
|
535
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
361
536
|
*/
|
|
362
|
-
|
|
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'>;
|
|
546
|
+
/**
|
|
547
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
548
|
+
*/
|
|
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'>;
|
|
363
550
|
};
|
|
551
|
+
/**
|
|
552
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
553
|
+
*/
|
|
554
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
364
555
|
/**
|
|
365
556
|
* Unique identifier of the kubernetes fleet.
|
|
366
557
|
*/
|
|
367
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;
|
|
368
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
578
|
+
*/
|
|
369
579
|
export type FleetUpdateInput = {
|
|
370
580
|
/**
|
|
371
581
|
* Limits define a set of bounds for provisioning capacity.
|
|
372
582
|
*/
|
|
373
583
|
limits?: {
|
|
374
584
|
/**
|
|
375
|
-
* CPU limit in cores.
|
|
585
|
+
* CPU limit in cores. Maximum 100,000.
|
|
376
586
|
*/
|
|
377
|
-
cpu
|
|
587
|
+
cpu?: number;
|
|
378
588
|
};
|
|
379
589
|
gcp?: {
|
|
380
|
-
enabled
|
|
590
|
+
enabled: boolean;
|
|
381
591
|
/**
|
|
382
|
-
*
|
|
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.
|
|
383
593
|
*/
|
|
384
|
-
project
|
|
594
|
+
project?: string;
|
|
385
595
|
};
|
|
386
596
|
hetzner?: {
|
|
387
|
-
enabled
|
|
597
|
+
enabled: boolean;
|
|
388
598
|
/**
|
|
389
|
-
* Hetzner Cloud API
|
|
599
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
390
600
|
*/
|
|
391
|
-
apiKey
|
|
601
|
+
apiKey?: string;
|
|
392
602
|
};
|
|
393
603
|
aws?: {
|
|
394
|
-
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?: {
|
|
395
614
|
/**
|
|
396
|
-
*
|
|
615
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
397
616
|
*/
|
|
398
|
-
|
|
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'>;
|
|
626
|
+
/**
|
|
627
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
628
|
+
*/
|
|
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'>;
|
|
399
630
|
};
|
|
631
|
+
/**
|
|
632
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
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';
|
|
400
645
|
};
|
|
401
646
|
export type Invite = {
|
|
402
647
|
/**
|
|
@@ -419,10 +664,14 @@ export type Invite = {
|
|
|
419
664
|
* Generated unique invite code.
|
|
420
665
|
*/
|
|
421
666
|
code?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
669
|
+
*/
|
|
670
|
+
role?: 'Administrator' | 'User';
|
|
422
671
|
};
|
|
423
672
|
export type Invoice = {
|
|
424
673
|
/**
|
|
425
|
-
* Unique identifier of the invoice.
|
|
674
|
+
* Unique identifier of the invoice.
|
|
426
675
|
*/
|
|
427
676
|
id?: string;
|
|
428
677
|
number?: string;
|
|
@@ -452,52 +701,97 @@ export type Invoice = {
|
|
|
452
701
|
period_end: string;
|
|
453
702
|
invoice_pdf?: string;
|
|
454
703
|
};
|
|
455
|
-
export type
|
|
704
|
+
export type MarketplaceListingFiles = {
|
|
456
705
|
/**
|
|
457
|
-
*
|
|
706
|
+
* Raw Chart.yaml content from the Helm chart
|
|
458
707
|
*/
|
|
459
|
-
|
|
708
|
+
chartYaml?: string;
|
|
460
709
|
/**
|
|
461
|
-
*
|
|
710
|
+
* Raw values.yaml content from the Helm chart
|
|
462
711
|
*/
|
|
463
|
-
|
|
712
|
+
valuesYaml?: string;
|
|
713
|
+
/**
|
|
714
|
+
* JSON schema for values.yaml as a string
|
|
715
|
+
*/
|
|
716
|
+
valuesSchemaJson?: string;
|
|
717
|
+
};
|
|
718
|
+
export type MarketplaceListing = {
|
|
464
719
|
/**
|
|
465
|
-
*
|
|
720
|
+
* Name of the chart
|
|
466
721
|
*/
|
|
467
|
-
|
|
722
|
+
name: string;
|
|
468
723
|
/**
|
|
469
|
-
*
|
|
724
|
+
* Available versions of the chart
|
|
470
725
|
*/
|
|
471
|
-
|
|
726
|
+
versions: Array<string>;
|
|
472
727
|
/**
|
|
473
|
-
*
|
|
728
|
+
* Version channels for the chart
|
|
474
729
|
*/
|
|
475
|
-
|
|
730
|
+
version_channels: Array<string>;
|
|
476
731
|
/**
|
|
477
|
-
*
|
|
732
|
+
* Latest version of the chart
|
|
478
733
|
*/
|
|
479
|
-
|
|
734
|
+
latestVersion: string;
|
|
480
735
|
/**
|
|
481
|
-
*
|
|
736
|
+
* Chart metadata
|
|
482
737
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
738
|
+
metadata?: {
|
|
739
|
+
/**
|
|
740
|
+
* Chart name from metadata
|
|
741
|
+
*/
|
|
742
|
+
name: string;
|
|
486
743
|
/**
|
|
487
|
-
*
|
|
744
|
+
* Chart version from metadata
|
|
488
745
|
*/
|
|
489
746
|
version: string;
|
|
490
747
|
/**
|
|
491
|
-
*
|
|
748
|
+
* Chart description
|
|
492
749
|
*/
|
|
493
|
-
|
|
750
|
+
description?: string;
|
|
494
751
|
/**
|
|
495
|
-
*
|
|
752
|
+
* Application version
|
|
496
753
|
*/
|
|
497
|
-
|
|
498
|
-
|
|
754
|
+
appVersion?: string;
|
|
755
|
+
/**
|
|
756
|
+
* Helm API version
|
|
757
|
+
*/
|
|
758
|
+
apiVersion?: string;
|
|
759
|
+
/**
|
|
760
|
+
* Chart keywords
|
|
761
|
+
*/
|
|
762
|
+
keywords?: Array<string>;
|
|
763
|
+
/**
|
|
764
|
+
* Chart home URL
|
|
765
|
+
*/
|
|
766
|
+
home?: string;
|
|
767
|
+
/**
|
|
768
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
769
|
+
*/
|
|
770
|
+
icon?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Chart source URLs
|
|
773
|
+
*/
|
|
774
|
+
sources?: Array<string>;
|
|
775
|
+
/**
|
|
776
|
+
* Chart maintainers
|
|
777
|
+
*/
|
|
778
|
+
maintainers?: Array<{
|
|
779
|
+
/**
|
|
780
|
+
* Maintainer name
|
|
781
|
+
*/
|
|
782
|
+
name: string;
|
|
783
|
+
/**
|
|
784
|
+
* Maintainer email
|
|
785
|
+
*/
|
|
786
|
+
email?: string;
|
|
787
|
+
}>;
|
|
788
|
+
};
|
|
499
789
|
};
|
|
500
790
|
export type OrganizationCreateInput = {
|
|
791
|
+
/**
|
|
792
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
793
|
+
*/
|
|
794
|
+
type: 'business' | 'personal';
|
|
501
795
|
/**
|
|
502
796
|
* Email address used for billing as a string.
|
|
503
797
|
*/
|
|
@@ -519,6 +813,12 @@ export type OrganizationCreateInput = {
|
|
|
519
813
|
*/
|
|
520
814
|
password: string;
|
|
521
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
|
+
};
|
|
522
822
|
export type Organization = {
|
|
523
823
|
/**
|
|
524
824
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -528,6 +828,10 @@ export type Organization = {
|
|
|
528
828
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
529
829
|
*/
|
|
530
830
|
name?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
833
|
+
*/
|
|
834
|
+
type: 'business' | 'personal';
|
|
531
835
|
/**
|
|
532
836
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
533
837
|
*/
|
|
@@ -577,448 +881,1419 @@ export type Organization = {
|
|
|
577
881
|
*/
|
|
578
882
|
label: string;
|
|
579
883
|
}>;
|
|
884
|
+
/**
|
|
885
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
886
|
+
*/
|
|
887
|
+
cfcr_storage_gb: number;
|
|
580
888
|
};
|
|
581
889
|
/**
|
|
582
890
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
583
891
|
*/
|
|
584
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';
|
|
585
897
|
};
|
|
586
898
|
export type PaymentMethod = {
|
|
587
899
|
/**
|
|
588
|
-
*
|
|
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.
|
|
589
901
|
*/
|
|
590
902
|
id: string;
|
|
591
903
|
/**
|
|
592
|
-
*
|
|
593
|
-
*/
|
|
594
|
-
setup: boolean;
|
|
595
|
-
/**
|
|
596
|
-
* 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.
|
|
597
905
|
*/
|
|
598
|
-
type: 'card';
|
|
906
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
599
907
|
/**
|
|
600
|
-
* 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.
|
|
601
909
|
*/
|
|
602
910
|
last4: string;
|
|
603
911
|
/**
|
|
604
|
-
* 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.
|
|
605
913
|
*/
|
|
606
914
|
exp_month: number;
|
|
607
915
|
/**
|
|
608
|
-
* 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.
|
|
609
917
|
*/
|
|
610
918
|
exp_year: number;
|
|
611
919
|
/**
|
|
612
|
-
* 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.
|
|
613
921
|
*/
|
|
614
|
-
brand:
|
|
615
|
-
};
|
|
616
|
-
export type TokenCreateInput = {
|
|
922
|
+
brand: string;
|
|
617
923
|
/**
|
|
618
|
-
*
|
|
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.
|
|
619
925
|
*/
|
|
620
|
-
|
|
926
|
+
iban: string;
|
|
621
927
|
/**
|
|
622
|
-
*
|
|
928
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
623
929
|
*/
|
|
624
|
-
|
|
625
|
-
};
|
|
626
|
-
export type Token = {
|
|
930
|
+
bic: string;
|
|
627
931
|
/**
|
|
628
|
-
*
|
|
932
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
629
933
|
*/
|
|
630
|
-
|
|
934
|
+
account_holder_name: string;
|
|
631
935
|
/**
|
|
632
|
-
*
|
|
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).
|
|
633
937
|
*/
|
|
634
|
-
|
|
938
|
+
is_default: boolean;
|
|
939
|
+
};
|
|
940
|
+
export type PlatformQuota = {
|
|
635
941
|
/**
|
|
636
|
-
*
|
|
942
|
+
* Maximum number of Basic clusters that can be created.
|
|
637
943
|
*/
|
|
638
|
-
|
|
944
|
+
basic_clusters_max: number;
|
|
639
945
|
/**
|
|
640
|
-
*
|
|
946
|
+
* Available number of Basic clusters that can be created.
|
|
641
947
|
*/
|
|
642
|
-
|
|
948
|
+
basic_clusters_available: number;
|
|
643
949
|
/**
|
|
644
|
-
*
|
|
950
|
+
* Maximum number of Pro clusters that can be created.
|
|
645
951
|
*/
|
|
646
|
-
|
|
647
|
-
};
|
|
648
|
-
export type TokenUpdateInput = {
|
|
952
|
+
pro_clusters_max: number;
|
|
649
953
|
/**
|
|
650
|
-
*
|
|
954
|
+
* Available number of Pro clusters that can be created.
|
|
651
955
|
*/
|
|
652
|
-
|
|
956
|
+
pro_clusters_available: number;
|
|
653
957
|
/**
|
|
654
|
-
*
|
|
958
|
+
* Maximum number of fleets that can be created per cluster.
|
|
655
959
|
*/
|
|
656
|
-
|
|
657
|
-
};
|
|
658
|
-
export type Usage = {
|
|
960
|
+
fleets_max: number;
|
|
659
961
|
/**
|
|
660
|
-
*
|
|
962
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
661
963
|
*/
|
|
662
|
-
|
|
964
|
+
cluster_tiers: Array<string>;
|
|
663
965
|
/**
|
|
664
|
-
*
|
|
966
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
665
967
|
*/
|
|
666
|
-
|
|
968
|
+
regions: Array<string>;
|
|
667
969
|
/**
|
|
668
|
-
*
|
|
970
|
+
* List of CFKE control plane versions available for the organization.
|
|
971
|
+
*/
|
|
972
|
+
versions: Array<{
|
|
973
|
+
/**
|
|
974
|
+
* Id of the control plane version. Used in API calls.
|
|
975
|
+
*/
|
|
976
|
+
id: string;
|
|
977
|
+
/**
|
|
978
|
+
* Label of the control plane version. Used in frontent UI.
|
|
979
|
+
*/
|
|
980
|
+
label: string;
|
|
981
|
+
}>;
|
|
982
|
+
/**
|
|
983
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
669
984
|
*/
|
|
670
|
-
|
|
985
|
+
cfcr_storage_gb: number;
|
|
986
|
+
};
|
|
987
|
+
export type RegistryRepository = {
|
|
671
988
|
/**
|
|
672
|
-
*
|
|
989
|
+
* Repository name.
|
|
673
990
|
*/
|
|
674
|
-
|
|
991
|
+
name: string;
|
|
675
992
|
/**
|
|
676
|
-
*
|
|
993
|
+
* Registry region.
|
|
677
994
|
*/
|
|
678
|
-
|
|
995
|
+
region: string;
|
|
679
996
|
/**
|
|
680
|
-
*
|
|
997
|
+
* Full URI of the repository.
|
|
681
998
|
*/
|
|
682
|
-
|
|
683
|
-
cpu: number | '';
|
|
684
|
-
price: number | '';
|
|
685
|
-
value: number | '';
|
|
686
|
-
total: number | '';
|
|
999
|
+
uri: string;
|
|
687
1000
|
};
|
|
688
|
-
export type
|
|
1001
|
+
export type RegistryRepositoryWithTags = {
|
|
689
1002
|
/**
|
|
690
|
-
*
|
|
1003
|
+
* Repository name.
|
|
691
1004
|
*/
|
|
692
|
-
|
|
1005
|
+
name: string;
|
|
693
1006
|
/**
|
|
694
|
-
*
|
|
1007
|
+
* Registry region.
|
|
695
1008
|
*/
|
|
696
|
-
|
|
1009
|
+
region: string;
|
|
697
1010
|
/**
|
|
698
|
-
*
|
|
1011
|
+
* Full URI of the repository.
|
|
699
1012
|
*/
|
|
700
|
-
|
|
1013
|
+
uri: string;
|
|
701
1014
|
/**
|
|
702
|
-
*
|
|
1015
|
+
* Array of tags in the repository.
|
|
703
1016
|
*/
|
|
704
|
-
|
|
1017
|
+
tags: Array<{
|
|
1018
|
+
/**
|
|
1019
|
+
* Tag name.
|
|
1020
|
+
*/
|
|
1021
|
+
name: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Size of the tag in bytes.
|
|
1024
|
+
*/
|
|
1025
|
+
size: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Media type of the manifest.
|
|
1028
|
+
*/
|
|
1029
|
+
mediaType?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
1032
|
+
*/
|
|
1033
|
+
platforms?: Array<string>;
|
|
1034
|
+
}>;
|
|
705
1035
|
/**
|
|
706
|
-
*
|
|
1036
|
+
* Total size of all tags in the repository in bytes.
|
|
707
1037
|
*/
|
|
708
|
-
|
|
1038
|
+
totalSize: number;
|
|
1039
|
+
};
|
|
1040
|
+
export type RegistryTag = {
|
|
709
1041
|
/**
|
|
710
|
-
*
|
|
1042
|
+
* Tag name.
|
|
711
1043
|
*/
|
|
712
|
-
|
|
1044
|
+
name: string;
|
|
713
1045
|
/**
|
|
714
|
-
*
|
|
1046
|
+
* Manifest digest for pulling by digest.
|
|
715
1047
|
*/
|
|
716
|
-
|
|
717
|
-
};
|
|
718
|
-
export type User = {
|
|
1048
|
+
digest: string;
|
|
719
1049
|
/**
|
|
720
|
-
*
|
|
1050
|
+
* Media type of the manifest.
|
|
721
1051
|
*/
|
|
722
|
-
|
|
1052
|
+
mediaType?: string;
|
|
723
1053
|
/**
|
|
724
|
-
*
|
|
1054
|
+
* Manifest config metadata.
|
|
725
1055
|
*/
|
|
726
|
-
|
|
1056
|
+
config?: {
|
|
1057
|
+
/**
|
|
1058
|
+
* Size of the config in bytes.
|
|
1059
|
+
*/
|
|
1060
|
+
size: number;
|
|
1061
|
+
};
|
|
727
1062
|
/**
|
|
728
|
-
*
|
|
1063
|
+
* Array of layer metadata.
|
|
729
1064
|
*/
|
|
730
|
-
|
|
1065
|
+
layers?: Array<{
|
|
1066
|
+
/**
|
|
1067
|
+
* Digest of the layer.
|
|
1068
|
+
*/
|
|
1069
|
+
digest?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Size of the layer in bytes.
|
|
1072
|
+
*/
|
|
1073
|
+
size: number;
|
|
1074
|
+
}>;
|
|
731
1075
|
/**
|
|
732
|
-
*
|
|
1076
|
+
* Array of manifests for multi-arch images.
|
|
733
1077
|
*/
|
|
734
|
-
|
|
1078
|
+
manifests?: Array<{
|
|
1079
|
+
/**
|
|
1080
|
+
* Digest of the manifest.
|
|
1081
|
+
*/
|
|
1082
|
+
digest: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Platform information for the manifest.
|
|
1085
|
+
*/
|
|
1086
|
+
platform?: {
|
|
1087
|
+
/**
|
|
1088
|
+
* Architecture of the platform.
|
|
1089
|
+
*/
|
|
1090
|
+
architecture: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Operating system of the platform.
|
|
1093
|
+
*/
|
|
1094
|
+
os: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1097
|
+
*/
|
|
1098
|
+
variant?: string;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* Layers for this platform.
|
|
1102
|
+
*/
|
|
1103
|
+
layers?: Array<{
|
|
1104
|
+
/**
|
|
1105
|
+
* Digest of the layer.
|
|
1106
|
+
*/
|
|
1107
|
+
digest?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Size of the layer in bytes.
|
|
1110
|
+
*/
|
|
1111
|
+
size: number;
|
|
1112
|
+
}>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Total size of this platform manifest in bytes.
|
|
1115
|
+
*/
|
|
1116
|
+
size?: number;
|
|
1117
|
+
}>;
|
|
735
1118
|
/**
|
|
736
|
-
*
|
|
1119
|
+
* Total size of the tag in bytes.
|
|
737
1120
|
*/
|
|
738
|
-
|
|
1121
|
+
size: number;
|
|
739
1122
|
/**
|
|
740
|
-
*
|
|
1123
|
+
* Registry region.
|
|
1124
|
+
*/
|
|
1125
|
+
region: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Repository name.
|
|
1128
|
+
*/
|
|
1129
|
+
repository: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Full URI of the tag.
|
|
1132
|
+
*/
|
|
1133
|
+
uri: string;
|
|
1134
|
+
};
|
|
1135
|
+
export type TicketAttachment = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
741
1138
|
*/
|
|
742
1139
|
id: string;
|
|
743
1140
|
/**
|
|
744
|
-
*
|
|
1141
|
+
* Original filename as uploaded.
|
|
1142
|
+
*/
|
|
1143
|
+
filename: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* MIME content type of the attachment.
|
|
1146
|
+
*/
|
|
1147
|
+
content_type: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Size of the attachment in bytes.
|
|
1150
|
+
*/
|
|
1151
|
+
size: number;
|
|
1152
|
+
};
|
|
1153
|
+
export type TicketCreateInput = {
|
|
1154
|
+
/**
|
|
1155
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1156
|
+
*/
|
|
1157
|
+
category: 'billing' | 'technical' | 'general';
|
|
1158
|
+
/**
|
|
1159
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1160
|
+
*/
|
|
1161
|
+
body: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1164
|
+
*/
|
|
1165
|
+
properties?: {
|
|
1166
|
+
[key: string]: unknown;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
export type TicketListResponse = {
|
|
1170
|
+
/**
|
|
1171
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1172
|
+
*/
|
|
1173
|
+
items: Array<{
|
|
1174
|
+
/**
|
|
1175
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1176
|
+
*/
|
|
1177
|
+
id: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Current state of the ticket.
|
|
1180
|
+
*/
|
|
1181
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1182
|
+
/**
|
|
1183
|
+
* Ticket category.
|
|
1184
|
+
*/
|
|
1185
|
+
category: 'billing' | 'technical' | 'general';
|
|
1186
|
+
/**
|
|
1187
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1188
|
+
*/
|
|
1189
|
+
summary: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1192
|
+
*/
|
|
1193
|
+
closed_at?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1196
|
+
*/
|
|
1197
|
+
date_created: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1200
|
+
*/
|
|
1201
|
+
date_updated: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1204
|
+
*/
|
|
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
|
+
}>;
|
|
1253
|
+
};
|
|
1254
|
+
export type TicketMessageInput = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Reply body in markdown.
|
|
1257
|
+
*/
|
|
1258
|
+
body: string;
|
|
1259
|
+
};
|
|
1260
|
+
export type TicketMessage = {
|
|
1261
|
+
/**
|
|
1262
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1263
|
+
*/
|
|
1264
|
+
id: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1267
|
+
*/
|
|
1268
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1269
|
+
/**
|
|
1270
|
+
* Message body in markdown.
|
|
1271
|
+
*/
|
|
1272
|
+
body: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* First name of the author. Null when not provided.
|
|
1275
|
+
*/
|
|
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
|
|
745
1416
|
*/
|
|
746
1417
|
date_created: string;
|
|
747
1418
|
};
|
|
748
|
-
export type
|
|
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;
|
|
1504
|
+
/**
|
|
1505
|
+
* Total cost
|
|
1506
|
+
*/
|
|
1507
|
+
total: number;
|
|
1508
|
+
};
|
|
1509
|
+
export type UserCreateInput = {
|
|
1510
|
+
/**
|
|
1511
|
+
* User email address.
|
|
1512
|
+
*/
|
|
1513
|
+
email: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* User first name.
|
|
1516
|
+
*/
|
|
1517
|
+
first_name: string;
|
|
1518
|
+
/**
|
|
1519
|
+
* User last name.
|
|
1520
|
+
*/
|
|
1521
|
+
last_name: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Generated unique invite code.
|
|
1524
|
+
*/
|
|
1525
|
+
code: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* User password. Must be at least 8 characters long.
|
|
1528
|
+
*/
|
|
1529
|
+
password: string;
|
|
1530
|
+
};
|
|
1531
|
+
export type User = {
|
|
1532
|
+
/**
|
|
1533
|
+
* User email address.
|
|
1534
|
+
*/
|
|
1535
|
+
email: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* User first name.
|
|
1538
|
+
*/
|
|
1539
|
+
first_name: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* User last name.
|
|
1542
|
+
*/
|
|
1543
|
+
last_name: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* User role. Can be 'Administrator', 'User'.
|
|
1546
|
+
*/
|
|
1547
|
+
role: 'Administrator' | 'User';
|
|
1548
|
+
/**
|
|
1549
|
+
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1550
|
+
*/
|
|
1551
|
+
status: 'active' | 'inactive';
|
|
1552
|
+
/**
|
|
1553
|
+
* Unique identifier of the user. UUID v4 string in canonical form
|
|
1554
|
+
*/
|
|
1555
|
+
id: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1558
|
+
*/
|
|
1559
|
+
date_created: string;
|
|
1560
|
+
};
|
|
1561
|
+
export type UserUpdateInput = {
|
|
1562
|
+
/**
|
|
1563
|
+
* User email address.
|
|
1564
|
+
*/
|
|
1565
|
+
email?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* User first name.
|
|
1568
|
+
*/
|
|
1569
|
+
first_name?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* User last name.
|
|
1572
|
+
*/
|
|
1573
|
+
last_name?: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* User role. Can be 'Administrator', 'User'.
|
|
1576
|
+
*/
|
|
1577
|
+
role?: 'Administrator' | 'User';
|
|
1578
|
+
/**
|
|
1579
|
+
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1580
|
+
*/
|
|
1581
|
+
status?: 'active' | 'inactive';
|
|
1582
|
+
};
|
|
1583
|
+
export type ListUserOrganizationsData = {
|
|
1584
|
+
body?: never;
|
|
1585
|
+
path: {
|
|
1586
|
+
/**
|
|
1587
|
+
* User email address.
|
|
1588
|
+
*/
|
|
1589
|
+
email: string;
|
|
1590
|
+
};
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/users/organizations/{email}';
|
|
1593
|
+
};
|
|
1594
|
+
export type ListUserOrganizationsResponses = {
|
|
1595
|
+
/**
|
|
1596
|
+
* An array of organizations the user belongs to.
|
|
1597
|
+
*/
|
|
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
|
+
}>;
|
|
1608
|
+
};
|
|
1609
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1610
|
+
export type ListUsersData = {
|
|
1611
|
+
body?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
query?: never;
|
|
1614
|
+
url: '/users';
|
|
1615
|
+
};
|
|
1616
|
+
export type ListUsersErrors = {
|
|
1617
|
+
/**
|
|
1618
|
+
* Not authenticated
|
|
1619
|
+
*/
|
|
1620
|
+
401: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
export type ListUsersResponses = {
|
|
1623
|
+
/**
|
|
1624
|
+
* An array of users
|
|
1625
|
+
*/
|
|
1626
|
+
200: Array<User>;
|
|
1627
|
+
};
|
|
1628
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1629
|
+
export type CreateUserData = {
|
|
1630
|
+
body: UserCreateInput;
|
|
1631
|
+
path?: never;
|
|
1632
|
+
query?: never;
|
|
1633
|
+
url: '/users';
|
|
1634
|
+
};
|
|
1635
|
+
export type CreateUserResponses = {
|
|
1636
|
+
/**
|
|
1637
|
+
* Successfully created. Returns created user details.
|
|
1638
|
+
*/
|
|
1639
|
+
200: User;
|
|
1640
|
+
};
|
|
1641
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1642
|
+
export type DeleteUserData = {
|
|
1643
|
+
body?: never;
|
|
1644
|
+
path: {
|
|
1645
|
+
/**
|
|
1646
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1647
|
+
*/
|
|
1648
|
+
user_id: string;
|
|
1649
|
+
};
|
|
1650
|
+
query?: never;
|
|
1651
|
+
url: '/users/{user_id}';
|
|
1652
|
+
};
|
|
1653
|
+
export type DeleteUserErrors = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1656
|
+
*/
|
|
1657
|
+
400: unknown;
|
|
1658
|
+
/**
|
|
1659
|
+
* Not authenticated
|
|
1660
|
+
*/
|
|
1661
|
+
401: unknown;
|
|
1662
|
+
};
|
|
1663
|
+
export type DeleteUserResponses = {
|
|
1664
|
+
/**
|
|
1665
|
+
* User profile information
|
|
1666
|
+
*/
|
|
1667
|
+
200: User;
|
|
1668
|
+
};
|
|
1669
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1670
|
+
export type GetUserData = {
|
|
1671
|
+
body?: never;
|
|
1672
|
+
path: {
|
|
1673
|
+
/**
|
|
1674
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1675
|
+
*/
|
|
1676
|
+
user_id: string;
|
|
1677
|
+
};
|
|
1678
|
+
query?: never;
|
|
1679
|
+
url: '/users/{user_id}';
|
|
1680
|
+
};
|
|
1681
|
+
export type GetUserErrors = {
|
|
1682
|
+
/**
|
|
1683
|
+
* Not authenticated
|
|
1684
|
+
*/
|
|
1685
|
+
401: unknown;
|
|
1686
|
+
};
|
|
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
|
+
};
|
|
1702
|
+
query?: never;
|
|
1703
|
+
url: '/users/{user_id}';
|
|
1704
|
+
};
|
|
1705
|
+
export type UpdateUserResponses = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Successfully created. Returns created user details.
|
|
1708
|
+
*/
|
|
1709
|
+
200: User;
|
|
1710
|
+
};
|
|
1711
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1712
|
+
export type ListTokensData = {
|
|
1713
|
+
body?: never;
|
|
1714
|
+
path?: never;
|
|
1715
|
+
query?: never;
|
|
1716
|
+
url: '/tokens';
|
|
1717
|
+
};
|
|
1718
|
+
export type ListTokensErrors = {
|
|
1719
|
+
/**
|
|
1720
|
+
* Not authenticated
|
|
1721
|
+
*/
|
|
1722
|
+
401: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
export type ListTokensResponses = {
|
|
1725
|
+
/**
|
|
1726
|
+
* Returns a list of access token details with masked secrets.
|
|
1727
|
+
*/
|
|
1728
|
+
200: Array<Token>;
|
|
1729
|
+
};
|
|
1730
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1731
|
+
export type CreateTokenData = {
|
|
1732
|
+
body: TokenCreateInput;
|
|
1733
|
+
path?: never;
|
|
1734
|
+
query?: never;
|
|
1735
|
+
url: '/tokens';
|
|
1736
|
+
};
|
|
1737
|
+
export type CreateTokenErrors = {
|
|
1738
|
+
/**
|
|
1739
|
+
* Not authenticated
|
|
1740
|
+
*/
|
|
1741
|
+
401: unknown;
|
|
1742
|
+
};
|
|
1743
|
+
export type CreateTokenResponses = {
|
|
1744
|
+
/**
|
|
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.
|
|
1764
|
+
*/
|
|
1765
|
+
200: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
export type GetTokenData = {
|
|
1768
|
+
body?: never;
|
|
1769
|
+
path: {
|
|
1770
|
+
/**
|
|
1771
|
+
* Generated unique identifier of the access token.
|
|
1772
|
+
*/
|
|
1773
|
+
token_id: string;
|
|
1774
|
+
};
|
|
1775
|
+
query?: never;
|
|
1776
|
+
url: '/tokens/{token_id}';
|
|
1777
|
+
};
|
|
1778
|
+
export type GetTokenErrors = {
|
|
1779
|
+
/**
|
|
1780
|
+
* Not authenticated
|
|
1781
|
+
*/
|
|
1782
|
+
401: unknown;
|
|
1783
|
+
};
|
|
1784
|
+
export type GetTokenResponses = {
|
|
1785
|
+
/**
|
|
1786
|
+
* Returns access token details with masked secret.
|
|
1787
|
+
*/
|
|
1788
|
+
200: Token;
|
|
1789
|
+
};
|
|
1790
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1791
|
+
export type UpdateTokenData = {
|
|
1792
|
+
body: TokenUpdateInput;
|
|
1793
|
+
path: {
|
|
1794
|
+
/**
|
|
1795
|
+
* Generated unique identifier of the access token.
|
|
1796
|
+
*/
|
|
1797
|
+
token_id: string;
|
|
1798
|
+
};
|
|
1799
|
+
query?: never;
|
|
1800
|
+
url: '/tokens/{token_id}';
|
|
1801
|
+
};
|
|
1802
|
+
export type UpdateTokenErrors = {
|
|
1803
|
+
/**
|
|
1804
|
+
* Not authenticated
|
|
1805
|
+
*/
|
|
1806
|
+
401: unknown;
|
|
1807
|
+
};
|
|
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 = {
|
|
1816
|
+
body?: never;
|
|
1817
|
+
path: {
|
|
1818
|
+
/**
|
|
1819
|
+
* Generated unique identifier of the access token.
|
|
1820
|
+
*/
|
|
1821
|
+
token_id: string;
|
|
1822
|
+
};
|
|
1823
|
+
query?: never;
|
|
1824
|
+
url: '/tokens/{token_id}/secret';
|
|
1825
|
+
};
|
|
1826
|
+
export type RegenerateTokenErrors = {
|
|
1827
|
+
/**
|
|
1828
|
+
* Not authenticated
|
|
1829
|
+
*/
|
|
1830
|
+
401: unknown;
|
|
1831
|
+
};
|
|
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 = {
|
|
1840
|
+
body?: never;
|
|
1841
|
+
path?: never;
|
|
1842
|
+
query?: never;
|
|
1843
|
+
url: '/tickets';
|
|
1844
|
+
};
|
|
1845
|
+
export type ListTicketsResponses = {
|
|
1846
|
+
/**
|
|
1847
|
+
* Tickets for the organization.
|
|
1848
|
+
*/
|
|
1849
|
+
200: TicketListResponse;
|
|
1850
|
+
};
|
|
1851
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1852
|
+
export type CreateTicketData = {
|
|
1853
|
+
body: {
|
|
1854
|
+
/**
|
|
1855
|
+
* JSON-encoded TicketCreateInput.
|
|
1856
|
+
*/
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path?: never;
|
|
1861
|
+
query?: never;
|
|
1862
|
+
url: '/tickets';
|
|
1863
|
+
};
|
|
1864
|
+
export type CreateTicketResponses = {
|
|
1865
|
+
/**
|
|
1866
|
+
* Ticket created.
|
|
1867
|
+
*/
|
|
1868
|
+
200: Ticket;
|
|
1869
|
+
};
|
|
1870
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1871
|
+
export type CloseTicketData = {
|
|
1872
|
+
body?: never;
|
|
1873
|
+
path: {
|
|
1874
|
+
ticket_id: string;
|
|
1875
|
+
};
|
|
1876
|
+
query?: never;
|
|
1877
|
+
url: '/tickets/{ticket_id}';
|
|
1878
|
+
};
|
|
1879
|
+
export type CloseTicketResponses = {
|
|
749
1880
|
/**
|
|
750
|
-
*
|
|
1881
|
+
* Ticket closed.
|
|
751
1882
|
*/
|
|
752
|
-
|
|
1883
|
+
200: Ticket;
|
|
1884
|
+
};
|
|
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 = {
|
|
753
1895
|
/**
|
|
754
|
-
*
|
|
1896
|
+
* Ticket with messages (internal notes excluded).
|
|
755
1897
|
*/
|
|
756
|
-
|
|
1898
|
+
200: Ticket;
|
|
1899
|
+
};
|
|
1900
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1901
|
+
export type ReplyTicketData = {
|
|
1902
|
+
body: {
|
|
1903
|
+
/**
|
|
1904
|
+
* JSON-encoded TicketMessageInput.
|
|
1905
|
+
*/
|
|
1906
|
+
payload?: string;
|
|
1907
|
+
attachments?: Array<Blob | File>;
|
|
1908
|
+
};
|
|
1909
|
+
path: {
|
|
1910
|
+
ticket_id: string;
|
|
1911
|
+
};
|
|
1912
|
+
query?: never;
|
|
1913
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1914
|
+
};
|
|
1915
|
+
export type ReplyTicketErrors = {
|
|
757
1916
|
/**
|
|
758
|
-
*
|
|
1917
|
+
* Ticket is closed. Open a new ticket instead.
|
|
759
1918
|
*/
|
|
760
|
-
|
|
1919
|
+
409: unknown;
|
|
1920
|
+
};
|
|
1921
|
+
export type ReplyTicketResponses = {
|
|
761
1922
|
/**
|
|
762
|
-
*
|
|
1923
|
+
* Reply appended.
|
|
763
1924
|
*/
|
|
764
|
-
|
|
1925
|
+
200: TicketMessage;
|
|
1926
|
+
};
|
|
1927
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1928
|
+
export type GetTicketAttachmentData = {
|
|
1929
|
+
body?: never;
|
|
1930
|
+
path: {
|
|
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 = {
|
|
765
1938
|
/**
|
|
766
|
-
*
|
|
1939
|
+
* Attachment binary stream.
|
|
767
1940
|
*/
|
|
768
|
-
|
|
1941
|
+
200: Blob | File;
|
|
769
1942
|
};
|
|
770
|
-
export type
|
|
1943
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1944
|
+
export type ListRepositoriesData = {
|
|
771
1945
|
body?: never;
|
|
772
1946
|
path?: never;
|
|
773
1947
|
query?: never;
|
|
774
|
-
url: '/
|
|
1948
|
+
url: '/registry';
|
|
775
1949
|
};
|
|
776
|
-
export type
|
|
1950
|
+
export type ListRepositoriesErrors = {
|
|
777
1951
|
/**
|
|
778
1952
|
* Not authenticated
|
|
779
1953
|
*/
|
|
780
1954
|
401: unknown;
|
|
1955
|
+
/**
|
|
1956
|
+
* Internal server error
|
|
1957
|
+
*/
|
|
1958
|
+
500: unknown;
|
|
781
1959
|
};
|
|
782
|
-
export type
|
|
1960
|
+
export type ListRepositoriesResponses = {
|
|
783
1961
|
/**
|
|
784
|
-
*
|
|
1962
|
+
* List of repositories
|
|
785
1963
|
*/
|
|
786
|
-
200: Array<
|
|
1964
|
+
200: Array<RegistryRepository>;
|
|
787
1965
|
};
|
|
788
|
-
export type
|
|
789
|
-
export type
|
|
1966
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1967
|
+
export type ListTagsData = {
|
|
790
1968
|
body?: never;
|
|
791
|
-
path
|
|
1969
|
+
path: {
|
|
1970
|
+
/**
|
|
1971
|
+
* Region where the repository is located
|
|
1972
|
+
*/
|
|
1973
|
+
region: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Name of the repository
|
|
1976
|
+
*/
|
|
1977
|
+
repository: string;
|
|
1978
|
+
};
|
|
792
1979
|
query?: never;
|
|
793
|
-
url: '/
|
|
1980
|
+
url: '/registry/{region}/{repository}';
|
|
794
1981
|
};
|
|
795
|
-
export type
|
|
1982
|
+
export type ListTagsErrors = {
|
|
1983
|
+
/**
|
|
1984
|
+
* Not authenticated
|
|
1985
|
+
*/
|
|
1986
|
+
401: unknown;
|
|
796
1987
|
/**
|
|
797
|
-
*
|
|
1988
|
+
* Repository not found
|
|
798
1989
|
*/
|
|
799
1990
|
404: unknown;
|
|
1991
|
+
/**
|
|
1992
|
+
* Internal server error
|
|
1993
|
+
*/
|
|
1994
|
+
500: unknown;
|
|
800
1995
|
};
|
|
801
|
-
export type
|
|
1996
|
+
export type ListTagsResponses = {
|
|
802
1997
|
/**
|
|
803
|
-
*
|
|
1998
|
+
* Repository with tags
|
|
804
1999
|
*/
|
|
805
|
-
200:
|
|
2000
|
+
200: RegistryRepositoryWithTags;
|
|
806
2001
|
};
|
|
807
|
-
export type
|
|
808
|
-
export type
|
|
2002
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2003
|
+
export type DeleteTagData = {
|
|
809
2004
|
body?: never;
|
|
810
|
-
path
|
|
2005
|
+
path: {
|
|
2006
|
+
/**
|
|
2007
|
+
* Region where the repository is located
|
|
2008
|
+
*/
|
|
2009
|
+
region: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* Name of the repository
|
|
2012
|
+
*/
|
|
2013
|
+
repository: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Name of the tag
|
|
2016
|
+
*/
|
|
2017
|
+
tag: string;
|
|
2018
|
+
};
|
|
811
2019
|
query?: never;
|
|
812
|
-
url: '/
|
|
2020
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
813
2021
|
};
|
|
814
|
-
export type
|
|
2022
|
+
export type DeleteTagErrors = {
|
|
815
2023
|
/**
|
|
816
|
-
*
|
|
817
|
-
*
|
|
2024
|
+
* Not authenticated
|
|
818
2025
|
*/
|
|
819
|
-
|
|
2026
|
+
401: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag not found
|
|
2029
|
+
*/
|
|
2030
|
+
404: unknown;
|
|
2031
|
+
/**
|
|
2032
|
+
* Internal server error
|
|
2033
|
+
*/
|
|
2034
|
+
500: unknown;
|
|
2035
|
+
};
|
|
2036
|
+
export type DeleteTagResponses = {
|
|
2037
|
+
/**
|
|
2038
|
+
* Tag successfully deleted
|
|
2039
|
+
*/
|
|
2040
|
+
200: unknown;
|
|
2041
|
+
};
|
|
2042
|
+
export type GetTagData = {
|
|
2043
|
+
body?: never;
|
|
2044
|
+
path: {
|
|
820
2045
|
/**
|
|
821
|
-
*
|
|
2046
|
+
* Region where the repository is located
|
|
822
2047
|
*/
|
|
823
|
-
|
|
2048
|
+
region: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Name of the repository
|
|
2051
|
+
*/
|
|
2052
|
+
repository: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Name of the tag
|
|
2055
|
+
*/
|
|
2056
|
+
tag: string;
|
|
824
2057
|
};
|
|
825
|
-
};
|
|
826
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
827
|
-
export type ListInvoicesData = {
|
|
828
|
-
body?: never;
|
|
829
|
-
path?: never;
|
|
830
2058
|
query?: never;
|
|
831
|
-
url: '/
|
|
2059
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
832
2060
|
};
|
|
833
|
-
export type
|
|
2061
|
+
export type GetTagErrors = {
|
|
834
2062
|
/**
|
|
835
2063
|
* Not authenticated
|
|
836
2064
|
*/
|
|
837
2065
|
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag not found
|
|
2068
|
+
*/
|
|
2069
|
+
404: unknown;
|
|
2070
|
+
/**
|
|
2071
|
+
* Internal server error
|
|
2072
|
+
*/
|
|
2073
|
+
500: unknown;
|
|
838
2074
|
};
|
|
839
|
-
export type
|
|
2075
|
+
export type GetTagResponses = {
|
|
840
2076
|
/**
|
|
841
|
-
*
|
|
2077
|
+
* Tag details
|
|
842
2078
|
*/
|
|
843
|
-
200:
|
|
2079
|
+
200: RegistryTag;
|
|
844
2080
|
};
|
|
845
|
-
export type
|
|
846
|
-
export type
|
|
2081
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2082
|
+
export type GetOrganizationData = {
|
|
847
2083
|
body?: never;
|
|
848
2084
|
path?: never;
|
|
849
2085
|
query?: never;
|
|
850
|
-
url: '/
|
|
2086
|
+
url: '/organization';
|
|
851
2087
|
};
|
|
852
|
-
export type
|
|
2088
|
+
export type GetOrganizationResponses = {
|
|
853
2089
|
/**
|
|
854
|
-
* Returns a single object containing organization
|
|
2090
|
+
* Returns a single object containing organization details.
|
|
855
2091
|
*/
|
|
856
|
-
200:
|
|
2092
|
+
200: Organization;
|
|
857
2093
|
};
|
|
858
|
-
export type
|
|
859
|
-
export type
|
|
860
|
-
body:
|
|
2094
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2095
|
+
export type CreateOrganizationData = {
|
|
2096
|
+
body: OrganizationCreateInput;
|
|
861
2097
|
path?: never;
|
|
862
2098
|
query?: never;
|
|
863
|
-
url: '/
|
|
2099
|
+
url: '/organization';
|
|
864
2100
|
};
|
|
865
|
-
export type
|
|
2101
|
+
export type CreateOrganizationResponses = {
|
|
866
2102
|
/**
|
|
867
|
-
*
|
|
2103
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2104
|
+
*
|
|
868
2105
|
*/
|
|
869
|
-
200:
|
|
2106
|
+
200: OrganizationCreateOutput;
|
|
870
2107
|
};
|
|
871
|
-
export type
|
|
872
|
-
export type
|
|
873
|
-
|
|
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;
|
|
2117
|
+
/**
|
|
2118
|
+
* Method-specific parameters
|
|
2119
|
+
*/
|
|
2120
|
+
params?: {
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
2123
|
+
};
|
|
874
2124
|
path?: never;
|
|
875
2125
|
query?: never;
|
|
876
|
-
url: '/
|
|
2126
|
+
url: '/mcp';
|
|
877
2127
|
};
|
|
878
|
-
export type
|
|
2128
|
+
export type PostMcpErrors = {
|
|
879
2129
|
/**
|
|
880
2130
|
* Not authenticated
|
|
881
2131
|
*/
|
|
882
2132
|
401: unknown;
|
|
883
2133
|
};
|
|
884
|
-
export type
|
|
2134
|
+
export type PostMcpResponses = {
|
|
885
2135
|
/**
|
|
886
|
-
*
|
|
2136
|
+
* JSON-RPC 2.0 success or error response
|
|
887
2137
|
*/
|
|
888
|
-
200:
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
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
|
+
};
|
|
897
2148
|
};
|
|
2149
|
+
};
|
|
2150
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2151
|
+
export type ListMarketplaceChartsData = {
|
|
2152
|
+
body?: never;
|
|
898
2153
|
path?: never;
|
|
899
2154
|
query?: never;
|
|
900
|
-
url: '/
|
|
2155
|
+
url: '/marketplace';
|
|
901
2156
|
};
|
|
902
|
-
export type
|
|
2157
|
+
export type ListMarketplaceChartsErrors = {
|
|
903
2158
|
/**
|
|
904
2159
|
* Not authenticated
|
|
905
2160
|
*/
|
|
906
2161
|
401: unknown;
|
|
907
2162
|
};
|
|
908
|
-
export type
|
|
2163
|
+
export type ListMarketplaceChartsResponses = {
|
|
909
2164
|
/**
|
|
910
|
-
*
|
|
2165
|
+
* An array of chart listings in the marketplace.
|
|
911
2166
|
*/
|
|
912
|
-
200:
|
|
2167
|
+
200: Array<MarketplaceListing>;
|
|
913
2168
|
};
|
|
914
|
-
export type
|
|
2169
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2170
|
+
export type GetMarketplaceChartFilesData = {
|
|
915
2171
|
body?: never;
|
|
916
2172
|
path: {
|
|
917
2173
|
/**
|
|
918
|
-
*
|
|
2174
|
+
* Name of the chart in the marketplace.
|
|
919
2175
|
*/
|
|
920
|
-
|
|
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;
|
|
921
2181
|
};
|
|
922
2182
|
query?: never;
|
|
923
|
-
url: '/
|
|
2183
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
924
2184
|
};
|
|
925
|
-
export type
|
|
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;
|
|
2200
|
+
path?: never;
|
|
2201
|
+
query?: never;
|
|
2202
|
+
url: '/invites';
|
|
2203
|
+
};
|
|
2204
|
+
export type ListInvitesErrors = {
|
|
926
2205
|
/**
|
|
927
2206
|
* Not authenticated
|
|
928
2207
|
*/
|
|
929
2208
|
401: unknown;
|
|
930
2209
|
};
|
|
931
|
-
export type
|
|
2210
|
+
export type ListInvitesResponses = {
|
|
932
2211
|
/**
|
|
933
|
-
* An array of
|
|
2212
|
+
* An array of invites
|
|
934
2213
|
*/
|
|
935
|
-
200: Array<
|
|
2214
|
+
200: Array<Invite>;
|
|
936
2215
|
};
|
|
937
|
-
export type
|
|
938
|
-
export type
|
|
939
|
-
body:
|
|
940
|
-
path
|
|
941
|
-
/**
|
|
942
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
943
|
-
*/
|
|
944
|
-
cluster_id: string;
|
|
945
|
-
};
|
|
2216
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2217
|
+
export type CreateInviteData = {
|
|
2218
|
+
body: InviteCreateInput;
|
|
2219
|
+
path?: never;
|
|
946
2220
|
query?: never;
|
|
947
|
-
url: '/
|
|
2221
|
+
url: '/invites';
|
|
948
2222
|
};
|
|
949
|
-
export type
|
|
2223
|
+
export type CreateInviteResponses = {
|
|
950
2224
|
/**
|
|
951
|
-
* Successfully created. Returns created
|
|
2225
|
+
* Successfully created. Returns created invite details.
|
|
952
2226
|
*/
|
|
953
|
-
200:
|
|
2227
|
+
200: Invite;
|
|
954
2228
|
};
|
|
955
|
-
export type
|
|
956
|
-
export type
|
|
2229
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2230
|
+
export type GetInviteData = {
|
|
957
2231
|
body?: never;
|
|
958
2232
|
path: {
|
|
959
2233
|
/**
|
|
960
|
-
*
|
|
961
|
-
*/
|
|
962
|
-
cluster_id: string;
|
|
963
|
-
/**
|
|
964
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
2234
|
+
* Invitation code
|
|
965
2235
|
*/
|
|
966
|
-
|
|
2236
|
+
code: string;
|
|
967
2237
|
};
|
|
968
2238
|
query?: never;
|
|
969
|
-
url: '/
|
|
2239
|
+
url: '/invites/{code}';
|
|
970
2240
|
};
|
|
971
|
-
export type
|
|
2241
|
+
export type GetInviteResponses = {
|
|
972
2242
|
/**
|
|
973
|
-
*
|
|
2243
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
974
2244
|
*/
|
|
975
|
-
200:
|
|
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
|
+
};
|
|
976
2255
|
};
|
|
977
|
-
export type
|
|
978
|
-
export type
|
|
2256
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2257
|
+
export type DeleteInviteData = {
|
|
979
2258
|
body?: never;
|
|
980
2259
|
path: {
|
|
981
2260
|
/**
|
|
982
|
-
*
|
|
983
|
-
*/
|
|
984
|
-
cluster_id: string;
|
|
985
|
-
/**
|
|
986
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
2261
|
+
* User email address
|
|
987
2262
|
*/
|
|
988
|
-
|
|
2263
|
+
email: string;
|
|
989
2264
|
};
|
|
990
2265
|
query?: never;
|
|
991
|
-
url: '/
|
|
2266
|
+
url: '/invites/{email}';
|
|
992
2267
|
};
|
|
993
|
-
export type
|
|
2268
|
+
export type DeleteInviteResponses = {
|
|
994
2269
|
/**
|
|
995
|
-
*
|
|
2270
|
+
* Successfully deleted.
|
|
996
2271
|
*/
|
|
997
|
-
200:
|
|
2272
|
+
200: unknown;
|
|
998
2273
|
};
|
|
999
|
-
export type
|
|
1000
|
-
|
|
1001
|
-
body: ChartUpdateInput;
|
|
2274
|
+
export type QueryClusterData = {
|
|
2275
|
+
body?: never;
|
|
1002
2276
|
path: {
|
|
1003
2277
|
/**
|
|
1004
2278
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1005
2279
|
*/
|
|
1006
2280
|
cluster_id: string;
|
|
1007
|
-
/**
|
|
1008
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1009
|
-
*/
|
|
1010
|
-
chart_name: string;
|
|
1011
2281
|
};
|
|
1012
2282
|
query?: never;
|
|
1013
|
-
url: '/clusters/{cluster_id}/
|
|
2283
|
+
url: '/clusters/{cluster_id}/query';
|
|
1014
2284
|
};
|
|
1015
|
-
export type
|
|
2285
|
+
export type QueryClusterErrors = {
|
|
1016
2286
|
/**
|
|
1017
|
-
*
|
|
2287
|
+
* Not authenticated
|
|
1018
2288
|
*/
|
|
1019
|
-
|
|
2289
|
+
401: unknown;
|
|
2290
|
+
};
|
|
2291
|
+
export type QueryClusterResponses = {
|
|
2292
|
+
/**
|
|
2293
|
+
* Kubernetes API response
|
|
2294
|
+
*/
|
|
2295
|
+
200: unknown;
|
|
1020
2296
|
};
|
|
1021
|
-
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1022
2297
|
export type ListFleetsData = {
|
|
1023
2298
|
body?: never;
|
|
1024
2299
|
path: {
|
|
@@ -1059,6 +2334,10 @@ export type CreateFleetErrors = {
|
|
|
1059
2334
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1060
2335
|
*/
|
|
1061
2336
|
402: string;
|
|
2337
|
+
/**
|
|
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.
|
|
2339
|
+
*/
|
|
2340
|
+
409: string;
|
|
1062
2341
|
};
|
|
1063
2342
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1064
2343
|
export type CreateFleetResponses = {
|
|
@@ -1083,6 +2362,13 @@ export type DeleteFleetData = {
|
|
|
1083
2362
|
query?: never;
|
|
1084
2363
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1085
2364
|
};
|
|
2365
|
+
export type DeleteFleetErrors = {
|
|
2366
|
+
/**
|
|
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.
|
|
2368
|
+
*/
|
|
2369
|
+
409: string;
|
|
2370
|
+
};
|
|
2371
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
1086
2372
|
export type DeleteFleetResponses = {
|
|
1087
2373
|
/**
|
|
1088
2374
|
* Successfully deleted.
|
|
@@ -1132,6 +2418,10 @@ export type UpdateFleetErrors = {
|
|
|
1132
2418
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1133
2419
|
*/
|
|
1134
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;
|
|
1135
2425
|
};
|
|
1136
2426
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1137
2427
|
export type UpdateFleetResponses = {
|
|
@@ -1141,7 +2431,7 @@ export type UpdateFleetResponses = {
|
|
|
1141
2431
|
200: string;
|
|
1142
2432
|
};
|
|
1143
2433
|
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
1144
|
-
export type
|
|
2434
|
+
export type ListChartsData = {
|
|
1145
2435
|
body?: never;
|
|
1146
2436
|
path: {
|
|
1147
2437
|
/**
|
|
@@ -1150,525 +2440,485 @@ export type QueryClusterData = {
|
|
|
1150
2440
|
cluster_id: string;
|
|
1151
2441
|
};
|
|
1152
2442
|
query?: never;
|
|
1153
|
-
url: '/clusters/{cluster_id}/
|
|
1154
|
-
};
|
|
1155
|
-
export type QueryClusterErrors = {
|
|
1156
|
-
/**
|
|
1157
|
-
* Not authenticated
|
|
1158
|
-
*/
|
|
1159
|
-
401: unknown;
|
|
1160
|
-
};
|
|
1161
|
-
export type QueryClusterResponses = {
|
|
1162
|
-
/**
|
|
1163
|
-
* Kubernetes API response
|
|
1164
|
-
*/
|
|
1165
|
-
200: unknown;
|
|
1166
|
-
};
|
|
1167
|
-
export type ListClustersData = {
|
|
1168
|
-
body?: never;
|
|
1169
|
-
path?: never;
|
|
1170
|
-
query?: never;
|
|
1171
|
-
url: '/clusters';
|
|
2443
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1172
2444
|
};
|
|
1173
|
-
export type
|
|
2445
|
+
export type ListChartsErrors = {
|
|
1174
2446
|
/**
|
|
1175
2447
|
* Not authenticated
|
|
1176
2448
|
*/
|
|
1177
2449
|
401: unknown;
|
|
1178
2450
|
};
|
|
1179
|
-
export type
|
|
2451
|
+
export type ListChartsResponses = {
|
|
1180
2452
|
/**
|
|
1181
|
-
* An array of
|
|
2453
|
+
* An array of charts
|
|
1182
2454
|
*/
|
|
1183
|
-
200: Array<
|
|
2455
|
+
200: Array<Chart>;
|
|
1184
2456
|
};
|
|
1185
|
-
export type
|
|
1186
|
-
export type
|
|
1187
|
-
body:
|
|
1188
|
-
path
|
|
2457
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2458
|
+
export type CreateChartData = {
|
|
2459
|
+
body: ChartCreateInput;
|
|
2460
|
+
path: {
|
|
2461
|
+
/**
|
|
2462
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2463
|
+
*/
|
|
2464
|
+
cluster_id: string;
|
|
2465
|
+
};
|
|
1189
2466
|
query?: never;
|
|
1190
|
-
url: '/clusters';
|
|
2467
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1191
2468
|
};
|
|
1192
|
-
export type
|
|
2469
|
+
export type CreateChartErrors = {
|
|
1193
2470
|
/**
|
|
1194
|
-
*
|
|
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.
|
|
1195
2472
|
*/
|
|
1196
|
-
|
|
2473
|
+
409: string;
|
|
1197
2474
|
};
|
|
1198
|
-
export type
|
|
1199
|
-
export type
|
|
2475
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2476
|
+
export type CreateChartResponses = {
|
|
1200
2477
|
/**
|
|
1201
|
-
* Successfully created. Returns created
|
|
2478
|
+
* Successfully created. Returns created Chart ID.
|
|
1202
2479
|
*/
|
|
1203
2480
|
200: string;
|
|
1204
2481
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
export type
|
|
2482
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2483
|
+
export type DeleteChartData = {
|
|
1207
2484
|
body?: never;
|
|
1208
2485
|
path: {
|
|
1209
2486
|
/**
|
|
1210
2487
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1211
2488
|
*/
|
|
1212
2489
|
cluster_id: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2492
|
+
*/
|
|
2493
|
+
chart_name: string;
|
|
1213
2494
|
};
|
|
1214
2495
|
query?: never;
|
|
1215
|
-
url: '/clusters/{cluster_id}';
|
|
2496
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1216
2497
|
};
|
|
1217
|
-
export type
|
|
2498
|
+
export type DeleteChartErrors = {
|
|
2499
|
+
/**
|
|
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.
|
|
2501
|
+
*/
|
|
2502
|
+
409: string;
|
|
2503
|
+
};
|
|
2504
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2505
|
+
export type DeleteChartResponses = {
|
|
1218
2506
|
/**
|
|
1219
2507
|
* Successfully deleted.
|
|
1220
2508
|
*/
|
|
1221
2509
|
200: string;
|
|
1222
2510
|
};
|
|
1223
|
-
export type
|
|
1224
|
-
export type
|
|
2511
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2512
|
+
export type GetChartData = {
|
|
1225
2513
|
body?: never;
|
|
1226
2514
|
path: {
|
|
1227
2515
|
/**
|
|
1228
2516
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1229
2517
|
*/
|
|
1230
2518
|
cluster_id: string;
|
|
1231
|
-
};
|
|
1232
|
-
query?: never;
|
|
1233
|
-
url: '/clusters/{cluster_id}';
|
|
1234
|
-
};
|
|
1235
|
-
export type GetClusterResponses = {
|
|
1236
|
-
/**
|
|
1237
|
-
* Returns a single object containing cluster details.
|
|
1238
|
-
*/
|
|
1239
|
-
200: Cluster;
|
|
1240
|
-
};
|
|
1241
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1242
|
-
export type UpdateClusterData = {
|
|
1243
|
-
body: ClusterUpdateInput;
|
|
1244
|
-
path: {
|
|
1245
2519
|
/**
|
|
1246
|
-
*
|
|
2520
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1247
2521
|
*/
|
|
1248
|
-
|
|
2522
|
+
chart_name: string;
|
|
1249
2523
|
};
|
|
1250
2524
|
query?: never;
|
|
1251
|
-
url: '/clusters/{cluster_id}';
|
|
2525
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1252
2526
|
};
|
|
1253
|
-
export type
|
|
2527
|
+
export type GetChartResponses = {
|
|
1254
2528
|
/**
|
|
1255
|
-
*
|
|
2529
|
+
* Returns a single object containing chart details.
|
|
1256
2530
|
*/
|
|
1257
|
-
200:
|
|
2531
|
+
200: Chart;
|
|
1258
2532
|
};
|
|
1259
|
-
export type
|
|
1260
|
-
export type
|
|
1261
|
-
body
|
|
2533
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2534
|
+
export type UpdateChartData = {
|
|
2535
|
+
body: ChartUpdateInput;
|
|
1262
2536
|
path: {
|
|
1263
2537
|
/**
|
|
1264
2538
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1265
2539
|
*/
|
|
1266
2540
|
cluster_id: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2543
|
+
*/
|
|
2544
|
+
chart_name: string;
|
|
1267
2545
|
};
|
|
1268
2546
|
query?: never;
|
|
1269
|
-
url: '/clusters/{cluster_id}/
|
|
2547
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1270
2548
|
};
|
|
1271
|
-
export type
|
|
2549
|
+
export type UpdateChartErrors = {
|
|
1272
2550
|
/**
|
|
1273
|
-
*
|
|
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.
|
|
1274
2552
|
*/
|
|
1275
|
-
|
|
2553
|
+
409: string;
|
|
1276
2554
|
};
|
|
1277
|
-
export type
|
|
2555
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2556
|
+
export type UpdateChartResponses = {
|
|
1278
2557
|
/**
|
|
1279
|
-
*
|
|
2558
|
+
* Successfully updated.
|
|
1280
2559
|
*/
|
|
1281
|
-
200:
|
|
2560
|
+
200: string;
|
|
1282
2561
|
};
|
|
1283
|
-
export type
|
|
1284
|
-
export type
|
|
2562
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2563
|
+
export type ListClustersData = {
|
|
1285
2564
|
body?: never;
|
|
1286
2565
|
path?: never;
|
|
1287
2566
|
query?: never;
|
|
1288
|
-
url: '/
|
|
2567
|
+
url: '/clusters';
|
|
1289
2568
|
};
|
|
1290
|
-
export type
|
|
2569
|
+
export type ListClustersErrors = {
|
|
1291
2570
|
/**
|
|
1292
2571
|
* Not authenticated
|
|
1293
2572
|
*/
|
|
1294
2573
|
401: unknown;
|
|
1295
2574
|
};
|
|
1296
|
-
export type
|
|
2575
|
+
export type ListClustersResponses = {
|
|
1297
2576
|
/**
|
|
1298
|
-
* An array of
|
|
2577
|
+
* An array of clusters
|
|
1299
2578
|
*/
|
|
1300
|
-
200: Array<
|
|
2579
|
+
200: Array<Cluster>;
|
|
1301
2580
|
};
|
|
1302
|
-
export type
|
|
1303
|
-
export type
|
|
1304
|
-
body:
|
|
1305
|
-
/**
|
|
1306
|
-
* User email address
|
|
1307
|
-
*/
|
|
1308
|
-
email?: string;
|
|
1309
|
-
};
|
|
2581
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2582
|
+
export type CreateClusterData = {
|
|
2583
|
+
body: ClusterCreateInput;
|
|
1310
2584
|
path?: never;
|
|
1311
2585
|
query?: never;
|
|
1312
|
-
url: '/
|
|
2586
|
+
url: '/clusters';
|
|
1313
2587
|
};
|
|
1314
|
-
export type
|
|
2588
|
+
export type CreateClusterErrors = {
|
|
1315
2589
|
/**
|
|
1316
|
-
*
|
|
2590
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1317
2591
|
*/
|
|
1318
|
-
|
|
1319
|
-
};
|
|
1320
|
-
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
1321
|
-
export type GetInviteData = {
|
|
1322
|
-
body?: never;
|
|
1323
|
-
path: {
|
|
1324
|
-
/**
|
|
1325
|
-
* Invitation code
|
|
1326
|
-
*/
|
|
1327
|
-
code: string;
|
|
1328
|
-
};
|
|
1329
|
-
query?: never;
|
|
1330
|
-
url: '/invites/{code}';
|
|
2592
|
+
402: string;
|
|
1331
2593
|
};
|
|
1332
|
-
export type
|
|
2594
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2595
|
+
export type CreateClusterResponses = {
|
|
1333
2596
|
/**
|
|
1334
|
-
*
|
|
2597
|
+
* Successfully created. Returns created Cluster ID.
|
|
1335
2598
|
*/
|
|
1336
|
-
200:
|
|
2599
|
+
200: string;
|
|
1337
2600
|
};
|
|
1338
|
-
export type
|
|
1339
|
-
export type
|
|
2601
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2602
|
+
export type DeleteClusterData = {
|
|
1340
2603
|
body?: never;
|
|
1341
2604
|
path: {
|
|
1342
2605
|
/**
|
|
1343
|
-
*
|
|
2606
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1344
2607
|
*/
|
|
1345
|
-
|
|
2608
|
+
cluster_id: string;
|
|
1346
2609
|
};
|
|
1347
2610
|
query?: never;
|
|
1348
|
-
url: '/
|
|
2611
|
+
url: '/clusters/{cluster_id}';
|
|
1349
2612
|
};
|
|
1350
|
-
export type
|
|
2613
|
+
export type DeleteClusterErrors = {
|
|
1351
2614
|
/**
|
|
1352
|
-
*
|
|
2615
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1353
2616
|
*/
|
|
1354
|
-
|
|
1355
|
-
};
|
|
1356
|
-
export type ListMarketplaceChartsData = {
|
|
1357
|
-
body?: never;
|
|
1358
|
-
path?: never;
|
|
1359
|
-
query?: never;
|
|
1360
|
-
url: '/marketplace';
|
|
1361
|
-
};
|
|
1362
|
-
export type ListMarketplaceChartsErrors = {
|
|
2617
|
+
404: unknown;
|
|
1363
2618
|
/**
|
|
1364
|
-
*
|
|
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.
|
|
1365
2620
|
*/
|
|
1366
|
-
|
|
2621
|
+
409: string;
|
|
2622
|
+
/**
|
|
2623
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2624
|
+
*/
|
|
2625
|
+
503: unknown;
|
|
1367
2626
|
};
|
|
1368
|
-
export type
|
|
2627
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2628
|
+
export type DeleteClusterResponses = {
|
|
1369
2629
|
/**
|
|
1370
|
-
*
|
|
2630
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1371
2631
|
*/
|
|
1372
|
-
200:
|
|
2632
|
+
200: string;
|
|
1373
2633
|
};
|
|
1374
|
-
export type
|
|
1375
|
-
export type
|
|
2634
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2635
|
+
export type GetClusterData = {
|
|
1376
2636
|
body?: never;
|
|
1377
2637
|
path: {
|
|
1378
2638
|
/**
|
|
1379
|
-
* Unique identifier of the
|
|
2639
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1380
2640
|
*/
|
|
1381
|
-
|
|
2641
|
+
cluster_id: string;
|
|
1382
2642
|
};
|
|
1383
2643
|
query?: never;
|
|
1384
|
-
url: '/
|
|
2644
|
+
url: '/clusters/{cluster_id}';
|
|
1385
2645
|
};
|
|
1386
|
-
export type
|
|
2646
|
+
export type GetClusterResponses = {
|
|
1387
2647
|
/**
|
|
1388
|
-
* Returns
|
|
2648
|
+
* Returns a single object containing cluster details.
|
|
1389
2649
|
*/
|
|
1390
|
-
200:
|
|
2650
|
+
200: Cluster;
|
|
1391
2651
|
};
|
|
1392
|
-
export type
|
|
1393
|
-
export type
|
|
1394
|
-
body
|
|
1395
|
-
path
|
|
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
|
+
};
|
|
1396
2661
|
query?: never;
|
|
1397
|
-
url: '/
|
|
2662
|
+
url: '/clusters/{cluster_id}';
|
|
1398
2663
|
};
|
|
1399
|
-
export type
|
|
2664
|
+
export type UpdateClusterErrors = {
|
|
1400
2665
|
/**
|
|
1401
|
-
*
|
|
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.
|
|
1402
2667
|
*/
|
|
1403
|
-
|
|
1404
|
-
};
|
|
1405
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1406
|
-
export type CreateOrganizationData = {
|
|
1407
|
-
body: OrganizationCreateInput;
|
|
1408
|
-
path?: never;
|
|
1409
|
-
query?: never;
|
|
1410
|
-
url: '/organization';
|
|
2668
|
+
409: string;
|
|
1411
2669
|
};
|
|
1412
|
-
export type
|
|
2670
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2671
|
+
export type UpdateClusterResponses = {
|
|
1413
2672
|
/**
|
|
1414
|
-
* Successfully
|
|
2673
|
+
* Successfully updated. Returns updated cluster details.
|
|
1415
2674
|
*/
|
|
1416
|
-
200:
|
|
2675
|
+
200: Cluster;
|
|
1417
2676
|
};
|
|
1418
|
-
export type
|
|
2677
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2678
|
+
export type GetJoinInformationData = {
|
|
1419
2679
|
body?: never;
|
|
1420
|
-
path
|
|
2680
|
+
path: {
|
|
2681
|
+
/**
|
|
2682
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2683
|
+
*/
|
|
2684
|
+
cluster_id: string;
|
|
2685
|
+
};
|
|
1421
2686
|
query?: never;
|
|
1422
|
-
url: '/
|
|
2687
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1423
2688
|
};
|
|
1424
|
-
export type
|
|
2689
|
+
export type GetJoinInformationErrors = {
|
|
1425
2690
|
/**
|
|
1426
2691
|
* Not authenticated
|
|
1427
2692
|
*/
|
|
1428
2693
|
401: unknown;
|
|
2694
|
+
/**
|
|
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.
|
|
2696
|
+
*/
|
|
2697
|
+
409: string;
|
|
1429
2698
|
};
|
|
1430
|
-
export type
|
|
2699
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2700
|
+
export type GetJoinInformationResponses = {
|
|
1431
2701
|
/**
|
|
1432
|
-
*
|
|
2702
|
+
* An object of cluster join information
|
|
1433
2703
|
*/
|
|
1434
|
-
200:
|
|
2704
|
+
200: ClusterJoinInformation;
|
|
1435
2705
|
};
|
|
1436
|
-
export type
|
|
1437
|
-
export type
|
|
1438
|
-
body
|
|
2706
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2707
|
+
export type GetUsageData = {
|
|
2708
|
+
body?: never;
|
|
1439
2709
|
path?: never;
|
|
1440
|
-
query?:
|
|
1441
|
-
|
|
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';
|
|
1442
2717
|
};
|
|
1443
|
-
export type
|
|
2718
|
+
export type GetUsageErrors = {
|
|
1444
2719
|
/**
|
|
1445
2720
|
* Not authenticated
|
|
1446
2721
|
*/
|
|
1447
2722
|
401: unknown;
|
|
1448
2723
|
};
|
|
1449
|
-
export type
|
|
2724
|
+
export type GetUsageResponses = {
|
|
1450
2725
|
/**
|
|
1451
|
-
*
|
|
2726
|
+
* Usage data with facets for filtering
|
|
1452
2727
|
*/
|
|
1453
|
-
200:
|
|
2728
|
+
200: UsageResponse;
|
|
1454
2729
|
};
|
|
1455
|
-
export type
|
|
1456
|
-
export type
|
|
2730
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2731
|
+
export type GetPaymentMethodSecretData = {
|
|
1457
2732
|
body?: never;
|
|
1458
|
-
path
|
|
1459
|
-
/**
|
|
1460
|
-
* Generated unique identifier of the access token.
|
|
1461
|
-
*/
|
|
1462
|
-
token_id: string;
|
|
1463
|
-
};
|
|
2733
|
+
path?: never;
|
|
1464
2734
|
query?: never;
|
|
1465
|
-
url: '/
|
|
2735
|
+
url: '/billing/payment-method';
|
|
1466
2736
|
};
|
|
1467
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1468
2738
|
/**
|
|
1469
|
-
*
|
|
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
|
+
*
|
|
1470
2741
|
*/
|
|
1471
|
-
200:
|
|
1472
|
-
};
|
|
1473
|
-
export type GetTokenData = {
|
|
1474
|
-
body?: never;
|
|
1475
|
-
path: {
|
|
2742
|
+
200: {
|
|
1476
2743
|
/**
|
|
1477
|
-
*
|
|
2744
|
+
* The client secret.
|
|
1478
2745
|
*/
|
|
1479
|
-
|
|
2746
|
+
id?: string;
|
|
1480
2747
|
};
|
|
2748
|
+
};
|
|
2749
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2750
|
+
export type ListPaymentMethodsData = {
|
|
2751
|
+
body?: never;
|
|
2752
|
+
path?: never;
|
|
1481
2753
|
query?: never;
|
|
1482
|
-
url: '/
|
|
2754
|
+
url: '/billing/payment-methods';
|
|
1483
2755
|
};
|
|
1484
|
-
export type
|
|
2756
|
+
export type ListPaymentMethodsErrors = {
|
|
1485
2757
|
/**
|
|
1486
2758
|
* Not authenticated
|
|
1487
2759
|
*/
|
|
1488
2760
|
401: unknown;
|
|
1489
2761
|
};
|
|
1490
|
-
export type
|
|
2762
|
+
export type ListPaymentMethodsResponses = {
|
|
1491
2763
|
/**
|
|
1492
|
-
*
|
|
2764
|
+
* An array of payment methods.
|
|
1493
2765
|
*/
|
|
1494
|
-
200:
|
|
2766
|
+
200: Array<PaymentMethod>;
|
|
1495
2767
|
};
|
|
1496
|
-
export type
|
|
1497
|
-
export type
|
|
1498
|
-
body
|
|
2768
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2769
|
+
export type SetDefaultPaymentMethodData = {
|
|
2770
|
+
body?: never;
|
|
1499
2771
|
path: {
|
|
1500
2772
|
/**
|
|
1501
|
-
*
|
|
2773
|
+
* Stripe payment method identifier.
|
|
1502
2774
|
*/
|
|
1503
|
-
|
|
2775
|
+
paymentMethodId: string;
|
|
1504
2776
|
};
|
|
1505
2777
|
query?: never;
|
|
1506
|
-
url: '/
|
|
2778
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1507
2779
|
};
|
|
1508
|
-
export type
|
|
2780
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2781
|
+
/**
|
|
2782
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2783
|
+
*/
|
|
2784
|
+
400: unknown;
|
|
1509
2785
|
/**
|
|
1510
2786
|
* Not authenticated
|
|
1511
2787
|
*/
|
|
1512
2788
|
401: unknown;
|
|
2789
|
+
/**
|
|
2790
|
+
* Payment method not found.
|
|
2791
|
+
*/
|
|
2792
|
+
404: unknown;
|
|
1513
2793
|
};
|
|
1514
|
-
export type
|
|
2794
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1515
2795
|
/**
|
|
1516
|
-
*
|
|
2796
|
+
* Default payment method updated.
|
|
1517
2797
|
*/
|
|
1518
|
-
|
|
2798
|
+
204: void;
|
|
1519
2799
|
};
|
|
1520
|
-
export type
|
|
1521
|
-
export type
|
|
2800
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2801
|
+
export type DeletePaymentMethodData = {
|
|
1522
2802
|
body?: never;
|
|
1523
2803
|
path: {
|
|
1524
2804
|
/**
|
|
1525
|
-
*
|
|
2805
|
+
* Stripe payment method identifier.
|
|
1526
2806
|
*/
|
|
1527
|
-
|
|
2807
|
+
paymentMethodId: string;
|
|
1528
2808
|
};
|
|
1529
2809
|
query?: never;
|
|
1530
|
-
url: '/
|
|
2810
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1531
2811
|
};
|
|
1532
|
-
export type
|
|
2812
|
+
export type DeletePaymentMethodErrors = {
|
|
2813
|
+
/**
|
|
2814
|
+
* The bank transfer payment method cannot be removed.
|
|
2815
|
+
*/
|
|
2816
|
+
400: unknown;
|
|
1533
2817
|
/**
|
|
1534
2818
|
* Not authenticated
|
|
1535
2819
|
*/
|
|
1536
2820
|
401: unknown;
|
|
1537
|
-
};
|
|
1538
|
-
export type RegenerateTokenResponses = {
|
|
1539
2821
|
/**
|
|
1540
|
-
*
|
|
2822
|
+
* Payment method not found.
|
|
1541
2823
|
*/
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
path: {
|
|
1548
|
-
/**
|
|
1549
|
-
* User email address.
|
|
1550
|
-
*/
|
|
1551
|
-
email: string;
|
|
1552
|
-
};
|
|
1553
|
-
query?: never;
|
|
1554
|
-
url: '/users/organizations/{email}';
|
|
2824
|
+
404: unknown;
|
|
2825
|
+
/**
|
|
2826
|
+
* Cannot delete the only remaining payment method.
|
|
2827
|
+
*/
|
|
2828
|
+
409: unknown;
|
|
1555
2829
|
};
|
|
1556
|
-
export type
|
|
2830
|
+
export type DeletePaymentMethodResponses = {
|
|
1557
2831
|
/**
|
|
1558
|
-
*
|
|
2832
|
+
* Payment method deleted.
|
|
1559
2833
|
*/
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1563
|
-
*/
|
|
1564
|
-
realm?: string;
|
|
1565
|
-
/**
|
|
1566
|
-
* Human-readable name of the organization
|
|
1567
|
-
*/
|
|
1568
|
-
displayName?: string;
|
|
1569
|
-
}>;
|
|
2834
|
+
204: void;
|
|
1570
2835
|
};
|
|
1571
|
-
export type
|
|
1572
|
-
export type
|
|
2836
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2837
|
+
export type ListInvoicesData = {
|
|
1573
2838
|
body?: never;
|
|
1574
2839
|
path?: never;
|
|
1575
2840
|
query?: never;
|
|
1576
|
-
url: '/
|
|
2841
|
+
url: '/billing/invoices';
|
|
1577
2842
|
};
|
|
1578
|
-
export type
|
|
2843
|
+
export type ListInvoicesErrors = {
|
|
1579
2844
|
/**
|
|
1580
2845
|
* Not authenticated
|
|
1581
2846
|
*/
|
|
1582
2847
|
401: unknown;
|
|
1583
2848
|
};
|
|
1584
|
-
export type
|
|
2849
|
+
export type ListInvoicesResponses = {
|
|
1585
2850
|
/**
|
|
1586
|
-
* An array of
|
|
2851
|
+
* An array of usage records.
|
|
1587
2852
|
*/
|
|
1588
|
-
200: Array<
|
|
2853
|
+
200: Array<Invoice>;
|
|
1589
2854
|
};
|
|
1590
|
-
export type
|
|
1591
|
-
export type
|
|
1592
|
-
body
|
|
2855
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2856
|
+
export type GetContactData = {
|
|
2857
|
+
body?: never;
|
|
1593
2858
|
path?: never;
|
|
1594
2859
|
query?: never;
|
|
1595
|
-
url: '/
|
|
2860
|
+
url: '/billing/contact';
|
|
1596
2861
|
};
|
|
1597
|
-
export type
|
|
2862
|
+
export type GetContactResponses = {
|
|
1598
2863
|
/**
|
|
1599
|
-
*
|
|
2864
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1600
2865
|
*/
|
|
1601
|
-
200:
|
|
2866
|
+
200: BillingContact;
|
|
1602
2867
|
};
|
|
1603
|
-
export type
|
|
1604
|
-
export type
|
|
1605
|
-
body
|
|
1606
|
-
path
|
|
1607
|
-
/**
|
|
1608
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1609
|
-
*/
|
|
1610
|
-
user_id: string;
|
|
1611
|
-
};
|
|
2868
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2869
|
+
export type UpdateContactData = {
|
|
2870
|
+
body: BillingContact;
|
|
2871
|
+
path?: never;
|
|
1612
2872
|
query?: never;
|
|
1613
|
-
url: '/
|
|
2873
|
+
url: '/billing/contact';
|
|
1614
2874
|
};
|
|
1615
|
-
export type
|
|
2875
|
+
export type UpdateContactResponses = {
|
|
1616
2876
|
/**
|
|
1617
|
-
*
|
|
2877
|
+
* Successfully updated. Returns updated organization details.
|
|
1618
2878
|
*/
|
|
1619
|
-
|
|
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 = {
|
|
1620
2889
|
/**
|
|
1621
2890
|
* Not authenticated
|
|
1622
2891
|
*/
|
|
1623
2892
|
401: unknown;
|
|
1624
2893
|
};
|
|
1625
|
-
export type
|
|
2894
|
+
export type GetCreditsResponses = {
|
|
1626
2895
|
/**
|
|
1627
|
-
*
|
|
2896
|
+
* An array of the applied promotional credits records.
|
|
1628
2897
|
*/
|
|
1629
|
-
200:
|
|
2898
|
+
200: Array<BillingCredits>;
|
|
1630
2899
|
};
|
|
1631
|
-
export type
|
|
1632
|
-
export type
|
|
1633
|
-
body
|
|
1634
|
-
path: {
|
|
2900
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2901
|
+
export type RedeemCreditsData = {
|
|
2902
|
+
body: {
|
|
1635
2903
|
/**
|
|
1636
|
-
*
|
|
2904
|
+
* Promotional code to redeem
|
|
1637
2905
|
*/
|
|
1638
|
-
|
|
2906
|
+
code?: string;
|
|
1639
2907
|
};
|
|
2908
|
+
path?: never;
|
|
1640
2909
|
query?: never;
|
|
1641
|
-
url: '/
|
|
2910
|
+
url: '/billing/credits';
|
|
1642
2911
|
};
|
|
1643
|
-
export type
|
|
2912
|
+
export type RedeemCreditsErrors = {
|
|
1644
2913
|
/**
|
|
1645
2914
|
* Not authenticated
|
|
1646
2915
|
*/
|
|
1647
2916
|
401: unknown;
|
|
1648
2917
|
};
|
|
1649
|
-
export type
|
|
1650
|
-
/**
|
|
1651
|
-
* User profile information
|
|
1652
|
-
*/
|
|
1653
|
-
200: User;
|
|
1654
|
-
};
|
|
1655
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1656
|
-
export type UpdateUserData = {
|
|
1657
|
-
body: UserUpdateInput;
|
|
1658
|
-
path: {
|
|
1659
|
-
/**
|
|
1660
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1661
|
-
*/
|
|
1662
|
-
user_id: string;
|
|
1663
|
-
};
|
|
1664
|
-
query?: never;
|
|
1665
|
-
url: '/users/{user_id}';
|
|
1666
|
-
};
|
|
1667
|
-
export type UpdateUserResponses = {
|
|
2918
|
+
export type RedeemCreditsResponses = {
|
|
1668
2919
|
/**
|
|
1669
|
-
* Successfully created
|
|
2920
|
+
* Successfully created a new organization.
|
|
1670
2921
|
*/
|
|
1671
|
-
200:
|
|
2922
|
+
200: unknown;
|
|
1672
2923
|
};
|
|
1673
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1674
2924
|
//# sourceMappingURL=types.gen.d.ts.map
|