@cloudfleet/sdk 0.0.1-a9ecdcd → 0.0.1-aa1359b
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/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +39 -8
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +4 -11
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +1 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +10 -12
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +5 -7
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +603 -479
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1138 -585
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +98 -19
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +144 -149
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +587 -324
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +617 -1813
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +364 -1075
- package/dist/zod.gen.js.map +1 -1
- package/package.json +9 -5
package/dist/sdk.gen.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,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,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,cAAc,EAAE,YAAY,CAAC;CAUhH"}
|
package/dist/sdk.gen.js
CHANGED
|
@@ -3,83 +3,52 @@ import { client } from './client.gen';
|
|
|
3
3
|
export class BillingService {
|
|
4
4
|
/**
|
|
5
5
|
* Get billing usage information.
|
|
6
|
-
* Returns aggregated usage information for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
7
6
|
*
|
|
8
|
-
|
|
9
|
-
static getUsage(options) {
|
|
10
|
-
return (options?.client ?? client).get({
|
|
11
|
-
url: '/billing/usage',
|
|
12
|
-
...options
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Get billing balance information.
|
|
17
|
-
* Returns the current balance of the organization in USD as a floating-point number. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
7
|
+
* Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
18
8
|
*
|
|
19
9
|
*/
|
|
20
|
-
static
|
|
21
|
-
return (options?.client ?? client).get({
|
|
22
|
-
url: '/billing/balance',
|
|
23
|
-
...options
|
|
24
|
-
});
|
|
10
|
+
static getUsage(options) {
|
|
11
|
+
return (options?.client ?? client).get({ url: '/billing/usage', ...options });
|
|
25
12
|
}
|
|
26
13
|
/**
|
|
27
14
|
* Get organization payment method information.
|
|
15
|
+
*
|
|
28
16
|
* Returns the information about the payment card associated with the organization with sensitive information redacted. Payment details can be updated in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to all users in the organization.
|
|
29
17
|
*
|
|
30
18
|
*/
|
|
31
19
|
static getPaymentMethod(options) {
|
|
32
|
-
return (options?.client ?? client).get({
|
|
33
|
-
url: '/billing/payment-method',
|
|
34
|
-
...options
|
|
35
|
-
});
|
|
20
|
+
return (options?.client ?? client).get({ url: '/billing/payment-method', ...options });
|
|
36
21
|
}
|
|
37
22
|
/**
|
|
38
23
|
* Get Stripe client secret.
|
|
24
|
+
*
|
|
39
25
|
* Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
|
|
40
26
|
*
|
|
41
27
|
*/
|
|
42
28
|
static getPaymentMethodSecret(options) {
|
|
43
|
-
return (options?.client ?? client).put({
|
|
44
|
-
url: '/billing/payment-method',
|
|
45
|
-
...options
|
|
46
|
-
});
|
|
29
|
+
return (options?.client ?? client).put({ url: '/billing/payment-method', ...options });
|
|
47
30
|
}
|
|
48
31
|
/**
|
|
49
32
|
* List issued invoices.
|
|
33
|
+
*
|
|
50
34
|
* Returns a list of invoices for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
51
35
|
*
|
|
52
36
|
*/
|
|
53
37
|
static listInvoices(options) {
|
|
54
|
-
return (options
|
|
55
|
-
url: '/billing/invoices',
|
|
56
|
-
...options
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Get invoice information.
|
|
61
|
-
* Returns a single Invoice as HTML referenced by id. This endpoint is available to all users in the organization.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
static getInvoice(options) {
|
|
65
|
-
return (options.client ?? client).get({
|
|
66
|
-
url: '/billing/invoices/{id}',
|
|
67
|
-
...options
|
|
68
|
-
});
|
|
38
|
+
return (options?.client ?? client).get({ url: '/billing/invoices', ...options });
|
|
69
39
|
}
|
|
70
40
|
/**
|
|
71
41
|
* Get organization contact and billing address information.
|
|
42
|
+
*
|
|
72
43
|
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
73
44
|
*
|
|
74
45
|
*/
|
|
75
46
|
static getContact(options) {
|
|
76
|
-
return (options?.client ?? client).get({
|
|
77
|
-
url: '/billing/contact',
|
|
78
|
-
...options
|
|
79
|
-
});
|
|
47
|
+
return (options?.client ?? client).get({ url: '/billing/contact', ...options });
|
|
80
48
|
}
|
|
81
49
|
/**
|
|
82
50
|
* Update organization contact information and billing address.
|
|
51
|
+
*
|
|
83
52
|
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
84
53
|
*
|
|
85
54
|
*/
|
|
@@ -95,17 +64,16 @@ export class BillingService {
|
|
|
95
64
|
}
|
|
96
65
|
/**
|
|
97
66
|
* Get applied promotional credits
|
|
67
|
+
*
|
|
98
68
|
* Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
99
69
|
*
|
|
100
70
|
*/
|
|
101
71
|
static getCredits(options) {
|
|
102
|
-
return (options?.client ?? client).get({
|
|
103
|
-
url: '/billing/credits',
|
|
104
|
-
...options
|
|
105
|
-
});
|
|
72
|
+
return (options?.client ?? client).get({ url: '/billing/credits', ...options });
|
|
106
73
|
}
|
|
107
74
|
/**
|
|
108
75
|
* Redeem promotional credits code.
|
|
76
|
+
*
|
|
109
77
|
* Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
110
78
|
*
|
|
111
79
|
*/
|
|
@@ -123,19 +91,18 @@ export class BillingService {
|
|
|
123
91
|
export class ClustersService {
|
|
124
92
|
/**
|
|
125
93
|
* List charts.
|
|
94
|
+
*
|
|
126
95
|
* Returns a list of charts in the cluster.
|
|
127
96
|
*
|
|
128
97
|
* This endpoint is available to all users in the organization.
|
|
129
98
|
*
|
|
130
99
|
*/
|
|
131
100
|
static listCharts(options) {
|
|
132
|
-
return (options.client ?? client).get({
|
|
133
|
-
url: '/clusters/{cluster_id}/charts',
|
|
134
|
-
...options
|
|
135
|
-
});
|
|
101
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/charts', ...options });
|
|
136
102
|
}
|
|
137
103
|
/**
|
|
138
104
|
* Create a new chart.
|
|
105
|
+
*
|
|
139
106
|
* Create a new chart deployment.
|
|
140
107
|
*
|
|
141
108
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -153,32 +120,29 @@ export class ClustersService {
|
|
|
153
120
|
}
|
|
154
121
|
/**
|
|
155
122
|
* Permanently delete the chart deployment from the cluster.
|
|
123
|
+
*
|
|
156
124
|
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
157
125
|
*
|
|
158
126
|
* This endpoint is available to administrators of the organization only.
|
|
159
127
|
*
|
|
160
128
|
*/
|
|
161
129
|
static deleteChart(options) {
|
|
162
|
-
return (options.client ?? client).delete({
|
|
163
|
-
url: '/clusters/{cluster_id}/charts/{chart_name}',
|
|
164
|
-
...options
|
|
165
|
-
});
|
|
130
|
+
return (options.client ?? client).delete({ url: '/clusters/{cluster_id}/charts/{chart_name}', ...options });
|
|
166
131
|
}
|
|
167
132
|
/**
|
|
168
133
|
* Get chart information.
|
|
134
|
+
*
|
|
169
135
|
* Returns the details of the chart deployment.
|
|
170
136
|
*
|
|
171
137
|
* This endpoint is available to all users in the organization.
|
|
172
138
|
*
|
|
173
139
|
*/
|
|
174
140
|
static getChart(options) {
|
|
175
|
-
return (options.client ?? client).get({
|
|
176
|
-
url: '/clusters/{cluster_id}/charts/{chart_name}',
|
|
177
|
-
...options
|
|
178
|
-
});
|
|
141
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/charts/{chart_name}', ...options });
|
|
179
142
|
}
|
|
180
143
|
/**
|
|
181
144
|
* Update chart information.
|
|
145
|
+
*
|
|
182
146
|
* This endpoint allows you to update the values of a chart deployment.
|
|
183
147
|
*
|
|
184
148
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -196,19 +160,18 @@ export class ClustersService {
|
|
|
196
160
|
}
|
|
197
161
|
/**
|
|
198
162
|
* List fleets.
|
|
163
|
+
*
|
|
199
164
|
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
200
165
|
*
|
|
201
166
|
* This endpoint is available to all users in the organization.
|
|
202
167
|
*
|
|
203
168
|
*/
|
|
204
169
|
static listFleets(options) {
|
|
205
|
-
return (options.client ?? client).get({
|
|
206
|
-
url: '/clusters/{cluster_id}/fleets',
|
|
207
|
-
...options
|
|
208
|
-
});
|
|
170
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/fleets', ...options });
|
|
209
171
|
}
|
|
210
172
|
/**
|
|
211
173
|
* Create a new fleet.
|
|
174
|
+
*
|
|
212
175
|
* Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
213
176
|
*
|
|
214
177
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -226,32 +189,29 @@ export class ClustersService {
|
|
|
226
189
|
}
|
|
227
190
|
/**
|
|
228
191
|
* Permanently delete fleet.
|
|
192
|
+
*
|
|
229
193
|
* This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Fleet until the end of the billing period, set the status to `cancelling`. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
230
194
|
*
|
|
231
195
|
* This endpoint is available to administrators of the organization only.
|
|
232
196
|
*
|
|
233
197
|
*/
|
|
234
198
|
static deleteFleet(options) {
|
|
235
|
-
return (options.client ?? client).delete({
|
|
236
|
-
url: '/clusters/{cluster_id}/fleets/{fleet_name}',
|
|
237
|
-
...options
|
|
238
|
-
});
|
|
199
|
+
return (options.client ?? client).delete({ url: '/clusters/{cluster_id}/fleets/{fleet_name}', ...options });
|
|
239
200
|
}
|
|
240
201
|
/**
|
|
241
202
|
* Get fleet information.
|
|
203
|
+
*
|
|
242
204
|
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
243
205
|
*
|
|
244
206
|
* This endpoint is available to all users in the organization.
|
|
245
207
|
*
|
|
246
208
|
*/
|
|
247
209
|
static getFleet(options) {
|
|
248
|
-
return (options.client ?? client).get({
|
|
249
|
-
url: '/clusters/{cluster_id}/fleets/{fleet_name}',
|
|
250
|
-
...options
|
|
251
|
-
});
|
|
210
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/fleets/{fleet_name}', ...options });
|
|
252
211
|
}
|
|
253
212
|
/**
|
|
254
213
|
* Update fleet information.
|
|
214
|
+
*
|
|
255
215
|
* This endpoint allows you to update fleet details.
|
|
256
216
|
*
|
|
257
217
|
* Setting status to `deleted` will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Fleet until the end of the billing period, set the status to `cancelling`.
|
|
@@ -273,29 +233,26 @@ export class ClustersService {
|
|
|
273
233
|
}
|
|
274
234
|
/**
|
|
275
235
|
* Query Kubernetes cluster API
|
|
236
|
+
*
|
|
276
237
|
* An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
|
|
277
238
|
*/
|
|
278
239
|
static queryCluster(options) {
|
|
279
|
-
return (options.client ?? client).get({
|
|
280
|
-
url: '/clusters/{cluster_id}/query',
|
|
281
|
-
...options
|
|
282
|
-
});
|
|
240
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/query', ...options });
|
|
283
241
|
}
|
|
284
242
|
/**
|
|
285
243
|
* List clusters.
|
|
244
|
+
*
|
|
286
245
|
* Returns a list of clusters under the current organization, including quota. Quota is a set of filters defined by the admin of the organization that will be applied to all resources created in the cluster. Quota information returned here does not take into account quota set on organization or platform level. For calculated quota applied to this account, use /clusters/{cluster_id}/quota endpoint. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
287
246
|
*
|
|
288
247
|
* This endpoint is available to all users in the organization.
|
|
289
248
|
*
|
|
290
249
|
*/
|
|
291
250
|
static listClusters(options) {
|
|
292
|
-
return (options?.client ?? client).get({
|
|
293
|
-
url: '/clusters',
|
|
294
|
-
...options
|
|
295
|
-
});
|
|
251
|
+
return (options?.client ?? client).get({ url: '/clusters', ...options });
|
|
296
252
|
}
|
|
297
253
|
/**
|
|
298
254
|
* Create a new cluster.
|
|
255
|
+
*
|
|
299
256
|
* Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
|
|
300
257
|
*
|
|
301
258
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -313,32 +270,29 @@ export class ClustersService {
|
|
|
313
270
|
}
|
|
314
271
|
/**
|
|
315
272
|
* Permanently delete cluster.
|
|
273
|
+
*
|
|
316
274
|
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
317
275
|
*
|
|
318
276
|
* This endpoint is available to administrators of the organization only.
|
|
319
277
|
*
|
|
320
278
|
*/
|
|
321
279
|
static deleteCluster(options) {
|
|
322
|
-
return (options.client ?? client).delete({
|
|
323
|
-
url: '/clusters/{cluster_id}',
|
|
324
|
-
...options
|
|
325
|
-
});
|
|
280
|
+
return (options.client ?? client).delete({ url: '/clusters/{cluster_id}', ...options });
|
|
326
281
|
}
|
|
327
282
|
/**
|
|
328
283
|
* Get cluster information.
|
|
284
|
+
*
|
|
329
285
|
* Returns cluster details including quota. Quota is a set of filters defined by the admin of the organization that will be applied to all resources created in the cluster. Quota information returned here does not take into account quota set on organization or platform level. For calculated quota applied to this account, use /clusters/{cluster_id}/quota endpoint. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
330
286
|
*
|
|
331
287
|
* This endpoint is available to all users in the organization.
|
|
332
288
|
*
|
|
333
289
|
*/
|
|
334
290
|
static getCluster(options) {
|
|
335
|
-
return (options.client ?? client).get({
|
|
336
|
-
url: '/clusters/{cluster_id}',
|
|
337
|
-
...options
|
|
338
|
-
});
|
|
291
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}', ...options });
|
|
339
292
|
}
|
|
340
293
|
/**
|
|
341
294
|
* Update cluster information.
|
|
295
|
+
*
|
|
342
296
|
* This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
|
|
343
297
|
*
|
|
344
298
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -354,32 +308,38 @@ export class ClustersService {
|
|
|
354
308
|
}
|
|
355
309
|
});
|
|
356
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* Get the cluster's certificate authority in PEM format.
|
|
313
|
+
*
|
|
314
|
+
* Returns the root certificate authority of the Kubernetes cluster as a PEM-encoded document. This endpoint does not require authentication, similar to the cluster's JWKs endpoint, since the CA certificate is public information used by clients to establish trust with the cluster's control plane.
|
|
315
|
+
*
|
|
316
|
+
*/
|
|
317
|
+
static getClusterCa(options) {
|
|
318
|
+
return (options.client ?? client).get({ url: '/clusters/{cluster_id}/ca', ...options });
|
|
319
|
+
}
|
|
357
320
|
/**
|
|
358
321
|
* Node join information for the cluster
|
|
322
|
+
*
|
|
359
323
|
* Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
|
|
360
324
|
*
|
|
361
325
|
*/
|
|
362
326
|
static getJoinInformation(options) {
|
|
363
|
-
return (options.client ?? client).post({
|
|
364
|
-
url: '/clusters/{cluster_id}/join_information',
|
|
365
|
-
...options
|
|
366
|
-
});
|
|
327
|
+
return (options.client ?? client).post({ url: '/clusters/{cluster_id}/join_information', ...options });
|
|
367
328
|
}
|
|
368
329
|
}
|
|
369
330
|
export class InvitesService {
|
|
370
331
|
/**
|
|
371
332
|
* List invites.
|
|
333
|
+
*
|
|
372
334
|
* Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
|
|
373
335
|
*
|
|
374
336
|
*/
|
|
375
337
|
static listInvites(options) {
|
|
376
|
-
return (options?.client ?? client).get({
|
|
377
|
-
url: '/invites',
|
|
378
|
-
...options
|
|
379
|
-
});
|
|
338
|
+
return (options?.client ?? client).get({ url: '/invites', ...options });
|
|
380
339
|
}
|
|
381
340
|
/**
|
|
382
341
|
* Create a new invite.
|
|
342
|
+
*
|
|
383
343
|
* Invite a new user to your Cloudfleet organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
|
|
384
344
|
*
|
|
385
345
|
*/
|
|
@@ -395,71 +355,81 @@ export class InvitesService {
|
|
|
395
355
|
}
|
|
396
356
|
/**
|
|
397
357
|
* Get invite information.
|
|
358
|
+
*
|
|
398
359
|
* Returns invite details.
|
|
399
360
|
*
|
|
400
361
|
*/
|
|
401
362
|
static getInvite(options) {
|
|
402
|
-
return (options.client ?? client).get({
|
|
403
|
-
url: '/invites/{code}',
|
|
404
|
-
...options
|
|
405
|
-
});
|
|
363
|
+
return (options.client ?? client).get({ url: '/invites/{code}', ...options });
|
|
406
364
|
}
|
|
407
365
|
/**
|
|
408
366
|
* Permanently delete invite.
|
|
367
|
+
*
|
|
409
368
|
* Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
|
|
410
369
|
*
|
|
411
370
|
*/
|
|
412
371
|
static deleteInvite(options) {
|
|
413
|
-
return (options.client ?? client).delete({
|
|
414
|
-
url: '/invites/{email}',
|
|
415
|
-
...options
|
|
416
|
-
});
|
|
372
|
+
return (options.client ?? client).delete({ url: '/invites/{email}', ...options });
|
|
417
373
|
}
|
|
418
374
|
}
|
|
419
375
|
export class ChartsMarketplaceService {
|
|
420
376
|
/**
|
|
421
377
|
* List chart listings available in the marketplace.
|
|
378
|
+
*
|
|
422
379
|
* Returns a list of available charts in the marketplace.
|
|
423
380
|
*
|
|
424
381
|
* This endpoint is available to all users in the organization.
|
|
425
382
|
*
|
|
426
383
|
*/
|
|
427
384
|
static listMarketplaceCharts(options) {
|
|
428
|
-
return (options?.client ?? client).get({
|
|
429
|
-
url: '/marketplace',
|
|
430
|
-
...options
|
|
431
|
-
});
|
|
385
|
+
return (options?.client ?? client).get({ url: '/marketplace', ...options });
|
|
432
386
|
}
|
|
433
387
|
/**
|
|
434
|
-
* Get chart
|
|
435
|
-
*
|
|
388
|
+
* Get chart files for a specific version channel.
|
|
389
|
+
*
|
|
390
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
391
|
+
*
|
|
392
|
+
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
436
393
|
*
|
|
437
394
|
* This endpoint is available to all users in the organization.
|
|
438
395
|
*
|
|
439
396
|
*/
|
|
440
|
-
static
|
|
441
|
-
return (options.client ?? client).get({
|
|
442
|
-
|
|
443
|
-
|
|
397
|
+
static getMarketplaceChartFiles(options) {
|
|
398
|
+
return (options.client ?? client).get({ url: '/marketplace/{chart_name}/files/{version_channel}', ...options });
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
export class McpService {
|
|
402
|
+
/**
|
|
403
|
+
* MCP endpoint
|
|
404
|
+
*
|
|
405
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
406
|
+
*/
|
|
407
|
+
static postMcp(options) {
|
|
408
|
+
return (options.client ?? client).post({
|
|
409
|
+
url: '/mcp',
|
|
410
|
+
...options,
|
|
411
|
+
headers: {
|
|
412
|
+
'Content-Type': 'application/json',
|
|
413
|
+
...options.headers
|
|
414
|
+
}
|
|
444
415
|
});
|
|
445
416
|
}
|
|
446
417
|
}
|
|
447
418
|
export class OrganizationService {
|
|
448
419
|
/**
|
|
449
420
|
* Get organization information.
|
|
421
|
+
*
|
|
450
422
|
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
451
423
|
*
|
|
452
424
|
* This endpoint is available to all users in the organization.
|
|
453
425
|
*
|
|
454
426
|
*/
|
|
455
427
|
static getOrganization(options) {
|
|
456
|
-
return (options?.client ?? client).get({
|
|
457
|
-
url: '/organization',
|
|
458
|
-
...options
|
|
459
|
-
});
|
|
428
|
+
return (options?.client ?? client).get({ url: '/organization', ...options });
|
|
460
429
|
}
|
|
461
430
|
/**
|
|
462
431
|
* Create a new organization / Cloudfleet account signup.
|
|
432
|
+
*
|
|
463
433
|
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
464
434
|
*
|
|
465
435
|
*/
|
|
@@ -474,20 +444,57 @@ export class OrganizationService {
|
|
|
474
444
|
});
|
|
475
445
|
}
|
|
476
446
|
}
|
|
447
|
+
export class RegistryService {
|
|
448
|
+
/**
|
|
449
|
+
* List repositories
|
|
450
|
+
*
|
|
451
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
static listRepositories(options) {
|
|
455
|
+
return (options?.client ?? client).get({ url: '/registry', ...options });
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* List tags for a repository
|
|
459
|
+
*
|
|
460
|
+
* Returns a list of tags for a specific repository, including size and metadata for each tag. This endpoint is available to all users in the organization.
|
|
461
|
+
*
|
|
462
|
+
*/
|
|
463
|
+
static listTags(options) {
|
|
464
|
+
return (options.client ?? client).get({ url: '/registry/{region}/{repository}', ...options });
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Delete tag
|
|
468
|
+
*
|
|
469
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
470
|
+
*
|
|
471
|
+
*/
|
|
472
|
+
static deleteTag(options) {
|
|
473
|
+
return (options.client ?? client).delete({ url: '/registry/{region}/{repository}/{tag}', ...options });
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Get tag details
|
|
477
|
+
*
|
|
478
|
+
* Returns detailed information for a specific tag in a repository, including manifest details, size, and URI. This endpoint is available to all users in the organization.
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
static getTag(options) {
|
|
482
|
+
return (options.client ?? client).get({ url: '/registry/{region}/{repository}/{tag}', ...options });
|
|
483
|
+
}
|
|
484
|
+
}
|
|
477
485
|
export class TokensService {
|
|
478
486
|
/**
|
|
479
487
|
* List access tokens in organization.
|
|
488
|
+
*
|
|
480
489
|
* This endpoint allows you to get a list of all access tokens details in organization. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
481
490
|
*
|
|
482
491
|
*/
|
|
483
492
|
static listTokens(options) {
|
|
484
|
-
return (options?.client ?? client).get({
|
|
485
|
-
url: '/tokens',
|
|
486
|
-
...options
|
|
487
|
-
});
|
|
493
|
+
return (options?.client ?? client).get({ url: '/tokens', ...options });
|
|
488
494
|
}
|
|
489
495
|
/**
|
|
490
496
|
* Create a new access token.
|
|
497
|
+
*
|
|
491
498
|
* This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
492
499
|
*
|
|
493
500
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -505,28 +512,25 @@ export class TokensService {
|
|
|
505
512
|
}
|
|
506
513
|
/**
|
|
507
514
|
* Permanently delete access token.
|
|
515
|
+
*
|
|
508
516
|
* This endpoint allows you to delete an access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to administrators of the organization only.
|
|
509
517
|
*
|
|
510
518
|
*/
|
|
511
519
|
static deleteToken(options) {
|
|
512
|
-
return (options.client ?? client).delete({
|
|
513
|
-
url: '/tokens/{token_id}',
|
|
514
|
-
...options
|
|
515
|
-
});
|
|
520
|
+
return (options.client ?? client).delete({ url: '/tokens/{token_id}', ...options });
|
|
516
521
|
}
|
|
517
522
|
/**
|
|
518
523
|
* Get access token information.
|
|
524
|
+
*
|
|
519
525
|
* This endpoint allows you to get access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
520
526
|
*
|
|
521
527
|
*/
|
|
522
528
|
static getToken(options) {
|
|
523
|
-
return (options.client ?? client).get({
|
|
524
|
-
url: '/tokens/{token_id}',
|
|
525
|
-
...options
|
|
526
|
-
});
|
|
529
|
+
return (options.client ?? client).get({ url: '/tokens/{token_id}', ...options });
|
|
527
530
|
}
|
|
528
531
|
/**
|
|
529
532
|
* Update access token information.
|
|
533
|
+
*
|
|
530
534
|
* This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
531
535
|
*
|
|
532
536
|
* This endpoint is available to administrators of the organization only.
|
|
@@ -544,13 +548,11 @@ export class TokensService {
|
|
|
544
548
|
}
|
|
545
549
|
/**
|
|
546
550
|
* Regenerate access token secret key.
|
|
551
|
+
*
|
|
547
552
|
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
548
553
|
*/
|
|
549
554
|
static regenerateToken(options) {
|
|
550
|
-
return (options.client ?? client).put({
|
|
551
|
-
url: '/tokens/{token_id}/secret',
|
|
552
|
-
...options
|
|
553
|
-
});
|
|
555
|
+
return (options.client ?? client).put({ url: '/tokens/{token_id}/secret', ...options });
|
|
554
556
|
}
|
|
555
557
|
}
|
|
556
558
|
export class UsersService {
|
|
@@ -558,26 +560,22 @@ export class UsersService {
|
|
|
558
560
|
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
559
561
|
*/
|
|
560
562
|
static listUserOrganizations(options) {
|
|
561
|
-
return (options.client ?? client).get({
|
|
562
|
-
url: '/users/organizations/{email}',
|
|
563
|
-
...options
|
|
564
|
-
});
|
|
563
|
+
return (options.client ?? client).get({ url: '/users/organizations/{email}', ...options });
|
|
565
564
|
}
|
|
566
565
|
/**
|
|
567
566
|
* List users in organization.
|
|
567
|
+
*
|
|
568
568
|
* Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
569
569
|
*
|
|
570
570
|
* This endpoint is available to all users in the organization.
|
|
571
571
|
*
|
|
572
572
|
*/
|
|
573
573
|
static listUsers(options) {
|
|
574
|
-
return (options?.client ?? client).get({
|
|
575
|
-
url: '/users',
|
|
576
|
-
...options
|
|
577
|
-
});
|
|
574
|
+
return (options?.client ?? client).get({ url: '/users', ...options });
|
|
578
575
|
}
|
|
579
576
|
/**
|
|
580
577
|
* Create a new user.
|
|
578
|
+
*
|
|
581
579
|
* Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
|
|
582
580
|
*
|
|
583
581
|
*/
|
|
@@ -593,30 +591,27 @@ export class UsersService {
|
|
|
593
591
|
}
|
|
594
592
|
/**
|
|
595
593
|
* Delete user by id.
|
|
594
|
+
*
|
|
596
595
|
* Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
|
|
597
596
|
*
|
|
598
597
|
*/
|
|
599
598
|
static deleteUser(options) {
|
|
600
|
-
return (options.client ?? client).delete({
|
|
601
|
-
url: '/users/{user_id}',
|
|
602
|
-
...options
|
|
603
|
-
});
|
|
599
|
+
return (options.client ?? client).delete({ url: '/users/{user_id}', ...options });
|
|
604
600
|
}
|
|
605
601
|
/**
|
|
606
602
|
* Get user profile information by id.
|
|
603
|
+
*
|
|
607
604
|
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
608
605
|
*
|
|
609
606
|
* This endpoint is available to all users in the organization.
|
|
610
607
|
*
|
|
611
608
|
*/
|
|
612
609
|
static getUser(options) {
|
|
613
|
-
return (options.client ?? client).get({
|
|
614
|
-
url: '/users/{user_id}',
|
|
615
|
-
...options
|
|
616
|
-
});
|
|
610
|
+
return (options.client ?? client).get({ url: '/users/{user_id}', ...options });
|
|
617
611
|
}
|
|
618
612
|
/**
|
|
619
613
|
* Update user profile information.
|
|
614
|
+
*
|
|
620
615
|
* Update user profile information: email, first name, last name, role. This endpoint can be accessed by administrators and the user itself. Role and status can be changed by administrators only.
|
|
621
616
|
*
|
|
622
617
|
*/
|