@cloudfleet/sdk 0.0.1-8ec217c → 0.0.1-8fe30fc
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 +1061 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1234 -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 +109 -127
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +7 -4
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +4 -4
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +4 -4
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +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 +1068 -147
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2037 -213
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +270 -187
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +386 -257
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1572 -723
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3511 -1432
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1330 -498
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -12
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
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
171
198
|
/**
|
|
172
|
-
*
|
|
199
|
+
* Version of the kubernetes cluster.
|
|
173
200
|
*/
|
|
174
|
-
|
|
201
|
+
version_channel?: string;
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
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.
|
|
177
229
|
*/
|
|
178
|
-
|
|
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
|
/**
|
|
@@ -190,10 +263,18 @@ export type ClusterJoinInformation = {
|
|
|
190
263
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
264
|
*/
|
|
192
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;
|
|
193
270
|
/**
|
|
194
271
|
* Authentication key for the cluster.
|
|
195
272
|
*/
|
|
196
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;
|
|
197
278
|
/**
|
|
198
279
|
* Bootstrap token for the cluster.
|
|
199
280
|
*/
|
|
@@ -237,6 +318,9 @@ export type ClusterJoinInformation = {
|
|
|
237
318
|
gcp_workload_identity_provider: string;
|
|
238
319
|
};
|
|
239
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
323
|
+
*/
|
|
240
324
|
export type Cluster = {
|
|
241
325
|
/**
|
|
242
326
|
* Name of the cluster.
|
|
@@ -245,20 +329,71 @@ export type Cluster = {
|
|
|
245
329
|
/**
|
|
246
330
|
* Tier of the cluster.
|
|
247
331
|
*/
|
|
248
|
-
tier: 'basic' | 'pro';
|
|
332
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
333
|
+
/**
|
|
334
|
+
* Version of the kubernetes cluster.
|
|
335
|
+
*/
|
|
336
|
+
version_channel: string;
|
|
337
|
+
/**
|
|
338
|
+
* Release channel for the cluster's control plane.
|
|
339
|
+
*/
|
|
340
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
341
|
+
/**
|
|
342
|
+
* Cluster feature toggles.
|
|
343
|
+
*/
|
|
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;
|
|
249
362
|
/**
|
|
250
|
-
*
|
|
363
|
+
* Cluster networking configuration. Immutable after creation.
|
|
251
364
|
*/
|
|
252
|
-
|
|
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,129 +413,259 @@ export type Cluster = {
|
|
|
278
413
|
/**
|
|
279
414
|
* Indicates if the cluster is ready to be used.
|
|
280
415
|
*/
|
|
281
|
-
ready
|
|
282
|
-
/**
|
|
283
|
-
* Version of the kubernetes cluster.
|
|
284
|
-
*/
|
|
285
|
-
version_channel?: string;
|
|
416
|
+
ready: boolean;
|
|
286
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
420
|
+
*/
|
|
287
421
|
export type ClusterUpdateInput = {
|
|
288
422
|
/**
|
|
289
423
|
* Name of the cluster.
|
|
290
424
|
*/
|
|
291
|
-
name
|
|
425
|
+
name: string;
|
|
292
426
|
/**
|
|
293
427
|
* Tier of the cluster.
|
|
294
428
|
*/
|
|
295
|
-
tier
|
|
429
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
296
430
|
/**
|
|
297
431
|
* Version of the kubernetes cluster.
|
|
298
432
|
*/
|
|
299
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
|
+
};
|
|
300
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
458
|
+
*/
|
|
301
459
|
export type FleetCreateInput = {
|
|
302
460
|
/**
|
|
303
461
|
* Limits define a set of bounds for provisioning capacity.
|
|
304
462
|
*/
|
|
305
463
|
limits?: {
|
|
306
464
|
/**
|
|
307
|
-
* CPU limit in cores.
|
|
465
|
+
* CPU limit in cores. Maximum 100,000.
|
|
308
466
|
*/
|
|
309
|
-
cpu
|
|
467
|
+
cpu?: number;
|
|
310
468
|
};
|
|
311
469
|
gcp?: {
|
|
312
|
-
enabled
|
|
470
|
+
enabled: boolean;
|
|
313
471
|
/**
|
|
314
|
-
*
|
|
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.
|
|
315
473
|
*/
|
|
316
|
-
project
|
|
474
|
+
project?: string;
|
|
317
475
|
};
|
|
318
476
|
hetzner?: {
|
|
319
|
-
enabled
|
|
477
|
+
enabled: boolean;
|
|
320
478
|
/**
|
|
321
|
-
* 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.
|
|
322
480
|
*/
|
|
323
|
-
apiKey
|
|
481
|
+
apiKey?: string;
|
|
324
482
|
};
|
|
325
483
|
aws?: {
|
|
326
|
-
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?: {
|
|
327
494
|
/**
|
|
328
|
-
*
|
|
495
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
329
496
|
*/
|
|
330
|
-
|
|
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'>;
|
|
506
|
+
/**
|
|
507
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
508
|
+
*/
|
|
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'>;
|
|
331
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';
|
|
332
515
|
/**
|
|
333
516
|
* Unique identifier of the kubernetes fleet.
|
|
334
517
|
*/
|
|
335
518
|
id: string;
|
|
336
519
|
};
|
|
520
|
+
/**
|
|
521
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
522
|
+
*/
|
|
337
523
|
export type Fleet = {
|
|
338
524
|
/**
|
|
339
525
|
* Limits define a set of bounds for provisioning capacity.
|
|
340
526
|
*/
|
|
341
527
|
limits?: {
|
|
342
528
|
/**
|
|
343
|
-
* CPU limit in cores.
|
|
529
|
+
* CPU limit in cores. Maximum 100,000.
|
|
344
530
|
*/
|
|
345
|
-
cpu
|
|
531
|
+
cpu?: number;
|
|
346
532
|
};
|
|
347
533
|
gcp?: {
|
|
348
|
-
enabled
|
|
534
|
+
enabled: boolean;
|
|
349
535
|
/**
|
|
350
|
-
*
|
|
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.
|
|
351
537
|
*/
|
|
352
|
-
project
|
|
538
|
+
project?: string;
|
|
353
539
|
};
|
|
354
540
|
hetzner?: {
|
|
355
|
-
enabled
|
|
541
|
+
enabled: boolean;
|
|
356
542
|
/**
|
|
357
|
-
* 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.
|
|
358
544
|
*/
|
|
359
|
-
apiKey
|
|
545
|
+
apiKey?: string;
|
|
360
546
|
};
|
|
361
547
|
aws?: {
|
|
362
|
-
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'>;
|
|
566
|
+
/**
|
|
567
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
568
|
+
*/
|
|
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'>;
|
|
363
570
|
/**
|
|
364
|
-
*
|
|
571
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
365
572
|
*/
|
|
366
|
-
|
|
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'>;
|
|
367
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';
|
|
368
579
|
/**
|
|
369
580
|
* Unique identifier of the kubernetes fleet.
|
|
370
581
|
*/
|
|
371
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;
|
|
372
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
602
|
+
*/
|
|
373
603
|
export type FleetUpdateInput = {
|
|
374
604
|
/**
|
|
375
605
|
* Limits define a set of bounds for provisioning capacity.
|
|
376
606
|
*/
|
|
377
607
|
limits?: {
|
|
378
608
|
/**
|
|
379
|
-
* CPU limit in cores.
|
|
609
|
+
* CPU limit in cores. Maximum 100,000.
|
|
380
610
|
*/
|
|
381
|
-
cpu
|
|
611
|
+
cpu?: number;
|
|
382
612
|
};
|
|
383
613
|
gcp?: {
|
|
384
|
-
enabled
|
|
614
|
+
enabled: boolean;
|
|
385
615
|
/**
|
|
386
|
-
*
|
|
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.
|
|
387
617
|
*/
|
|
388
|
-
project
|
|
618
|
+
project?: string;
|
|
389
619
|
};
|
|
390
620
|
hetzner?: {
|
|
391
|
-
enabled
|
|
621
|
+
enabled: boolean;
|
|
392
622
|
/**
|
|
393
|
-
* 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.
|
|
394
624
|
*/
|
|
395
|
-
apiKey
|
|
625
|
+
apiKey?: string;
|
|
396
626
|
};
|
|
397
627
|
aws?: {
|
|
398
|
-
enabled
|
|
628
|
+
enabled: boolean;
|
|
399
629
|
/**
|
|
400
|
-
*
|
|
630
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
401
631
|
*/
|
|
402
|
-
controllerRoleArn
|
|
632
|
+
controllerRoleArn?: string;
|
|
403
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'>;
|
|
646
|
+
/**
|
|
647
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
648
|
+
*/
|
|
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'>;
|
|
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';
|
|
404
669
|
};
|
|
405
670
|
export type Invite = {
|
|
406
671
|
/**
|
|
@@ -423,6 +688,91 @@ export type Invite = {
|
|
|
423
688
|
* Generated unique invite code.
|
|
424
689
|
*/
|
|
425
690
|
code?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
693
|
+
*/
|
|
694
|
+
role?: 'Administrator' | 'User';
|
|
695
|
+
};
|
|
696
|
+
export type InvoicePaymentAttempt = {
|
|
697
|
+
/**
|
|
698
|
+
* Identifier of the invoice.
|
|
699
|
+
*/
|
|
700
|
+
invoice_id: string;
|
|
701
|
+
/**
|
|
702
|
+
* Invoice number. Null if the invoice has no number.
|
|
703
|
+
*/
|
|
704
|
+
number: string;
|
|
705
|
+
/**
|
|
706
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
707
|
+
*/
|
|
708
|
+
amount: number;
|
|
709
|
+
/**
|
|
710
|
+
* Currency of the invoice.
|
|
711
|
+
*/
|
|
712
|
+
currency: string;
|
|
713
|
+
/**
|
|
714
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
715
|
+
*/
|
|
716
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
717
|
+
/**
|
|
718
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
719
|
+
*/
|
|
720
|
+
client_secret: string;
|
|
721
|
+
/**
|
|
722
|
+
* Decline code. Set only when `status` is `failed`.
|
|
723
|
+
*/
|
|
724
|
+
failure_code: string;
|
|
725
|
+
/**
|
|
726
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
727
|
+
*/
|
|
728
|
+
failure_message: string;
|
|
729
|
+
};
|
|
730
|
+
export type InvoicePaymentResult = {
|
|
731
|
+
/**
|
|
732
|
+
* Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
|
|
733
|
+
*/
|
|
734
|
+
code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
|
|
735
|
+
/**
|
|
736
|
+
* Summary of the outcome, suitable for display.
|
|
737
|
+
*/
|
|
738
|
+
message: string;
|
|
739
|
+
/**
|
|
740
|
+
* One entry per invoice charged, oldest first.
|
|
741
|
+
*/
|
|
742
|
+
results: Array<{
|
|
743
|
+
/**
|
|
744
|
+
* Identifier of the invoice.
|
|
745
|
+
*/
|
|
746
|
+
invoice_id: string;
|
|
747
|
+
/**
|
|
748
|
+
* Invoice number. Null if the invoice has no number.
|
|
749
|
+
*/
|
|
750
|
+
number: string;
|
|
751
|
+
/**
|
|
752
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
753
|
+
*/
|
|
754
|
+
amount: number;
|
|
755
|
+
/**
|
|
756
|
+
* Currency of the invoice.
|
|
757
|
+
*/
|
|
758
|
+
currency: string;
|
|
759
|
+
/**
|
|
760
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
761
|
+
*/
|
|
762
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
763
|
+
/**
|
|
764
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
765
|
+
*/
|
|
766
|
+
client_secret: string;
|
|
767
|
+
/**
|
|
768
|
+
* Decline code. Set only when `status` is `failed`.
|
|
769
|
+
*/
|
|
770
|
+
failure_code: string;
|
|
771
|
+
/**
|
|
772
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
773
|
+
*/
|
|
774
|
+
failure_message: string;
|
|
775
|
+
}>;
|
|
426
776
|
};
|
|
427
777
|
export type Invoice = {
|
|
428
778
|
/**
|
|
@@ -543,6 +893,10 @@ export type MarketplaceListing = {
|
|
|
543
893
|
};
|
|
544
894
|
};
|
|
545
895
|
export type OrganizationCreateInput = {
|
|
896
|
+
/**
|
|
897
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
898
|
+
*/
|
|
899
|
+
type: 'business' | 'personal';
|
|
546
900
|
/**
|
|
547
901
|
* Email address used for billing as a string.
|
|
548
902
|
*/
|
|
@@ -564,6 +918,12 @@ export type OrganizationCreateInput = {
|
|
|
564
918
|
*/
|
|
565
919
|
password: string;
|
|
566
920
|
};
|
|
921
|
+
export type OrganizationCreateOutput = {
|
|
922
|
+
/**
|
|
923
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
924
|
+
*/
|
|
925
|
+
id: string;
|
|
926
|
+
};
|
|
567
927
|
export type Organization = {
|
|
568
928
|
/**
|
|
569
929
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -573,6 +933,10 @@ export type Organization = {
|
|
|
573
933
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
934
|
*/
|
|
575
935
|
name?: string;
|
|
936
|
+
/**
|
|
937
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
938
|
+
*/
|
|
939
|
+
type: 'business' | 'personal';
|
|
576
940
|
/**
|
|
577
941
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
942
|
*/
|
|
@@ -597,6 +961,14 @@ export type Organization = {
|
|
|
597
961
|
* Available number of Pro clusters that can be created.
|
|
598
962
|
*/
|
|
599
963
|
pro_clusters_available: number;
|
|
964
|
+
/**
|
|
965
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
966
|
+
*/
|
|
967
|
+
enterprise_clusters_max: number;
|
|
968
|
+
/**
|
|
969
|
+
* Available number of Enterprise clusters that can be created.
|
|
970
|
+
*/
|
|
971
|
+
enterprise_clusters_available: number;
|
|
600
972
|
/**
|
|
601
973
|
* Maximum number of fleets that can be created per cluster.
|
|
602
974
|
*/
|
|
@@ -622,14 +994,6 @@ export type Organization = {
|
|
|
622
994
|
*/
|
|
623
995
|
label: string;
|
|
624
996
|
}>;
|
|
625
|
-
/**
|
|
626
|
-
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
627
|
-
*/
|
|
628
|
-
copilot_user_hourly_tokens: number;
|
|
629
|
-
/**
|
|
630
|
-
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
631
|
-
*/
|
|
632
|
-
copilot_organization_hourly_tokens: number;
|
|
633
997
|
/**
|
|
634
998
|
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
635
999
|
*/
|
|
@@ -639,36 +1003,52 @@ export type Organization = {
|
|
|
639
1003
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
640
1004
|
*/
|
|
641
1005
|
status: 'active' | 'closed' | 'suspended';
|
|
1006
|
+
/**
|
|
1007
|
+
* 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.
|
|
1008
|
+
*/
|
|
1009
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
642
1010
|
};
|
|
643
1011
|
export type PaymentMethod = {
|
|
644
1012
|
/**
|
|
645
|
-
*
|
|
1013
|
+
* 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.
|
|
646
1014
|
*/
|
|
647
1015
|
id: string;
|
|
648
1016
|
/**
|
|
649
|
-
*
|
|
650
|
-
*/
|
|
651
|
-
setup: boolean;
|
|
652
|
-
/**
|
|
653
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
1017
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
654
1018
|
*/
|
|
655
|
-
type: 'card';
|
|
1019
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
656
1020
|
/**
|
|
657
|
-
* Last 4 digits of the payment card number.
|
|
1021
|
+
* 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.
|
|
658
1022
|
*/
|
|
659
1023
|
last4: string;
|
|
660
1024
|
/**
|
|
661
|
-
* Two-digit number representing the card's expiration month.
|
|
1025
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
662
1026
|
*/
|
|
663
1027
|
exp_month: number;
|
|
664
1028
|
/**
|
|
665
|
-
* Four-digit number representing the card's expiration year.
|
|
1029
|
+
* 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.
|
|
666
1030
|
*/
|
|
667
1031
|
exp_year: number;
|
|
668
1032
|
/**
|
|
669
|
-
* Payment card brand
|
|
1033
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
1034
|
+
*/
|
|
1035
|
+
brand: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* 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.
|
|
1038
|
+
*/
|
|
1039
|
+
iban: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
670
1042
|
*/
|
|
671
|
-
|
|
1043
|
+
bic: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
1046
|
+
*/
|
|
1047
|
+
account_holder_name: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* 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).
|
|
1050
|
+
*/
|
|
1051
|
+
is_default: boolean;
|
|
672
1052
|
};
|
|
673
1053
|
export type PlatformQuota = {
|
|
674
1054
|
/**
|
|
@@ -687,6 +1067,14 @@ export type PlatformQuota = {
|
|
|
687
1067
|
* Available number of Pro clusters that can be created.
|
|
688
1068
|
*/
|
|
689
1069
|
pro_clusters_available: number;
|
|
1070
|
+
/**
|
|
1071
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
1072
|
+
*/
|
|
1073
|
+
enterprise_clusters_max: number;
|
|
1074
|
+
/**
|
|
1075
|
+
* Available number of Enterprise clusters that can be created.
|
|
1076
|
+
*/
|
|
1077
|
+
enterprise_clusters_available: number;
|
|
690
1078
|
/**
|
|
691
1079
|
* Maximum number of fleets that can be created per cluster.
|
|
692
1080
|
*/
|
|
@@ -712,14 +1100,6 @@ export type PlatformQuota = {
|
|
|
712
1100
|
*/
|
|
713
1101
|
label: string;
|
|
714
1102
|
}>;
|
|
715
|
-
/**
|
|
716
|
-
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
717
|
-
*/
|
|
718
|
-
copilot_user_hourly_tokens: number;
|
|
719
|
-
/**
|
|
720
|
-
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
721
|
-
*/
|
|
722
|
-
copilot_organization_hourly_tokens: number;
|
|
723
1103
|
/**
|
|
724
1104
|
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
725
1105
|
*/
|
|
@@ -873,48 +1253,215 @@ export type RegistryTag = {
|
|
|
873
1253
|
*/
|
|
874
1254
|
uri: string;
|
|
875
1255
|
};
|
|
876
|
-
export type
|
|
1256
|
+
export type TicketAttachment = {
|
|
877
1257
|
/**
|
|
878
|
-
*
|
|
1258
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
879
1259
|
*/
|
|
880
|
-
|
|
1260
|
+
id: string;
|
|
881
1261
|
/**
|
|
882
|
-
*
|
|
1262
|
+
* Original filename as uploaded.
|
|
883
1263
|
*/
|
|
884
|
-
|
|
885
|
-
};
|
|
886
|
-
export type Token = {
|
|
1264
|
+
filename: string;
|
|
887
1265
|
/**
|
|
888
|
-
*
|
|
1266
|
+
* MIME content type of the attachment.
|
|
889
1267
|
*/
|
|
890
|
-
|
|
1268
|
+
content_type: string;
|
|
891
1269
|
/**
|
|
892
|
-
*
|
|
1270
|
+
* Size of the attachment in bytes.
|
|
893
1271
|
*/
|
|
894
|
-
|
|
1272
|
+
size: number;
|
|
1273
|
+
};
|
|
1274
|
+
export type TicketCreateInput = {
|
|
895
1275
|
/**
|
|
896
|
-
*
|
|
1276
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
897
1277
|
*/
|
|
898
|
-
|
|
1278
|
+
category: 'billing' | 'technical' | 'general';
|
|
899
1279
|
/**
|
|
900
|
-
*
|
|
1280
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
901
1281
|
*/
|
|
902
|
-
|
|
1282
|
+
body: string;
|
|
903
1283
|
/**
|
|
904
|
-
*
|
|
1284
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
905
1285
|
*/
|
|
906
|
-
|
|
1286
|
+
properties?: {
|
|
1287
|
+
[key: string]: unknown;
|
|
1288
|
+
};
|
|
907
1289
|
};
|
|
908
|
-
export type
|
|
1290
|
+
export type TicketMessageInput = {
|
|
909
1291
|
/**
|
|
910
|
-
*
|
|
1292
|
+
* Reply body in markdown.
|
|
911
1293
|
*/
|
|
912
|
-
|
|
1294
|
+
body: string;
|
|
1295
|
+
};
|
|
1296
|
+
export type TicketMessage = {
|
|
913
1297
|
/**
|
|
914
|
-
*
|
|
1298
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
915
1299
|
*/
|
|
916
|
-
|
|
917
|
-
|
|
1300
|
+
id: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1303
|
+
*/
|
|
1304
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1305
|
+
/**
|
|
1306
|
+
* Message body in markdown.
|
|
1307
|
+
*/
|
|
1308
|
+
body: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* First name of the author. Null when not provided.
|
|
1311
|
+
*/
|
|
1312
|
+
author_first_name?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Last name of the author. Null when not provided.
|
|
1315
|
+
*/
|
|
1316
|
+
author_last_name?: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Attachments associated with this message.
|
|
1319
|
+
*/
|
|
1320
|
+
attachments?: Array<{
|
|
1321
|
+
/**
|
|
1322
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1323
|
+
*/
|
|
1324
|
+
id: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Original filename as uploaded.
|
|
1327
|
+
*/
|
|
1328
|
+
filename: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* MIME content type of the attachment.
|
|
1331
|
+
*/
|
|
1332
|
+
content_type: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Size of the attachment in bytes.
|
|
1335
|
+
*/
|
|
1336
|
+
size: number;
|
|
1337
|
+
}>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1340
|
+
*/
|
|
1341
|
+
date_created: string;
|
|
1342
|
+
};
|
|
1343
|
+
export type Ticket = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1346
|
+
*/
|
|
1347
|
+
id: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* Current state of the ticket.
|
|
1350
|
+
*/
|
|
1351
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1352
|
+
/**
|
|
1353
|
+
* Ticket category.
|
|
1354
|
+
*/
|
|
1355
|
+
category: 'billing' | 'technical' | 'general';
|
|
1356
|
+
/**
|
|
1357
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1358
|
+
*/
|
|
1359
|
+
summary: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1362
|
+
*/
|
|
1363
|
+
closed_at?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1366
|
+
*/
|
|
1367
|
+
date_created: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1370
|
+
*/
|
|
1371
|
+
date_updated: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1374
|
+
*/
|
|
1375
|
+
messages?: Array<{
|
|
1376
|
+
/**
|
|
1377
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1378
|
+
*/
|
|
1379
|
+
id: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1382
|
+
*/
|
|
1383
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1384
|
+
/**
|
|
1385
|
+
* Message body in markdown.
|
|
1386
|
+
*/
|
|
1387
|
+
body: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* First name of the author. Null when not provided.
|
|
1390
|
+
*/
|
|
1391
|
+
author_first_name?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* Last name of the author. Null when not provided.
|
|
1394
|
+
*/
|
|
1395
|
+
author_last_name?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* Attachments associated with this message.
|
|
1398
|
+
*/
|
|
1399
|
+
attachments?: Array<{
|
|
1400
|
+
/**
|
|
1401
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1402
|
+
*/
|
|
1403
|
+
id: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Original filename as uploaded.
|
|
1406
|
+
*/
|
|
1407
|
+
filename: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* MIME content type of the attachment.
|
|
1410
|
+
*/
|
|
1411
|
+
content_type: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Size of the attachment in bytes.
|
|
1414
|
+
*/
|
|
1415
|
+
size: number;
|
|
1416
|
+
}>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1419
|
+
*/
|
|
1420
|
+
date_created: string;
|
|
1421
|
+
}>;
|
|
1422
|
+
};
|
|
1423
|
+
export type TokenCreateInput = {
|
|
1424
|
+
/**
|
|
1425
|
+
* Human readable access token name.
|
|
1426
|
+
*/
|
|
1427
|
+
name: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* Role assumed by the token.
|
|
1430
|
+
*/
|
|
1431
|
+
role: 'Administrator' | 'User';
|
|
1432
|
+
};
|
|
1433
|
+
export type Token = {
|
|
1434
|
+
/**
|
|
1435
|
+
* Human readable access token name.
|
|
1436
|
+
*/
|
|
1437
|
+
name: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Role assumed by the token.
|
|
1440
|
+
*/
|
|
1441
|
+
role: 'Administrator' | 'User';
|
|
1442
|
+
/**
|
|
1443
|
+
* Generated unique identifier of the access token.
|
|
1444
|
+
*/
|
|
1445
|
+
id?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Access token secret. Unmasked only during creation.
|
|
1448
|
+
*/
|
|
1449
|
+
secret?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
1452
|
+
*/
|
|
1453
|
+
date_created: string;
|
|
1454
|
+
};
|
|
1455
|
+
export type TokenUpdateInput = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Human readable access token name.
|
|
1458
|
+
*/
|
|
1459
|
+
name?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Role assumed by the token.
|
|
1462
|
+
*/
|
|
1463
|
+
role?: 'Administrator' | 'User';
|
|
1464
|
+
};
|
|
918
1465
|
export type UsageFacets = {
|
|
919
1466
|
/**
|
|
920
1467
|
* List of unique cluster IDs
|
|
@@ -923,7 +1470,7 @@ export type UsageFacets = {
|
|
|
923
1470
|
/**
|
|
924
1471
|
* List of unique products
|
|
925
1472
|
*/
|
|
926
|
-
product?: Array<
|
|
1473
|
+
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'>;
|
|
927
1474
|
};
|
|
928
1475
|
export type UsageResponse = {
|
|
929
1476
|
/**
|
|
@@ -941,7 +1488,7 @@ export type UsageResponse = {
|
|
|
941
1488
|
/**
|
|
942
1489
|
* The product the usage is associated with
|
|
943
1490
|
*/
|
|
944
|
-
product:
|
|
1491
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
945
1492
|
/**
|
|
946
1493
|
* Consumption
|
|
947
1494
|
*/
|
|
@@ -966,7 +1513,7 @@ export type UsageResponse = {
|
|
|
966
1513
|
/**
|
|
967
1514
|
* List of unique products
|
|
968
1515
|
*/
|
|
969
|
-
product?: Array<
|
|
1516
|
+
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'>;
|
|
970
1517
|
};
|
|
971
1518
|
};
|
|
972
1519
|
export type Usage = {
|
|
@@ -981,7 +1528,7 @@ export type Usage = {
|
|
|
981
1528
|
/**
|
|
982
1529
|
* The product the usage is associated with
|
|
983
1530
|
*/
|
|
984
|
-
product:
|
|
1531
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
985
1532
|
/**
|
|
986
1533
|
* Consumption
|
|
987
1534
|
*/
|
|
@@ -1016,14 +1563,6 @@ export type UserCreateInput = {
|
|
|
1016
1563
|
* User password. Must be at least 8 characters long.
|
|
1017
1564
|
*/
|
|
1018
1565
|
password: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1021
|
-
*/
|
|
1022
|
-
status?: 'active' | 'inactive';
|
|
1023
|
-
/**
|
|
1024
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1025
|
-
*/
|
|
1026
|
-
role?: 'Administrator' | 'User';
|
|
1027
1566
|
};
|
|
1028
1567
|
export type User = {
|
|
1029
1568
|
/**
|
|
@@ -1077,644 +1616,569 @@ export type UserUpdateInput = {
|
|
|
1077
1616
|
*/
|
|
1078
1617
|
status?: 'active' | 'inactive';
|
|
1079
1618
|
};
|
|
1080
|
-
export type
|
|
1619
|
+
export type ListUserOrganizationsData = {
|
|
1081
1620
|
body?: never;
|
|
1082
|
-
path
|
|
1083
|
-
query?: {
|
|
1621
|
+
path: {
|
|
1084
1622
|
/**
|
|
1085
|
-
*
|
|
1623
|
+
* User email address.
|
|
1086
1624
|
*/
|
|
1087
|
-
|
|
1625
|
+
email: string;
|
|
1088
1626
|
};
|
|
1089
|
-
|
|
1090
|
-
};
|
|
1091
|
-
export type GetUsageErrors = {
|
|
1092
|
-
/**
|
|
1093
|
-
* Not authenticated
|
|
1094
|
-
*/
|
|
1095
|
-
401: unknown;
|
|
1627
|
+
query?: never;
|
|
1628
|
+
url: '/users/organizations/{email}';
|
|
1096
1629
|
};
|
|
1097
|
-
export type
|
|
1630
|
+
export type ListUserOrganizationsResponses = {
|
|
1098
1631
|
/**
|
|
1099
|
-
*
|
|
1632
|
+
* An array of organizations the user belongs to.
|
|
1100
1633
|
*/
|
|
1101
|
-
200:
|
|
1634
|
+
200: Array<{
|
|
1635
|
+
/**
|
|
1636
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1637
|
+
*/
|
|
1638
|
+
realm?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Human-readable name of the organization
|
|
1641
|
+
*/
|
|
1642
|
+
displayName?: string;
|
|
1643
|
+
}>;
|
|
1102
1644
|
};
|
|
1103
|
-
export type
|
|
1104
|
-
export type
|
|
1645
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1646
|
+
export type ListUsersData = {
|
|
1105
1647
|
body?: never;
|
|
1106
1648
|
path?: never;
|
|
1107
1649
|
query?: never;
|
|
1108
|
-
url: '/
|
|
1650
|
+
url: '/users';
|
|
1109
1651
|
};
|
|
1110
|
-
export type
|
|
1652
|
+
export type ListUsersErrors = {
|
|
1111
1653
|
/**
|
|
1112
|
-
*
|
|
1654
|
+
* Not authenticated
|
|
1113
1655
|
*/
|
|
1114
|
-
|
|
1656
|
+
401: unknown;
|
|
1115
1657
|
};
|
|
1116
|
-
export type
|
|
1658
|
+
export type ListUsersResponses = {
|
|
1117
1659
|
/**
|
|
1118
|
-
*
|
|
1660
|
+
* An array of users
|
|
1119
1661
|
*/
|
|
1120
|
-
200:
|
|
1662
|
+
200: Array<User>;
|
|
1121
1663
|
};
|
|
1122
|
-
export type
|
|
1123
|
-
export type
|
|
1124
|
-
body
|
|
1664
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1665
|
+
export type CreateUserData = {
|
|
1666
|
+
body: UserCreateInput;
|
|
1125
1667
|
path?: never;
|
|
1126
1668
|
query?: never;
|
|
1127
|
-
url: '/
|
|
1669
|
+
url: '/users';
|
|
1128
1670
|
};
|
|
1129
|
-
export type
|
|
1671
|
+
export type CreateUserResponses = {
|
|
1130
1672
|
/**
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1673
|
+
* Successfully created. Returns created user details.
|
|
1133
1674
|
*/
|
|
1134
|
-
200:
|
|
1675
|
+
200: User;
|
|
1676
|
+
};
|
|
1677
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1678
|
+
export type DeleteUserData = {
|
|
1679
|
+
body?: never;
|
|
1680
|
+
path: {
|
|
1135
1681
|
/**
|
|
1136
|
-
*
|
|
1682
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1137
1683
|
*/
|
|
1138
|
-
|
|
1684
|
+
user_id: string;
|
|
1139
1685
|
};
|
|
1140
|
-
};
|
|
1141
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1142
|
-
export type ListInvoicesData = {
|
|
1143
|
-
body?: never;
|
|
1144
|
-
path?: never;
|
|
1145
1686
|
query?: never;
|
|
1146
|
-
url: '/
|
|
1147
|
-
};
|
|
1148
|
-
export type ListInvoicesErrors = {
|
|
1149
|
-
/**
|
|
1150
|
-
* Not authenticated
|
|
1151
|
-
*/
|
|
1152
|
-
401: unknown;
|
|
1687
|
+
url: '/users/{user_id}';
|
|
1153
1688
|
};
|
|
1154
|
-
export type
|
|
1689
|
+
export type DeleteUserErrors = {
|
|
1155
1690
|
/**
|
|
1156
|
-
*
|
|
1691
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1157
1692
|
*/
|
|
1158
|
-
|
|
1159
|
-
};
|
|
1160
|
-
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1161
|
-
export type GetContactData = {
|
|
1162
|
-
body?: never;
|
|
1163
|
-
path?: never;
|
|
1164
|
-
query?: never;
|
|
1165
|
-
url: '/billing/contact';
|
|
1166
|
-
};
|
|
1167
|
-
export type GetContactResponses = {
|
|
1693
|
+
400: unknown;
|
|
1168
1694
|
/**
|
|
1169
|
-
*
|
|
1695
|
+
* Not authenticated
|
|
1170
1696
|
*/
|
|
1171
|
-
|
|
1172
|
-
};
|
|
1173
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1174
|
-
export type UpdateContactData = {
|
|
1175
|
-
body: BillingContact;
|
|
1176
|
-
path?: never;
|
|
1177
|
-
query?: never;
|
|
1178
|
-
url: '/billing/contact';
|
|
1697
|
+
401: unknown;
|
|
1179
1698
|
};
|
|
1180
|
-
export type
|
|
1699
|
+
export type DeleteUserResponses = {
|
|
1181
1700
|
/**
|
|
1182
|
-
*
|
|
1701
|
+
* User profile information
|
|
1183
1702
|
*/
|
|
1184
|
-
200:
|
|
1703
|
+
200: User;
|
|
1185
1704
|
};
|
|
1186
|
-
export type
|
|
1187
|
-
export type
|
|
1705
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1706
|
+
export type GetUserData = {
|
|
1188
1707
|
body?: never;
|
|
1189
|
-
path
|
|
1708
|
+
path: {
|
|
1709
|
+
/**
|
|
1710
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1711
|
+
*/
|
|
1712
|
+
user_id: string;
|
|
1713
|
+
};
|
|
1190
1714
|
query?: never;
|
|
1191
|
-
url: '/
|
|
1715
|
+
url: '/users/{user_id}';
|
|
1192
1716
|
};
|
|
1193
|
-
export type
|
|
1717
|
+
export type GetUserErrors = {
|
|
1194
1718
|
/**
|
|
1195
1719
|
* Not authenticated
|
|
1196
1720
|
*/
|
|
1197
1721
|
401: unknown;
|
|
1198
1722
|
};
|
|
1199
|
-
export type
|
|
1723
|
+
export type GetUserResponses = {
|
|
1200
1724
|
/**
|
|
1201
|
-
*
|
|
1725
|
+
* User profile information
|
|
1202
1726
|
*/
|
|
1203
|
-
200:
|
|
1727
|
+
200: User;
|
|
1204
1728
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
export type
|
|
1207
|
-
body:
|
|
1729
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1730
|
+
export type UpdateUserData = {
|
|
1731
|
+
body: UserUpdateInput;
|
|
1732
|
+
path: {
|
|
1208
1733
|
/**
|
|
1209
|
-
*
|
|
1734
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1210
1735
|
*/
|
|
1211
|
-
|
|
1736
|
+
user_id: string;
|
|
1212
1737
|
};
|
|
1738
|
+
query?: never;
|
|
1739
|
+
url: '/users/{user_id}';
|
|
1740
|
+
};
|
|
1741
|
+
export type UpdateUserResponses = {
|
|
1742
|
+
/**
|
|
1743
|
+
* Successfully created. Returns created user details.
|
|
1744
|
+
*/
|
|
1745
|
+
200: User;
|
|
1746
|
+
};
|
|
1747
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1748
|
+
export type ListTokensData = {
|
|
1749
|
+
body?: never;
|
|
1213
1750
|
path?: never;
|
|
1214
1751
|
query?: never;
|
|
1215
|
-
url: '/
|
|
1752
|
+
url: '/tokens';
|
|
1216
1753
|
};
|
|
1217
|
-
export type
|
|
1754
|
+
export type ListTokensErrors = {
|
|
1218
1755
|
/**
|
|
1219
1756
|
* Not authenticated
|
|
1220
1757
|
*/
|
|
1221
1758
|
401: unknown;
|
|
1222
1759
|
};
|
|
1223
|
-
export type
|
|
1760
|
+
export type ListTokensResponses = {
|
|
1224
1761
|
/**
|
|
1225
|
-
*
|
|
1762
|
+
* Returns a list of access token details with masked secrets.
|
|
1226
1763
|
*/
|
|
1227
|
-
200:
|
|
1764
|
+
200: Array<Token>;
|
|
1228
1765
|
};
|
|
1229
|
-
export type
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1234
|
-
*/
|
|
1235
|
-
cluster_id: string;
|
|
1236
|
-
};
|
|
1766
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1767
|
+
export type CreateTokenData = {
|
|
1768
|
+
body: TokenCreateInput;
|
|
1769
|
+
path?: never;
|
|
1237
1770
|
query?: never;
|
|
1238
|
-
url: '/
|
|
1771
|
+
url: '/tokens';
|
|
1239
1772
|
};
|
|
1240
|
-
export type
|
|
1773
|
+
export type CreateTokenErrors = {
|
|
1241
1774
|
/**
|
|
1242
1775
|
* Not authenticated
|
|
1243
1776
|
*/
|
|
1244
1777
|
401: unknown;
|
|
1245
1778
|
};
|
|
1246
|
-
export type
|
|
1779
|
+
export type CreateTokenResponses = {
|
|
1247
1780
|
/**
|
|
1248
|
-
*
|
|
1781
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1249
1782
|
*/
|
|
1250
|
-
200:
|
|
1783
|
+
200: Token;
|
|
1251
1784
|
};
|
|
1252
|
-
export type
|
|
1253
|
-
export type
|
|
1254
|
-
body
|
|
1785
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1786
|
+
export type DeleteTokenData = {
|
|
1787
|
+
body?: never;
|
|
1255
1788
|
path: {
|
|
1256
1789
|
/**
|
|
1257
|
-
*
|
|
1790
|
+
* Generated unique identifier of the access token.
|
|
1258
1791
|
*/
|
|
1259
|
-
|
|
1792
|
+
token_id: string;
|
|
1260
1793
|
};
|
|
1261
1794
|
query?: never;
|
|
1262
|
-
url: '/
|
|
1795
|
+
url: '/tokens/{token_id}';
|
|
1263
1796
|
};
|
|
1264
|
-
export type
|
|
1797
|
+
export type DeleteTokenResponses = {
|
|
1265
1798
|
/**
|
|
1266
|
-
* Successfully
|
|
1799
|
+
* Successfully deleted.
|
|
1267
1800
|
*/
|
|
1268
|
-
200:
|
|
1801
|
+
200: unknown;
|
|
1269
1802
|
};
|
|
1270
|
-
export type
|
|
1271
|
-
export type DeleteChartData = {
|
|
1803
|
+
export type GetTokenData = {
|
|
1272
1804
|
body?: never;
|
|
1273
1805
|
path: {
|
|
1274
1806
|
/**
|
|
1275
|
-
*
|
|
1276
|
-
*/
|
|
1277
|
-
cluster_id: string;
|
|
1278
|
-
/**
|
|
1279
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1807
|
+
* Generated unique identifier of the access token.
|
|
1280
1808
|
*/
|
|
1281
|
-
|
|
1809
|
+
token_id: string;
|
|
1282
1810
|
};
|
|
1283
1811
|
query?: never;
|
|
1284
|
-
url: '/
|
|
1812
|
+
url: '/tokens/{token_id}';
|
|
1285
1813
|
};
|
|
1286
|
-
export type
|
|
1814
|
+
export type GetTokenErrors = {
|
|
1287
1815
|
/**
|
|
1288
|
-
*
|
|
1816
|
+
* Not authenticated
|
|
1289
1817
|
*/
|
|
1290
|
-
|
|
1291
|
-
};
|
|
1292
|
-
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1293
|
-
export type GetChartData = {
|
|
1294
|
-
body?: never;
|
|
1295
|
-
path: {
|
|
1296
|
-
/**
|
|
1297
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1298
|
-
*/
|
|
1299
|
-
cluster_id: string;
|
|
1300
|
-
/**
|
|
1301
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1302
|
-
*/
|
|
1303
|
-
chart_name: string;
|
|
1304
|
-
};
|
|
1305
|
-
query?: never;
|
|
1306
|
-
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1818
|
+
401: unknown;
|
|
1307
1819
|
};
|
|
1308
|
-
export type
|
|
1820
|
+
export type GetTokenResponses = {
|
|
1309
1821
|
/**
|
|
1310
|
-
* Returns
|
|
1822
|
+
* Returns access token details with masked secret.
|
|
1311
1823
|
*/
|
|
1312
|
-
200:
|
|
1824
|
+
200: Token;
|
|
1313
1825
|
};
|
|
1314
|
-
export type
|
|
1315
|
-
export type
|
|
1316
|
-
body:
|
|
1826
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1827
|
+
export type UpdateTokenData = {
|
|
1828
|
+
body: TokenUpdateInput;
|
|
1317
1829
|
path: {
|
|
1318
1830
|
/**
|
|
1319
|
-
*
|
|
1320
|
-
*/
|
|
1321
|
-
cluster_id: string;
|
|
1322
|
-
/**
|
|
1323
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1831
|
+
* Generated unique identifier of the access token.
|
|
1324
1832
|
*/
|
|
1325
|
-
|
|
1833
|
+
token_id: string;
|
|
1326
1834
|
};
|
|
1327
1835
|
query?: never;
|
|
1328
|
-
url: '/
|
|
1836
|
+
url: '/tokens/{token_id}';
|
|
1329
1837
|
};
|
|
1330
|
-
export type
|
|
1838
|
+
export type UpdateTokenErrors = {
|
|
1331
1839
|
/**
|
|
1332
|
-
*
|
|
1840
|
+
* Not authenticated
|
|
1333
1841
|
*/
|
|
1334
|
-
|
|
1842
|
+
401: unknown;
|
|
1335
1843
|
};
|
|
1336
|
-
export type
|
|
1337
|
-
|
|
1844
|
+
export type UpdateTokenResponses = {
|
|
1845
|
+
/**
|
|
1846
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1847
|
+
*/
|
|
1848
|
+
200: Token;
|
|
1849
|
+
};
|
|
1850
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1851
|
+
export type RegenerateTokenData = {
|
|
1338
1852
|
body?: never;
|
|
1339
1853
|
path: {
|
|
1340
1854
|
/**
|
|
1341
|
-
*
|
|
1855
|
+
* Generated unique identifier of the access token.
|
|
1342
1856
|
*/
|
|
1343
|
-
|
|
1857
|
+
token_id: string;
|
|
1344
1858
|
};
|
|
1345
1859
|
query?: never;
|
|
1346
|
-
url: '/
|
|
1860
|
+
url: '/tokens/{token_id}/secret';
|
|
1347
1861
|
};
|
|
1348
|
-
export type
|
|
1862
|
+
export type RegenerateTokenErrors = {
|
|
1349
1863
|
/**
|
|
1350
1864
|
* Not authenticated
|
|
1351
1865
|
*/
|
|
1352
1866
|
401: unknown;
|
|
1353
1867
|
};
|
|
1354
|
-
export type
|
|
1868
|
+
export type RegenerateTokenResponses = {
|
|
1355
1869
|
/**
|
|
1356
|
-
*
|
|
1870
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1357
1871
|
*/
|
|
1358
|
-
200:
|
|
1872
|
+
200: Token;
|
|
1359
1873
|
};
|
|
1360
|
-
export type
|
|
1361
|
-
export type
|
|
1362
|
-
body
|
|
1363
|
-
path
|
|
1364
|
-
/**
|
|
1365
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1366
|
-
*/
|
|
1367
|
-
cluster_id: string;
|
|
1368
|
-
};
|
|
1874
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1875
|
+
export type ListTicketsData = {
|
|
1876
|
+
body?: never;
|
|
1877
|
+
path?: never;
|
|
1369
1878
|
query?: never;
|
|
1370
|
-
url: '/
|
|
1879
|
+
url: '/tickets';
|
|
1371
1880
|
};
|
|
1372
|
-
export type
|
|
1881
|
+
export type ListTicketsResponses = {
|
|
1373
1882
|
/**
|
|
1374
|
-
*
|
|
1883
|
+
* An array of tickets for the organization, newest first.
|
|
1375
1884
|
*/
|
|
1376
|
-
|
|
1885
|
+
200: Array<Ticket>;
|
|
1377
1886
|
};
|
|
1378
|
-
export type
|
|
1379
|
-
export type
|
|
1887
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1888
|
+
export type CreateTicketData = {
|
|
1889
|
+
body: {
|
|
1890
|
+
/**
|
|
1891
|
+
* JSON-encoded TicketCreateInput.
|
|
1892
|
+
*/
|
|
1893
|
+
payload?: string;
|
|
1894
|
+
attachments?: Array<Blob | File>;
|
|
1895
|
+
};
|
|
1896
|
+
path?: never;
|
|
1897
|
+
query?: never;
|
|
1898
|
+
url: '/tickets';
|
|
1899
|
+
};
|
|
1900
|
+
export type CreateTicketResponses = {
|
|
1380
1901
|
/**
|
|
1381
|
-
*
|
|
1902
|
+
* Ticket created.
|
|
1382
1903
|
*/
|
|
1383
|
-
200:
|
|
1904
|
+
200: Ticket;
|
|
1384
1905
|
};
|
|
1385
|
-
export type
|
|
1386
|
-
export type
|
|
1906
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1907
|
+
export type CloseTicketData = {
|
|
1387
1908
|
body?: never;
|
|
1388
1909
|
path: {
|
|
1389
|
-
|
|
1390
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1391
|
-
*/
|
|
1392
|
-
cluster_id: string;
|
|
1393
|
-
/**
|
|
1394
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1395
|
-
*/
|
|
1396
|
-
fleet_name: string;
|
|
1910
|
+
ticket_id: string;
|
|
1397
1911
|
};
|
|
1398
1912
|
query?: never;
|
|
1399
|
-
url: '/
|
|
1913
|
+
url: '/tickets/{ticket_id}';
|
|
1400
1914
|
};
|
|
1401
|
-
export type
|
|
1915
|
+
export type CloseTicketResponses = {
|
|
1402
1916
|
/**
|
|
1403
|
-
*
|
|
1917
|
+
* Ticket closed.
|
|
1404
1918
|
*/
|
|
1405
|
-
200:
|
|
1919
|
+
200: Ticket;
|
|
1406
1920
|
};
|
|
1407
|
-
export type
|
|
1408
|
-
export type
|
|
1921
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1922
|
+
export type GetTicketData = {
|
|
1409
1923
|
body?: never;
|
|
1410
1924
|
path: {
|
|
1411
|
-
|
|
1412
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1413
|
-
*/
|
|
1414
|
-
cluster_id: string;
|
|
1415
|
-
/**
|
|
1416
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1417
|
-
*/
|
|
1418
|
-
fleet_name: string;
|
|
1925
|
+
ticket_id: string;
|
|
1419
1926
|
};
|
|
1420
1927
|
query?: never;
|
|
1421
|
-
url: '/
|
|
1928
|
+
url: '/tickets/{ticket_id}';
|
|
1422
1929
|
};
|
|
1423
|
-
export type
|
|
1930
|
+
export type GetTicketResponses = {
|
|
1424
1931
|
/**
|
|
1425
|
-
*
|
|
1932
|
+
* Ticket with messages (internal notes excluded).
|
|
1426
1933
|
*/
|
|
1427
|
-
200:
|
|
1934
|
+
200: Ticket;
|
|
1428
1935
|
};
|
|
1429
|
-
export type
|
|
1430
|
-
export type
|
|
1431
|
-
body:
|
|
1432
|
-
path: {
|
|
1433
|
-
/**
|
|
1434
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1435
|
-
*/
|
|
1436
|
-
cluster_id: string;
|
|
1936
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1937
|
+
export type ReplyTicketData = {
|
|
1938
|
+
body: {
|
|
1437
1939
|
/**
|
|
1438
|
-
*
|
|
1940
|
+
* JSON-encoded TicketMessageInput.
|
|
1439
1941
|
*/
|
|
1440
|
-
|
|
1942
|
+
payload?: string;
|
|
1943
|
+
attachments?: Array<Blob | File>;
|
|
1944
|
+
};
|
|
1945
|
+
path: {
|
|
1946
|
+
ticket_id: string;
|
|
1441
1947
|
};
|
|
1442
1948
|
query?: never;
|
|
1443
|
-
url: '/
|
|
1949
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1444
1950
|
};
|
|
1445
|
-
export type
|
|
1951
|
+
export type ReplyTicketErrors = {
|
|
1446
1952
|
/**
|
|
1447
|
-
*
|
|
1953
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1448
1954
|
*/
|
|
1449
|
-
|
|
1955
|
+
409: unknown;
|
|
1450
1956
|
};
|
|
1451
|
-
export type
|
|
1452
|
-
export type UpdateFleetResponses = {
|
|
1957
|
+
export type ReplyTicketResponses = {
|
|
1453
1958
|
/**
|
|
1454
|
-
*
|
|
1959
|
+
* Reply appended.
|
|
1455
1960
|
*/
|
|
1456
|
-
200:
|
|
1961
|
+
200: TicketMessage;
|
|
1457
1962
|
};
|
|
1458
|
-
export type
|
|
1459
|
-
export type
|
|
1963
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1964
|
+
export type GetTicketAttachmentData = {
|
|
1460
1965
|
body?: never;
|
|
1461
1966
|
path: {
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
*/
|
|
1465
|
-
cluster_id: string;
|
|
1967
|
+
ticket_id: string;
|
|
1968
|
+
attachment_id: string;
|
|
1466
1969
|
};
|
|
1467
1970
|
query?: never;
|
|
1468
|
-
url: '/
|
|
1469
|
-
};
|
|
1470
|
-
export type QueryClusterErrors = {
|
|
1471
|
-
/**
|
|
1472
|
-
* Not authenticated
|
|
1473
|
-
*/
|
|
1474
|
-
401: unknown;
|
|
1971
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1475
1972
|
};
|
|
1476
|
-
export type
|
|
1973
|
+
export type GetTicketAttachmentResponses = {
|
|
1477
1974
|
/**
|
|
1478
|
-
*
|
|
1975
|
+
* Attachment binary stream.
|
|
1479
1976
|
*/
|
|
1480
|
-
200:
|
|
1977
|
+
200: Blob | File;
|
|
1481
1978
|
};
|
|
1482
|
-
export type
|
|
1979
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1980
|
+
export type ListRepositoriesData = {
|
|
1483
1981
|
body?: never;
|
|
1484
1982
|
path?: never;
|
|
1485
1983
|
query?: never;
|
|
1486
|
-
url: '/
|
|
1984
|
+
url: '/registry';
|
|
1487
1985
|
};
|
|
1488
|
-
export type
|
|
1986
|
+
export type ListRepositoriesErrors = {
|
|
1489
1987
|
/**
|
|
1490
1988
|
* Not authenticated
|
|
1491
1989
|
*/
|
|
1492
1990
|
401: unknown;
|
|
1493
|
-
};
|
|
1494
|
-
export type ListClustersResponses = {
|
|
1495
|
-
/**
|
|
1496
|
-
* An array of clusters
|
|
1497
|
-
*/
|
|
1498
|
-
200: Array<Cluster>;
|
|
1499
|
-
};
|
|
1500
|
-
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
1501
|
-
export type CreateClusterData = {
|
|
1502
|
-
body: ClusterCreateInput;
|
|
1503
|
-
path?: never;
|
|
1504
|
-
query?: never;
|
|
1505
|
-
url: '/clusters';
|
|
1506
|
-
};
|
|
1507
|
-
export type CreateClusterErrors = {
|
|
1508
1991
|
/**
|
|
1509
|
-
*
|
|
1992
|
+
* Internal server error
|
|
1510
1993
|
*/
|
|
1511
|
-
|
|
1994
|
+
500: unknown;
|
|
1512
1995
|
};
|
|
1513
|
-
export type
|
|
1514
|
-
export type CreateClusterResponses = {
|
|
1996
|
+
export type ListRepositoriesResponses = {
|
|
1515
1997
|
/**
|
|
1516
|
-
*
|
|
1998
|
+
* List of repositories
|
|
1517
1999
|
*/
|
|
1518
|
-
200:
|
|
2000
|
+
200: Array<RegistryRepository>;
|
|
1519
2001
|
};
|
|
1520
|
-
export type
|
|
1521
|
-
export type
|
|
2002
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2003
|
+
export type ListTagsData = {
|
|
1522
2004
|
body?: never;
|
|
1523
2005
|
path: {
|
|
1524
2006
|
/**
|
|
1525
|
-
*
|
|
2007
|
+
* Region where the repository is located
|
|
1526
2008
|
*/
|
|
1527
|
-
|
|
2009
|
+
region: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* Name of the repository
|
|
2012
|
+
*/
|
|
2013
|
+
repository: string;
|
|
1528
2014
|
};
|
|
1529
2015
|
query?: never;
|
|
1530
|
-
url: '/
|
|
2016
|
+
url: '/registry/{region}/{repository}';
|
|
1531
2017
|
};
|
|
1532
|
-
export type
|
|
2018
|
+
export type ListTagsErrors = {
|
|
1533
2019
|
/**
|
|
1534
|
-
*
|
|
2020
|
+
* Not authenticated
|
|
1535
2021
|
*/
|
|
1536
|
-
|
|
2022
|
+
401: unknown;
|
|
2023
|
+
/**
|
|
2024
|
+
* Repository not found
|
|
2025
|
+
*/
|
|
2026
|
+
404: unknown;
|
|
2027
|
+
/**
|
|
2028
|
+
* Internal server error
|
|
2029
|
+
*/
|
|
2030
|
+
500: unknown;
|
|
1537
2031
|
};
|
|
1538
|
-
export type
|
|
1539
|
-
|
|
2032
|
+
export type ListTagsResponses = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Repository with tags
|
|
2035
|
+
*/
|
|
2036
|
+
200: RegistryRepositoryWithTags;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2039
|
+
export type DeleteTagData = {
|
|
1540
2040
|
body?: never;
|
|
1541
2041
|
path: {
|
|
1542
2042
|
/**
|
|
1543
|
-
*
|
|
2043
|
+
* Region where the repository is located
|
|
1544
2044
|
*/
|
|
1545
|
-
|
|
2045
|
+
region: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* Name of the repository
|
|
2048
|
+
*/
|
|
2049
|
+
repository: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* Name of the tag
|
|
2052
|
+
*/
|
|
2053
|
+
tag: string;
|
|
1546
2054
|
};
|
|
1547
2055
|
query?: never;
|
|
1548
|
-
url: '/
|
|
2056
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1549
2057
|
};
|
|
1550
|
-
export type
|
|
2058
|
+
export type DeleteTagErrors = {
|
|
1551
2059
|
/**
|
|
1552
|
-
*
|
|
2060
|
+
* Not authenticated
|
|
1553
2061
|
*/
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
cluster_id: string;
|
|
1564
|
-
};
|
|
1565
|
-
query?: never;
|
|
1566
|
-
url: '/clusters/{cluster_id}';
|
|
2062
|
+
401: unknown;
|
|
2063
|
+
/**
|
|
2064
|
+
* Tag not found
|
|
2065
|
+
*/
|
|
2066
|
+
404: unknown;
|
|
2067
|
+
/**
|
|
2068
|
+
* Internal server error
|
|
2069
|
+
*/
|
|
2070
|
+
500: unknown;
|
|
1567
2071
|
};
|
|
1568
|
-
export type
|
|
2072
|
+
export type DeleteTagResponses = {
|
|
1569
2073
|
/**
|
|
1570
|
-
*
|
|
2074
|
+
* Tag successfully deleted
|
|
1571
2075
|
*/
|
|
1572
|
-
200:
|
|
2076
|
+
200: unknown;
|
|
1573
2077
|
};
|
|
1574
|
-
export type
|
|
1575
|
-
export type GetJoinInformationData = {
|
|
2078
|
+
export type GetTagData = {
|
|
1576
2079
|
body?: never;
|
|
1577
2080
|
path: {
|
|
1578
2081
|
/**
|
|
1579
|
-
*
|
|
2082
|
+
* Region where the repository is located
|
|
1580
2083
|
*/
|
|
1581
|
-
|
|
2084
|
+
region: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Name of the repository
|
|
2087
|
+
*/
|
|
2088
|
+
repository: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Name of the tag
|
|
2091
|
+
*/
|
|
2092
|
+
tag: string;
|
|
1582
2093
|
};
|
|
1583
2094
|
query?: never;
|
|
1584
|
-
url: '/
|
|
2095
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1585
2096
|
};
|
|
1586
|
-
export type
|
|
2097
|
+
export type GetTagErrors = {
|
|
1587
2098
|
/**
|
|
1588
2099
|
* Not authenticated
|
|
1589
2100
|
*/
|
|
1590
2101
|
401: unknown;
|
|
1591
|
-
};
|
|
1592
|
-
export type GetJoinInformationResponses = {
|
|
1593
2102
|
/**
|
|
1594
|
-
*
|
|
2103
|
+
* Tag not found
|
|
1595
2104
|
*/
|
|
1596
|
-
|
|
1597
|
-
};
|
|
1598
|
-
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1599
|
-
export type ListInvitesData = {
|
|
1600
|
-
body?: never;
|
|
1601
|
-
path?: never;
|
|
1602
|
-
query?: never;
|
|
1603
|
-
url: '/invites';
|
|
1604
|
-
};
|
|
1605
|
-
export type ListInvitesErrors = {
|
|
2105
|
+
404: unknown;
|
|
1606
2106
|
/**
|
|
1607
|
-
*
|
|
2107
|
+
* Internal server error
|
|
1608
2108
|
*/
|
|
1609
|
-
|
|
2109
|
+
500: unknown;
|
|
1610
2110
|
};
|
|
1611
|
-
export type
|
|
2111
|
+
export type GetTagResponses = {
|
|
1612
2112
|
/**
|
|
1613
|
-
*
|
|
2113
|
+
* Tag details
|
|
1614
2114
|
*/
|
|
1615
|
-
200:
|
|
2115
|
+
200: RegistryTag;
|
|
1616
2116
|
};
|
|
1617
|
-
export type
|
|
1618
|
-
export type
|
|
1619
|
-
body
|
|
1620
|
-
/**
|
|
1621
|
-
* User email address
|
|
1622
|
-
*/
|
|
1623
|
-
email?: string;
|
|
1624
|
-
};
|
|
2117
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2118
|
+
export type GetOrganizationData = {
|
|
2119
|
+
body?: never;
|
|
1625
2120
|
path?: never;
|
|
1626
2121
|
query?: never;
|
|
1627
|
-
url: '/
|
|
2122
|
+
url: '/organization';
|
|
1628
2123
|
};
|
|
1629
|
-
export type
|
|
2124
|
+
export type GetOrganizationResponses = {
|
|
1630
2125
|
/**
|
|
1631
|
-
*
|
|
2126
|
+
* Returns a single object containing organization details.
|
|
1632
2127
|
*/
|
|
1633
|
-
200:
|
|
2128
|
+
200: Organization;
|
|
1634
2129
|
};
|
|
1635
|
-
export type
|
|
1636
|
-
export type
|
|
1637
|
-
body
|
|
1638
|
-
path
|
|
1639
|
-
/**
|
|
1640
|
-
* Invitation code
|
|
1641
|
-
*/
|
|
1642
|
-
code: string;
|
|
1643
|
-
};
|
|
2130
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2131
|
+
export type CreateOrganizationData = {
|
|
2132
|
+
body: OrganizationCreateInput;
|
|
2133
|
+
path?: never;
|
|
1644
2134
|
query?: never;
|
|
1645
|
-
url: '/
|
|
2135
|
+
url: '/organization';
|
|
1646
2136
|
};
|
|
1647
|
-
export type
|
|
2137
|
+
export type CreateOrganizationResponses = {
|
|
1648
2138
|
/**
|
|
1649
|
-
* Returns
|
|
2139
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2140
|
+
*
|
|
1650
2141
|
*/
|
|
1651
|
-
200:
|
|
2142
|
+
200: OrganizationCreateOutput;
|
|
1652
2143
|
};
|
|
1653
|
-
export type
|
|
1654
|
-
export type
|
|
2144
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2145
|
+
export type GetBasicPriceConsentData = {
|
|
1655
2146
|
body?: never;
|
|
1656
|
-
path
|
|
1657
|
-
/**
|
|
1658
|
-
* User email address
|
|
1659
|
-
*/
|
|
1660
|
-
email: string;
|
|
1661
|
-
};
|
|
2147
|
+
path?: never;
|
|
1662
2148
|
query?: never;
|
|
1663
|
-
url: '/
|
|
2149
|
+
url: '/organization/basic-price-consent';
|
|
1664
2150
|
};
|
|
1665
|
-
export type
|
|
2151
|
+
export type GetBasicPriceConsentResponses = {
|
|
1666
2152
|
/**
|
|
1667
|
-
*
|
|
2153
|
+
* Returns the current consent status.
|
|
1668
2154
|
*/
|
|
1669
|
-
200:
|
|
2155
|
+
200: BasicPriceConsent;
|
|
1670
2156
|
};
|
|
1671
|
-
export type
|
|
1672
|
-
|
|
2157
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2158
|
+
export type SetBasicPriceConsentData = {
|
|
2159
|
+
body: BasicPriceConsentInput;
|
|
1673
2160
|
path?: never;
|
|
1674
2161
|
query?: never;
|
|
1675
|
-
url: '/
|
|
2162
|
+
url: '/organization/basic-price-consent';
|
|
1676
2163
|
};
|
|
1677
|
-
export type
|
|
2164
|
+
export type SetBasicPriceConsentErrors = {
|
|
1678
2165
|
/**
|
|
1679
|
-
*
|
|
2166
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2167
|
+
*
|
|
1680
2168
|
*/
|
|
1681
2169
|
401: unknown;
|
|
1682
|
-
};
|
|
1683
|
-
export type ListMarketplaceChartsResponses = {
|
|
1684
|
-
/**
|
|
1685
|
-
* An array of chart listings in the marketplace.
|
|
1686
|
-
*/
|
|
1687
|
-
200: Array<MarketplaceListing>;
|
|
1688
|
-
};
|
|
1689
|
-
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1690
|
-
export type GetMarketplaceChartFilesData = {
|
|
1691
|
-
body?: never;
|
|
1692
|
-
path: {
|
|
1693
|
-
/**
|
|
1694
|
-
* Name of the chart in the marketplace.
|
|
1695
|
-
*/
|
|
1696
|
-
chart_name: string;
|
|
1697
|
-
/**
|
|
1698
|
-
* 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).
|
|
1699
|
-
*/
|
|
1700
|
-
version_channel: string;
|
|
1701
|
-
};
|
|
1702
|
-
query?: never;
|
|
1703
|
-
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1704
|
-
};
|
|
1705
|
-
export type GetMarketplaceChartFilesErrors = {
|
|
1706
2170
|
/**
|
|
1707
|
-
*
|
|
2171
|
+
* The consent flow does not apply to this organization.
|
|
1708
2172
|
*/
|
|
1709
|
-
|
|
2173
|
+
409: unknown;
|
|
1710
2174
|
};
|
|
1711
|
-
export type
|
|
2175
|
+
export type SetBasicPriceConsentResponses = {
|
|
1712
2176
|
/**
|
|
1713
|
-
*
|
|
2177
|
+
* Decision recorded. Returns the updated consent status.
|
|
1714
2178
|
*/
|
|
1715
|
-
200:
|
|
2179
|
+
200: BasicPriceConsent;
|
|
1716
2180
|
};
|
|
1717
|
-
export type
|
|
2181
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
1718
2182
|
export type PostMcpData = {
|
|
1719
2183
|
/**
|
|
1720
2184
|
* JSON-RPC 2.0 request payload
|
|
@@ -1757,423 +2221,808 @@ export type PostMcpResponses = {
|
|
|
1757
2221
|
};
|
|
1758
2222
|
};
|
|
1759
2223
|
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1760
|
-
export type
|
|
2224
|
+
export type ListMarketplaceChartsData = {
|
|
1761
2225
|
body?: never;
|
|
1762
2226
|
path?: never;
|
|
1763
2227
|
query?: never;
|
|
1764
|
-
url: '/
|
|
2228
|
+
url: '/marketplace';
|
|
1765
2229
|
};
|
|
1766
|
-
export type
|
|
2230
|
+
export type ListMarketplaceChartsErrors = {
|
|
1767
2231
|
/**
|
|
1768
|
-
*
|
|
2232
|
+
* Not authenticated
|
|
1769
2233
|
*/
|
|
1770
|
-
|
|
2234
|
+
401: unknown;
|
|
1771
2235
|
};
|
|
1772
|
-
export type
|
|
1773
|
-
|
|
1774
|
-
|
|
2236
|
+
export type ListMarketplaceChartsResponses = {
|
|
2237
|
+
/**
|
|
2238
|
+
* An array of chart listings in the marketplace.
|
|
2239
|
+
*/
|
|
2240
|
+
200: Array<MarketplaceListing>;
|
|
2241
|
+
};
|
|
2242
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2243
|
+
export type GetMarketplaceChartFilesData = {
|
|
2244
|
+
body?: never;
|
|
2245
|
+
path: {
|
|
2246
|
+
/**
|
|
2247
|
+
* Name of the chart in the marketplace.
|
|
2248
|
+
*/
|
|
2249
|
+
chart_name: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* 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).
|
|
2252
|
+
*/
|
|
2253
|
+
version_channel: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2257
|
+
};
|
|
2258
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Chart not found or no version matches the channel
|
|
2261
|
+
*/
|
|
2262
|
+
404: unknown;
|
|
2263
|
+
};
|
|
2264
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2265
|
+
/**
|
|
2266
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2267
|
+
*/
|
|
2268
|
+
200: MarketplaceListingFiles;
|
|
2269
|
+
};
|
|
2270
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2271
|
+
export type ListInvitesData = {
|
|
2272
|
+
body?: never;
|
|
1775
2273
|
path?: never;
|
|
1776
2274
|
query?: never;
|
|
1777
|
-
url: '/
|
|
2275
|
+
url: '/invites';
|
|
1778
2276
|
};
|
|
1779
|
-
export type
|
|
2277
|
+
export type ListInvitesErrors = {
|
|
1780
2278
|
/**
|
|
1781
|
-
*
|
|
2279
|
+
* Not authenticated
|
|
2280
|
+
*/
|
|
2281
|
+
401: unknown;
|
|
2282
|
+
};
|
|
2283
|
+
export type ListInvitesResponses = {
|
|
2284
|
+
/**
|
|
2285
|
+
* An array of invites
|
|
2286
|
+
*/
|
|
2287
|
+
200: Array<Invite>;
|
|
2288
|
+
};
|
|
2289
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2290
|
+
export type CreateInviteData = {
|
|
2291
|
+
body: InviteCreateInput;
|
|
2292
|
+
path?: never;
|
|
2293
|
+
query?: never;
|
|
2294
|
+
url: '/invites';
|
|
2295
|
+
};
|
|
2296
|
+
export type CreateInviteResponses = {
|
|
2297
|
+
/**
|
|
2298
|
+
* Successfully created. Returns created invite details.
|
|
2299
|
+
*/
|
|
2300
|
+
200: Invite;
|
|
2301
|
+
};
|
|
2302
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2303
|
+
export type GetInviteData = {
|
|
2304
|
+
body?: never;
|
|
2305
|
+
path: {
|
|
2306
|
+
/**
|
|
2307
|
+
* Invitation code
|
|
2308
|
+
*/
|
|
2309
|
+
code: string;
|
|
2310
|
+
};
|
|
2311
|
+
query?: never;
|
|
2312
|
+
url: '/invites/{code}';
|
|
2313
|
+
};
|
|
2314
|
+
export type GetInviteResponses = {
|
|
2315
|
+
/**
|
|
2316
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2317
|
+
*/
|
|
2318
|
+
200: {
|
|
2319
|
+
/**
|
|
2320
|
+
* Email address the invite was issued to.
|
|
2321
|
+
*/
|
|
2322
|
+
email?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* Identifier of the organization the invite grants access to.
|
|
2325
|
+
*/
|
|
2326
|
+
organization_id?: string;
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2329
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2330
|
+
export type DeleteInviteData = {
|
|
2331
|
+
body?: never;
|
|
2332
|
+
path: {
|
|
2333
|
+
/**
|
|
2334
|
+
* User email address
|
|
2335
|
+
*/
|
|
2336
|
+
email: string;
|
|
2337
|
+
};
|
|
2338
|
+
query?: never;
|
|
2339
|
+
url: '/invites/{email}';
|
|
2340
|
+
};
|
|
2341
|
+
export type DeleteInviteResponses = {
|
|
2342
|
+
/**
|
|
2343
|
+
* Successfully deleted.
|
|
1782
2344
|
*/
|
|
1783
2345
|
200: unknown;
|
|
1784
2346
|
};
|
|
1785
|
-
export type
|
|
2347
|
+
export type QueryClusterData = {
|
|
1786
2348
|
body?: never;
|
|
1787
|
-
path
|
|
2349
|
+
path: {
|
|
2350
|
+
/**
|
|
2351
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2352
|
+
*/
|
|
2353
|
+
cluster_id: string;
|
|
2354
|
+
};
|
|
1788
2355
|
query?: never;
|
|
1789
|
-
url: '/
|
|
2356
|
+
url: '/clusters/{cluster_id}/query';
|
|
1790
2357
|
};
|
|
1791
|
-
export type
|
|
2358
|
+
export type QueryClusterErrors = {
|
|
2359
|
+
/**
|
|
2360
|
+
* Not authenticated
|
|
2361
|
+
*/
|
|
2362
|
+
401: unknown;
|
|
2363
|
+
};
|
|
2364
|
+
export type QueryClusterResponses = {
|
|
2365
|
+
/**
|
|
2366
|
+
* Kubernetes API response
|
|
2367
|
+
*/
|
|
2368
|
+
200: unknown;
|
|
2369
|
+
};
|
|
2370
|
+
export type ListFleetsData = {
|
|
2371
|
+
body?: never;
|
|
2372
|
+
path: {
|
|
2373
|
+
/**
|
|
2374
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2375
|
+
*/
|
|
2376
|
+
cluster_id: string;
|
|
2377
|
+
};
|
|
2378
|
+
query?: never;
|
|
2379
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2380
|
+
};
|
|
2381
|
+
export type ListFleetsErrors = {
|
|
1792
2382
|
/**
|
|
1793
2383
|
* Not authenticated
|
|
1794
2384
|
*/
|
|
1795
2385
|
401: unknown;
|
|
2386
|
+
};
|
|
2387
|
+
export type ListFleetsResponses = {
|
|
1796
2388
|
/**
|
|
1797
|
-
*
|
|
2389
|
+
* An array of fleets
|
|
1798
2390
|
*/
|
|
1799
|
-
|
|
2391
|
+
200: Array<Fleet>;
|
|
1800
2392
|
};
|
|
1801
|
-
export type
|
|
2393
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2394
|
+
export type CreateFleetData = {
|
|
2395
|
+
body: FleetCreateInput;
|
|
2396
|
+
path: {
|
|
2397
|
+
/**
|
|
2398
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2399
|
+
*/
|
|
2400
|
+
cluster_id: string;
|
|
2401
|
+
};
|
|
2402
|
+
query?: never;
|
|
2403
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2404
|
+
};
|
|
2405
|
+
export type CreateFleetErrors = {
|
|
1802
2406
|
/**
|
|
1803
|
-
*
|
|
2407
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1804
2408
|
*/
|
|
1805
|
-
|
|
2409
|
+
402: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* 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.
|
|
2412
|
+
*/
|
|
2413
|
+
409: string;
|
|
1806
2414
|
};
|
|
1807
|
-
export type
|
|
1808
|
-
export type
|
|
2415
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2416
|
+
export type CreateFleetResponses = {
|
|
2417
|
+
/**
|
|
2418
|
+
* Successfully created. Returns created Fleet ID.
|
|
2419
|
+
*/
|
|
2420
|
+
200: string;
|
|
2421
|
+
};
|
|
2422
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2423
|
+
export type DeleteFleetData = {
|
|
1809
2424
|
body?: never;
|
|
1810
2425
|
path: {
|
|
1811
2426
|
/**
|
|
1812
|
-
*
|
|
2427
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1813
2428
|
*/
|
|
1814
|
-
|
|
2429
|
+
cluster_id: string;
|
|
1815
2430
|
/**
|
|
1816
|
-
*
|
|
2431
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1817
2432
|
*/
|
|
1818
|
-
|
|
2433
|
+
fleet_name: string;
|
|
1819
2434
|
};
|
|
1820
2435
|
query?: never;
|
|
1821
|
-
url: '/
|
|
2436
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1822
2437
|
};
|
|
1823
|
-
export type
|
|
2438
|
+
export type DeleteFleetErrors = {
|
|
2439
|
+
/**
|
|
2440
|
+
* 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.
|
|
2441
|
+
*/
|
|
2442
|
+
409: string;
|
|
2443
|
+
};
|
|
2444
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2445
|
+
export type DeleteFleetResponses = {
|
|
2446
|
+
/**
|
|
2447
|
+
* Successfully deleted.
|
|
2448
|
+
*/
|
|
2449
|
+
200: string;
|
|
2450
|
+
};
|
|
2451
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2452
|
+
export type GetFleetData = {
|
|
2453
|
+
body?: never;
|
|
2454
|
+
path: {
|
|
2455
|
+
/**
|
|
2456
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2457
|
+
*/
|
|
2458
|
+
cluster_id: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2461
|
+
*/
|
|
2462
|
+
fleet_name: string;
|
|
2463
|
+
};
|
|
2464
|
+
query?: never;
|
|
2465
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2466
|
+
};
|
|
2467
|
+
export type GetFleetResponses = {
|
|
2468
|
+
/**
|
|
2469
|
+
* Returns a single object containing fleet details.
|
|
2470
|
+
*/
|
|
2471
|
+
200: Fleet;
|
|
2472
|
+
};
|
|
2473
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2474
|
+
export type UpdateFleetData = {
|
|
2475
|
+
body: FleetUpdateInput;
|
|
2476
|
+
path: {
|
|
2477
|
+
/**
|
|
2478
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2479
|
+
*/
|
|
2480
|
+
cluster_id: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2483
|
+
*/
|
|
2484
|
+
fleet_name: string;
|
|
2485
|
+
};
|
|
2486
|
+
query?: never;
|
|
2487
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2488
|
+
};
|
|
2489
|
+
export type UpdateFleetErrors = {
|
|
2490
|
+
/**
|
|
2491
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2492
|
+
*/
|
|
2493
|
+
402: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* 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.
|
|
2496
|
+
*/
|
|
2497
|
+
409: string;
|
|
2498
|
+
};
|
|
2499
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2500
|
+
export type UpdateFleetResponses = {
|
|
2501
|
+
/**
|
|
2502
|
+
* Successfully updated.
|
|
2503
|
+
*/
|
|
2504
|
+
200: string;
|
|
2505
|
+
};
|
|
2506
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2507
|
+
export type ListChartsData = {
|
|
2508
|
+
body?: never;
|
|
2509
|
+
path: {
|
|
2510
|
+
/**
|
|
2511
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2512
|
+
*/
|
|
2513
|
+
cluster_id: string;
|
|
2514
|
+
};
|
|
2515
|
+
query?: never;
|
|
2516
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2517
|
+
};
|
|
2518
|
+
export type ListChartsErrors = {
|
|
1824
2519
|
/**
|
|
1825
2520
|
* Not authenticated
|
|
1826
2521
|
*/
|
|
1827
2522
|
401: unknown;
|
|
2523
|
+
};
|
|
2524
|
+
export type ListChartsResponses = {
|
|
1828
2525
|
/**
|
|
1829
|
-
*
|
|
2526
|
+
* An array of charts
|
|
1830
2527
|
*/
|
|
1831
|
-
|
|
2528
|
+
200: Array<Chart>;
|
|
2529
|
+
};
|
|
2530
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2531
|
+
export type CreateChartData = {
|
|
2532
|
+
body: ChartCreateInput;
|
|
2533
|
+
path: {
|
|
2534
|
+
/**
|
|
2535
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2536
|
+
*/
|
|
2537
|
+
cluster_id: string;
|
|
2538
|
+
};
|
|
2539
|
+
query?: never;
|
|
2540
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2541
|
+
};
|
|
2542
|
+
export type CreateChartErrors = {
|
|
1832
2543
|
/**
|
|
1833
|
-
*
|
|
2544
|
+
* 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.
|
|
1834
2545
|
*/
|
|
1835
|
-
|
|
2546
|
+
409: string;
|
|
1836
2547
|
};
|
|
1837
|
-
export type
|
|
2548
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2549
|
+
export type CreateChartResponses = {
|
|
1838
2550
|
/**
|
|
1839
|
-
*
|
|
2551
|
+
* Successfully created. Returns created Chart ID.
|
|
1840
2552
|
*/
|
|
1841
|
-
200:
|
|
2553
|
+
200: string;
|
|
1842
2554
|
};
|
|
1843
|
-
export type
|
|
1844
|
-
export type
|
|
2555
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2556
|
+
export type DeleteChartData = {
|
|
1845
2557
|
body?: never;
|
|
1846
2558
|
path: {
|
|
1847
2559
|
/**
|
|
1848
|
-
*
|
|
2560
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1849
2561
|
*/
|
|
1850
|
-
|
|
2562
|
+
cluster_id: string;
|
|
1851
2563
|
/**
|
|
1852
|
-
*
|
|
2564
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1853
2565
|
*/
|
|
1854
|
-
|
|
2566
|
+
chart_name: string;
|
|
2567
|
+
};
|
|
2568
|
+
query?: never;
|
|
2569
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2570
|
+
};
|
|
2571
|
+
export type DeleteChartErrors = {
|
|
2572
|
+
/**
|
|
2573
|
+
* 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.
|
|
2574
|
+
*/
|
|
2575
|
+
409: string;
|
|
2576
|
+
};
|
|
2577
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2578
|
+
export type DeleteChartResponses = {
|
|
2579
|
+
/**
|
|
2580
|
+
* Successfully deleted.
|
|
2581
|
+
*/
|
|
2582
|
+
200: string;
|
|
2583
|
+
};
|
|
2584
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2585
|
+
export type GetChartData = {
|
|
2586
|
+
body?: never;
|
|
2587
|
+
path: {
|
|
1855
2588
|
/**
|
|
1856
|
-
*
|
|
2589
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1857
2590
|
*/
|
|
1858
|
-
|
|
2591
|
+
cluster_id: string;
|
|
2592
|
+
/**
|
|
2593
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2594
|
+
*/
|
|
2595
|
+
chart_name: string;
|
|
1859
2596
|
};
|
|
1860
2597
|
query?: never;
|
|
1861
|
-
url: '/
|
|
2598
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1862
2599
|
};
|
|
1863
|
-
export type
|
|
2600
|
+
export type GetChartResponses = {
|
|
2601
|
+
/**
|
|
2602
|
+
* Returns a single object containing chart details.
|
|
2603
|
+
*/
|
|
2604
|
+
200: Chart;
|
|
2605
|
+
};
|
|
2606
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2607
|
+
export type UpdateChartData = {
|
|
2608
|
+
body: ChartUpdateInput;
|
|
2609
|
+
path: {
|
|
2610
|
+
/**
|
|
2611
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2612
|
+
*/
|
|
2613
|
+
cluster_id: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2616
|
+
*/
|
|
2617
|
+
chart_name: string;
|
|
2618
|
+
};
|
|
2619
|
+
query?: never;
|
|
2620
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2621
|
+
};
|
|
2622
|
+
export type UpdateChartErrors = {
|
|
2623
|
+
/**
|
|
2624
|
+
* 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.
|
|
2625
|
+
*/
|
|
2626
|
+
409: string;
|
|
2627
|
+
};
|
|
2628
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2629
|
+
export type UpdateChartResponses = {
|
|
2630
|
+
/**
|
|
2631
|
+
* Successfully updated.
|
|
2632
|
+
*/
|
|
2633
|
+
200: string;
|
|
2634
|
+
};
|
|
2635
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2636
|
+
export type ListClustersData = {
|
|
2637
|
+
body?: never;
|
|
2638
|
+
path?: never;
|
|
2639
|
+
query?: never;
|
|
2640
|
+
url: '/clusters';
|
|
2641
|
+
};
|
|
2642
|
+
export type ListClustersErrors = {
|
|
1864
2643
|
/**
|
|
1865
2644
|
* Not authenticated
|
|
1866
2645
|
*/
|
|
1867
2646
|
401: unknown;
|
|
2647
|
+
};
|
|
2648
|
+
export type ListClustersResponses = {
|
|
1868
2649
|
/**
|
|
1869
|
-
*
|
|
2650
|
+
* An array of clusters
|
|
2651
|
+
*/
|
|
2652
|
+
200: Array<Cluster>;
|
|
2653
|
+
};
|
|
2654
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2655
|
+
export type CreateClusterData = {
|
|
2656
|
+
body: ClusterCreateInput;
|
|
2657
|
+
path?: never;
|
|
2658
|
+
query?: never;
|
|
2659
|
+
url: '/clusters';
|
|
2660
|
+
};
|
|
2661
|
+
export type CreateClusterErrors = {
|
|
2662
|
+
/**
|
|
2663
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2664
|
+
*/
|
|
2665
|
+
402: string;
|
|
2666
|
+
};
|
|
2667
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2668
|
+
export type CreateClusterResponses = {
|
|
2669
|
+
/**
|
|
2670
|
+
* Successfully created. Returns created Cluster ID.
|
|
2671
|
+
*/
|
|
2672
|
+
200: string;
|
|
2673
|
+
};
|
|
2674
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2675
|
+
export type DeleteClusterData = {
|
|
2676
|
+
body?: never;
|
|
2677
|
+
path: {
|
|
2678
|
+
/**
|
|
2679
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2680
|
+
*/
|
|
2681
|
+
cluster_id: string;
|
|
2682
|
+
};
|
|
2683
|
+
query?: never;
|
|
2684
|
+
url: '/clusters/{cluster_id}';
|
|
2685
|
+
};
|
|
2686
|
+
export type DeleteClusterErrors = {
|
|
2687
|
+
/**
|
|
2688
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1870
2689
|
*/
|
|
1871
2690
|
404: unknown;
|
|
1872
2691
|
/**
|
|
1873
|
-
*
|
|
2692
|
+
* 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.
|
|
1874
2693
|
*/
|
|
1875
|
-
|
|
2694
|
+
409: string;
|
|
2695
|
+
/**
|
|
2696
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2697
|
+
*/
|
|
2698
|
+
503: unknown;
|
|
1876
2699
|
};
|
|
1877
|
-
export type
|
|
2700
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2701
|
+
export type DeleteClusterResponses = {
|
|
1878
2702
|
/**
|
|
1879
|
-
*
|
|
2703
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1880
2704
|
*/
|
|
1881
|
-
200:
|
|
2705
|
+
200: string;
|
|
1882
2706
|
};
|
|
1883
|
-
export type
|
|
2707
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2708
|
+
export type GetClusterData = {
|
|
1884
2709
|
body?: never;
|
|
1885
2710
|
path: {
|
|
1886
2711
|
/**
|
|
1887
|
-
*
|
|
2712
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1888
2713
|
*/
|
|
1889
|
-
|
|
2714
|
+
cluster_id: string;
|
|
2715
|
+
};
|
|
2716
|
+
query?: never;
|
|
2717
|
+
url: '/clusters/{cluster_id}';
|
|
2718
|
+
};
|
|
2719
|
+
export type GetClusterResponses = {
|
|
2720
|
+
/**
|
|
2721
|
+
* Returns a single object containing cluster details.
|
|
2722
|
+
*/
|
|
2723
|
+
200: Cluster;
|
|
2724
|
+
};
|
|
2725
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2726
|
+
export type UpdateClusterData = {
|
|
2727
|
+
body: ClusterUpdateInput;
|
|
2728
|
+
path: {
|
|
1890
2729
|
/**
|
|
1891
|
-
*
|
|
2730
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1892
2731
|
*/
|
|
1893
|
-
|
|
2732
|
+
cluster_id: string;
|
|
2733
|
+
};
|
|
2734
|
+
query?: never;
|
|
2735
|
+
url: '/clusters/{cluster_id}';
|
|
2736
|
+
};
|
|
2737
|
+
export type UpdateClusterErrors = {
|
|
2738
|
+
/**
|
|
2739
|
+
* 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.
|
|
2740
|
+
*/
|
|
2741
|
+
409: string;
|
|
2742
|
+
};
|
|
2743
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2744
|
+
export type UpdateClusterResponses = {
|
|
2745
|
+
/**
|
|
2746
|
+
* Successfully updated. Returns updated cluster details.
|
|
2747
|
+
*/
|
|
2748
|
+
200: Cluster;
|
|
2749
|
+
};
|
|
2750
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2751
|
+
export type GetJoinInformationData = {
|
|
2752
|
+
body?: never;
|
|
2753
|
+
path: {
|
|
1894
2754
|
/**
|
|
1895
|
-
*
|
|
2755
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1896
2756
|
*/
|
|
1897
|
-
|
|
2757
|
+
cluster_id: string;
|
|
1898
2758
|
};
|
|
1899
2759
|
query?: never;
|
|
1900
|
-
url: '/
|
|
2760
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1901
2761
|
};
|
|
1902
|
-
export type
|
|
2762
|
+
export type GetJoinInformationErrors = {
|
|
1903
2763
|
/**
|
|
1904
2764
|
* Not authenticated
|
|
1905
2765
|
*/
|
|
1906
2766
|
401: unknown;
|
|
1907
2767
|
/**
|
|
1908
|
-
*
|
|
2768
|
+
* 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.
|
|
1909
2769
|
*/
|
|
1910
|
-
|
|
2770
|
+
409: string;
|
|
1911
2771
|
/**
|
|
1912
|
-
*
|
|
2772
|
+
* 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.
|
|
1913
2773
|
*/
|
|
1914
|
-
|
|
2774
|
+
426: string;
|
|
1915
2775
|
};
|
|
1916
|
-
export type
|
|
2776
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2777
|
+
export type GetJoinInformationResponses = {
|
|
1917
2778
|
/**
|
|
1918
|
-
*
|
|
2779
|
+
* An object of cluster join information
|
|
1919
2780
|
*/
|
|
1920
|
-
200:
|
|
2781
|
+
200: ClusterJoinInformation;
|
|
1921
2782
|
};
|
|
1922
|
-
export type
|
|
1923
|
-
export type
|
|
2783
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2784
|
+
export type GetUsageData = {
|
|
1924
2785
|
body?: never;
|
|
1925
2786
|
path?: never;
|
|
1926
|
-
query?:
|
|
1927
|
-
|
|
2787
|
+
query?: {
|
|
2788
|
+
/**
|
|
2789
|
+
* 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)
|
|
2790
|
+
*/
|
|
2791
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2792
|
+
};
|
|
2793
|
+
url: '/billing/usage';
|
|
1928
2794
|
};
|
|
1929
|
-
export type
|
|
2795
|
+
export type GetUsageErrors = {
|
|
1930
2796
|
/**
|
|
1931
2797
|
* Not authenticated
|
|
1932
2798
|
*/
|
|
1933
2799
|
401: unknown;
|
|
1934
2800
|
};
|
|
1935
|
-
export type
|
|
2801
|
+
export type GetUsageResponses = {
|
|
1936
2802
|
/**
|
|
1937
|
-
*
|
|
2803
|
+
* Usage data with facets for filtering
|
|
1938
2804
|
*/
|
|
1939
|
-
200:
|
|
2805
|
+
200: UsageResponse;
|
|
1940
2806
|
};
|
|
1941
|
-
export type
|
|
1942
|
-
export type
|
|
1943
|
-
body
|
|
2807
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2808
|
+
export type GetPaymentMethodSecretData = {
|
|
2809
|
+
body?: never;
|
|
1944
2810
|
path?: never;
|
|
1945
2811
|
query?: never;
|
|
1946
|
-
url: '/
|
|
1947
|
-
};
|
|
1948
|
-
export type CreateTokenErrors = {
|
|
1949
|
-
/**
|
|
1950
|
-
* Not authenticated
|
|
1951
|
-
*/
|
|
1952
|
-
401: unknown;
|
|
2812
|
+
url: '/billing/payment-method';
|
|
1953
2813
|
};
|
|
1954
|
-
export type
|
|
2814
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1955
2815
|
/**
|
|
1956
|
-
*
|
|
2816
|
+
* 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.
|
|
2817
|
+
*
|
|
1957
2818
|
*/
|
|
1958
|
-
200:
|
|
1959
|
-
};
|
|
1960
|
-
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1961
|
-
export type DeleteTokenData = {
|
|
1962
|
-
body?: never;
|
|
1963
|
-
path: {
|
|
2819
|
+
200: {
|
|
1964
2820
|
/**
|
|
1965
|
-
*
|
|
2821
|
+
* The client secret.
|
|
1966
2822
|
*/
|
|
1967
|
-
|
|
2823
|
+
id?: string;
|
|
1968
2824
|
};
|
|
1969
|
-
query?: never;
|
|
1970
|
-
url: '/tokens/{token_id}';
|
|
1971
|
-
};
|
|
1972
|
-
export type DeleteTokenResponses = {
|
|
1973
|
-
/**
|
|
1974
|
-
* Successfully deleted.
|
|
1975
|
-
*/
|
|
1976
|
-
200: unknown;
|
|
1977
2825
|
};
|
|
1978
|
-
export type
|
|
2826
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2827
|
+
export type ListPaymentMethodsData = {
|
|
1979
2828
|
body?: never;
|
|
1980
|
-
path
|
|
1981
|
-
/**
|
|
1982
|
-
* Generated unique identifier of the access token.
|
|
1983
|
-
*/
|
|
1984
|
-
token_id: string;
|
|
1985
|
-
};
|
|
2829
|
+
path?: never;
|
|
1986
2830
|
query?: never;
|
|
1987
|
-
url: '/
|
|
2831
|
+
url: '/billing/payment-methods';
|
|
1988
2832
|
};
|
|
1989
|
-
export type
|
|
2833
|
+
export type ListPaymentMethodsErrors = {
|
|
1990
2834
|
/**
|
|
1991
2835
|
* Not authenticated
|
|
1992
2836
|
*/
|
|
1993
2837
|
401: unknown;
|
|
1994
2838
|
};
|
|
1995
|
-
export type
|
|
2839
|
+
export type ListPaymentMethodsResponses = {
|
|
1996
2840
|
/**
|
|
1997
|
-
*
|
|
2841
|
+
* An array of payment methods.
|
|
1998
2842
|
*/
|
|
1999
|
-
200:
|
|
2843
|
+
200: Array<PaymentMethod>;
|
|
2000
2844
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
export type
|
|
2003
|
-
body
|
|
2845
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2846
|
+
export type SetDefaultPaymentMethodData = {
|
|
2847
|
+
body?: never;
|
|
2004
2848
|
path: {
|
|
2005
2849
|
/**
|
|
2006
|
-
*
|
|
2850
|
+
* Stripe payment method identifier.
|
|
2007
2851
|
*/
|
|
2008
|
-
|
|
2852
|
+
paymentMethodId: string;
|
|
2009
2853
|
};
|
|
2010
2854
|
query?: never;
|
|
2011
|
-
url: '/
|
|
2855
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2012
2856
|
};
|
|
2013
|
-
export type
|
|
2857
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2858
|
+
/**
|
|
2859
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2860
|
+
*/
|
|
2861
|
+
400: unknown;
|
|
2014
2862
|
/**
|
|
2015
2863
|
* Not authenticated
|
|
2016
2864
|
*/
|
|
2017
2865
|
401: unknown;
|
|
2866
|
+
/**
|
|
2867
|
+
* Payment method not found.
|
|
2868
|
+
*/
|
|
2869
|
+
404: unknown;
|
|
2018
2870
|
};
|
|
2019
|
-
export type
|
|
2871
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2020
2872
|
/**
|
|
2021
|
-
*
|
|
2873
|
+
* Default payment method updated.
|
|
2022
2874
|
*/
|
|
2023
|
-
|
|
2875
|
+
204: void;
|
|
2024
2876
|
};
|
|
2025
|
-
export type
|
|
2026
|
-
export type
|
|
2877
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2878
|
+
export type DeletePaymentMethodData = {
|
|
2027
2879
|
body?: never;
|
|
2028
2880
|
path: {
|
|
2029
2881
|
/**
|
|
2030
|
-
*
|
|
2882
|
+
* Stripe payment method identifier.
|
|
2031
2883
|
*/
|
|
2032
|
-
|
|
2884
|
+
paymentMethodId: string;
|
|
2033
2885
|
};
|
|
2034
2886
|
query?: never;
|
|
2035
|
-
url: '/
|
|
2887
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2036
2888
|
};
|
|
2037
|
-
export type
|
|
2889
|
+
export type DeletePaymentMethodErrors = {
|
|
2890
|
+
/**
|
|
2891
|
+
* The bank transfer payment method cannot be removed.
|
|
2892
|
+
*/
|
|
2893
|
+
400: unknown;
|
|
2038
2894
|
/**
|
|
2039
2895
|
* Not authenticated
|
|
2040
2896
|
*/
|
|
2041
2897
|
401: unknown;
|
|
2898
|
+
/**
|
|
2899
|
+
* Payment method not found.
|
|
2900
|
+
*/
|
|
2901
|
+
404: unknown;
|
|
2902
|
+
/**
|
|
2903
|
+
* Cannot delete the only remaining payment method.
|
|
2904
|
+
*/
|
|
2905
|
+
409: unknown;
|
|
2042
2906
|
};
|
|
2043
|
-
export type
|
|
2907
|
+
export type DeletePaymentMethodResponses = {
|
|
2044
2908
|
/**
|
|
2045
|
-
*
|
|
2909
|
+
* Payment method deleted.
|
|
2046
2910
|
*/
|
|
2047
|
-
|
|
2911
|
+
204: void;
|
|
2048
2912
|
};
|
|
2049
|
-
export type
|
|
2050
|
-
export type
|
|
2913
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2914
|
+
export type ListInvoicesData = {
|
|
2051
2915
|
body?: never;
|
|
2052
|
-
path
|
|
2053
|
-
/**
|
|
2054
|
-
* User email address.
|
|
2055
|
-
*/
|
|
2056
|
-
email: string;
|
|
2057
|
-
};
|
|
2916
|
+
path?: never;
|
|
2058
2917
|
query?: never;
|
|
2059
|
-
url: '/
|
|
2918
|
+
url: '/billing/invoices';
|
|
2060
2919
|
};
|
|
2061
|
-
export type
|
|
2920
|
+
export type ListInvoicesErrors = {
|
|
2062
2921
|
/**
|
|
2063
|
-
*
|
|
2922
|
+
* Not authenticated
|
|
2064
2923
|
*/
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2068
|
-
*/
|
|
2069
|
-
realm?: string;
|
|
2070
|
-
/**
|
|
2071
|
-
* Human-readable name of the organization
|
|
2072
|
-
*/
|
|
2073
|
-
displayName?: string;
|
|
2074
|
-
}>;
|
|
2924
|
+
401: unknown;
|
|
2075
2925
|
};
|
|
2076
|
-
export type
|
|
2077
|
-
|
|
2926
|
+
export type ListInvoicesResponses = {
|
|
2927
|
+
/**
|
|
2928
|
+
* An array of usage records.
|
|
2929
|
+
*/
|
|
2930
|
+
200: Array<Invoice>;
|
|
2931
|
+
};
|
|
2932
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2933
|
+
export type PayOpenInvoicesData = {
|
|
2078
2934
|
body?: never;
|
|
2079
2935
|
path?: never;
|
|
2080
2936
|
query?: never;
|
|
2081
|
-
url: '/
|
|
2937
|
+
url: '/billing/invoices/pay';
|
|
2082
2938
|
};
|
|
2083
|
-
export type
|
|
2939
|
+
export type PayOpenInvoicesErrors = {
|
|
2940
|
+
/**
|
|
2941
|
+
* The organization has no payment method that can be charged.
|
|
2942
|
+
*/
|
|
2943
|
+
400: unknown;
|
|
2084
2944
|
/**
|
|
2085
2945
|
* Not authenticated
|
|
2086
2946
|
*/
|
|
2087
2947
|
401: unknown;
|
|
2948
|
+
/**
|
|
2949
|
+
* Too many payment attempts for this organization.
|
|
2950
|
+
*/
|
|
2951
|
+
429: unknown;
|
|
2088
2952
|
};
|
|
2089
|
-
export type
|
|
2953
|
+
export type PayOpenInvoicesResponses = {
|
|
2090
2954
|
/**
|
|
2091
|
-
*
|
|
2955
|
+
* The outcome of the attempt.
|
|
2092
2956
|
*/
|
|
2093
|
-
200:
|
|
2957
|
+
200: InvoicePaymentResult;
|
|
2094
2958
|
};
|
|
2095
|
-
export type
|
|
2096
|
-
export type
|
|
2097
|
-
body
|
|
2959
|
+
export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
|
|
2960
|
+
export type GetContactData = {
|
|
2961
|
+
body?: never;
|
|
2098
2962
|
path?: never;
|
|
2099
2963
|
query?: never;
|
|
2100
|
-
url: '/
|
|
2964
|
+
url: '/billing/contact';
|
|
2101
2965
|
};
|
|
2102
|
-
export type
|
|
2966
|
+
export type GetContactResponses = {
|
|
2103
2967
|
/**
|
|
2104
|
-
*
|
|
2968
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2105
2969
|
*/
|
|
2106
|
-
200:
|
|
2970
|
+
200: BillingContact;
|
|
2107
2971
|
};
|
|
2108
|
-
export type
|
|
2109
|
-
export type
|
|
2110
|
-
body
|
|
2111
|
-
path
|
|
2112
|
-
/**
|
|
2113
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2114
|
-
*/
|
|
2115
|
-
user_id: string;
|
|
2116
|
-
};
|
|
2972
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2973
|
+
export type UpdateContactData = {
|
|
2974
|
+
body: BillingContact;
|
|
2975
|
+
path?: never;
|
|
2117
2976
|
query?: never;
|
|
2118
|
-
url: '/
|
|
2977
|
+
url: '/billing/contact';
|
|
2119
2978
|
};
|
|
2120
|
-
export type
|
|
2979
|
+
export type UpdateContactResponses = {
|
|
2121
2980
|
/**
|
|
2122
|
-
*
|
|
2981
|
+
* Successfully updated. Returns updated organization details.
|
|
2123
2982
|
*/
|
|
2124
|
-
|
|
2983
|
+
200: BillingContact;
|
|
2984
|
+
};
|
|
2985
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2986
|
+
export type GetCreditsData = {
|
|
2987
|
+
body?: never;
|
|
2988
|
+
path?: never;
|
|
2989
|
+
query?: never;
|
|
2990
|
+
url: '/billing/credits';
|
|
2991
|
+
};
|
|
2992
|
+
export type GetCreditsErrors = {
|
|
2125
2993
|
/**
|
|
2126
2994
|
* Not authenticated
|
|
2127
2995
|
*/
|
|
2128
2996
|
401: unknown;
|
|
2129
2997
|
};
|
|
2130
|
-
export type
|
|
2998
|
+
export type GetCreditsResponses = {
|
|
2131
2999
|
/**
|
|
2132
|
-
*
|
|
3000
|
+
* An array of the applied promotional credits records.
|
|
2133
3001
|
*/
|
|
2134
|
-
200:
|
|
3002
|
+
200: Array<BillingCredits>;
|
|
2135
3003
|
};
|
|
2136
|
-
export type
|
|
2137
|
-
export type
|
|
2138
|
-
body
|
|
2139
|
-
path: {
|
|
3004
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
3005
|
+
export type RedeemCreditsData = {
|
|
3006
|
+
body: {
|
|
2140
3007
|
/**
|
|
2141
|
-
*
|
|
3008
|
+
* Promotional code to redeem
|
|
2142
3009
|
*/
|
|
2143
|
-
|
|
3010
|
+
code?: string;
|
|
2144
3011
|
};
|
|
3012
|
+
path?: never;
|
|
2145
3013
|
query?: never;
|
|
2146
|
-
url: '/
|
|
3014
|
+
url: '/billing/credits';
|
|
2147
3015
|
};
|
|
2148
|
-
export type
|
|
3016
|
+
export type RedeemCreditsErrors = {
|
|
2149
3017
|
/**
|
|
2150
3018
|
* Not authenticated
|
|
2151
3019
|
*/
|
|
2152
3020
|
401: unknown;
|
|
2153
3021
|
};
|
|
2154
|
-
export type
|
|
2155
|
-
/**
|
|
2156
|
-
* User profile information
|
|
2157
|
-
*/
|
|
2158
|
-
200: User;
|
|
2159
|
-
};
|
|
2160
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2161
|
-
export type UpdateUserData = {
|
|
2162
|
-
body: UserUpdateInput;
|
|
2163
|
-
path: {
|
|
2164
|
-
/**
|
|
2165
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2166
|
-
*/
|
|
2167
|
-
user_id: string;
|
|
2168
|
-
};
|
|
2169
|
-
query?: never;
|
|
2170
|
-
url: '/users/{user_id}';
|
|
2171
|
-
};
|
|
2172
|
-
export type UpdateUserResponses = {
|
|
3022
|
+
export type RedeemCreditsResponses = {
|
|
2173
3023
|
/**
|
|
2174
|
-
* Successfully created
|
|
3024
|
+
* Successfully created a new organization.
|
|
2175
3025
|
*/
|
|
2176
|
-
200:
|
|
3026
|
+
200: unknown;
|
|
2177
3027
|
};
|
|
2178
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2179
3028
|
//# sourceMappingURL=types.gen.d.ts.map
|