@cloudfleet/sdk 0.0.1-48f3efe → 0.0.1-4a07f21
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/dist/@tanstack/react-query.gen.d.ts +1156 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1148 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +220 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +1021 -484
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1626 -575
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +179 -69
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +240 -178
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +955 -327
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1910 -2102
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +618 -738
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -7
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
6
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
@@ -36,13 +39,9 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* Name of the billing contact person.
|
|
40
43
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
44
|
-
*/
|
|
45
|
-
last_name: string;
|
|
44
|
+
individual_name: string;
|
|
46
45
|
/**
|
|
47
46
|
* Tax ID of the organization.
|
|
48
47
|
*/
|
|
@@ -58,35 +57,31 @@ export type BillingCredits = {
|
|
|
58
57
|
*/
|
|
59
58
|
id?: string;
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
66
61
|
*/
|
|
67
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
date_start: string;
|
|
72
67
|
/**
|
|
73
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
69
|
*/
|
|
75
|
-
|
|
70
|
+
date_end?: string;
|
|
76
71
|
/**
|
|
77
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
78
73
|
*/
|
|
79
|
-
|
|
74
|
+
code: string;
|
|
80
75
|
/**
|
|
81
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
82
77
|
*/
|
|
83
|
-
|
|
78
|
+
description?: string;
|
|
84
79
|
/**
|
|
85
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
86
81
|
*/
|
|
87
|
-
|
|
82
|
+
value_total: number;
|
|
88
83
|
/**
|
|
89
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
90
85
|
*/
|
|
91
86
|
value_remaining?: number;
|
|
92
87
|
};
|
|
@@ -169,18 +164,18 @@ export type ClusterCreateInput = {
|
|
|
169
164
|
* Name of the cluster.
|
|
170
165
|
*/
|
|
171
166
|
name: string;
|
|
172
|
-
/**
|
|
173
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
174
|
-
*/
|
|
175
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
176
167
|
/**
|
|
177
168
|
* Tier of the cluster.
|
|
178
169
|
*/
|
|
179
170
|
tier: 'basic' | 'pro';
|
|
171
|
+
/**
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
+
*/
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
180
175
|
/**
|
|
181
176
|
* Version of the kubernetes cluster.
|
|
182
177
|
*/
|
|
183
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
184
179
|
};
|
|
185
180
|
export type ClusterJoinInformation = {
|
|
186
181
|
/**
|
|
@@ -191,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
191
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
187
|
*/
|
|
193
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
194
193
|
/**
|
|
195
194
|
* Authentication key for the cluster.
|
|
196
195
|
*/
|
|
@@ -215,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
215
214
|
* Containerd version of the cluster.
|
|
216
215
|
*/
|
|
217
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
218
221
|
};
|
|
219
222
|
/**
|
|
220
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -239,18 +242,14 @@ export type Cluster = {
|
|
|
239
242
|
* Name of the cluster.
|
|
240
243
|
*/
|
|
241
244
|
name: string;
|
|
242
|
-
/**
|
|
243
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
244
|
-
*/
|
|
245
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
246
245
|
/**
|
|
247
246
|
* Tier of the cluster.
|
|
248
247
|
*/
|
|
249
248
|
tier: 'basic' | 'pro';
|
|
250
249
|
/**
|
|
251
|
-
*
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
252
251
|
*/
|
|
253
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
254
253
|
/**
|
|
255
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
256
255
|
*/
|
|
@@ -258,7 +257,7 @@ export type Cluster = {
|
|
|
258
257
|
/**
|
|
259
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
259
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
261
|
endpoint?: string | '';
|
|
263
262
|
/**
|
|
264
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -280,12 +279,20 @@ export type Cluster = {
|
|
|
280
279
|
* Indicates if the cluster is ready to be used.
|
|
281
280
|
*/
|
|
282
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
283
286
|
};
|
|
284
287
|
export type ClusterUpdateInput = {
|
|
285
288
|
/**
|
|
286
289
|
* Name of the cluster.
|
|
287
290
|
*/
|
|
288
291
|
name?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Tier of the cluster.
|
|
294
|
+
*/
|
|
295
|
+
tier: 'basic' | 'pro';
|
|
289
296
|
/**
|
|
290
297
|
* Version of the kubernetes cluster.
|
|
291
298
|
*/
|
|
@@ -419,396 +426,688 @@ export type Invite = {
|
|
|
419
426
|
};
|
|
420
427
|
export type Invoice = {
|
|
421
428
|
/**
|
|
422
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
423
430
|
*/
|
|
424
431
|
id?: string;
|
|
425
|
-
|
|
426
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
427
|
-
*/
|
|
428
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
429
433
|
/**
|
|
430
434
|
* Status of the invoice
|
|
431
435
|
*/
|
|
432
|
-
status?:
|
|
436
|
+
status?: string;
|
|
433
437
|
/**
|
|
434
438
|
* Total amount of the invoice
|
|
435
439
|
*/
|
|
436
|
-
|
|
440
|
+
total?: number;
|
|
437
441
|
/**
|
|
438
442
|
* Currency of the invoice
|
|
439
443
|
*/
|
|
440
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
441
445
|
/**
|
|
442
|
-
*
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
443
447
|
*/
|
|
444
|
-
|
|
448
|
+
created: string;
|
|
445
449
|
/**
|
|
446
|
-
*
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
447
451
|
*/
|
|
448
|
-
|
|
452
|
+
period_start: string;
|
|
449
453
|
/**
|
|
450
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
455
|
*/
|
|
452
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
453
460
|
/**
|
|
454
|
-
*
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
455
462
|
*/
|
|
456
|
-
|
|
463
|
+
chartYaml?: string;
|
|
457
464
|
/**
|
|
458
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
459
466
|
*/
|
|
460
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
461
468
|
/**
|
|
462
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
463
470
|
*/
|
|
464
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
465
474
|
/**
|
|
466
|
-
*
|
|
475
|
+
* Name of the chart
|
|
467
476
|
*/
|
|
468
|
-
|
|
477
|
+
name: string;
|
|
469
478
|
/**
|
|
470
|
-
*
|
|
479
|
+
* Available versions of the chart
|
|
471
480
|
*/
|
|
472
|
-
|
|
481
|
+
versions: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Version channels for the chart
|
|
484
|
+
*/
|
|
485
|
+
version_channels: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Latest version of the chart
|
|
488
|
+
*/
|
|
489
|
+
latestVersion: string;
|
|
490
|
+
/**
|
|
491
|
+
* Chart metadata
|
|
492
|
+
*/
|
|
493
|
+
metadata?: {
|
|
473
494
|
/**
|
|
474
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
475
496
|
*/
|
|
476
|
-
|
|
497
|
+
name: string;
|
|
477
498
|
/**
|
|
478
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
479
500
|
*/
|
|
480
|
-
|
|
501
|
+
version: string;
|
|
481
502
|
/**
|
|
482
|
-
*
|
|
503
|
+
* Chart description
|
|
483
504
|
*/
|
|
484
|
-
|
|
505
|
+
description?: string;
|
|
485
506
|
/**
|
|
486
|
-
*
|
|
507
|
+
* Application version
|
|
487
508
|
*/
|
|
488
|
-
|
|
509
|
+
appVersion?: string;
|
|
489
510
|
/**
|
|
490
|
-
*
|
|
511
|
+
* Helm API version
|
|
491
512
|
*/
|
|
492
|
-
|
|
513
|
+
apiVersion?: string;
|
|
493
514
|
/**
|
|
494
|
-
*
|
|
515
|
+
* Chart keywords
|
|
495
516
|
*/
|
|
496
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
497
518
|
/**
|
|
498
|
-
*
|
|
519
|
+
* Chart home URL
|
|
499
520
|
*/
|
|
500
|
-
|
|
521
|
+
home?: string;
|
|
501
522
|
/**
|
|
502
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
503
524
|
*/
|
|
504
|
-
|
|
525
|
+
icon?: string;
|
|
505
526
|
/**
|
|
506
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
507
528
|
*/
|
|
508
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
509
530
|
/**
|
|
510
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
511
532
|
*/
|
|
512
|
-
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
export type OrganizationCreateInput = {
|
|
546
|
+
/**
|
|
547
|
+
* Email address used for billing as a string.
|
|
548
|
+
*/
|
|
549
|
+
email: string;
|
|
550
|
+
/**
|
|
551
|
+
* First name of the billing contact person.
|
|
552
|
+
*/
|
|
553
|
+
first_name: string;
|
|
554
|
+
/**
|
|
555
|
+
* Last name of the billing contact person.
|
|
556
|
+
*/
|
|
557
|
+
last_name: string;
|
|
558
|
+
/**
|
|
559
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
560
|
+
*/
|
|
561
|
+
company_name: string;
|
|
562
|
+
/**
|
|
563
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
564
|
+
*/
|
|
565
|
+
password: string;
|
|
566
|
+
};
|
|
567
|
+
export type Organization = {
|
|
568
|
+
/**
|
|
569
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
570
|
+
*/
|
|
571
|
+
id: string;
|
|
572
|
+
/**
|
|
573
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
|
+
*/
|
|
575
|
+
name?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
|
+
*/
|
|
579
|
+
date_created: string;
|
|
580
|
+
/**
|
|
581
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
582
|
+
*/
|
|
583
|
+
quota: {
|
|
513
584
|
/**
|
|
514
|
-
*
|
|
585
|
+
* Maximum number of Basic clusters that can be created.
|
|
515
586
|
*/
|
|
516
|
-
|
|
587
|
+
basic_clusters_max: number;
|
|
517
588
|
/**
|
|
518
|
-
*
|
|
589
|
+
* Available number of Basic clusters that can be created.
|
|
519
590
|
*/
|
|
520
|
-
|
|
591
|
+
basic_clusters_available: number;
|
|
521
592
|
/**
|
|
522
|
-
*
|
|
593
|
+
* Maximum number of Pro clusters that can be created.
|
|
523
594
|
*/
|
|
524
|
-
|
|
595
|
+
pro_clusters_max: number;
|
|
525
596
|
/**
|
|
526
|
-
*
|
|
597
|
+
* Available number of Pro clusters that can be created.
|
|
527
598
|
*/
|
|
528
|
-
|
|
599
|
+
pro_clusters_available: number;
|
|
529
600
|
/**
|
|
530
|
-
*
|
|
601
|
+
* Maximum number of fleets that can be created per cluster.
|
|
531
602
|
*/
|
|
532
|
-
|
|
603
|
+
fleets_max: number;
|
|
533
604
|
/**
|
|
534
|
-
*
|
|
605
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
535
606
|
*/
|
|
536
|
-
|
|
607
|
+
cluster_tiers: Array<string>;
|
|
537
608
|
/**
|
|
538
|
-
*
|
|
609
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
539
610
|
*/
|
|
540
|
-
|
|
611
|
+
regions: Array<string>;
|
|
541
612
|
/**
|
|
542
|
-
*
|
|
613
|
+
* List of CFKE control plane versions available for the organization.
|
|
543
614
|
*/
|
|
544
|
-
|
|
615
|
+
versions: Array<{
|
|
616
|
+
/**
|
|
617
|
+
* Id of the control plane version. Used in API calls.
|
|
618
|
+
*/
|
|
619
|
+
id: string;
|
|
620
|
+
/**
|
|
621
|
+
* Label of the control plane version. Used in frontent UI.
|
|
622
|
+
*/
|
|
623
|
+
label: string;
|
|
624
|
+
}>;
|
|
545
625
|
/**
|
|
546
|
-
*
|
|
626
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
547
627
|
*/
|
|
548
|
-
|
|
628
|
+
cfcr_storage_gb: number;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
|
+
*/
|
|
633
|
+
status: 'active' | 'closed' | 'suspended';
|
|
634
|
+
};
|
|
635
|
+
export type PaymentMethod = {
|
|
636
|
+
/**
|
|
637
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
638
|
+
*/
|
|
639
|
+
id: string;
|
|
640
|
+
/**
|
|
641
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
642
|
+
*/
|
|
643
|
+
setup: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
646
|
+
*/
|
|
647
|
+
type: 'card';
|
|
648
|
+
/**
|
|
649
|
+
* Last 4 digits of the payment card number.
|
|
650
|
+
*/
|
|
651
|
+
last4: string;
|
|
652
|
+
/**
|
|
653
|
+
* Two-digit number representing the card's expiration month.
|
|
654
|
+
*/
|
|
655
|
+
exp_month: number;
|
|
656
|
+
/**
|
|
657
|
+
* Four-digit number representing the card's expiration year.
|
|
658
|
+
*/
|
|
659
|
+
exp_year: number;
|
|
660
|
+
/**
|
|
661
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
662
|
+
*/
|
|
663
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
664
|
+
};
|
|
665
|
+
export type PlatformQuota = {
|
|
666
|
+
/**
|
|
667
|
+
* Maximum number of Basic clusters that can be created.
|
|
668
|
+
*/
|
|
669
|
+
basic_clusters_max: number;
|
|
670
|
+
/**
|
|
671
|
+
* Available number of Basic clusters that can be created.
|
|
672
|
+
*/
|
|
673
|
+
basic_clusters_available: number;
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of Pro clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
pro_clusters_max: number;
|
|
678
|
+
/**
|
|
679
|
+
* Available number of Pro clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
pro_clusters_available: number;
|
|
682
|
+
/**
|
|
683
|
+
* Maximum number of fleets that can be created per cluster.
|
|
684
|
+
*/
|
|
685
|
+
fleets_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
688
|
+
*/
|
|
689
|
+
cluster_tiers: Array<string>;
|
|
690
|
+
/**
|
|
691
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
692
|
+
*/
|
|
693
|
+
regions: Array<string>;
|
|
694
|
+
/**
|
|
695
|
+
* List of CFKE control plane versions available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
versions: Array<{
|
|
549
698
|
/**
|
|
550
|
-
*
|
|
699
|
+
* Id of the control plane version. Used in API calls.
|
|
551
700
|
*/
|
|
552
|
-
|
|
701
|
+
id: string;
|
|
553
702
|
/**
|
|
554
|
-
*
|
|
703
|
+
* Label of the control plane version. Used in frontent UI.
|
|
555
704
|
*/
|
|
556
|
-
|
|
557
|
-
[key: string]: unknown;
|
|
558
|
-
} | string>;
|
|
705
|
+
label: string;
|
|
559
706
|
}>;
|
|
560
707
|
/**
|
|
561
|
-
*
|
|
708
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
562
709
|
*/
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
710
|
+
cfcr_storage_gb: number;
|
|
711
|
+
};
|
|
712
|
+
export type RegistryRepository = {
|
|
713
|
+
/**
|
|
714
|
+
* Repository name.
|
|
715
|
+
*/
|
|
716
|
+
name: string;
|
|
717
|
+
/**
|
|
718
|
+
* Registry region.
|
|
719
|
+
*/
|
|
720
|
+
region: string;
|
|
721
|
+
/**
|
|
722
|
+
* Full URI of the repository.
|
|
723
|
+
*/
|
|
724
|
+
uri: string;
|
|
725
|
+
};
|
|
726
|
+
export type RegistryRepositoryWithTags = {
|
|
727
|
+
/**
|
|
728
|
+
* Repository name.
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
/**
|
|
732
|
+
* Registry region.
|
|
733
|
+
*/
|
|
734
|
+
region: string;
|
|
735
|
+
/**
|
|
736
|
+
* Full URI of the repository.
|
|
737
|
+
*/
|
|
738
|
+
uri: string;
|
|
739
|
+
/**
|
|
740
|
+
* Array of tags in the repository.
|
|
741
|
+
*/
|
|
742
|
+
tags: Array<{
|
|
572
743
|
/**
|
|
573
|
-
*
|
|
744
|
+
* Tag name.
|
|
574
745
|
*/
|
|
575
|
-
|
|
746
|
+
name: string;
|
|
576
747
|
/**
|
|
577
|
-
*
|
|
748
|
+
* Size of the tag in bytes.
|
|
578
749
|
*/
|
|
579
|
-
|
|
750
|
+
size: number;
|
|
580
751
|
/**
|
|
581
|
-
*
|
|
752
|
+
* Media type of the manifest.
|
|
582
753
|
*/
|
|
583
|
-
|
|
754
|
+
mediaType?: string;
|
|
584
755
|
/**
|
|
585
|
-
*
|
|
756
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
586
757
|
*/
|
|
587
|
-
|
|
758
|
+
platforms?: Array<string>;
|
|
759
|
+
}>;
|
|
760
|
+
/**
|
|
761
|
+
* Total size of all tags in the repository in bytes.
|
|
762
|
+
*/
|
|
763
|
+
totalSize: number;
|
|
764
|
+
};
|
|
765
|
+
export type RegistryTag = {
|
|
766
|
+
/**
|
|
767
|
+
* Tag name.
|
|
768
|
+
*/
|
|
769
|
+
name: string;
|
|
770
|
+
/**
|
|
771
|
+
* Manifest digest for pulling by digest.
|
|
772
|
+
*/
|
|
773
|
+
digest: string;
|
|
774
|
+
/**
|
|
775
|
+
* Media type of the manifest.
|
|
776
|
+
*/
|
|
777
|
+
mediaType?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Manifest config metadata.
|
|
780
|
+
*/
|
|
781
|
+
config?: {
|
|
588
782
|
/**
|
|
589
|
-
*
|
|
783
|
+
* Size of the config in bytes.
|
|
590
784
|
*/
|
|
591
|
-
|
|
785
|
+
size: number;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Array of layer metadata.
|
|
789
|
+
*/
|
|
790
|
+
layers?: Array<{
|
|
592
791
|
/**
|
|
593
|
-
*
|
|
792
|
+
* Digest of the layer.
|
|
594
793
|
*/
|
|
595
|
-
|
|
794
|
+
digest?: string;
|
|
596
795
|
/**
|
|
597
|
-
*
|
|
796
|
+
* Size of the layer in bytes.
|
|
598
797
|
*/
|
|
599
|
-
|
|
798
|
+
size: number;
|
|
799
|
+
}>;
|
|
800
|
+
/**
|
|
801
|
+
* Array of manifests for multi-arch images.
|
|
802
|
+
*/
|
|
803
|
+
manifests?: Array<{
|
|
600
804
|
/**
|
|
601
|
-
*
|
|
805
|
+
* Digest of the manifest.
|
|
602
806
|
*/
|
|
603
|
-
|
|
807
|
+
digest: string;
|
|
604
808
|
/**
|
|
605
|
-
*
|
|
809
|
+
* Platform information for the manifest.
|
|
606
810
|
*/
|
|
607
|
-
|
|
811
|
+
platform?: {
|
|
812
|
+
/**
|
|
813
|
+
* Architecture of the platform.
|
|
814
|
+
*/
|
|
815
|
+
architecture: string;
|
|
816
|
+
/**
|
|
817
|
+
* Operating system of the platform.
|
|
818
|
+
*/
|
|
819
|
+
os: string;
|
|
820
|
+
/**
|
|
821
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
822
|
+
*/
|
|
823
|
+
variant?: string;
|
|
824
|
+
};
|
|
608
825
|
/**
|
|
609
|
-
*
|
|
826
|
+
* Layers for this platform.
|
|
610
827
|
*/
|
|
611
|
-
|
|
828
|
+
layers?: Array<{
|
|
829
|
+
/**
|
|
830
|
+
* Digest of the layer.
|
|
831
|
+
*/
|
|
832
|
+
digest?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Size of the layer in bytes.
|
|
835
|
+
*/
|
|
836
|
+
size: number;
|
|
837
|
+
}>;
|
|
612
838
|
/**
|
|
613
|
-
*
|
|
839
|
+
* Total size of this platform manifest in bytes.
|
|
614
840
|
*/
|
|
615
|
-
|
|
841
|
+
size?: number;
|
|
842
|
+
}>;
|
|
843
|
+
/**
|
|
844
|
+
* Total size of the tag in bytes.
|
|
845
|
+
*/
|
|
846
|
+
size: number;
|
|
847
|
+
/**
|
|
848
|
+
* Registry region.
|
|
849
|
+
*/
|
|
850
|
+
region: string;
|
|
851
|
+
/**
|
|
852
|
+
* Repository name.
|
|
853
|
+
*/
|
|
854
|
+
repository: string;
|
|
855
|
+
/**
|
|
856
|
+
* Full URI of the tag.
|
|
857
|
+
*/
|
|
858
|
+
uri: string;
|
|
859
|
+
};
|
|
860
|
+
export type TicketAttachment = {
|
|
861
|
+
/**
|
|
862
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
863
|
+
*/
|
|
864
|
+
id: string;
|
|
865
|
+
/**
|
|
866
|
+
* Original filename as uploaded.
|
|
867
|
+
*/
|
|
868
|
+
filename: string;
|
|
869
|
+
/**
|
|
870
|
+
* MIME content type of the attachment.
|
|
871
|
+
*/
|
|
872
|
+
content_type: string;
|
|
873
|
+
/**
|
|
874
|
+
* Size of the attachment in bytes.
|
|
875
|
+
*/
|
|
876
|
+
size: number;
|
|
877
|
+
};
|
|
878
|
+
export type TicketCreateInput = {
|
|
879
|
+
/**
|
|
880
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
881
|
+
*/
|
|
882
|
+
category: 'billing' | 'technical' | 'general';
|
|
883
|
+
/**
|
|
884
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
885
|
+
*/
|
|
886
|
+
body: string;
|
|
887
|
+
/**
|
|
888
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
889
|
+
*/
|
|
890
|
+
properties?: {
|
|
891
|
+
[key: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
export type TicketListResponse = {
|
|
895
|
+
/**
|
|
896
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
897
|
+
*/
|
|
898
|
+
items: Array<{
|
|
616
899
|
/**
|
|
617
|
-
*
|
|
900
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
618
901
|
*/
|
|
619
|
-
|
|
902
|
+
id: string;
|
|
620
903
|
/**
|
|
621
|
-
*
|
|
904
|
+
* Current state of the ticket.
|
|
622
905
|
*/
|
|
623
|
-
|
|
906
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
624
907
|
/**
|
|
625
|
-
*
|
|
908
|
+
* Ticket category.
|
|
626
909
|
*/
|
|
627
|
-
|
|
910
|
+
category: 'billing' | 'technical' | 'general';
|
|
628
911
|
/**
|
|
629
|
-
*
|
|
912
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
630
913
|
*/
|
|
631
|
-
|
|
914
|
+
summary: string;
|
|
632
915
|
/**
|
|
633
|
-
*
|
|
916
|
+
* Closure timestamp. Null while the ticket is open.
|
|
634
917
|
*/
|
|
635
|
-
|
|
918
|
+
closed_at?: string;
|
|
636
919
|
/**
|
|
637
|
-
*
|
|
920
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
638
921
|
*/
|
|
639
|
-
|
|
922
|
+
date_created: string;
|
|
640
923
|
/**
|
|
641
|
-
*
|
|
924
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
642
925
|
*/
|
|
643
|
-
|
|
926
|
+
date_updated: string;
|
|
644
927
|
/**
|
|
645
|
-
*
|
|
928
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
646
929
|
*/
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
930
|
+
messages?: Array<{
|
|
931
|
+
/**
|
|
932
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
933
|
+
*/
|
|
934
|
+
id: string;
|
|
935
|
+
/**
|
|
936
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
937
|
+
*/
|
|
938
|
+
type: 'customer_reply' | 'agent_reply';
|
|
939
|
+
/**
|
|
940
|
+
* Message body in markdown.
|
|
941
|
+
*/
|
|
942
|
+
body: string;
|
|
943
|
+
/**
|
|
944
|
+
* First name of the author. Null when not provided.
|
|
945
|
+
*/
|
|
946
|
+
author_first_name?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Last name of the author. Null when not provided.
|
|
949
|
+
*/
|
|
950
|
+
author_last_name?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Attachments associated with this message.
|
|
953
|
+
*/
|
|
954
|
+
attachments?: Array<{
|
|
955
|
+
/**
|
|
956
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
957
|
+
*/
|
|
958
|
+
id: string;
|
|
959
|
+
/**
|
|
960
|
+
* Original filename as uploaded.
|
|
961
|
+
*/
|
|
962
|
+
filename: string;
|
|
963
|
+
/**
|
|
964
|
+
* MIME content type of the attachment.
|
|
965
|
+
*/
|
|
966
|
+
content_type: string;
|
|
967
|
+
/**
|
|
968
|
+
* Size of the attachment in bytes.
|
|
969
|
+
*/
|
|
970
|
+
size: number;
|
|
971
|
+
}>;
|
|
972
|
+
/**
|
|
973
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
974
|
+
*/
|
|
975
|
+
date_created: string;
|
|
976
|
+
}>;
|
|
650
977
|
}>;
|
|
651
978
|
};
|
|
652
|
-
export type
|
|
979
|
+
export type TicketMessageInput = {
|
|
653
980
|
/**
|
|
654
|
-
*
|
|
981
|
+
* Reply body in markdown.
|
|
655
982
|
*/
|
|
656
|
-
|
|
983
|
+
body: string;
|
|
984
|
+
};
|
|
985
|
+
export type TicketMessage = {
|
|
657
986
|
/**
|
|
658
|
-
*
|
|
987
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
659
988
|
*/
|
|
660
|
-
|
|
989
|
+
id: string;
|
|
661
990
|
/**
|
|
662
|
-
*
|
|
991
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
663
992
|
*/
|
|
664
|
-
|
|
993
|
+
type: 'customer_reply' | 'agent_reply';
|
|
665
994
|
/**
|
|
666
|
-
*
|
|
995
|
+
* Message body in markdown.
|
|
667
996
|
*/
|
|
668
|
-
|
|
997
|
+
body: string;
|
|
669
998
|
/**
|
|
670
|
-
*
|
|
999
|
+
* First name of the author. Null when not provided.
|
|
671
1000
|
*/
|
|
672
|
-
|
|
1001
|
+
author_first_name?: string;
|
|
673
1002
|
/**
|
|
674
|
-
*
|
|
1003
|
+
* Last name of the author. Null when not provided.
|
|
675
1004
|
*/
|
|
676
|
-
|
|
1005
|
+
author_last_name?: string;
|
|
677
1006
|
/**
|
|
678
|
-
*
|
|
1007
|
+
* Attachments associated with this message.
|
|
679
1008
|
*/
|
|
680
|
-
|
|
681
|
-
version_channels: Array<string>;
|
|
682
|
-
value_schemas: Array<{
|
|
1009
|
+
attachments?: Array<{
|
|
683
1010
|
/**
|
|
684
|
-
*
|
|
1011
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
685
1012
|
*/
|
|
686
|
-
|
|
1013
|
+
id: string;
|
|
687
1014
|
/**
|
|
688
|
-
*
|
|
1015
|
+
* Original filename as uploaded.
|
|
689
1016
|
*/
|
|
690
|
-
|
|
1017
|
+
filename: string;
|
|
691
1018
|
/**
|
|
692
|
-
*
|
|
1019
|
+
* MIME content type of the attachment.
|
|
693
1020
|
*/
|
|
694
|
-
|
|
1021
|
+
content_type: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Size of the attachment in bytes.
|
|
1024
|
+
*/
|
|
1025
|
+
size: number;
|
|
695
1026
|
}>;
|
|
696
|
-
};
|
|
697
|
-
export type OrganizationCreateInput = {
|
|
698
1027
|
/**
|
|
699
|
-
*
|
|
1028
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
700
1029
|
*/
|
|
701
|
-
|
|
1030
|
+
date_created: string;
|
|
1031
|
+
};
|
|
1032
|
+
export type Ticket = {
|
|
702
1033
|
/**
|
|
703
|
-
*
|
|
1034
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
704
1035
|
*/
|
|
705
|
-
|
|
1036
|
+
id: string;
|
|
706
1037
|
/**
|
|
707
|
-
*
|
|
1038
|
+
* Current state of the ticket.
|
|
708
1039
|
*/
|
|
709
|
-
|
|
1040
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
710
1041
|
/**
|
|
711
|
-
*
|
|
1042
|
+
* Ticket category.
|
|
712
1043
|
*/
|
|
713
|
-
|
|
1044
|
+
category: 'billing' | 'technical' | 'general';
|
|
714
1045
|
/**
|
|
715
|
-
*
|
|
1046
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
716
1047
|
*/
|
|
717
|
-
|
|
718
|
-
};
|
|
719
|
-
export type Organization = {
|
|
1048
|
+
summary: string;
|
|
720
1049
|
/**
|
|
721
|
-
*
|
|
1050
|
+
* Closure timestamp. Null while the ticket is open.
|
|
722
1051
|
*/
|
|
723
|
-
|
|
1052
|
+
closed_at?: string;
|
|
724
1053
|
/**
|
|
725
|
-
*
|
|
1054
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
726
1055
|
*/
|
|
727
|
-
|
|
1056
|
+
date_created: string;
|
|
728
1057
|
/**
|
|
729
|
-
*
|
|
1058
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
730
1059
|
*/
|
|
731
|
-
|
|
1060
|
+
date_updated: string;
|
|
732
1061
|
/**
|
|
733
|
-
*
|
|
1062
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
734
1063
|
*/
|
|
735
|
-
|
|
1064
|
+
messages?: Array<{
|
|
736
1065
|
/**
|
|
737
|
-
*
|
|
1066
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
738
1067
|
*/
|
|
739
|
-
|
|
1068
|
+
id: string;
|
|
740
1069
|
/**
|
|
741
|
-
*
|
|
1070
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
742
1071
|
*/
|
|
743
|
-
|
|
1072
|
+
type: 'customer_reply' | 'agent_reply';
|
|
744
1073
|
/**
|
|
745
|
-
*
|
|
1074
|
+
* Message body in markdown.
|
|
746
1075
|
*/
|
|
747
|
-
|
|
1076
|
+
body: string;
|
|
748
1077
|
/**
|
|
749
|
-
*
|
|
1078
|
+
* First name of the author. Null when not provided.
|
|
750
1079
|
*/
|
|
751
|
-
|
|
1080
|
+
author_first_name?: string;
|
|
752
1081
|
/**
|
|
753
|
-
*
|
|
1082
|
+
* Last name of the author. Null when not provided.
|
|
754
1083
|
*/
|
|
755
|
-
|
|
1084
|
+
author_last_name?: string;
|
|
756
1085
|
/**
|
|
757
|
-
*
|
|
1086
|
+
* Attachments associated with this message.
|
|
758
1087
|
*/
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* List of Cloudfleet control plane regions available for the organization.
|
|
762
|
-
*/
|
|
763
|
-
regions: Array<string>;
|
|
764
|
-
/**
|
|
765
|
-
* List of CFKE control plane versions available for the organization.
|
|
766
|
-
*/
|
|
767
|
-
versions: Array<{
|
|
1088
|
+
attachments?: Array<{
|
|
768
1089
|
/**
|
|
769
|
-
*
|
|
1090
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
770
1091
|
*/
|
|
771
1092
|
id: string;
|
|
772
1093
|
/**
|
|
773
|
-
*
|
|
1094
|
+
* Original filename as uploaded.
|
|
774
1095
|
*/
|
|
775
|
-
|
|
1096
|
+
filename: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* MIME content type of the attachment.
|
|
1099
|
+
*/
|
|
1100
|
+
content_type: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Size of the attachment in bytes.
|
|
1103
|
+
*/
|
|
1104
|
+
size: number;
|
|
776
1105
|
}>;
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
};
|
|
783
|
-
export type PaymentMethod = {
|
|
784
|
-
/**
|
|
785
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
786
|
-
*/
|
|
787
|
-
id: string;
|
|
788
|
-
/**
|
|
789
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
790
|
-
*/
|
|
791
|
-
setup: boolean;
|
|
792
|
-
/**
|
|
793
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
794
|
-
*/
|
|
795
|
-
type: 'card';
|
|
796
|
-
/**
|
|
797
|
-
* Last 4 digits of the payment card number.
|
|
798
|
-
*/
|
|
799
|
-
last4: string;
|
|
800
|
-
/**
|
|
801
|
-
* Two-digit number representing the card's expiration month.
|
|
802
|
-
*/
|
|
803
|
-
exp_month: number;
|
|
804
|
-
/**
|
|
805
|
-
* Four-digit number representing the card's expiration year.
|
|
806
|
-
*/
|
|
807
|
-
exp_year: number;
|
|
808
|
-
/**
|
|
809
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
810
|
-
*/
|
|
811
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1106
|
+
/**
|
|
1107
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1108
|
+
*/
|
|
1109
|
+
date_created: string;
|
|
1110
|
+
}>;
|
|
812
1111
|
};
|
|
813
1112
|
export type TokenCreateInput = {
|
|
814
1113
|
/**
|
|
@@ -852,35 +1151,85 @@ export type TokenUpdateInput = {
|
|
|
852
1151
|
*/
|
|
853
1152
|
role?: 'Administrator' | 'User';
|
|
854
1153
|
};
|
|
1154
|
+
export type UsageFacets = {
|
|
1155
|
+
/**
|
|
1156
|
+
* List of unique cluster IDs
|
|
1157
|
+
*/
|
|
1158
|
+
cluster_id?: Array<string>;
|
|
1159
|
+
/**
|
|
1160
|
+
* List of unique products
|
|
1161
|
+
*/
|
|
1162
|
+
product?: Array<string>;
|
|
1163
|
+
};
|
|
1164
|
+
export type UsageResponse = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Usage data
|
|
1167
|
+
*/
|
|
1168
|
+
data: Array<{
|
|
1169
|
+
/**
|
|
1170
|
+
* Hour of the usage
|
|
1171
|
+
*/
|
|
1172
|
+
hour: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1175
|
+
*/
|
|
1176
|
+
cluster_id: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* The product the usage is associated with
|
|
1179
|
+
*/
|
|
1180
|
+
product: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Consumption
|
|
1183
|
+
*/
|
|
1184
|
+
value: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* Price per unit
|
|
1187
|
+
*/
|
|
1188
|
+
price: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* Total cost
|
|
1191
|
+
*/
|
|
1192
|
+
total: number;
|
|
1193
|
+
}>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Facets for filtering
|
|
1196
|
+
*/
|
|
1197
|
+
facets: {
|
|
1198
|
+
/**
|
|
1199
|
+
* List of unique cluster IDs
|
|
1200
|
+
*/
|
|
1201
|
+
cluster_id?: Array<string>;
|
|
1202
|
+
/**
|
|
1203
|
+
* List of unique products
|
|
1204
|
+
*/
|
|
1205
|
+
product?: Array<string>;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
855
1208
|
export type Usage = {
|
|
856
1209
|
/**
|
|
857
1210
|
* Hour of the usage
|
|
858
1211
|
*/
|
|
859
|
-
hour
|
|
1212
|
+
hour: string;
|
|
860
1213
|
/**
|
|
861
1214
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
862
1215
|
*/
|
|
863
1216
|
cluster_id: string;
|
|
864
1217
|
/**
|
|
865
|
-
*
|
|
1218
|
+
* The product the usage is associated with
|
|
866
1219
|
*/
|
|
867
|
-
|
|
1220
|
+
product: string;
|
|
868
1221
|
/**
|
|
869
|
-
*
|
|
1222
|
+
* Consumption
|
|
870
1223
|
*/
|
|
871
|
-
|
|
1224
|
+
value: number;
|
|
872
1225
|
/**
|
|
873
|
-
*
|
|
1226
|
+
* Price per unit
|
|
874
1227
|
*/
|
|
875
|
-
|
|
1228
|
+
price: number;
|
|
876
1229
|
/**
|
|
877
|
-
*
|
|
1230
|
+
* Total cost
|
|
878
1231
|
*/
|
|
879
|
-
|
|
880
|
-
cpu: number | '';
|
|
881
|
-
price: number | '';
|
|
882
|
-
value: number | '';
|
|
883
|
-
total: number | '';
|
|
1232
|
+
total: number;
|
|
884
1233
|
};
|
|
885
1234
|
export type UserCreateInput = {
|
|
886
1235
|
/**
|
|
@@ -967,7 +1316,12 @@ export type UserUpdateInput = {
|
|
|
967
1316
|
export type GetUsageData = {
|
|
968
1317
|
body?: never;
|
|
969
1318
|
path?: never;
|
|
970
|
-
query?:
|
|
1319
|
+
query?: {
|
|
1320
|
+
/**
|
|
1321
|
+
* 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)
|
|
1322
|
+
*/
|
|
1323
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1324
|
+
};
|
|
971
1325
|
url: '/billing/usage';
|
|
972
1326
|
};
|
|
973
1327
|
export type GetUsageErrors = {
|
|
@@ -978,24 +1332,11 @@ export type GetUsageErrors = {
|
|
|
978
1332
|
};
|
|
979
1333
|
export type GetUsageResponses = {
|
|
980
1334
|
/**
|
|
981
|
-
*
|
|
1335
|
+
* Usage data with facets for filtering
|
|
982
1336
|
*/
|
|
983
|
-
200:
|
|
1337
|
+
200: UsageResponse;
|
|
984
1338
|
};
|
|
985
1339
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
986
|
-
export type GetBalanceData = {
|
|
987
|
-
body?: never;
|
|
988
|
-
path?: never;
|
|
989
|
-
query?: never;
|
|
990
|
-
url: '/billing/balance';
|
|
991
|
-
};
|
|
992
|
-
export type GetBalanceResponses = {
|
|
993
|
-
/**
|
|
994
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
995
|
-
*/
|
|
996
|
-
200: number;
|
|
997
|
-
};
|
|
998
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
999
1340
|
export type GetPaymentMethodData = {
|
|
1000
1341
|
body?: never;
|
|
1001
1342
|
path?: never;
|
|
@@ -1037,16 +1378,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1037
1378
|
export type ListInvoicesData = {
|
|
1038
1379
|
body?: never;
|
|
1039
1380
|
path?: never;
|
|
1040
|
-
query
|
|
1041
|
-
/**
|
|
1042
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1043
|
-
*/
|
|
1044
|
-
start_date: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1047
|
-
*/
|
|
1048
|
-
end_date: string;
|
|
1049
|
-
};
|
|
1381
|
+
query?: never;
|
|
1050
1382
|
url: '/billing/invoices';
|
|
1051
1383
|
};
|
|
1052
1384
|
export type ListInvoicesErrors = {
|
|
@@ -1062,26 +1394,6 @@ export type ListInvoicesResponses = {
|
|
|
1062
1394
|
200: Array<Invoice>;
|
|
1063
1395
|
};
|
|
1064
1396
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1065
|
-
export type GetInvoiceData = {
|
|
1066
|
-
body?: never;
|
|
1067
|
-
path: {
|
|
1068
|
-
/**
|
|
1069
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1070
|
-
*/
|
|
1071
|
-
id: string;
|
|
1072
|
-
};
|
|
1073
|
-
query?: never;
|
|
1074
|
-
url: '/billing/invoices/{id}';
|
|
1075
|
-
};
|
|
1076
|
-
export type GetInvoiceResponses = {
|
|
1077
|
-
/**
|
|
1078
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1079
|
-
*/
|
|
1080
|
-
200: {
|
|
1081
|
-
html?: string;
|
|
1082
|
-
};
|
|
1083
|
-
};
|
|
1084
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1085
1397
|
export type GetContactData = {
|
|
1086
1398
|
body?: never;
|
|
1087
1399
|
path?: never;
|
|
@@ -1496,6 +1808,30 @@ export type UpdateClusterResponses = {
|
|
|
1496
1808
|
200: Cluster;
|
|
1497
1809
|
};
|
|
1498
1810
|
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1811
|
+
export type GetClusterCaData = {
|
|
1812
|
+
body?: never;
|
|
1813
|
+
path: {
|
|
1814
|
+
/**
|
|
1815
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1816
|
+
*/
|
|
1817
|
+
cluster_id: string;
|
|
1818
|
+
};
|
|
1819
|
+
query?: never;
|
|
1820
|
+
url: '/clusters/{cluster_id}/ca';
|
|
1821
|
+
};
|
|
1822
|
+
export type GetClusterCaErrors = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Cluster not found, or its certificate authority is not available yet.
|
|
1825
|
+
*/
|
|
1826
|
+
404: unknown;
|
|
1827
|
+
};
|
|
1828
|
+
export type GetClusterCaResponses = {
|
|
1829
|
+
/**
|
|
1830
|
+
* PEM-encoded certificate authority of the cluster.
|
|
1831
|
+
*/
|
|
1832
|
+
200: string;
|
|
1833
|
+
};
|
|
1834
|
+
export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
|
|
1499
1835
|
export type GetJoinInformationData = {
|
|
1500
1836
|
body?: never;
|
|
1501
1837
|
path: {
|
|
@@ -1517,7 +1853,7 @@ export type GetJoinInformationResponses = {
|
|
|
1517
1853
|
/**
|
|
1518
1854
|
* An object of cluster join information
|
|
1519
1855
|
*/
|
|
1520
|
-
200:
|
|
1856
|
+
200: ClusterJoinInformation;
|
|
1521
1857
|
};
|
|
1522
1858
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1523
1859
|
export type ListInvitesData = {
|
|
@@ -1611,24 +1947,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1611
1947
|
200: Array<MarketplaceListing>;
|
|
1612
1948
|
};
|
|
1613
1949
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1614
|
-
export type
|
|
1950
|
+
export type GetMarketplaceChartFilesData = {
|
|
1615
1951
|
body?: never;
|
|
1616
1952
|
path: {
|
|
1617
1953
|
/**
|
|
1618
|
-
*
|
|
1954
|
+
* Name of the chart in the marketplace.
|
|
1955
|
+
*/
|
|
1956
|
+
chart_name: string;
|
|
1957
|
+
/**
|
|
1958
|
+
* 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).
|
|
1959
|
+
*/
|
|
1960
|
+
version_channel: string;
|
|
1961
|
+
};
|
|
1962
|
+
query?: never;
|
|
1963
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1964
|
+
};
|
|
1965
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Chart not found or no version matches the channel
|
|
1968
|
+
*/
|
|
1969
|
+
404: unknown;
|
|
1970
|
+
};
|
|
1971
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1972
|
+
/**
|
|
1973
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1974
|
+
*/
|
|
1975
|
+
200: MarketplaceListingFiles;
|
|
1976
|
+
};
|
|
1977
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1978
|
+
export type PostMcpData = {
|
|
1979
|
+
/**
|
|
1980
|
+
* JSON-RPC 2.0 request payload
|
|
1981
|
+
*/
|
|
1982
|
+
body: {
|
|
1983
|
+
jsonrpc?: string;
|
|
1984
|
+
method?: string;
|
|
1985
|
+
id?: string | number;
|
|
1986
|
+
/**
|
|
1987
|
+
* Method-specific parameters
|
|
1619
1988
|
*/
|
|
1620
|
-
|
|
1989
|
+
params?: {
|
|
1990
|
+
[key: string]: unknown;
|
|
1991
|
+
};
|
|
1621
1992
|
};
|
|
1993
|
+
path?: never;
|
|
1622
1994
|
query?: never;
|
|
1623
|
-
url: '/
|
|
1995
|
+
url: '/mcp';
|
|
1996
|
+
};
|
|
1997
|
+
export type PostMcpErrors = {
|
|
1998
|
+
/**
|
|
1999
|
+
* Not authenticated
|
|
2000
|
+
*/
|
|
2001
|
+
401: unknown;
|
|
1624
2002
|
};
|
|
1625
|
-
export type
|
|
2003
|
+
export type PostMcpResponses = {
|
|
1626
2004
|
/**
|
|
1627
|
-
*
|
|
2005
|
+
* JSON-RPC 2.0 success or error response
|
|
1628
2006
|
*/
|
|
1629
|
-
200:
|
|
2007
|
+
200: {
|
|
2008
|
+
jsonrpc?: string;
|
|
2009
|
+
id?: string | number;
|
|
2010
|
+
result?: {
|
|
2011
|
+
[key: string]: unknown;
|
|
2012
|
+
};
|
|
2013
|
+
error?: {
|
|
2014
|
+
code?: number;
|
|
2015
|
+
message?: string;
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
1630
2018
|
};
|
|
1631
|
-
export type
|
|
2019
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1632
2020
|
export type GetOrganizationData = {
|
|
1633
2021
|
body?: never;
|
|
1634
2022
|
path?: never;
|
|
@@ -1654,6 +2042,249 @@ export type CreateOrganizationResponses = {
|
|
|
1654
2042
|
*/
|
|
1655
2043
|
200: unknown;
|
|
1656
2044
|
};
|
|
2045
|
+
export type ListRepositoriesData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path?: never;
|
|
2048
|
+
query?: never;
|
|
2049
|
+
url: '/registry';
|
|
2050
|
+
};
|
|
2051
|
+
export type ListRepositoriesErrors = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Not authenticated
|
|
2054
|
+
*/
|
|
2055
|
+
401: unknown;
|
|
2056
|
+
/**
|
|
2057
|
+
* Internal server error
|
|
2058
|
+
*/
|
|
2059
|
+
500: unknown;
|
|
2060
|
+
};
|
|
2061
|
+
export type ListRepositoriesResponses = {
|
|
2062
|
+
/**
|
|
2063
|
+
* List of repositories
|
|
2064
|
+
*/
|
|
2065
|
+
200: Array<RegistryRepository>;
|
|
2066
|
+
};
|
|
2067
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2068
|
+
export type ListTagsData = {
|
|
2069
|
+
body?: never;
|
|
2070
|
+
path: {
|
|
2071
|
+
/**
|
|
2072
|
+
* Region where the repository is located
|
|
2073
|
+
*/
|
|
2074
|
+
region: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Name of the repository
|
|
2077
|
+
*/
|
|
2078
|
+
repository: string;
|
|
2079
|
+
};
|
|
2080
|
+
query?: never;
|
|
2081
|
+
url: '/registry/{region}/{repository}';
|
|
2082
|
+
};
|
|
2083
|
+
export type ListTagsErrors = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Not authenticated
|
|
2086
|
+
*/
|
|
2087
|
+
401: unknown;
|
|
2088
|
+
/**
|
|
2089
|
+
* Repository not found
|
|
2090
|
+
*/
|
|
2091
|
+
404: unknown;
|
|
2092
|
+
/**
|
|
2093
|
+
* Internal server error
|
|
2094
|
+
*/
|
|
2095
|
+
500: unknown;
|
|
2096
|
+
};
|
|
2097
|
+
export type ListTagsResponses = {
|
|
2098
|
+
/**
|
|
2099
|
+
* Repository with tags
|
|
2100
|
+
*/
|
|
2101
|
+
200: RegistryRepositoryWithTags;
|
|
2102
|
+
};
|
|
2103
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2104
|
+
export type DeleteTagData = {
|
|
2105
|
+
body?: never;
|
|
2106
|
+
path: {
|
|
2107
|
+
/**
|
|
2108
|
+
* Region where the repository is located
|
|
2109
|
+
*/
|
|
2110
|
+
region: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* Name of the repository
|
|
2113
|
+
*/
|
|
2114
|
+
repository: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* Name of the tag
|
|
2117
|
+
*/
|
|
2118
|
+
tag: string;
|
|
2119
|
+
};
|
|
2120
|
+
query?: never;
|
|
2121
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2122
|
+
};
|
|
2123
|
+
export type DeleteTagErrors = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Not authenticated
|
|
2126
|
+
*/
|
|
2127
|
+
401: unknown;
|
|
2128
|
+
/**
|
|
2129
|
+
* Tag not found
|
|
2130
|
+
*/
|
|
2131
|
+
404: unknown;
|
|
2132
|
+
/**
|
|
2133
|
+
* Internal server error
|
|
2134
|
+
*/
|
|
2135
|
+
500: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
export type DeleteTagResponses = {
|
|
2138
|
+
/**
|
|
2139
|
+
* Tag successfully deleted
|
|
2140
|
+
*/
|
|
2141
|
+
200: unknown;
|
|
2142
|
+
};
|
|
2143
|
+
export type GetTagData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path: {
|
|
2146
|
+
/**
|
|
2147
|
+
* Region where the repository is located
|
|
2148
|
+
*/
|
|
2149
|
+
region: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Name of the repository
|
|
2152
|
+
*/
|
|
2153
|
+
repository: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* Name of the tag
|
|
2156
|
+
*/
|
|
2157
|
+
tag: string;
|
|
2158
|
+
};
|
|
2159
|
+
query?: never;
|
|
2160
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2161
|
+
};
|
|
2162
|
+
export type GetTagErrors = {
|
|
2163
|
+
/**
|
|
2164
|
+
* Not authenticated
|
|
2165
|
+
*/
|
|
2166
|
+
401: unknown;
|
|
2167
|
+
/**
|
|
2168
|
+
* Tag not found
|
|
2169
|
+
*/
|
|
2170
|
+
404: unknown;
|
|
2171
|
+
/**
|
|
2172
|
+
* Internal server error
|
|
2173
|
+
*/
|
|
2174
|
+
500: unknown;
|
|
2175
|
+
};
|
|
2176
|
+
export type GetTagResponses = {
|
|
2177
|
+
/**
|
|
2178
|
+
* Tag details
|
|
2179
|
+
*/
|
|
2180
|
+
200: RegistryTag;
|
|
2181
|
+
};
|
|
2182
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2183
|
+
export type ListTicketsData = {
|
|
2184
|
+
body?: never;
|
|
2185
|
+
path?: never;
|
|
2186
|
+
query?: never;
|
|
2187
|
+
url: '/tickets';
|
|
2188
|
+
};
|
|
2189
|
+
export type ListTicketsResponses = {
|
|
2190
|
+
/**
|
|
2191
|
+
* Tickets for the organization.
|
|
2192
|
+
*/
|
|
2193
|
+
200: TicketListResponse;
|
|
2194
|
+
};
|
|
2195
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2196
|
+
export type CreateTicketData = {
|
|
2197
|
+
body: {
|
|
2198
|
+
/**
|
|
2199
|
+
* JSON-encoded TicketCreateInput.
|
|
2200
|
+
*/
|
|
2201
|
+
payload?: string;
|
|
2202
|
+
attachments?: Array<Blob | File>;
|
|
2203
|
+
};
|
|
2204
|
+
path?: never;
|
|
2205
|
+
query?: never;
|
|
2206
|
+
url: '/tickets';
|
|
2207
|
+
};
|
|
2208
|
+
export type CreateTicketResponses = {
|
|
2209
|
+
/**
|
|
2210
|
+
* Ticket created.
|
|
2211
|
+
*/
|
|
2212
|
+
200: Ticket;
|
|
2213
|
+
};
|
|
2214
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2215
|
+
export type CloseTicketData = {
|
|
2216
|
+
body?: never;
|
|
2217
|
+
path: {
|
|
2218
|
+
ticket_id: string;
|
|
2219
|
+
};
|
|
2220
|
+
query?: never;
|
|
2221
|
+
url: '/tickets/{ticket_id}';
|
|
2222
|
+
};
|
|
2223
|
+
export type CloseTicketResponses = {
|
|
2224
|
+
/**
|
|
2225
|
+
* Ticket closed.
|
|
2226
|
+
*/
|
|
2227
|
+
200: Ticket;
|
|
2228
|
+
};
|
|
2229
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2230
|
+
export type GetTicketData = {
|
|
2231
|
+
body?: never;
|
|
2232
|
+
path: {
|
|
2233
|
+
ticket_id: string;
|
|
2234
|
+
};
|
|
2235
|
+
query?: never;
|
|
2236
|
+
url: '/tickets/{ticket_id}';
|
|
2237
|
+
};
|
|
2238
|
+
export type GetTicketResponses = {
|
|
2239
|
+
/**
|
|
2240
|
+
* Ticket with messages (internal notes excluded).
|
|
2241
|
+
*/
|
|
2242
|
+
200: Ticket;
|
|
2243
|
+
};
|
|
2244
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2245
|
+
export type ReplyTicketData = {
|
|
2246
|
+
body: {
|
|
2247
|
+
/**
|
|
2248
|
+
* JSON-encoded TicketMessageInput.
|
|
2249
|
+
*/
|
|
2250
|
+
payload?: string;
|
|
2251
|
+
attachments?: Array<Blob | File>;
|
|
2252
|
+
};
|
|
2253
|
+
path: {
|
|
2254
|
+
ticket_id: string;
|
|
2255
|
+
};
|
|
2256
|
+
query?: never;
|
|
2257
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2258
|
+
};
|
|
2259
|
+
export type ReplyTicketErrors = {
|
|
2260
|
+
/**
|
|
2261
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2262
|
+
*/
|
|
2263
|
+
409: unknown;
|
|
2264
|
+
};
|
|
2265
|
+
export type ReplyTicketResponses = {
|
|
2266
|
+
/**
|
|
2267
|
+
* Reply appended.
|
|
2268
|
+
*/
|
|
2269
|
+
200: TicketMessage;
|
|
2270
|
+
};
|
|
2271
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2272
|
+
export type GetTicketAttachmentData = {
|
|
2273
|
+
body?: never;
|
|
2274
|
+
path: {
|
|
2275
|
+
ticket_id: string;
|
|
2276
|
+
attachment_id: string;
|
|
2277
|
+
};
|
|
2278
|
+
query?: never;
|
|
2279
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2280
|
+
};
|
|
2281
|
+
export type GetTicketAttachmentResponses = {
|
|
2282
|
+
/**
|
|
2283
|
+
* Attachment binary stream.
|
|
2284
|
+
*/
|
|
2285
|
+
200: Blob | File;
|
|
2286
|
+
};
|
|
2287
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1657
2288
|
export type ListTokensData = {
|
|
1658
2289
|
body?: never;
|
|
1659
2290
|
path?: never;
|
|
@@ -1910,7 +2541,4 @@ export type UpdateUserResponses = {
|
|
|
1910
2541
|
200: User;
|
|
1911
2542
|
};
|
|
1912
2543
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1913
|
-
export type ClientOptions = {
|
|
1914
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1915
|
-
};
|
|
1916
2544
|
//# sourceMappingURL=types.gen.d.ts.map
|