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