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