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