@cloudfleet/sdk 0.0.1-75259b5 → 0.0.1-768ab1e
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 +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +205 -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 +125 -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 +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +231 -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 +1 -1
- 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 +18 -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 +34 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +89 -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 +115 -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 +100 -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 +136 -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 +122 -115
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +123 -124
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +57 -64
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +69 -69
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +65 -46
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2699 -1996
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +786 -218
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/sdk.gen.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
import { client
|
|
2
|
+
import { client } from './client.gen';
|
|
3
3
|
export class BillingService {
|
|
4
4
|
/**
|
|
5
5
|
* Get billing usage information.
|
|
@@ -7,7 +7,7 @@ export class BillingService {
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
static getUsage(options) {
|
|
10
|
-
return (options?.client ??
|
|
10
|
+
return (options?.client ?? client).get({
|
|
11
11
|
url: '/billing/usage',
|
|
12
12
|
...options
|
|
13
13
|
});
|
|
@@ -18,7 +18,7 @@ export class BillingService {
|
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
20
|
static getBalance(options) {
|
|
21
|
-
return (options?.client ??
|
|
21
|
+
return (options?.client ?? client).get({
|
|
22
22
|
url: '/billing/balance',
|
|
23
23
|
...options
|
|
24
24
|
});
|
|
@@ -29,7 +29,7 @@ export class BillingService {
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
static getPaymentMethod(options) {
|
|
32
|
-
return (options?.client ??
|
|
32
|
+
return (options?.client ?? client).get({
|
|
33
33
|
url: '/billing/payment-method',
|
|
34
34
|
...options
|
|
35
35
|
});
|
|
@@ -40,7 +40,7 @@ export class BillingService {
|
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
42
|
static getPaymentMethodSecret(options) {
|
|
43
|
-
return (options?.client ??
|
|
43
|
+
return (options?.client ?? client).put({
|
|
44
44
|
url: '/billing/payment-method',
|
|
45
45
|
...options
|
|
46
46
|
});
|
|
@@ -51,7 +51,7 @@ export class BillingService {
|
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
53
|
static listInvoices(options) {
|
|
54
|
-
return (options.client ??
|
|
54
|
+
return (options.client ?? client).get({
|
|
55
55
|
url: '/billing/invoices',
|
|
56
56
|
...options
|
|
57
57
|
});
|
|
@@ -62,7 +62,7 @@ export class BillingService {
|
|
|
62
62
|
*
|
|
63
63
|
*/
|
|
64
64
|
static getInvoice(options) {
|
|
65
|
-
return (options.client ??
|
|
65
|
+
return (options.client ?? client).get({
|
|
66
66
|
url: '/billing/invoices/{id}',
|
|
67
67
|
...options
|
|
68
68
|
});
|
|
@@ -73,7 +73,7 @@ export class BillingService {
|
|
|
73
73
|
*
|
|
74
74
|
*/
|
|
75
75
|
static getContact(options) {
|
|
76
|
-
return (options?.client ??
|
|
76
|
+
return (options?.client ?? client).get({
|
|
77
77
|
url: '/billing/contact',
|
|
78
78
|
...options
|
|
79
79
|
});
|
|
@@ -84,12 +84,12 @@ export class BillingService {
|
|
|
84
84
|
*
|
|
85
85
|
*/
|
|
86
86
|
static updateContact(options) {
|
|
87
|
-
return (options.client ??
|
|
87
|
+
return (options.client ?? client).put({
|
|
88
88
|
url: '/billing/contact',
|
|
89
89
|
...options,
|
|
90
90
|
headers: {
|
|
91
91
|
'Content-Type': 'application/json',
|
|
92
|
-
...options
|
|
92
|
+
...options.headers
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
}
|
|
@@ -99,7 +99,7 @@ export class BillingService {
|
|
|
99
99
|
*
|
|
100
100
|
*/
|
|
101
101
|
static getCredits(options) {
|
|
102
|
-
return (options?.client ??
|
|
102
|
+
return (options?.client ?? client).get({
|
|
103
103
|
url: '/billing/credits',
|
|
104
104
|
...options
|
|
105
105
|
});
|
|
@@ -110,12 +110,12 @@ export class BillingService {
|
|
|
110
110
|
*
|
|
111
111
|
*/
|
|
112
112
|
static redeemCredits(options) {
|
|
113
|
-
return (options.client ??
|
|
113
|
+
return (options.client ?? client).post({
|
|
114
114
|
url: '/billing/credits',
|
|
115
115
|
...options,
|
|
116
116
|
headers: {
|
|
117
117
|
'Content-Type': 'application/json',
|
|
118
|
-
...options
|
|
118
|
+
...options.headers
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
}
|
|
@@ -129,7 +129,7 @@ export class ClustersService {
|
|
|
129
129
|
*
|
|
130
130
|
*/
|
|
131
131
|
static listCharts(options) {
|
|
132
|
-
return (options.client ??
|
|
132
|
+
return (options.client ?? client).get({
|
|
133
133
|
url: '/clusters/{cluster_id}/charts',
|
|
134
134
|
...options
|
|
135
135
|
});
|
|
@@ -142,12 +142,12 @@ export class ClustersService {
|
|
|
142
142
|
*
|
|
143
143
|
*/
|
|
144
144
|
static createChart(options) {
|
|
145
|
-
return (options.client ??
|
|
145
|
+
return (options.client ?? client).post({
|
|
146
146
|
url: '/clusters/{cluster_id}/charts',
|
|
147
147
|
...options,
|
|
148
148
|
headers: {
|
|
149
149
|
'Content-Type': 'application/json',
|
|
150
|
-
...options
|
|
150
|
+
...options.headers
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
}
|
|
@@ -159,7 +159,7 @@ export class ClustersService {
|
|
|
159
159
|
*
|
|
160
160
|
*/
|
|
161
161
|
static deleteChart(options) {
|
|
162
|
-
return (options.client ??
|
|
162
|
+
return (options.client ?? client).delete({
|
|
163
163
|
url: '/clusters/{cluster_id}/charts/{chart_name}',
|
|
164
164
|
...options
|
|
165
165
|
});
|
|
@@ -172,7 +172,7 @@ export class ClustersService {
|
|
|
172
172
|
*
|
|
173
173
|
*/
|
|
174
174
|
static getChart(options) {
|
|
175
|
-
return (options.client ??
|
|
175
|
+
return (options.client ?? client).get({
|
|
176
176
|
url: '/clusters/{cluster_id}/charts/{chart_name}',
|
|
177
177
|
...options
|
|
178
178
|
});
|
|
@@ -185,67 +185,67 @@ export class ClustersService {
|
|
|
185
185
|
*
|
|
186
186
|
*/
|
|
187
187
|
static updateChart(options) {
|
|
188
|
-
return (options.client ??
|
|
188
|
+
return (options.client ?? client).put({
|
|
189
189
|
url: '/clusters/{cluster_id}/charts/{chart_name}',
|
|
190
190
|
...options,
|
|
191
191
|
headers: {
|
|
192
192
|
'Content-Type': 'application/json',
|
|
193
|
-
...options
|
|
193
|
+
...options.headers
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
198
|
* List fleets.
|
|
199
|
-
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets
|
|
199
|
+
* 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
200
|
*
|
|
201
201
|
* This endpoint is available to all users in the organization.
|
|
202
202
|
*
|
|
203
203
|
*/
|
|
204
204
|
static listFleets(options) {
|
|
205
|
-
return (options.client ??
|
|
205
|
+
return (options.client ?? client).get({
|
|
206
206
|
url: '/clusters/{cluster_id}/fleets',
|
|
207
207
|
...options
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* Create a new fleet.
|
|
212
|
-
* 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
|
|
212
|
+
* 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
213
|
*
|
|
214
214
|
* This endpoint is available to administrators of the organization only.
|
|
215
215
|
*
|
|
216
216
|
*/
|
|
217
217
|
static createFleet(options) {
|
|
218
|
-
return (options.client ??
|
|
218
|
+
return (options.client ?? client).post({
|
|
219
219
|
url: '/clusters/{cluster_id}/fleets',
|
|
220
220
|
...options,
|
|
221
221
|
headers: {
|
|
222
222
|
'Content-Type': 'application/json',
|
|
223
|
-
...options
|
|
223
|
+
...options.headers
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
/**
|
|
228
228
|
* Permanently delete fleet.
|
|
229
|
-
* 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
|
|
229
|
+
* 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
230
|
*
|
|
231
231
|
* This endpoint is available to administrators of the organization only.
|
|
232
232
|
*
|
|
233
233
|
*/
|
|
234
234
|
static deleteFleet(options) {
|
|
235
|
-
return (options.client ??
|
|
235
|
+
return (options.client ?? client).delete({
|
|
236
236
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}',
|
|
237
237
|
...options
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
241
|
* Get fleet information.
|
|
242
|
-
* Returns fleet details. For more information, see [Fleets
|
|
242
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
243
243
|
*
|
|
244
244
|
* This endpoint is available to all users in the organization.
|
|
245
245
|
*
|
|
246
246
|
*/
|
|
247
247
|
static getFleet(options) {
|
|
248
|
-
return (options.client ??
|
|
248
|
+
return (options.client ?? client).get({
|
|
249
249
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}',
|
|
250
250
|
...options
|
|
251
251
|
});
|
|
@@ -254,20 +254,20 @@ export class ClustersService {
|
|
|
254
254
|
* Update fleet information.
|
|
255
255
|
* This endpoint allows you to update fleet details.
|
|
256
256
|
*
|
|
257
|
-
* 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
|
|
257
|
+
* 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`.
|
|
258
258
|
*
|
|
259
|
-
* For more information, see [Fleets
|
|
259
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
260
260
|
*
|
|
261
261
|
* This endpoint is available to administrators of the organization only.
|
|
262
262
|
*
|
|
263
263
|
*/
|
|
264
264
|
static updateFleet(options) {
|
|
265
|
-
return (options.client ??
|
|
265
|
+
return (options.client ?? client).put({
|
|
266
266
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}',
|
|
267
267
|
...options,
|
|
268
268
|
headers: {
|
|
269
269
|
'Content-Type': 'application/json',
|
|
270
|
-
...options
|
|
270
|
+
...options.headers
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
@@ -276,7 +276,7 @@ export class ClustersService {
|
|
|
276
276
|
* 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
277
|
*/
|
|
278
278
|
static queryCluster(options) {
|
|
279
|
-
return (options.client ??
|
|
279
|
+
return (options.client ?? client).get({
|
|
280
280
|
url: '/clusters/{cluster_id}/query',
|
|
281
281
|
...options
|
|
282
282
|
});
|
|
@@ -289,7 +289,7 @@ export class ClustersService {
|
|
|
289
289
|
*
|
|
290
290
|
*/
|
|
291
291
|
static listClusters(options) {
|
|
292
|
-
return (options?.client ??
|
|
292
|
+
return (options?.client ?? client).get({
|
|
293
293
|
url: '/clusters',
|
|
294
294
|
...options
|
|
295
295
|
});
|
|
@@ -302,12 +302,12 @@ export class ClustersService {
|
|
|
302
302
|
*
|
|
303
303
|
*/
|
|
304
304
|
static createCluster(options) {
|
|
305
|
-
return (options.client ??
|
|
305
|
+
return (options.client ?? client).post({
|
|
306
306
|
url: '/clusters',
|
|
307
307
|
...options,
|
|
308
308
|
headers: {
|
|
309
309
|
'Content-Type': 'application/json',
|
|
310
|
-
...options
|
|
310
|
+
...options.headers
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
}
|
|
@@ -319,7 +319,7 @@ export class ClustersService {
|
|
|
319
319
|
*
|
|
320
320
|
*/
|
|
321
321
|
static deleteCluster(options) {
|
|
322
|
-
return (options.client ??
|
|
322
|
+
return (options.client ?? client).delete({
|
|
323
323
|
url: '/clusters/{cluster_id}',
|
|
324
324
|
...options
|
|
325
325
|
});
|
|
@@ -332,7 +332,7 @@ export class ClustersService {
|
|
|
332
332
|
*
|
|
333
333
|
*/
|
|
334
334
|
static getCluster(options) {
|
|
335
|
-
return (options.client ??
|
|
335
|
+
return (options.client ?? client).get({
|
|
336
336
|
url: '/clusters/{cluster_id}',
|
|
337
337
|
...options
|
|
338
338
|
});
|
|
@@ -345,22 +345,22 @@ export class ClustersService {
|
|
|
345
345
|
*
|
|
346
346
|
*/
|
|
347
347
|
static updateCluster(options) {
|
|
348
|
-
return (options.client ??
|
|
348
|
+
return (options.client ?? client).put({
|
|
349
349
|
url: '/clusters/{cluster_id}',
|
|
350
350
|
...options,
|
|
351
351
|
headers: {
|
|
352
352
|
'Content-Type': 'application/json',
|
|
353
|
-
...options
|
|
353
|
+
...options.headers
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
357
|
/**
|
|
358
358
|
* Node join information for the cluster
|
|
359
|
-
* Returns the join information for the cluster. This information is used to add a self-managed
|
|
359
|
+
* 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
360
|
*
|
|
361
361
|
*/
|
|
362
362
|
static getJoinInformation(options) {
|
|
363
|
-
return (options.client ??
|
|
363
|
+
return (options.client ?? client).post({
|
|
364
364
|
url: '/clusters/{cluster_id}/join_information',
|
|
365
365
|
...options
|
|
366
366
|
});
|
|
@@ -373,7 +373,7 @@ export class InvitesService {
|
|
|
373
373
|
*
|
|
374
374
|
*/
|
|
375
375
|
static listInvites(options) {
|
|
376
|
-
return (options?.client ??
|
|
376
|
+
return (options?.client ?? client).get({
|
|
377
377
|
url: '/invites',
|
|
378
378
|
...options
|
|
379
379
|
});
|
|
@@ -384,12 +384,12 @@ export class InvitesService {
|
|
|
384
384
|
*
|
|
385
385
|
*/
|
|
386
386
|
static createInvite(options) {
|
|
387
|
-
return (options.client ??
|
|
387
|
+
return (options.client ?? client).post({
|
|
388
388
|
url: '/invites',
|
|
389
389
|
...options,
|
|
390
390
|
headers: {
|
|
391
391
|
'Content-Type': 'application/json',
|
|
392
|
-
...options
|
|
392
|
+
...options.headers
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
395
|
}
|
|
@@ -399,7 +399,7 @@ export class InvitesService {
|
|
|
399
399
|
*
|
|
400
400
|
*/
|
|
401
401
|
static getInvite(options) {
|
|
402
|
-
return (options.client ??
|
|
402
|
+
return (options.client ?? client).get({
|
|
403
403
|
url: '/invites/{code}',
|
|
404
404
|
...options
|
|
405
405
|
});
|
|
@@ -410,7 +410,7 @@ export class InvitesService {
|
|
|
410
410
|
*
|
|
411
411
|
*/
|
|
412
412
|
static deleteInvite(options) {
|
|
413
|
-
return (options.client ??
|
|
413
|
+
return (options.client ?? client).delete({
|
|
414
414
|
url: '/invites/{email}',
|
|
415
415
|
...options
|
|
416
416
|
});
|
|
@@ -425,7 +425,7 @@ export class ChartsMarketplaceService {
|
|
|
425
425
|
*
|
|
426
426
|
*/
|
|
427
427
|
static listMarketplaceCharts(options) {
|
|
428
|
-
return (options?.client ??
|
|
428
|
+
return (options?.client ?? client).get({
|
|
429
429
|
url: '/marketplace',
|
|
430
430
|
...options
|
|
431
431
|
});
|
|
@@ -438,7 +438,7 @@ export class ChartsMarketplaceService {
|
|
|
438
438
|
*
|
|
439
439
|
*/
|
|
440
440
|
static getMarketplaceChart(options) {
|
|
441
|
-
return (options.client ??
|
|
441
|
+
return (options.client ?? client).get({
|
|
442
442
|
url: '/marketplace/{listing_id}',
|
|
443
443
|
...options
|
|
444
444
|
});
|
|
@@ -453,7 +453,7 @@ export class OrganizationService {
|
|
|
453
453
|
*
|
|
454
454
|
*/
|
|
455
455
|
static getOrganization(options) {
|
|
456
|
-
return (options?.client ??
|
|
456
|
+
return (options?.client ?? client).get({
|
|
457
457
|
url: '/organization',
|
|
458
458
|
...options
|
|
459
459
|
});
|
|
@@ -464,12 +464,12 @@ export class OrganizationService {
|
|
|
464
464
|
*
|
|
465
465
|
*/
|
|
466
466
|
static createOrganization(options) {
|
|
467
|
-
return (options.client ??
|
|
467
|
+
return (options.client ?? client).post({
|
|
468
468
|
url: '/organization',
|
|
469
469
|
...options,
|
|
470
470
|
headers: {
|
|
471
471
|
'Content-Type': 'application/json',
|
|
472
|
-
...options
|
|
472
|
+
...options.headers
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}
|
|
@@ -481,7 +481,7 @@ export class TokensService {
|
|
|
481
481
|
*
|
|
482
482
|
*/
|
|
483
483
|
static listTokens(options) {
|
|
484
|
-
return (options?.client ??
|
|
484
|
+
return (options?.client ?? client).get({
|
|
485
485
|
url: '/tokens',
|
|
486
486
|
...options
|
|
487
487
|
});
|
|
@@ -494,12 +494,12 @@ export class TokensService {
|
|
|
494
494
|
*
|
|
495
495
|
*/
|
|
496
496
|
static createToken(options) {
|
|
497
|
-
return (options.client ??
|
|
497
|
+
return (options.client ?? client).post({
|
|
498
498
|
url: '/tokens',
|
|
499
499
|
...options,
|
|
500
500
|
headers: {
|
|
501
501
|
'Content-Type': 'application/json',
|
|
502
|
-
...options
|
|
502
|
+
...options.headers
|
|
503
503
|
}
|
|
504
504
|
});
|
|
505
505
|
}
|
|
@@ -509,7 +509,7 @@ export class TokensService {
|
|
|
509
509
|
*
|
|
510
510
|
*/
|
|
511
511
|
static deleteToken(options) {
|
|
512
|
-
return (options.client ??
|
|
512
|
+
return (options.client ?? client).delete({
|
|
513
513
|
url: '/tokens/{token_id}',
|
|
514
514
|
...options
|
|
515
515
|
});
|
|
@@ -520,7 +520,7 @@ export class TokensService {
|
|
|
520
520
|
*
|
|
521
521
|
*/
|
|
522
522
|
static getToken(options) {
|
|
523
|
-
return (options.client ??
|
|
523
|
+
return (options.client ?? client).get({
|
|
524
524
|
url: '/tokens/{token_id}',
|
|
525
525
|
...options
|
|
526
526
|
});
|
|
@@ -533,12 +533,12 @@ export class TokensService {
|
|
|
533
533
|
*
|
|
534
534
|
*/
|
|
535
535
|
static updateToken(options) {
|
|
536
|
-
return (options.client ??
|
|
536
|
+
return (options.client ?? client).put({
|
|
537
537
|
url: '/tokens/{token_id}',
|
|
538
538
|
...options,
|
|
539
539
|
headers: {
|
|
540
540
|
'Content-Type': 'application/json',
|
|
541
|
-
...options
|
|
541
|
+
...options.headers
|
|
542
542
|
}
|
|
543
543
|
});
|
|
544
544
|
}
|
|
@@ -547,7 +547,7 @@ export class TokensService {
|
|
|
547
547
|
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
548
548
|
*/
|
|
549
549
|
static regenerateToken(options) {
|
|
550
|
-
return (options.client ??
|
|
550
|
+
return (options.client ?? client).put({
|
|
551
551
|
url: '/tokens/{token_id}/secret',
|
|
552
552
|
...options
|
|
553
553
|
});
|
|
@@ -558,7 +558,7 @@ export class UsersService {
|
|
|
558
558
|
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
559
559
|
*/
|
|
560
560
|
static listUserOrganizations(options) {
|
|
561
|
-
return (options.client ??
|
|
561
|
+
return (options.client ?? client).get({
|
|
562
562
|
url: '/users/organizations/{email}',
|
|
563
563
|
...options
|
|
564
564
|
});
|
|
@@ -571,7 +571,7 @@ export class UsersService {
|
|
|
571
571
|
*
|
|
572
572
|
*/
|
|
573
573
|
static listUsers(options) {
|
|
574
|
-
return (options?.client ??
|
|
574
|
+
return (options?.client ?? client).get({
|
|
575
575
|
url: '/users',
|
|
576
576
|
...options
|
|
577
577
|
});
|
|
@@ -582,12 +582,12 @@ export class UsersService {
|
|
|
582
582
|
*
|
|
583
583
|
*/
|
|
584
584
|
static createUser(options) {
|
|
585
|
-
return (options.client ??
|
|
585
|
+
return (options.client ?? client).post({
|
|
586
586
|
url: '/users',
|
|
587
587
|
...options,
|
|
588
588
|
headers: {
|
|
589
589
|
'Content-Type': 'application/json',
|
|
590
|
-
...options
|
|
590
|
+
...options.headers
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
}
|
|
@@ -597,7 +597,7 @@ export class UsersService {
|
|
|
597
597
|
*
|
|
598
598
|
*/
|
|
599
599
|
static deleteUser(options) {
|
|
600
|
-
return (options.client ??
|
|
600
|
+
return (options.client ?? client).delete({
|
|
601
601
|
url: '/users/{user_id}',
|
|
602
602
|
...options
|
|
603
603
|
});
|
|
@@ -610,7 +610,7 @@ export class UsersService {
|
|
|
610
610
|
*
|
|
611
611
|
*/
|
|
612
612
|
static getUser(options) {
|
|
613
|
-
return (options.client ??
|
|
613
|
+
return (options.client ?? client).get({
|
|
614
614
|
url: '/users/{user_id}',
|
|
615
615
|
...options
|
|
616
616
|
});
|
|
@@ -621,12 +621,12 @@ export class UsersService {
|
|
|
621
621
|
*
|
|
622
622
|
*/
|
|
623
623
|
static updateUser(options) {
|
|
624
|
-
return (options.client ??
|
|
624
|
+
return (options.client ?? client).put({
|
|
625
625
|
url: '/users/{user_id}',
|
|
626
626
|
...options,
|
|
627
627
|
headers: {
|
|
628
628
|
'Content-Type': 'application/json',
|
|
629
|
-
...options
|
|
629
|
+
...options.headers
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
632
|
}
|
package/dist/sdk.gen.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;
|
|
1
|
+
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAiBtC,MAAM,OAAO,cAAc;IACvB;;;;OAIG;IACI,MAAM,CAAC,QAAQ,CAAuC,OAA6C;QACtG,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAkD;YACpF,GAAG,EAAE,gBAAgB;YACrB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,UAAU,CAAuC,OAA+C;QAC1G,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAA6C;YAC/E,GAAG,EAAE,kBAAkB;YACvB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,gBAAgB,CAAuC,OAAqD;QACtH,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC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GAAG,EAAE,kBAAkB;YACvB,GAAG,OAAO;SACb,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,UAAU,CAAuC,OAA8C;QACzG,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAA6C;YAC9E,GAAG,EAAE,kBAAkB;YACvB,GAAG,OAAO;YACV,OAAO,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,GAAG,OAAO,CAAC,OAAO;aACrB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -152,41 +152,41 @@ export default class Api<T extends KubernetesObject> implements ApiInterface {
|
|
|
152
152
|
list(namespace?: string, queryParams?: QueryParameters): Promise<T[]>;
|
|
153
153
|
get(name: string, namespace?: string, queryParams?: QueryParameters): Promise<T>;
|
|
154
154
|
post(body: KubernetesObject, queryParams?: QueryParameters): Promise<({
|
|
155
|
-
data: string;
|
|
156
|
-
error: undefined;
|
|
157
|
-
} | {
|
|
158
155
|
data: undefined;
|
|
159
156
|
error: unknown;
|
|
157
|
+
} | {
|
|
158
|
+
data: string;
|
|
159
|
+
error: undefined;
|
|
160
160
|
}) & {
|
|
161
161
|
request: Request;
|
|
162
162
|
response: Response;
|
|
163
163
|
}>;
|
|
164
164
|
patch(body: OpPatch[], name: string, namespace?: string, queryParams?: QueryParameters): Promise<({
|
|
165
|
-
data: string;
|
|
166
|
-
error: undefined;
|
|
167
|
-
} | {
|
|
168
165
|
data: undefined;
|
|
169
166
|
error: unknown;
|
|
167
|
+
} | {
|
|
168
|
+
data: string;
|
|
169
|
+
error: undefined;
|
|
170
170
|
}) & {
|
|
171
171
|
request: Request;
|
|
172
172
|
response: Response;
|
|
173
173
|
}>;
|
|
174
174
|
put(body: KubernetesObject, queryParams?: QueryParameters): Promise<({
|
|
175
|
-
data: string;
|
|
176
|
-
error: undefined;
|
|
177
|
-
} | {
|
|
178
175
|
data: undefined;
|
|
179
176
|
error: unknown;
|
|
177
|
+
} | {
|
|
178
|
+
data: string;
|
|
179
|
+
error: undefined;
|
|
180
180
|
}) & {
|
|
181
181
|
request: Request;
|
|
182
182
|
response: Response;
|
|
183
183
|
}>;
|
|
184
184
|
delete(name: string, namespace?: string, queryParams?: QueryParameters): Promise<({
|
|
185
|
-
data: string;
|
|
186
|
-
error: undefined;
|
|
187
|
-
} | {
|
|
188
185
|
data: undefined;
|
|
189
186
|
error: unknown;
|
|
187
|
+
} | {
|
|
188
|
+
data: string;
|
|
189
|
+
error: undefined;
|
|
190
190
|
}) & {
|
|
191
191
|
request: Request;
|
|
192
192
|
response: Response;
|