@cloudfleet/sdk 0.0.1-8e8e76c → 0.0.1-8e907c6
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 +1151 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1167 -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 +1606 -668
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2872 -701
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +245 -70
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +333 -161
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1457 -403
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3743 -1982
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1563 -792
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -7
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
2
9
|
/**
|
|
3
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
11
|
*/
|
|
@@ -36,13 +43,17 @@ export type BillingContact = {
|
|
|
36
43
|
*/
|
|
37
44
|
email: string;
|
|
38
45
|
/**
|
|
39
|
-
*
|
|
46
|
+
* Name of the billing contact person.
|
|
40
47
|
*/
|
|
41
|
-
|
|
48
|
+
individual_name: string;
|
|
42
49
|
/**
|
|
43
|
-
*
|
|
50
|
+
* Tax ID of the organization.
|
|
44
51
|
*/
|
|
45
|
-
|
|
52
|
+
tax_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the tax ID.
|
|
55
|
+
*/
|
|
56
|
+
tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
|
|
46
57
|
};
|
|
47
58
|
export type BillingCredits = {
|
|
48
59
|
/**
|
|
@@ -50,9 +61,17 @@ export type BillingCredits = {
|
|
|
50
61
|
*/
|
|
51
62
|
id?: string;
|
|
52
63
|
/**
|
|
53
|
-
*
|
|
64
|
+
* Type of the promotional code.
|
|
65
|
+
*/
|
|
66
|
+
type: 'credit' | 'discount';
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
54
69
|
*/
|
|
55
|
-
|
|
70
|
+
date_start: string;
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
73
|
+
*/
|
|
74
|
+
date_end?: string;
|
|
56
75
|
/**
|
|
57
76
|
* Promotional code used by the customer.
|
|
58
77
|
*/
|
|
@@ -62,43 +81,105 @@ export type BillingCredits = {
|
|
|
62
81
|
*/
|
|
63
82
|
description?: string;
|
|
64
83
|
/**
|
|
65
|
-
*
|
|
84
|
+
* Total value of the promotional code.
|
|
66
85
|
*/
|
|
67
|
-
|
|
86
|
+
value_total: number;
|
|
68
87
|
/**
|
|
69
|
-
*
|
|
88
|
+
* Remaining value of the promotional code.
|
|
70
89
|
*/
|
|
71
|
-
|
|
90
|
+
value_remaining?: number;
|
|
91
|
+
};
|
|
92
|
+
export type ChartCreateInput = {
|
|
72
93
|
/**
|
|
73
|
-
*
|
|
94
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
74
95
|
*/
|
|
75
|
-
|
|
96
|
+
values: string;
|
|
76
97
|
/**
|
|
77
|
-
*
|
|
98
|
+
* Desired version range or channel for the chart.
|
|
78
99
|
*/
|
|
79
|
-
|
|
100
|
+
version_channel: string;
|
|
80
101
|
/**
|
|
81
|
-
*
|
|
102
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
82
103
|
*/
|
|
83
|
-
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
* Namespace of the chart deployment
|
|
107
|
+
*/
|
|
108
|
+
namespace: string;
|
|
109
|
+
/**
|
|
110
|
+
* Name of the chart listing
|
|
111
|
+
*/
|
|
112
|
+
chart: string;
|
|
84
113
|
};
|
|
85
|
-
export type
|
|
114
|
+
export type Chart = {
|
|
86
115
|
/**
|
|
87
|
-
*
|
|
116
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
117
|
+
*/
|
|
118
|
+
values: string;
|
|
119
|
+
/**
|
|
120
|
+
* Desired version range or channel for the chart.
|
|
121
|
+
*/
|
|
122
|
+
version_channel: string;
|
|
123
|
+
/**
|
|
124
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
88
125
|
*/
|
|
89
126
|
name: string;
|
|
90
127
|
/**
|
|
91
|
-
*
|
|
128
|
+
* Namespace of the chart deployment
|
|
129
|
+
*/
|
|
130
|
+
namespace: string;
|
|
131
|
+
/**
|
|
132
|
+
* Name of the chart listing
|
|
133
|
+
*/
|
|
134
|
+
chart: string;
|
|
135
|
+
/**
|
|
136
|
+
* Status of the chart deployment.
|
|
137
|
+
*/
|
|
138
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
139
|
+
/**
|
|
140
|
+
* Current version of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
version_current: string;
|
|
143
|
+
/**
|
|
144
|
+
* Creation date and time of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
created_at: string;
|
|
147
|
+
/**
|
|
148
|
+
* Last update date and time of the chart deployment.
|
|
149
|
+
*/
|
|
150
|
+
updated_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* Indicates if the chart deployment is ready to be used.
|
|
153
|
+
*/
|
|
154
|
+
ready: boolean;
|
|
155
|
+
};
|
|
156
|
+
export type ChartUpdateInput = {
|
|
157
|
+
/**
|
|
158
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
159
|
+
*/
|
|
160
|
+
values: string;
|
|
161
|
+
/**
|
|
162
|
+
* Desired version range or channel for the chart.
|
|
163
|
+
*/
|
|
164
|
+
version_channel: string;
|
|
165
|
+
};
|
|
166
|
+
export type ClusterCreateInput = {
|
|
167
|
+
/**
|
|
168
|
+
* Name of the cluster.
|
|
92
169
|
*/
|
|
93
|
-
|
|
170
|
+
name: string;
|
|
94
171
|
/**
|
|
95
172
|
* Tier of the cluster.
|
|
96
173
|
*/
|
|
97
174
|
tier: 'basic' | 'pro';
|
|
175
|
+
/**
|
|
176
|
+
* 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.
|
|
177
|
+
*/
|
|
178
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
98
179
|
/**
|
|
99
180
|
* Version of the kubernetes cluster.
|
|
100
181
|
*/
|
|
101
|
-
version_channel?:
|
|
182
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
102
183
|
};
|
|
103
184
|
export type ClusterJoinInformation = {
|
|
104
185
|
/**
|
|
@@ -109,6 +190,10 @@ export type ClusterJoinInformation = {
|
|
|
109
190
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
110
191
|
*/
|
|
111
192
|
endpoint: string;
|
|
193
|
+
/**
|
|
194
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
195
|
+
*/
|
|
196
|
+
cluster_dns: string;
|
|
112
197
|
/**
|
|
113
198
|
* Authentication key for the cluster.
|
|
114
199
|
*/
|
|
@@ -133,6 +218,10 @@ export type ClusterJoinInformation = {
|
|
|
133
218
|
* Containerd version of the cluster.
|
|
134
219
|
*/
|
|
135
220
|
containerd: string;
|
|
221
|
+
/**
|
|
222
|
+
* NVIDIA driver version of the cluster.
|
|
223
|
+
*/
|
|
224
|
+
nvidia_driver: string;
|
|
136
225
|
};
|
|
137
226
|
/**
|
|
138
227
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -157,18 +246,14 @@ export type Cluster = {
|
|
|
157
246
|
* Name of the cluster.
|
|
158
247
|
*/
|
|
159
248
|
name: string;
|
|
160
|
-
/**
|
|
161
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
162
|
-
*/
|
|
163
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
164
249
|
/**
|
|
165
250
|
* Tier of the cluster.
|
|
166
251
|
*/
|
|
167
252
|
tier: 'basic' | 'pro';
|
|
168
253
|
/**
|
|
169
|
-
*
|
|
254
|
+
* 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.
|
|
170
255
|
*/
|
|
171
|
-
|
|
256
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
172
257
|
/**
|
|
173
258
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
174
259
|
*/
|
|
@@ -176,8 +261,9 @@ export type Cluster = {
|
|
|
176
261
|
/**
|
|
177
262
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
178
263
|
*/
|
|
179
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
264
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
180
265
|
endpoint?: string | '';
|
|
266
|
+
endpoint_public?: string | '';
|
|
181
267
|
/**
|
|
182
268
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
183
269
|
*/
|
|
@@ -198,12 +284,20 @@ export type Cluster = {
|
|
|
198
284
|
* Indicates if the cluster is ready to be used.
|
|
199
285
|
*/
|
|
200
286
|
ready?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Version of the kubernetes cluster.
|
|
289
|
+
*/
|
|
290
|
+
version_channel?: string;
|
|
201
291
|
};
|
|
202
292
|
export type ClusterUpdateInput = {
|
|
203
293
|
/**
|
|
204
294
|
* Name of the cluster.
|
|
205
295
|
*/
|
|
206
296
|
name?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Tier of the cluster.
|
|
299
|
+
*/
|
|
300
|
+
tier: 'basic' | 'pro';
|
|
207
301
|
/**
|
|
208
302
|
* Version of the kubernetes cluster.
|
|
209
303
|
*/
|
|
@@ -215,39 +309,60 @@ export type FleetCreateInput = {
|
|
|
215
309
|
*/
|
|
216
310
|
limits?: {
|
|
217
311
|
/**
|
|
218
|
-
* CPU limit in cores.
|
|
312
|
+
* CPU limit in cores. Maximum 100,000.
|
|
219
313
|
*/
|
|
220
|
-
cpu
|
|
314
|
+
cpu?: number;
|
|
221
315
|
};
|
|
222
316
|
gcp?: {
|
|
223
|
-
enabled
|
|
317
|
+
enabled: boolean;
|
|
224
318
|
/**
|
|
225
|
-
*
|
|
319
|
+
* 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.
|
|
226
320
|
*/
|
|
227
|
-
project
|
|
321
|
+
project?: string;
|
|
228
322
|
};
|
|
229
323
|
hetzner?: {
|
|
230
|
-
enabled
|
|
231
|
-
|
|
232
|
-
|
|
324
|
+
enabled: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
327
|
+
*/
|
|
233
328
|
apiKey?: string;
|
|
234
|
-
enabled?: boolean;
|
|
235
329
|
};
|
|
236
330
|
aws?: {
|
|
237
|
-
enabled
|
|
331
|
+
enabled: boolean;
|
|
238
332
|
/**
|
|
239
|
-
*
|
|
333
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
240
334
|
*/
|
|
241
|
-
controllerRoleArn
|
|
335
|
+
controllerRoleArn?: string;
|
|
242
336
|
};
|
|
243
337
|
/**
|
|
244
|
-
*
|
|
338
|
+
* 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. Omit a field to place no restriction on that key.
|
|
245
339
|
*/
|
|
246
|
-
|
|
340
|
+
constraints?: {
|
|
341
|
+
/**
|
|
342
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
343
|
+
*/
|
|
344
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
347
|
+
*/
|
|
348
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
351
|
+
*/
|
|
352
|
+
'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'>;
|
|
353
|
+
/**
|
|
354
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
355
|
+
*/
|
|
356
|
+
'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'>;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
360
|
+
*/
|
|
361
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
247
362
|
/**
|
|
248
|
-
*
|
|
363
|
+
* Unique identifier of the kubernetes fleet.
|
|
249
364
|
*/
|
|
250
|
-
|
|
365
|
+
id: string;
|
|
251
366
|
};
|
|
252
367
|
export type Fleet = {
|
|
253
368
|
/**
|
|
@@ -255,39 +370,60 @@ export type Fleet = {
|
|
|
255
370
|
*/
|
|
256
371
|
limits?: {
|
|
257
372
|
/**
|
|
258
|
-
* CPU limit in cores.
|
|
373
|
+
* CPU limit in cores. Maximum 100,000.
|
|
259
374
|
*/
|
|
260
|
-
cpu
|
|
375
|
+
cpu?: number;
|
|
261
376
|
};
|
|
262
377
|
gcp?: {
|
|
263
|
-
enabled
|
|
378
|
+
enabled: boolean;
|
|
264
379
|
/**
|
|
265
|
-
*
|
|
380
|
+
* 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.
|
|
266
381
|
*/
|
|
267
|
-
project
|
|
382
|
+
project?: string;
|
|
268
383
|
};
|
|
269
384
|
hetzner?: {
|
|
270
|
-
enabled
|
|
271
|
-
|
|
272
|
-
|
|
385
|
+
enabled: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
388
|
+
*/
|
|
273
389
|
apiKey?: string;
|
|
274
|
-
enabled?: boolean;
|
|
275
390
|
};
|
|
276
391
|
aws?: {
|
|
277
|
-
enabled
|
|
392
|
+
enabled: boolean;
|
|
278
393
|
/**
|
|
279
|
-
*
|
|
394
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
280
395
|
*/
|
|
281
|
-
controllerRoleArn
|
|
396
|
+
controllerRoleArn?: string;
|
|
282
397
|
};
|
|
283
398
|
/**
|
|
284
|
-
*
|
|
399
|
+
* 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. Omit a field to place no restriction on that key.
|
|
285
400
|
*/
|
|
286
|
-
|
|
401
|
+
constraints?: {
|
|
402
|
+
/**
|
|
403
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
404
|
+
*/
|
|
405
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
406
|
+
/**
|
|
407
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
408
|
+
*/
|
|
409
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
412
|
+
*/
|
|
413
|
+
'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'>;
|
|
414
|
+
/**
|
|
415
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
416
|
+
*/
|
|
417
|
+
'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'>;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
421
|
+
*/
|
|
422
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
287
423
|
/**
|
|
288
|
-
*
|
|
424
|
+
* Unique identifier of the kubernetes fleet.
|
|
289
425
|
*/
|
|
290
|
-
|
|
426
|
+
id: string;
|
|
291
427
|
};
|
|
292
428
|
export type FleetUpdateInput = {
|
|
293
429
|
/**
|
|
@@ -295,31 +431,66 @@ export type FleetUpdateInput = {
|
|
|
295
431
|
*/
|
|
296
432
|
limits?: {
|
|
297
433
|
/**
|
|
298
|
-
* CPU limit in cores.
|
|
434
|
+
* CPU limit in cores. Maximum 100,000.
|
|
299
435
|
*/
|
|
300
|
-
cpu
|
|
436
|
+
cpu?: number;
|
|
301
437
|
};
|
|
302
438
|
gcp?: {
|
|
303
|
-
enabled
|
|
439
|
+
enabled: boolean;
|
|
304
440
|
/**
|
|
305
|
-
*
|
|
441
|
+
* 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.
|
|
306
442
|
*/
|
|
307
|
-
project
|
|
443
|
+
project?: string;
|
|
308
444
|
};
|
|
309
445
|
hetzner?: {
|
|
310
|
-
enabled
|
|
311
|
-
|
|
312
|
-
|
|
446
|
+
enabled: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
449
|
+
*/
|
|
313
450
|
apiKey?: string;
|
|
314
|
-
enabled?: boolean;
|
|
315
451
|
};
|
|
316
452
|
aws?: {
|
|
317
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
454
|
+
/**
|
|
455
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
456
|
+
*/
|
|
457
|
+
controllerRoleArn?: string;
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* 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. Omit a field to place no restriction on that key.
|
|
461
|
+
*/
|
|
462
|
+
constraints?: {
|
|
463
|
+
/**
|
|
464
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
465
|
+
*/
|
|
466
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
467
|
+
/**
|
|
468
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
469
|
+
*/
|
|
470
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
473
|
+
*/
|
|
474
|
+
'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'>;
|
|
318
475
|
/**
|
|
319
|
-
*
|
|
476
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
320
477
|
*/
|
|
321
|
-
|
|
478
|
+
'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'>;
|
|
322
479
|
};
|
|
480
|
+
/**
|
|
481
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
482
|
+
*/
|
|
483
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
484
|
+
};
|
|
485
|
+
export type InviteCreateInput = {
|
|
486
|
+
/**
|
|
487
|
+
* Email address of the user to invite.
|
|
488
|
+
*/
|
|
489
|
+
email: string;
|
|
490
|
+
/**
|
|
491
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
492
|
+
*/
|
|
493
|
+
role?: 'Administrator' | 'User';
|
|
323
494
|
};
|
|
324
495
|
export type Invite = {
|
|
325
496
|
/**
|
|
@@ -342,240 +513,134 @@ export type Invite = {
|
|
|
342
513
|
* Generated unique invite code.
|
|
343
514
|
*/
|
|
344
515
|
code?: string;
|
|
516
|
+
/**
|
|
517
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
518
|
+
*/
|
|
519
|
+
role?: 'Administrator' | 'User';
|
|
345
520
|
};
|
|
346
521
|
export type Invoice = {
|
|
347
522
|
/**
|
|
348
|
-
* Unique identifier of the invoice.
|
|
523
|
+
* Unique identifier of the invoice.
|
|
349
524
|
*/
|
|
350
525
|
id?: string;
|
|
351
|
-
|
|
352
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
353
|
-
*/
|
|
354
|
-
organizationId?: string;
|
|
526
|
+
number?: string;
|
|
355
527
|
/**
|
|
356
528
|
* Status of the invoice
|
|
357
529
|
*/
|
|
358
|
-
status?:
|
|
530
|
+
status?: string;
|
|
359
531
|
/**
|
|
360
532
|
* Total amount of the invoice
|
|
361
533
|
*/
|
|
362
|
-
|
|
534
|
+
total?: number;
|
|
363
535
|
/**
|
|
364
536
|
* Currency of the invoice
|
|
365
537
|
*/
|
|
366
|
-
currency?:
|
|
538
|
+
currency?: string;
|
|
367
539
|
/**
|
|
368
|
-
*
|
|
540
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
369
541
|
*/
|
|
370
|
-
|
|
542
|
+
created: string;
|
|
371
543
|
/**
|
|
372
|
-
*
|
|
544
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
373
545
|
*/
|
|
374
|
-
|
|
546
|
+
period_start: string;
|
|
375
547
|
/**
|
|
376
|
-
*
|
|
548
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
377
549
|
*/
|
|
378
|
-
|
|
550
|
+
period_end: string;
|
|
551
|
+
invoice_pdf?: string;
|
|
552
|
+
};
|
|
553
|
+
export type MarketplaceListingFiles = {
|
|
379
554
|
/**
|
|
380
|
-
*
|
|
555
|
+
* Raw Chart.yaml content from the Helm chart
|
|
381
556
|
*/
|
|
382
|
-
|
|
557
|
+
chartYaml?: string;
|
|
383
558
|
/**
|
|
384
|
-
*
|
|
559
|
+
* Raw values.yaml content from the Helm chart
|
|
385
560
|
*/
|
|
386
|
-
|
|
561
|
+
valuesYaml?: string;
|
|
387
562
|
/**
|
|
388
|
-
*
|
|
563
|
+
* JSON schema for values.yaml as a string
|
|
389
564
|
*/
|
|
390
|
-
|
|
565
|
+
valuesSchemaJson?: string;
|
|
566
|
+
};
|
|
567
|
+
export type MarketplaceListing = {
|
|
391
568
|
/**
|
|
392
|
-
*
|
|
569
|
+
* Name of the chart
|
|
393
570
|
*/
|
|
394
|
-
|
|
571
|
+
name: string;
|
|
395
572
|
/**
|
|
396
|
-
*
|
|
573
|
+
* Available versions of the chart
|
|
397
574
|
*/
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
401
|
-
*/
|
|
402
|
-
id?: string;
|
|
403
|
-
/**
|
|
404
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
405
|
-
*/
|
|
406
|
-
linkedInvoiceItemId?: string;
|
|
407
|
-
/**
|
|
408
|
-
* Name of the product
|
|
409
|
-
*/
|
|
410
|
-
productName?: string;
|
|
411
|
-
/**
|
|
412
|
-
* Name of the plan
|
|
413
|
-
*/
|
|
414
|
-
planName?: string;
|
|
415
|
-
/**
|
|
416
|
-
* Name of the phase
|
|
417
|
-
*/
|
|
418
|
-
phaseName?: string;
|
|
419
|
-
/**
|
|
420
|
-
* Name of the usage
|
|
421
|
-
*/
|
|
422
|
-
usageName?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Pretty name of the product
|
|
425
|
-
*/
|
|
426
|
-
prettyProductName?: string;
|
|
427
|
-
/**
|
|
428
|
-
* Pretty name of the plan
|
|
429
|
-
*/
|
|
430
|
-
prettyPlanName?: string;
|
|
431
|
-
/**
|
|
432
|
-
* Pretty name of the phase
|
|
433
|
-
*/
|
|
434
|
-
prettyPhaseName?: string;
|
|
435
|
-
/**
|
|
436
|
-
* Pretty name of the usage
|
|
437
|
-
*/
|
|
438
|
-
prettyUsageName?: string;
|
|
439
|
-
/**
|
|
440
|
-
* Type of the invoice item
|
|
441
|
-
*/
|
|
442
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
443
|
-
/**
|
|
444
|
-
* Description of the invoice item
|
|
445
|
-
*/
|
|
446
|
-
description?: string;
|
|
447
|
-
/**
|
|
448
|
-
* Start date of the invoice item
|
|
449
|
-
*/
|
|
450
|
-
startDate?: string;
|
|
451
|
-
/**
|
|
452
|
-
* End date of the invoice item
|
|
453
|
-
*/
|
|
454
|
-
endDate?: string;
|
|
455
|
-
/**
|
|
456
|
-
* Amount of the invoice item
|
|
457
|
-
*/
|
|
458
|
-
amount?: number;
|
|
459
|
-
/**
|
|
460
|
-
* Rate of the invoice item
|
|
461
|
-
*/
|
|
462
|
-
rate?: number;
|
|
463
|
-
/**
|
|
464
|
-
* Currency of the invoice item
|
|
465
|
-
*/
|
|
466
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
467
|
-
/**
|
|
468
|
-
* Quantity of the invoice item
|
|
469
|
-
*/
|
|
470
|
-
quantity?: number;
|
|
471
|
-
/**
|
|
472
|
-
* Details of the invoice item
|
|
473
|
-
*/
|
|
474
|
-
itemDetails?: string;
|
|
475
|
-
/**
|
|
476
|
-
* Effective date of the catalog
|
|
477
|
-
*/
|
|
478
|
-
catalogEffectiveDate?: string;
|
|
479
|
-
/**
|
|
480
|
-
* Child items of the invoice item
|
|
481
|
-
*/
|
|
482
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
483
|
-
[key: string]: unknown;
|
|
484
|
-
} | string>;
|
|
485
|
-
}>;
|
|
575
|
+
versions: Array<string>;
|
|
486
576
|
/**
|
|
487
|
-
*
|
|
577
|
+
* Version channels for the chart
|
|
488
578
|
*/
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Name of the product
|
|
500
|
-
*/
|
|
501
|
-
productName?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Name of the plan
|
|
504
|
-
*/
|
|
505
|
-
planName?: string;
|
|
506
|
-
/**
|
|
507
|
-
* Name of the phase
|
|
508
|
-
*/
|
|
509
|
-
phaseName?: string;
|
|
510
|
-
/**
|
|
511
|
-
* Name of the usage
|
|
512
|
-
*/
|
|
513
|
-
usageName?: string;
|
|
514
|
-
/**
|
|
515
|
-
* Pretty name of the product
|
|
516
|
-
*/
|
|
517
|
-
prettyProductName?: string;
|
|
518
|
-
/**
|
|
519
|
-
* Pretty name of the plan
|
|
520
|
-
*/
|
|
521
|
-
prettyPlanName?: string;
|
|
522
|
-
/**
|
|
523
|
-
* Pretty name of the phase
|
|
524
|
-
*/
|
|
525
|
-
prettyPhaseName?: string;
|
|
579
|
+
version_channels: Array<string>;
|
|
580
|
+
/**
|
|
581
|
+
* Latest version of the chart
|
|
582
|
+
*/
|
|
583
|
+
latestVersion: string;
|
|
584
|
+
/**
|
|
585
|
+
* Chart metadata
|
|
586
|
+
*/
|
|
587
|
+
metadata?: {
|
|
526
588
|
/**
|
|
527
|
-
*
|
|
589
|
+
* Chart name from metadata
|
|
528
590
|
*/
|
|
529
|
-
|
|
591
|
+
name: string;
|
|
530
592
|
/**
|
|
531
|
-
*
|
|
593
|
+
* Chart version from metadata
|
|
532
594
|
*/
|
|
533
|
-
|
|
595
|
+
version: string;
|
|
534
596
|
/**
|
|
535
|
-
*
|
|
597
|
+
* Chart description
|
|
536
598
|
*/
|
|
537
599
|
description?: string;
|
|
538
600
|
/**
|
|
539
|
-
*
|
|
540
|
-
*/
|
|
541
|
-
startDate?: string;
|
|
542
|
-
/**
|
|
543
|
-
* End date of the invoice item
|
|
601
|
+
* Application version
|
|
544
602
|
*/
|
|
545
|
-
|
|
603
|
+
appVersion?: string;
|
|
546
604
|
/**
|
|
547
|
-
*
|
|
605
|
+
* Helm API version
|
|
548
606
|
*/
|
|
549
|
-
|
|
607
|
+
apiVersion?: string;
|
|
550
608
|
/**
|
|
551
|
-
*
|
|
609
|
+
* Chart keywords
|
|
552
610
|
*/
|
|
553
|
-
|
|
611
|
+
keywords?: Array<string>;
|
|
554
612
|
/**
|
|
555
|
-
*
|
|
613
|
+
* Chart home URL
|
|
556
614
|
*/
|
|
557
|
-
|
|
615
|
+
home?: string;
|
|
558
616
|
/**
|
|
559
|
-
*
|
|
617
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
560
618
|
*/
|
|
561
|
-
|
|
619
|
+
icon?: string;
|
|
562
620
|
/**
|
|
563
|
-
*
|
|
621
|
+
* Chart source URLs
|
|
564
622
|
*/
|
|
565
|
-
|
|
623
|
+
sources?: Array<string>;
|
|
566
624
|
/**
|
|
567
|
-
*
|
|
625
|
+
* Chart maintainers
|
|
568
626
|
*/
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
627
|
+
maintainers?: Array<{
|
|
628
|
+
/**
|
|
629
|
+
* Maintainer name
|
|
630
|
+
*/
|
|
631
|
+
name: string;
|
|
632
|
+
/**
|
|
633
|
+
* Maintainer email
|
|
634
|
+
*/
|
|
635
|
+
email?: string;
|
|
636
|
+
}>;
|
|
637
|
+
};
|
|
577
638
|
};
|
|
578
639
|
export type OrganizationCreateInput = {
|
|
640
|
+
/**
|
|
641
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
642
|
+
*/
|
|
643
|
+
type: 'business' | 'personal';
|
|
579
644
|
/**
|
|
580
645
|
* Email address used for billing as a string.
|
|
581
646
|
*/
|
|
@@ -597,6 +662,12 @@ export type OrganizationCreateInput = {
|
|
|
597
662
|
*/
|
|
598
663
|
password: string;
|
|
599
664
|
};
|
|
665
|
+
export type OrganizationCreateOutput = {
|
|
666
|
+
/**
|
|
667
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
668
|
+
*/
|
|
669
|
+
id: string;
|
|
670
|
+
};
|
|
600
671
|
export type Organization = {
|
|
601
672
|
/**
|
|
602
673
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -606,6 +677,10 @@ export type Organization = {
|
|
|
606
677
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
607
678
|
*/
|
|
608
679
|
name?: string;
|
|
680
|
+
/**
|
|
681
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
682
|
+
*/
|
|
683
|
+
type: 'business' | 'personal';
|
|
609
684
|
/**
|
|
610
685
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
611
686
|
*/
|
|
@@ -634,10 +709,6 @@ export type Organization = {
|
|
|
634
709
|
* Maximum number of fleets that can be created per cluster.
|
|
635
710
|
*/
|
|
636
711
|
fleets_max: number;
|
|
637
|
-
/**
|
|
638
|
-
* Maximum number of CPU cores per managed fleet.
|
|
639
|
-
*/
|
|
640
|
-
managed_fleets_cpu_max: number;
|
|
641
712
|
/**
|
|
642
713
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
643
714
|
*/
|
|
@@ -659,63 +730,530 @@ export type Organization = {
|
|
|
659
730
|
*/
|
|
660
731
|
label: string;
|
|
661
732
|
}>;
|
|
733
|
+
/**
|
|
734
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
735
|
+
*/
|
|
736
|
+
cfcr_storage_gb: number;
|
|
662
737
|
};
|
|
663
738
|
/**
|
|
664
739
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
665
740
|
*/
|
|
666
741
|
status: 'active' | 'closed' | 'suspended';
|
|
742
|
+
/**
|
|
743
|
+
* 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.
|
|
744
|
+
*/
|
|
745
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
667
746
|
};
|
|
668
747
|
export type PaymentMethod = {
|
|
669
748
|
/**
|
|
670
|
-
*
|
|
749
|
+
* 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.
|
|
671
750
|
*/
|
|
672
751
|
id: string;
|
|
673
752
|
/**
|
|
674
|
-
*
|
|
753
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
675
754
|
*/
|
|
676
|
-
|
|
755
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
677
756
|
/**
|
|
678
|
-
*
|
|
679
|
-
*/
|
|
680
|
-
type: 'card';
|
|
681
|
-
/**
|
|
682
|
-
* Last 4 digits of the payment card number.
|
|
757
|
+
* 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.
|
|
683
758
|
*/
|
|
684
759
|
last4: string;
|
|
685
760
|
/**
|
|
686
|
-
* Two-digit number representing the card's expiration month.
|
|
761
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
687
762
|
*/
|
|
688
763
|
exp_month: number;
|
|
689
764
|
/**
|
|
690
|
-
* Four-digit number representing the card's expiration year.
|
|
765
|
+
* 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.
|
|
691
766
|
*/
|
|
692
767
|
exp_year: number;
|
|
693
768
|
/**
|
|
694
|
-
* Payment card brand
|
|
769
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
695
770
|
*/
|
|
696
|
-
brand:
|
|
697
|
-
};
|
|
698
|
-
export type TokenCreateInput = {
|
|
771
|
+
brand: string;
|
|
699
772
|
/**
|
|
700
|
-
*
|
|
773
|
+
* 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.
|
|
701
774
|
*/
|
|
702
|
-
|
|
775
|
+
iban: string;
|
|
703
776
|
/**
|
|
704
|
-
*
|
|
777
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
705
778
|
*/
|
|
706
|
-
|
|
707
|
-
};
|
|
708
|
-
export type Token = {
|
|
779
|
+
bic: string;
|
|
709
780
|
/**
|
|
710
|
-
*
|
|
781
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
711
782
|
*/
|
|
712
|
-
|
|
783
|
+
account_holder_name: string;
|
|
713
784
|
/**
|
|
714
|
-
*
|
|
785
|
+
* 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).
|
|
715
786
|
*/
|
|
716
|
-
|
|
787
|
+
is_default: boolean;
|
|
788
|
+
};
|
|
789
|
+
export type PlatformQuota = {
|
|
717
790
|
/**
|
|
718
|
-
*
|
|
791
|
+
* Maximum number of Basic clusters that can be created.
|
|
792
|
+
*/
|
|
793
|
+
basic_clusters_max: number;
|
|
794
|
+
/**
|
|
795
|
+
* Available number of Basic clusters that can be created.
|
|
796
|
+
*/
|
|
797
|
+
basic_clusters_available: number;
|
|
798
|
+
/**
|
|
799
|
+
* Maximum number of Pro clusters that can be created.
|
|
800
|
+
*/
|
|
801
|
+
pro_clusters_max: number;
|
|
802
|
+
/**
|
|
803
|
+
* Available number of Pro clusters that can be created.
|
|
804
|
+
*/
|
|
805
|
+
pro_clusters_available: number;
|
|
806
|
+
/**
|
|
807
|
+
* Maximum number of fleets that can be created per cluster.
|
|
808
|
+
*/
|
|
809
|
+
fleets_max: number;
|
|
810
|
+
/**
|
|
811
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
812
|
+
*/
|
|
813
|
+
cluster_tiers: Array<string>;
|
|
814
|
+
/**
|
|
815
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
816
|
+
*/
|
|
817
|
+
regions: Array<string>;
|
|
818
|
+
/**
|
|
819
|
+
* List of CFKE control plane versions available for the organization.
|
|
820
|
+
*/
|
|
821
|
+
versions: Array<{
|
|
822
|
+
/**
|
|
823
|
+
* Id of the control plane version. Used in API calls.
|
|
824
|
+
*/
|
|
825
|
+
id: string;
|
|
826
|
+
/**
|
|
827
|
+
* Label of the control plane version. Used in frontent UI.
|
|
828
|
+
*/
|
|
829
|
+
label: string;
|
|
830
|
+
}>;
|
|
831
|
+
/**
|
|
832
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
833
|
+
*/
|
|
834
|
+
cfcr_storage_gb: number;
|
|
835
|
+
};
|
|
836
|
+
export type RegistryRepository = {
|
|
837
|
+
/**
|
|
838
|
+
* Repository name.
|
|
839
|
+
*/
|
|
840
|
+
name: string;
|
|
841
|
+
/**
|
|
842
|
+
* Registry region.
|
|
843
|
+
*/
|
|
844
|
+
region: string;
|
|
845
|
+
/**
|
|
846
|
+
* Full URI of the repository.
|
|
847
|
+
*/
|
|
848
|
+
uri: string;
|
|
849
|
+
};
|
|
850
|
+
export type RegistryRepositoryWithTags = {
|
|
851
|
+
/**
|
|
852
|
+
* Repository name.
|
|
853
|
+
*/
|
|
854
|
+
name: string;
|
|
855
|
+
/**
|
|
856
|
+
* Registry region.
|
|
857
|
+
*/
|
|
858
|
+
region: string;
|
|
859
|
+
/**
|
|
860
|
+
* Full URI of the repository.
|
|
861
|
+
*/
|
|
862
|
+
uri: string;
|
|
863
|
+
/**
|
|
864
|
+
* Array of tags in the repository.
|
|
865
|
+
*/
|
|
866
|
+
tags: Array<{
|
|
867
|
+
/**
|
|
868
|
+
* Tag name.
|
|
869
|
+
*/
|
|
870
|
+
name: string;
|
|
871
|
+
/**
|
|
872
|
+
* Size of the tag in bytes.
|
|
873
|
+
*/
|
|
874
|
+
size: number;
|
|
875
|
+
/**
|
|
876
|
+
* Media type of the manifest.
|
|
877
|
+
*/
|
|
878
|
+
mediaType?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
881
|
+
*/
|
|
882
|
+
platforms?: Array<string>;
|
|
883
|
+
}>;
|
|
884
|
+
/**
|
|
885
|
+
* Total size of all tags in the repository in bytes.
|
|
886
|
+
*/
|
|
887
|
+
totalSize: number;
|
|
888
|
+
};
|
|
889
|
+
export type RegistryTag = {
|
|
890
|
+
/**
|
|
891
|
+
* Tag name.
|
|
892
|
+
*/
|
|
893
|
+
name: string;
|
|
894
|
+
/**
|
|
895
|
+
* Manifest digest for pulling by digest.
|
|
896
|
+
*/
|
|
897
|
+
digest: string;
|
|
898
|
+
/**
|
|
899
|
+
* Media type of the manifest.
|
|
900
|
+
*/
|
|
901
|
+
mediaType?: string;
|
|
902
|
+
/**
|
|
903
|
+
* Manifest config metadata.
|
|
904
|
+
*/
|
|
905
|
+
config?: {
|
|
906
|
+
/**
|
|
907
|
+
* Size of the config in bytes.
|
|
908
|
+
*/
|
|
909
|
+
size: number;
|
|
910
|
+
};
|
|
911
|
+
/**
|
|
912
|
+
* Array of layer metadata.
|
|
913
|
+
*/
|
|
914
|
+
layers?: Array<{
|
|
915
|
+
/**
|
|
916
|
+
* Digest of the layer.
|
|
917
|
+
*/
|
|
918
|
+
digest?: string;
|
|
919
|
+
/**
|
|
920
|
+
* Size of the layer in bytes.
|
|
921
|
+
*/
|
|
922
|
+
size: number;
|
|
923
|
+
}>;
|
|
924
|
+
/**
|
|
925
|
+
* Array of manifests for multi-arch images.
|
|
926
|
+
*/
|
|
927
|
+
manifests?: Array<{
|
|
928
|
+
/**
|
|
929
|
+
* Digest of the manifest.
|
|
930
|
+
*/
|
|
931
|
+
digest: string;
|
|
932
|
+
/**
|
|
933
|
+
* Platform information for the manifest.
|
|
934
|
+
*/
|
|
935
|
+
platform?: {
|
|
936
|
+
/**
|
|
937
|
+
* Architecture of the platform.
|
|
938
|
+
*/
|
|
939
|
+
architecture: string;
|
|
940
|
+
/**
|
|
941
|
+
* Operating system of the platform.
|
|
942
|
+
*/
|
|
943
|
+
os: string;
|
|
944
|
+
/**
|
|
945
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
946
|
+
*/
|
|
947
|
+
variant?: string;
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* Layers for this platform.
|
|
951
|
+
*/
|
|
952
|
+
layers?: Array<{
|
|
953
|
+
/**
|
|
954
|
+
* Digest of the layer.
|
|
955
|
+
*/
|
|
956
|
+
digest?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Size of the layer in bytes.
|
|
959
|
+
*/
|
|
960
|
+
size: number;
|
|
961
|
+
}>;
|
|
962
|
+
/**
|
|
963
|
+
* Total size of this platform manifest in bytes.
|
|
964
|
+
*/
|
|
965
|
+
size?: number;
|
|
966
|
+
}>;
|
|
967
|
+
/**
|
|
968
|
+
* Total size of the tag in bytes.
|
|
969
|
+
*/
|
|
970
|
+
size: number;
|
|
971
|
+
/**
|
|
972
|
+
* Registry region.
|
|
973
|
+
*/
|
|
974
|
+
region: string;
|
|
975
|
+
/**
|
|
976
|
+
* Repository name.
|
|
977
|
+
*/
|
|
978
|
+
repository: string;
|
|
979
|
+
/**
|
|
980
|
+
* Full URI of the tag.
|
|
981
|
+
*/
|
|
982
|
+
uri: string;
|
|
983
|
+
};
|
|
984
|
+
export type TicketAttachment = {
|
|
985
|
+
/**
|
|
986
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
987
|
+
*/
|
|
988
|
+
id: string;
|
|
989
|
+
/**
|
|
990
|
+
* Original filename as uploaded.
|
|
991
|
+
*/
|
|
992
|
+
filename: string;
|
|
993
|
+
/**
|
|
994
|
+
* MIME content type of the attachment.
|
|
995
|
+
*/
|
|
996
|
+
content_type: string;
|
|
997
|
+
/**
|
|
998
|
+
* Size of the attachment in bytes.
|
|
999
|
+
*/
|
|
1000
|
+
size: number;
|
|
1001
|
+
};
|
|
1002
|
+
export type TicketCreateInput = {
|
|
1003
|
+
/**
|
|
1004
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1005
|
+
*/
|
|
1006
|
+
category: 'billing' | 'technical' | 'general';
|
|
1007
|
+
/**
|
|
1008
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1009
|
+
*/
|
|
1010
|
+
body: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1013
|
+
*/
|
|
1014
|
+
properties?: {
|
|
1015
|
+
[key: string]: unknown;
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
export type TicketListResponse = {
|
|
1019
|
+
/**
|
|
1020
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1021
|
+
*/
|
|
1022
|
+
items: Array<{
|
|
1023
|
+
/**
|
|
1024
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1025
|
+
*/
|
|
1026
|
+
id: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Current state of the ticket.
|
|
1029
|
+
*/
|
|
1030
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1031
|
+
/**
|
|
1032
|
+
* Ticket category.
|
|
1033
|
+
*/
|
|
1034
|
+
category: 'billing' | 'technical' | 'general';
|
|
1035
|
+
/**
|
|
1036
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1037
|
+
*/
|
|
1038
|
+
summary: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1041
|
+
*/
|
|
1042
|
+
closed_at?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1045
|
+
*/
|
|
1046
|
+
date_created: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1049
|
+
*/
|
|
1050
|
+
date_updated: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1053
|
+
*/
|
|
1054
|
+
messages?: Array<{
|
|
1055
|
+
/**
|
|
1056
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1057
|
+
*/
|
|
1058
|
+
id: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1061
|
+
*/
|
|
1062
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1063
|
+
/**
|
|
1064
|
+
* Message body in markdown.
|
|
1065
|
+
*/
|
|
1066
|
+
body: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* First name of the author. Null when not provided.
|
|
1069
|
+
*/
|
|
1070
|
+
author_first_name?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Last name of the author. Null when not provided.
|
|
1073
|
+
*/
|
|
1074
|
+
author_last_name?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* Attachments associated with this message.
|
|
1077
|
+
*/
|
|
1078
|
+
attachments?: Array<{
|
|
1079
|
+
/**
|
|
1080
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1081
|
+
*/
|
|
1082
|
+
id: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Original filename as uploaded.
|
|
1085
|
+
*/
|
|
1086
|
+
filename: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* MIME content type of the attachment.
|
|
1089
|
+
*/
|
|
1090
|
+
content_type: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Size of the attachment in bytes.
|
|
1093
|
+
*/
|
|
1094
|
+
size: number;
|
|
1095
|
+
}>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1098
|
+
*/
|
|
1099
|
+
date_created: string;
|
|
1100
|
+
}>;
|
|
1101
|
+
}>;
|
|
1102
|
+
};
|
|
1103
|
+
export type TicketMessageInput = {
|
|
1104
|
+
/**
|
|
1105
|
+
* Reply body in markdown.
|
|
1106
|
+
*/
|
|
1107
|
+
body: string;
|
|
1108
|
+
};
|
|
1109
|
+
export type TicketMessage = {
|
|
1110
|
+
/**
|
|
1111
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1112
|
+
*/
|
|
1113
|
+
id: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1116
|
+
*/
|
|
1117
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1118
|
+
/**
|
|
1119
|
+
* Message body in markdown.
|
|
1120
|
+
*/
|
|
1121
|
+
body: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* First name of the author. Null when not provided.
|
|
1124
|
+
*/
|
|
1125
|
+
author_first_name?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Last name of the author. Null when not provided.
|
|
1128
|
+
*/
|
|
1129
|
+
author_last_name?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Attachments associated with this message.
|
|
1132
|
+
*/
|
|
1133
|
+
attachments?: Array<{
|
|
1134
|
+
/**
|
|
1135
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1136
|
+
*/
|
|
1137
|
+
id: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Original filename as uploaded.
|
|
1140
|
+
*/
|
|
1141
|
+
filename: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* MIME content type of the attachment.
|
|
1144
|
+
*/
|
|
1145
|
+
content_type: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* Size of the attachment in bytes.
|
|
1148
|
+
*/
|
|
1149
|
+
size: number;
|
|
1150
|
+
}>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1153
|
+
*/
|
|
1154
|
+
date_created: string;
|
|
1155
|
+
};
|
|
1156
|
+
export type Ticket = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1159
|
+
*/
|
|
1160
|
+
id: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Current state of the ticket.
|
|
1163
|
+
*/
|
|
1164
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1165
|
+
/**
|
|
1166
|
+
* Ticket category.
|
|
1167
|
+
*/
|
|
1168
|
+
category: 'billing' | 'technical' | 'general';
|
|
1169
|
+
/**
|
|
1170
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1171
|
+
*/
|
|
1172
|
+
summary: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1175
|
+
*/
|
|
1176
|
+
closed_at?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1179
|
+
*/
|
|
1180
|
+
date_created: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1183
|
+
*/
|
|
1184
|
+
date_updated: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1187
|
+
*/
|
|
1188
|
+
messages?: Array<{
|
|
1189
|
+
/**
|
|
1190
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1191
|
+
*/
|
|
1192
|
+
id: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1195
|
+
*/
|
|
1196
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1197
|
+
/**
|
|
1198
|
+
* Message body in markdown.
|
|
1199
|
+
*/
|
|
1200
|
+
body: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* First name of the author. Null when not provided.
|
|
1203
|
+
*/
|
|
1204
|
+
author_first_name?: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* Last name of the author. Null when not provided.
|
|
1207
|
+
*/
|
|
1208
|
+
author_last_name?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* Attachments associated with this message.
|
|
1211
|
+
*/
|
|
1212
|
+
attachments?: Array<{
|
|
1213
|
+
/**
|
|
1214
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1215
|
+
*/
|
|
1216
|
+
id: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Original filename as uploaded.
|
|
1219
|
+
*/
|
|
1220
|
+
filename: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* MIME content type of the attachment.
|
|
1223
|
+
*/
|
|
1224
|
+
content_type: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* Size of the attachment in bytes.
|
|
1227
|
+
*/
|
|
1228
|
+
size: number;
|
|
1229
|
+
}>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1232
|
+
*/
|
|
1233
|
+
date_created: string;
|
|
1234
|
+
}>;
|
|
1235
|
+
};
|
|
1236
|
+
export type TokenCreateInput = {
|
|
1237
|
+
/**
|
|
1238
|
+
* Human readable access token name.
|
|
1239
|
+
*/
|
|
1240
|
+
name: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Role assumed by the token.
|
|
1243
|
+
*/
|
|
1244
|
+
role: 'Administrator' | 'User';
|
|
1245
|
+
};
|
|
1246
|
+
export type Token = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Human readable access token name.
|
|
1249
|
+
*/
|
|
1250
|
+
name: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* Role assumed by the token.
|
|
1253
|
+
*/
|
|
1254
|
+
role: 'Administrator' | 'User';
|
|
1255
|
+
/**
|
|
1256
|
+
* Generated unique identifier of the access token.
|
|
719
1257
|
*/
|
|
720
1258
|
id?: string;
|
|
721
1259
|
/**
|
|
@@ -737,35 +1275,85 @@ export type TokenUpdateInput = {
|
|
|
737
1275
|
*/
|
|
738
1276
|
role?: 'Administrator' | 'User';
|
|
739
1277
|
};
|
|
1278
|
+
export type UsageFacets = {
|
|
1279
|
+
/**
|
|
1280
|
+
* List of unique cluster IDs
|
|
1281
|
+
*/
|
|
1282
|
+
cluster_id?: Array<string>;
|
|
1283
|
+
/**
|
|
1284
|
+
* List of unique products
|
|
1285
|
+
*/
|
|
1286
|
+
product?: Array<string>;
|
|
1287
|
+
};
|
|
1288
|
+
export type UsageResponse = {
|
|
1289
|
+
/**
|
|
1290
|
+
* Usage data
|
|
1291
|
+
*/
|
|
1292
|
+
data: Array<{
|
|
1293
|
+
/**
|
|
1294
|
+
* Hour of the usage
|
|
1295
|
+
*/
|
|
1296
|
+
hour: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1299
|
+
*/
|
|
1300
|
+
cluster_id: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* The product the usage is associated with
|
|
1303
|
+
*/
|
|
1304
|
+
product: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Consumption
|
|
1307
|
+
*/
|
|
1308
|
+
value: number;
|
|
1309
|
+
/**
|
|
1310
|
+
* Price per unit
|
|
1311
|
+
*/
|
|
1312
|
+
price: number;
|
|
1313
|
+
/**
|
|
1314
|
+
* Total cost
|
|
1315
|
+
*/
|
|
1316
|
+
total: number;
|
|
1317
|
+
}>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Facets for filtering
|
|
1320
|
+
*/
|
|
1321
|
+
facets: {
|
|
1322
|
+
/**
|
|
1323
|
+
* List of unique cluster IDs
|
|
1324
|
+
*/
|
|
1325
|
+
cluster_id?: Array<string>;
|
|
1326
|
+
/**
|
|
1327
|
+
* List of unique products
|
|
1328
|
+
*/
|
|
1329
|
+
product?: Array<string>;
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
740
1332
|
export type Usage = {
|
|
741
1333
|
/**
|
|
742
1334
|
* Hour of the usage
|
|
743
1335
|
*/
|
|
744
|
-
hour
|
|
1336
|
+
hour: string;
|
|
745
1337
|
/**
|
|
746
1338
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
747
1339
|
*/
|
|
748
1340
|
cluster_id: string;
|
|
749
1341
|
/**
|
|
750
|
-
*
|
|
1342
|
+
* The product the usage is associated with
|
|
751
1343
|
*/
|
|
752
|
-
|
|
1344
|
+
product: string;
|
|
753
1345
|
/**
|
|
754
|
-
*
|
|
1346
|
+
* Consumption
|
|
755
1347
|
*/
|
|
756
|
-
|
|
1348
|
+
value: number;
|
|
757
1349
|
/**
|
|
758
|
-
*
|
|
1350
|
+
* Price per unit
|
|
759
1351
|
*/
|
|
760
|
-
|
|
1352
|
+
price: number;
|
|
761
1353
|
/**
|
|
762
|
-
*
|
|
1354
|
+
* Total cost
|
|
763
1355
|
*/
|
|
764
|
-
|
|
765
|
-
cpu: number | '';
|
|
766
|
-
price: number | '';
|
|
767
|
-
value: number | '';
|
|
768
|
-
total: number | '';
|
|
1356
|
+
total: number;
|
|
769
1357
|
};
|
|
770
1358
|
export type UserCreateInput = {
|
|
771
1359
|
/**
|
|
@@ -788,14 +1376,6 @@ export type UserCreateInput = {
|
|
|
788
1376
|
* User password. Must be at least 8 characters long.
|
|
789
1377
|
*/
|
|
790
1378
|
password: string;
|
|
791
|
-
/**
|
|
792
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
793
|
-
*/
|
|
794
|
-
status?: 'active' | 'inactive';
|
|
795
|
-
/**
|
|
796
|
-
* User role. Can be 'Administrator', 'User'.
|
|
797
|
-
*/
|
|
798
|
-
role?: 'Administrator' | 'User';
|
|
799
1379
|
};
|
|
800
1380
|
export type User = {
|
|
801
1381
|
/**
|
|
@@ -852,7 +1432,12 @@ export type UserUpdateInput = {
|
|
|
852
1432
|
export type GetUsageData = {
|
|
853
1433
|
body?: never;
|
|
854
1434
|
path?: never;
|
|
855
|
-
query?:
|
|
1435
|
+
query?: {
|
|
1436
|
+
/**
|
|
1437
|
+
* 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)
|
|
1438
|
+
*/
|
|
1439
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1440
|
+
};
|
|
856
1441
|
url: '/billing/usage';
|
|
857
1442
|
};
|
|
858
1443
|
export type GetUsageErrors = {
|
|
@@ -863,75 +1448,121 @@ export type GetUsageErrors = {
|
|
|
863
1448
|
};
|
|
864
1449
|
export type GetUsageResponses = {
|
|
865
1450
|
/**
|
|
866
|
-
*
|
|
1451
|
+
* Usage data with facets for filtering
|
|
867
1452
|
*/
|
|
868
|
-
200:
|
|
1453
|
+
200: UsageResponse;
|
|
869
1454
|
};
|
|
870
1455
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
871
|
-
export type
|
|
1456
|
+
export type GetPaymentMethodSecretData = {
|
|
872
1457
|
body?: never;
|
|
873
1458
|
path?: never;
|
|
874
1459
|
query?: never;
|
|
875
|
-
url: '/billing/
|
|
1460
|
+
url: '/billing/payment-method';
|
|
876
1461
|
};
|
|
877
|
-
export type
|
|
1462
|
+
export type GetPaymentMethodSecretResponses = {
|
|
878
1463
|
/**
|
|
879
|
-
*
|
|
1464
|
+
* 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.
|
|
1465
|
+
*
|
|
880
1466
|
*/
|
|
881
|
-
200:
|
|
1467
|
+
200: {
|
|
1468
|
+
/**
|
|
1469
|
+
* The client secret.
|
|
1470
|
+
*/
|
|
1471
|
+
id?: string;
|
|
1472
|
+
};
|
|
882
1473
|
};
|
|
883
|
-
export type
|
|
884
|
-
export type
|
|
1474
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1475
|
+
export type ListPaymentMethodsData = {
|
|
885
1476
|
body?: never;
|
|
886
1477
|
path?: never;
|
|
887
1478
|
query?: never;
|
|
888
|
-
url: '/billing/payment-
|
|
1479
|
+
url: '/billing/payment-methods';
|
|
889
1480
|
};
|
|
890
|
-
export type
|
|
1481
|
+
export type ListPaymentMethodsErrors = {
|
|
891
1482
|
/**
|
|
892
|
-
*
|
|
1483
|
+
* Not authenticated
|
|
893
1484
|
*/
|
|
894
|
-
|
|
1485
|
+
401: unknown;
|
|
895
1486
|
};
|
|
896
|
-
export type
|
|
1487
|
+
export type ListPaymentMethodsResponses = {
|
|
897
1488
|
/**
|
|
898
|
-
*
|
|
1489
|
+
* An array of payment methods.
|
|
899
1490
|
*/
|
|
900
|
-
200: PaymentMethod
|
|
1491
|
+
200: Array<PaymentMethod>;
|
|
901
1492
|
};
|
|
902
|
-
export type
|
|
903
|
-
export type
|
|
1493
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1494
|
+
export type SetDefaultPaymentMethodData = {
|
|
904
1495
|
body?: never;
|
|
905
|
-
path
|
|
1496
|
+
path: {
|
|
1497
|
+
/**
|
|
1498
|
+
* Stripe payment method identifier.
|
|
1499
|
+
*/
|
|
1500
|
+
paymentMethodId: string;
|
|
1501
|
+
};
|
|
906
1502
|
query?: never;
|
|
907
|
-
url: '/billing/payment-
|
|
1503
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
908
1504
|
};
|
|
909
|
-
export type
|
|
1505
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
910
1506
|
/**
|
|
911
|
-
* The
|
|
912
|
-
*
|
|
1507
|
+
* The bank transfer payment method cannot be set as the default.
|
|
913
1508
|
*/
|
|
914
|
-
|
|
1509
|
+
400: unknown;
|
|
1510
|
+
/**
|
|
1511
|
+
* Not authenticated
|
|
1512
|
+
*/
|
|
1513
|
+
401: unknown;
|
|
1514
|
+
/**
|
|
1515
|
+
* Payment method not found.
|
|
1516
|
+
*/
|
|
1517
|
+
404: unknown;
|
|
1518
|
+
};
|
|
1519
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Default payment method updated.
|
|
1522
|
+
*/
|
|
1523
|
+
204: void;
|
|
1524
|
+
};
|
|
1525
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
1526
|
+
export type DeletePaymentMethodData = {
|
|
1527
|
+
body?: never;
|
|
1528
|
+
path: {
|
|
915
1529
|
/**
|
|
916
|
-
*
|
|
1530
|
+
* Stripe payment method identifier.
|
|
917
1531
|
*/
|
|
918
|
-
|
|
1532
|
+
paymentMethodId: string;
|
|
919
1533
|
};
|
|
1534
|
+
query?: never;
|
|
1535
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
920
1536
|
};
|
|
921
|
-
export type
|
|
1537
|
+
export type DeletePaymentMethodErrors = {
|
|
1538
|
+
/**
|
|
1539
|
+
* The bank transfer payment method cannot be removed.
|
|
1540
|
+
*/
|
|
1541
|
+
400: unknown;
|
|
1542
|
+
/**
|
|
1543
|
+
* Not authenticated
|
|
1544
|
+
*/
|
|
1545
|
+
401: unknown;
|
|
1546
|
+
/**
|
|
1547
|
+
* Payment method not found.
|
|
1548
|
+
*/
|
|
1549
|
+
404: unknown;
|
|
1550
|
+
/**
|
|
1551
|
+
* Cannot delete the only remaining payment method.
|
|
1552
|
+
*/
|
|
1553
|
+
409: unknown;
|
|
1554
|
+
};
|
|
1555
|
+
export type DeletePaymentMethodResponses = {
|
|
1556
|
+
/**
|
|
1557
|
+
* Payment method deleted.
|
|
1558
|
+
*/
|
|
1559
|
+
204: void;
|
|
1560
|
+
};
|
|
1561
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
922
1562
|
export type ListInvoicesData = {
|
|
923
1563
|
body?: never;
|
|
924
1564
|
path?: never;
|
|
925
|
-
query
|
|
926
|
-
/**
|
|
927
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
928
|
-
*/
|
|
929
|
-
start_date: string;
|
|
930
|
-
/**
|
|
931
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
932
|
-
*/
|
|
933
|
-
end_date: string;
|
|
934
|
-
};
|
|
1565
|
+
query?: never;
|
|
935
1566
|
url: '/billing/invoices';
|
|
936
1567
|
};
|
|
937
1568
|
export type ListInvoicesErrors = {
|
|
@@ -947,26 +1578,6 @@ export type ListInvoicesResponses = {
|
|
|
947
1578
|
200: Array<Invoice>;
|
|
948
1579
|
};
|
|
949
1580
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
950
|
-
export type GetInvoiceData = {
|
|
951
|
-
body?: never;
|
|
952
|
-
path: {
|
|
953
|
-
/**
|
|
954
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
955
|
-
*/
|
|
956
|
-
id: string;
|
|
957
|
-
};
|
|
958
|
-
query?: never;
|
|
959
|
-
url: '/billing/invoices/{id}';
|
|
960
|
-
};
|
|
961
|
-
export type GetInvoiceResponses = {
|
|
962
|
-
/**
|
|
963
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
964
|
-
*/
|
|
965
|
-
200: {
|
|
966
|
-
html?: string;
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
970
1581
|
export type GetContactData = {
|
|
971
1582
|
body?: never;
|
|
972
1583
|
path?: never;
|
|
@@ -988,53 +1599,161 @@ export type UpdateContactData = {
|
|
|
988
1599
|
};
|
|
989
1600
|
export type UpdateContactResponses = {
|
|
990
1601
|
/**
|
|
991
|
-
* Successfully updated. Returns updated organization details.
|
|
1602
|
+
* Successfully updated. Returns updated organization details.
|
|
1603
|
+
*/
|
|
1604
|
+
200: BillingContact;
|
|
1605
|
+
};
|
|
1606
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1607
|
+
export type GetCreditsData = {
|
|
1608
|
+
body?: never;
|
|
1609
|
+
path?: never;
|
|
1610
|
+
query?: never;
|
|
1611
|
+
url: '/billing/credits';
|
|
1612
|
+
};
|
|
1613
|
+
export type GetCreditsErrors = {
|
|
1614
|
+
/**
|
|
1615
|
+
* Not authenticated
|
|
1616
|
+
*/
|
|
1617
|
+
401: unknown;
|
|
1618
|
+
};
|
|
1619
|
+
export type GetCreditsResponses = {
|
|
1620
|
+
/**
|
|
1621
|
+
* An array of the applied promotional credits records.
|
|
1622
|
+
*/
|
|
1623
|
+
200: Array<BillingCredits>;
|
|
1624
|
+
};
|
|
1625
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1626
|
+
export type RedeemCreditsData = {
|
|
1627
|
+
body: {
|
|
1628
|
+
/**
|
|
1629
|
+
* Promotional code to redeem
|
|
1630
|
+
*/
|
|
1631
|
+
code?: string;
|
|
1632
|
+
};
|
|
1633
|
+
path?: never;
|
|
1634
|
+
query?: never;
|
|
1635
|
+
url: '/billing/credits';
|
|
1636
|
+
};
|
|
1637
|
+
export type RedeemCreditsErrors = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Not authenticated
|
|
1640
|
+
*/
|
|
1641
|
+
401: unknown;
|
|
1642
|
+
};
|
|
1643
|
+
export type RedeemCreditsResponses = {
|
|
1644
|
+
/**
|
|
1645
|
+
* Successfully created a new organization.
|
|
1646
|
+
*/
|
|
1647
|
+
200: unknown;
|
|
1648
|
+
};
|
|
1649
|
+
export type ListChartsData = {
|
|
1650
|
+
body?: never;
|
|
1651
|
+
path: {
|
|
1652
|
+
/**
|
|
1653
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1654
|
+
*/
|
|
1655
|
+
cluster_id: string;
|
|
1656
|
+
};
|
|
1657
|
+
query?: never;
|
|
1658
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1659
|
+
};
|
|
1660
|
+
export type ListChartsErrors = {
|
|
1661
|
+
/**
|
|
1662
|
+
* Not authenticated
|
|
1663
|
+
*/
|
|
1664
|
+
401: unknown;
|
|
1665
|
+
};
|
|
1666
|
+
export type ListChartsResponses = {
|
|
1667
|
+
/**
|
|
1668
|
+
* An array of charts
|
|
1669
|
+
*/
|
|
1670
|
+
200: Array<Chart>;
|
|
1671
|
+
};
|
|
1672
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1673
|
+
export type CreateChartData = {
|
|
1674
|
+
body: ChartCreateInput;
|
|
1675
|
+
path: {
|
|
1676
|
+
/**
|
|
1677
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1678
|
+
*/
|
|
1679
|
+
cluster_id: string;
|
|
1680
|
+
};
|
|
1681
|
+
query?: never;
|
|
1682
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1683
|
+
};
|
|
1684
|
+
export type CreateChartResponses = {
|
|
1685
|
+
/**
|
|
1686
|
+
* Successfully created. Returns created Chart ID.
|
|
1687
|
+
*/
|
|
1688
|
+
200: string;
|
|
1689
|
+
};
|
|
1690
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1691
|
+
export type DeleteChartData = {
|
|
1692
|
+
body?: never;
|
|
1693
|
+
path: {
|
|
1694
|
+
/**
|
|
1695
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1696
|
+
*/
|
|
1697
|
+
cluster_id: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1700
|
+
*/
|
|
1701
|
+
chart_name: string;
|
|
1702
|
+
};
|
|
1703
|
+
query?: never;
|
|
1704
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1705
|
+
};
|
|
1706
|
+
export type DeleteChartResponses = {
|
|
1707
|
+
/**
|
|
1708
|
+
* Successfully deleted.
|
|
992
1709
|
*/
|
|
993
|
-
200:
|
|
1710
|
+
200: string;
|
|
994
1711
|
};
|
|
995
|
-
export type
|
|
996
|
-
export type
|
|
1712
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1713
|
+
export type GetChartData = {
|
|
997
1714
|
body?: never;
|
|
998
|
-
path
|
|
1715
|
+
path: {
|
|
1716
|
+
/**
|
|
1717
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1718
|
+
*/
|
|
1719
|
+
cluster_id: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1722
|
+
*/
|
|
1723
|
+
chart_name: string;
|
|
1724
|
+
};
|
|
999
1725
|
query?: never;
|
|
1000
|
-
url: '/
|
|
1726
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1001
1727
|
};
|
|
1002
|
-
export type
|
|
1003
|
-
/**
|
|
1004
|
-
* Not authenticated
|
|
1005
|
-
*/
|
|
1006
|
-
401: unknown;
|
|
1007
|
-
};
|
|
1008
|
-
export type GetCreditsResponses = {
|
|
1728
|
+
export type GetChartResponses = {
|
|
1009
1729
|
/**
|
|
1010
|
-
*
|
|
1730
|
+
* Returns a single object containing chart details.
|
|
1011
1731
|
*/
|
|
1012
|
-
200:
|
|
1732
|
+
200: Chart;
|
|
1013
1733
|
};
|
|
1014
|
-
export type
|
|
1015
|
-
export type
|
|
1016
|
-
body:
|
|
1734
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1735
|
+
export type UpdateChartData = {
|
|
1736
|
+
body: ChartUpdateInput;
|
|
1737
|
+
path: {
|
|
1017
1738
|
/**
|
|
1018
|
-
*
|
|
1739
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1019
1740
|
*/
|
|
1020
|
-
|
|
1741
|
+
cluster_id: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1744
|
+
*/
|
|
1745
|
+
chart_name: string;
|
|
1021
1746
|
};
|
|
1022
|
-
path?: never;
|
|
1023
1747
|
query?: never;
|
|
1024
|
-
url: '/
|
|
1025
|
-
};
|
|
1026
|
-
export type RedeemCreditsErrors = {
|
|
1027
|
-
/**
|
|
1028
|
-
* Not authenticated
|
|
1029
|
-
*/
|
|
1030
|
-
401: unknown;
|
|
1748
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1031
1749
|
};
|
|
1032
|
-
export type
|
|
1750
|
+
export type UpdateChartResponses = {
|
|
1033
1751
|
/**
|
|
1034
|
-
* Successfully
|
|
1752
|
+
* Successfully updated.
|
|
1035
1753
|
*/
|
|
1036
|
-
200:
|
|
1754
|
+
200: string;
|
|
1037
1755
|
};
|
|
1756
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1038
1757
|
export type ListFleetsData = {
|
|
1039
1758
|
body?: never;
|
|
1040
1759
|
path: {
|
|
@@ -1294,7 +2013,7 @@ export type GetJoinInformationResponses = {
|
|
|
1294
2013
|
/**
|
|
1295
2014
|
* An object of cluster join information
|
|
1296
2015
|
*/
|
|
1297
|
-
200:
|
|
2016
|
+
200: ClusterJoinInformation;
|
|
1298
2017
|
};
|
|
1299
2018
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1300
2019
|
export type ListInvitesData = {
|
|
@@ -1317,12 +2036,7 @@ export type ListInvitesResponses = {
|
|
|
1317
2036
|
};
|
|
1318
2037
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1319
2038
|
export type CreateInviteData = {
|
|
1320
|
-
body:
|
|
1321
|
-
/**
|
|
1322
|
-
* User email address
|
|
1323
|
-
*/
|
|
1324
|
-
email?: string;
|
|
1325
|
-
};
|
|
2039
|
+
body: InviteCreateInput;
|
|
1326
2040
|
path?: never;
|
|
1327
2041
|
query?: never;
|
|
1328
2042
|
url: '/invites';
|
|
@@ -1347,9 +2061,18 @@ export type GetInviteData = {
|
|
|
1347
2061
|
};
|
|
1348
2062
|
export type GetInviteResponses = {
|
|
1349
2063
|
/**
|
|
1350
|
-
* Returns
|
|
2064
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1351
2065
|
*/
|
|
1352
|
-
200:
|
|
2066
|
+
200: {
|
|
2067
|
+
/**
|
|
2068
|
+
* Email address the invite was issued to.
|
|
2069
|
+
*/
|
|
2070
|
+
email?: string;
|
|
2071
|
+
/**
|
|
2072
|
+
* Identifier of the organization the invite grants access to.
|
|
2073
|
+
*/
|
|
2074
|
+
organization_id?: string;
|
|
2075
|
+
};
|
|
1353
2076
|
};
|
|
1354
2077
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1355
2078
|
export type DeleteInviteData = {
|
|
@@ -1369,6 +2092,95 @@ export type DeleteInviteResponses = {
|
|
|
1369
2092
|
*/
|
|
1370
2093
|
200: unknown;
|
|
1371
2094
|
};
|
|
2095
|
+
export type ListMarketplaceChartsData = {
|
|
2096
|
+
body?: never;
|
|
2097
|
+
path?: never;
|
|
2098
|
+
query?: never;
|
|
2099
|
+
url: '/marketplace';
|
|
2100
|
+
};
|
|
2101
|
+
export type ListMarketplaceChartsErrors = {
|
|
2102
|
+
/**
|
|
2103
|
+
* Not authenticated
|
|
2104
|
+
*/
|
|
2105
|
+
401: unknown;
|
|
2106
|
+
};
|
|
2107
|
+
export type ListMarketplaceChartsResponses = {
|
|
2108
|
+
/**
|
|
2109
|
+
* An array of chart listings in the marketplace.
|
|
2110
|
+
*/
|
|
2111
|
+
200: Array<MarketplaceListing>;
|
|
2112
|
+
};
|
|
2113
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2114
|
+
export type GetMarketplaceChartFilesData = {
|
|
2115
|
+
body?: never;
|
|
2116
|
+
path: {
|
|
2117
|
+
/**
|
|
2118
|
+
* Name of the chart in the marketplace.
|
|
2119
|
+
*/
|
|
2120
|
+
chart_name: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* 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).
|
|
2123
|
+
*/
|
|
2124
|
+
version_channel: string;
|
|
2125
|
+
};
|
|
2126
|
+
query?: never;
|
|
2127
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2128
|
+
};
|
|
2129
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2130
|
+
/**
|
|
2131
|
+
* Chart not found or no version matches the channel
|
|
2132
|
+
*/
|
|
2133
|
+
404: unknown;
|
|
2134
|
+
};
|
|
2135
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2136
|
+
/**
|
|
2137
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2138
|
+
*/
|
|
2139
|
+
200: MarketplaceListingFiles;
|
|
2140
|
+
};
|
|
2141
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2142
|
+
export type PostMcpData = {
|
|
2143
|
+
/**
|
|
2144
|
+
* JSON-RPC 2.0 request payload
|
|
2145
|
+
*/
|
|
2146
|
+
body: {
|
|
2147
|
+
jsonrpc?: string;
|
|
2148
|
+
method?: string;
|
|
2149
|
+
id?: string | number;
|
|
2150
|
+
/**
|
|
2151
|
+
* Method-specific parameters
|
|
2152
|
+
*/
|
|
2153
|
+
params?: {
|
|
2154
|
+
[key: string]: unknown;
|
|
2155
|
+
};
|
|
2156
|
+
};
|
|
2157
|
+
path?: never;
|
|
2158
|
+
query?: never;
|
|
2159
|
+
url: '/mcp';
|
|
2160
|
+
};
|
|
2161
|
+
export type PostMcpErrors = {
|
|
2162
|
+
/**
|
|
2163
|
+
* Not authenticated
|
|
2164
|
+
*/
|
|
2165
|
+
401: unknown;
|
|
2166
|
+
};
|
|
2167
|
+
export type PostMcpResponses = {
|
|
2168
|
+
/**
|
|
2169
|
+
* JSON-RPC 2.0 success or error response
|
|
2170
|
+
*/
|
|
2171
|
+
200: {
|
|
2172
|
+
jsonrpc?: string;
|
|
2173
|
+
id?: string | number;
|
|
2174
|
+
result?: {
|
|
2175
|
+
[key: string]: unknown;
|
|
2176
|
+
};
|
|
2177
|
+
error?: {
|
|
2178
|
+
code?: number;
|
|
2179
|
+
message?: string;
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1372
2184
|
export type GetOrganizationData = {
|
|
1373
2185
|
body?: never;
|
|
1374
2186
|
path?: never;
|
|
@@ -1390,10 +2202,255 @@ export type CreateOrganizationData = {
|
|
|
1390
2202
|
};
|
|
1391
2203
|
export type CreateOrganizationResponses = {
|
|
1392
2204
|
/**
|
|
1393
|
-
*
|
|
2205
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2206
|
+
*
|
|
2207
|
+
*/
|
|
2208
|
+
200: OrganizationCreateOutput;
|
|
2209
|
+
};
|
|
2210
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2211
|
+
export type ListRepositoriesData = {
|
|
2212
|
+
body?: never;
|
|
2213
|
+
path?: never;
|
|
2214
|
+
query?: never;
|
|
2215
|
+
url: '/registry';
|
|
2216
|
+
};
|
|
2217
|
+
export type ListRepositoriesErrors = {
|
|
2218
|
+
/**
|
|
2219
|
+
* Not authenticated
|
|
2220
|
+
*/
|
|
2221
|
+
401: unknown;
|
|
2222
|
+
/**
|
|
2223
|
+
* Internal server error
|
|
2224
|
+
*/
|
|
2225
|
+
500: unknown;
|
|
2226
|
+
};
|
|
2227
|
+
export type ListRepositoriesResponses = {
|
|
2228
|
+
/**
|
|
2229
|
+
* List of repositories
|
|
2230
|
+
*/
|
|
2231
|
+
200: Array<RegistryRepository>;
|
|
2232
|
+
};
|
|
2233
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2234
|
+
export type ListTagsData = {
|
|
2235
|
+
body?: never;
|
|
2236
|
+
path: {
|
|
2237
|
+
/**
|
|
2238
|
+
* Region where the repository is located
|
|
2239
|
+
*/
|
|
2240
|
+
region: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Name of the repository
|
|
2243
|
+
*/
|
|
2244
|
+
repository: string;
|
|
2245
|
+
};
|
|
2246
|
+
query?: never;
|
|
2247
|
+
url: '/registry/{region}/{repository}';
|
|
2248
|
+
};
|
|
2249
|
+
export type ListTagsErrors = {
|
|
2250
|
+
/**
|
|
2251
|
+
* Not authenticated
|
|
2252
|
+
*/
|
|
2253
|
+
401: unknown;
|
|
2254
|
+
/**
|
|
2255
|
+
* Repository not found
|
|
2256
|
+
*/
|
|
2257
|
+
404: unknown;
|
|
2258
|
+
/**
|
|
2259
|
+
* Internal server error
|
|
2260
|
+
*/
|
|
2261
|
+
500: unknown;
|
|
2262
|
+
};
|
|
2263
|
+
export type ListTagsResponses = {
|
|
2264
|
+
/**
|
|
2265
|
+
* Repository with tags
|
|
2266
|
+
*/
|
|
2267
|
+
200: RegistryRepositoryWithTags;
|
|
2268
|
+
};
|
|
2269
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2270
|
+
export type DeleteTagData = {
|
|
2271
|
+
body?: never;
|
|
2272
|
+
path: {
|
|
2273
|
+
/**
|
|
2274
|
+
* Region where the repository is located
|
|
2275
|
+
*/
|
|
2276
|
+
region: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Name of the repository
|
|
2279
|
+
*/
|
|
2280
|
+
repository: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* Name of the tag
|
|
2283
|
+
*/
|
|
2284
|
+
tag: string;
|
|
2285
|
+
};
|
|
2286
|
+
query?: never;
|
|
2287
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2288
|
+
};
|
|
2289
|
+
export type DeleteTagErrors = {
|
|
2290
|
+
/**
|
|
2291
|
+
* Not authenticated
|
|
2292
|
+
*/
|
|
2293
|
+
401: unknown;
|
|
2294
|
+
/**
|
|
2295
|
+
* Tag not found
|
|
2296
|
+
*/
|
|
2297
|
+
404: unknown;
|
|
2298
|
+
/**
|
|
2299
|
+
* Internal server error
|
|
2300
|
+
*/
|
|
2301
|
+
500: unknown;
|
|
2302
|
+
};
|
|
2303
|
+
export type DeleteTagResponses = {
|
|
2304
|
+
/**
|
|
2305
|
+
* Tag successfully deleted
|
|
1394
2306
|
*/
|
|
1395
2307
|
200: unknown;
|
|
1396
2308
|
};
|
|
2309
|
+
export type GetTagData = {
|
|
2310
|
+
body?: never;
|
|
2311
|
+
path: {
|
|
2312
|
+
/**
|
|
2313
|
+
* Region where the repository is located
|
|
2314
|
+
*/
|
|
2315
|
+
region: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* Name of the repository
|
|
2318
|
+
*/
|
|
2319
|
+
repository: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* Name of the tag
|
|
2322
|
+
*/
|
|
2323
|
+
tag: string;
|
|
2324
|
+
};
|
|
2325
|
+
query?: never;
|
|
2326
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2327
|
+
};
|
|
2328
|
+
export type GetTagErrors = {
|
|
2329
|
+
/**
|
|
2330
|
+
* Not authenticated
|
|
2331
|
+
*/
|
|
2332
|
+
401: unknown;
|
|
2333
|
+
/**
|
|
2334
|
+
* Tag not found
|
|
2335
|
+
*/
|
|
2336
|
+
404: unknown;
|
|
2337
|
+
/**
|
|
2338
|
+
* Internal server error
|
|
2339
|
+
*/
|
|
2340
|
+
500: unknown;
|
|
2341
|
+
};
|
|
2342
|
+
export type GetTagResponses = {
|
|
2343
|
+
/**
|
|
2344
|
+
* Tag details
|
|
2345
|
+
*/
|
|
2346
|
+
200: RegistryTag;
|
|
2347
|
+
};
|
|
2348
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2349
|
+
export type ListTicketsData = {
|
|
2350
|
+
body?: never;
|
|
2351
|
+
path?: never;
|
|
2352
|
+
query?: never;
|
|
2353
|
+
url: '/tickets';
|
|
2354
|
+
};
|
|
2355
|
+
export type ListTicketsResponses = {
|
|
2356
|
+
/**
|
|
2357
|
+
* Tickets for the organization.
|
|
2358
|
+
*/
|
|
2359
|
+
200: TicketListResponse;
|
|
2360
|
+
};
|
|
2361
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2362
|
+
export type CreateTicketData = {
|
|
2363
|
+
body: {
|
|
2364
|
+
/**
|
|
2365
|
+
* JSON-encoded TicketCreateInput.
|
|
2366
|
+
*/
|
|
2367
|
+
payload?: string;
|
|
2368
|
+
attachments?: Array<Blob | File>;
|
|
2369
|
+
};
|
|
2370
|
+
path?: never;
|
|
2371
|
+
query?: never;
|
|
2372
|
+
url: '/tickets';
|
|
2373
|
+
};
|
|
2374
|
+
export type CreateTicketResponses = {
|
|
2375
|
+
/**
|
|
2376
|
+
* Ticket created.
|
|
2377
|
+
*/
|
|
2378
|
+
200: Ticket;
|
|
2379
|
+
};
|
|
2380
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2381
|
+
export type CloseTicketData = {
|
|
2382
|
+
body?: never;
|
|
2383
|
+
path: {
|
|
2384
|
+
ticket_id: string;
|
|
2385
|
+
};
|
|
2386
|
+
query?: never;
|
|
2387
|
+
url: '/tickets/{ticket_id}';
|
|
2388
|
+
};
|
|
2389
|
+
export type CloseTicketResponses = {
|
|
2390
|
+
/**
|
|
2391
|
+
* Ticket closed.
|
|
2392
|
+
*/
|
|
2393
|
+
200: Ticket;
|
|
2394
|
+
};
|
|
2395
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2396
|
+
export type GetTicketData = {
|
|
2397
|
+
body?: never;
|
|
2398
|
+
path: {
|
|
2399
|
+
ticket_id: string;
|
|
2400
|
+
};
|
|
2401
|
+
query?: never;
|
|
2402
|
+
url: '/tickets/{ticket_id}';
|
|
2403
|
+
};
|
|
2404
|
+
export type GetTicketResponses = {
|
|
2405
|
+
/**
|
|
2406
|
+
* Ticket with messages (internal notes excluded).
|
|
2407
|
+
*/
|
|
2408
|
+
200: Ticket;
|
|
2409
|
+
};
|
|
2410
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2411
|
+
export type ReplyTicketData = {
|
|
2412
|
+
body: {
|
|
2413
|
+
/**
|
|
2414
|
+
* JSON-encoded TicketMessageInput.
|
|
2415
|
+
*/
|
|
2416
|
+
payload?: string;
|
|
2417
|
+
attachments?: Array<Blob | File>;
|
|
2418
|
+
};
|
|
2419
|
+
path: {
|
|
2420
|
+
ticket_id: string;
|
|
2421
|
+
};
|
|
2422
|
+
query?: never;
|
|
2423
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2424
|
+
};
|
|
2425
|
+
export type ReplyTicketErrors = {
|
|
2426
|
+
/**
|
|
2427
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2428
|
+
*/
|
|
2429
|
+
409: unknown;
|
|
2430
|
+
};
|
|
2431
|
+
export type ReplyTicketResponses = {
|
|
2432
|
+
/**
|
|
2433
|
+
* Reply appended.
|
|
2434
|
+
*/
|
|
2435
|
+
200: TicketMessage;
|
|
2436
|
+
};
|
|
2437
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2438
|
+
export type GetTicketAttachmentData = {
|
|
2439
|
+
body?: never;
|
|
2440
|
+
path: {
|
|
2441
|
+
ticket_id: string;
|
|
2442
|
+
attachment_id: string;
|
|
2443
|
+
};
|
|
2444
|
+
query?: never;
|
|
2445
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2446
|
+
};
|
|
2447
|
+
export type GetTicketAttachmentResponses = {
|
|
2448
|
+
/**
|
|
2449
|
+
* Attachment binary stream.
|
|
2450
|
+
*/
|
|
2451
|
+
200: Blob | File;
|
|
2452
|
+
};
|
|
2453
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1397
2454
|
export type ListTokensData = {
|
|
1398
2455
|
body?: never;
|
|
1399
2456
|
path?: never;
|
|
@@ -1650,7 +2707,4 @@ export type UpdateUserResponses = {
|
|
|
1650
2707
|
200: User;
|
|
1651
2708
|
};
|
|
1652
2709
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1653
|
-
export type ClientOptions = {
|
|
1654
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1655
|
-
};
|
|
1656
2710
|
//# sourceMappingURL=types.gen.d.ts.map
|