@cloudfleet/sdk 0.0.1-84adc67 → 0.0.1-8608ef2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +167 -290
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +30 -1
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +400 -228
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +556 -285
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +19 -2
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +20 -1
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +264 -156
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +435 -262
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +230 -90
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DefaultError, type UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { type Options } from '../sdk.gen';
|
|
3
|
-
import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartError, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartError, DeleteChartResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
3
|
+
import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartError, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartError, DeleteChartResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PayOpenInvoicesData, PayOpenInvoicesResponse, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -35,19 +35,14 @@ export declare const listUserOrganizationsOptions: (options: Options<ListUserOrg
|
|
|
35
35
|
_infinite?: boolean;
|
|
36
36
|
tags?: ReadonlyArray<string>;
|
|
37
37
|
}], never> | undefined;
|
|
38
|
-
} & {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
displayName?: string;
|
|
47
|
-
}[];
|
|
48
|
-
[dataTagErrorSymbol]: Error;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
38
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
39
|
+
_id: string;
|
|
40
|
+
_infinite?: boolean;
|
|
41
|
+
tags?: ReadonlyArray<string>;
|
|
42
|
+
}], {
|
|
43
|
+
realm?: string;
|
|
44
|
+
displayName?: string;
|
|
45
|
+
}[], Error>;
|
|
51
46
|
export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
52
47
|
_id: string;
|
|
53
48
|
_infinite?: boolean;
|
|
@@ -71,16 +66,11 @@ export declare const listUsersOptions: (options?: Options<ListUsersData>) => imp
|
|
|
71
66
|
_infinite?: boolean;
|
|
72
67
|
tags?: ReadonlyArray<string>;
|
|
73
68
|
}], never> | undefined;
|
|
74
|
-
} & {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}] & {
|
|
80
|
-
[dataTagSymbol]: import("../types.gen").User[];
|
|
81
|
-
[dataTagErrorSymbol]: Error;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
69
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
70
|
+
_id: string;
|
|
71
|
+
_infinite?: boolean;
|
|
72
|
+
tags?: ReadonlyArray<string>;
|
|
73
|
+
}], import("../types.gen").User[], Error>;
|
|
84
74
|
/**
|
|
85
75
|
* Create a new user.
|
|
86
76
|
*
|
|
@@ -118,16 +108,11 @@ export declare const getUserOptions: (options: Options<GetUserData>) => import("
|
|
|
118
108
|
_infinite?: boolean;
|
|
119
109
|
tags?: ReadonlyArray<string>;
|
|
120
110
|
}], never> | undefined;
|
|
121
|
-
} & {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}] & {
|
|
127
|
-
[dataTagSymbol]: import("../types.gen").User;
|
|
128
|
-
[dataTagErrorSymbol]: Error;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
111
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
112
|
+
_id: string;
|
|
113
|
+
_infinite?: boolean;
|
|
114
|
+
tags?: ReadonlyArray<string>;
|
|
115
|
+
}], import("../types.gen").User, Error>;
|
|
131
116
|
/**
|
|
132
117
|
* Update user profile information.
|
|
133
118
|
*
|
|
@@ -156,16 +141,11 @@ export declare const listTokensOptions: (options?: Options<ListTokensData>) => i
|
|
|
156
141
|
_infinite?: boolean;
|
|
157
142
|
tags?: ReadonlyArray<string>;
|
|
158
143
|
}], never> | undefined;
|
|
159
|
-
} & {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}] & {
|
|
165
|
-
[dataTagSymbol]: import("../types.gen").Token[];
|
|
166
|
-
[dataTagErrorSymbol]: Error;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
144
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
145
|
+
_id: string;
|
|
146
|
+
_infinite?: boolean;
|
|
147
|
+
tags?: ReadonlyArray<string>;
|
|
148
|
+
}], import("../types.gen").Token[], Error>;
|
|
169
149
|
/**
|
|
170
150
|
* Create a new access token.
|
|
171
151
|
*
|
|
@@ -203,16 +183,11 @@ export declare const getTokenOptions: (options: Options<GetTokenData>) => import
|
|
|
203
183
|
_infinite?: boolean;
|
|
204
184
|
tags?: ReadonlyArray<string>;
|
|
205
185
|
}], never> | undefined;
|
|
206
|
-
} & {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}] & {
|
|
212
|
-
[dataTagSymbol]: import("../types.gen").Token;
|
|
213
|
-
[dataTagErrorSymbol]: Error;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
186
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
187
|
+
_id: string;
|
|
188
|
+
_infinite?: boolean;
|
|
189
|
+
tags?: ReadonlyArray<string>;
|
|
190
|
+
}], import("../types.gen").Token, Error>;
|
|
216
191
|
/**
|
|
217
192
|
* Update access token information.
|
|
218
193
|
*
|
|
@@ -239,26 +214,21 @@ export declare const listTicketsQueryKey: (options?: Options<ListTicketsData>) =
|
|
|
239
214
|
* Returns all tickets belonging to the caller's organization, newest first.
|
|
240
215
|
*
|
|
241
216
|
*/
|
|
242
|
-
export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").
|
|
217
|
+
export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Ticket[], Error, import("../types.gen").Ticket[], [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
243
218
|
_id: string;
|
|
244
219
|
_infinite?: boolean;
|
|
245
220
|
tags?: ReadonlyArray<string>;
|
|
246
221
|
}]>, "queryFn"> & {
|
|
247
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
222
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket[], [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
248
223
|
_id: string;
|
|
249
224
|
_infinite?: boolean;
|
|
250
225
|
tags?: ReadonlyArray<string>;
|
|
251
226
|
}], never> | undefined;
|
|
252
|
-
} & {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}] & {
|
|
258
|
-
[dataTagSymbol]: import("../types.gen").TicketListResponse;
|
|
259
|
-
[dataTagErrorSymbol]: Error;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
227
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
228
|
+
_id: string;
|
|
229
|
+
_infinite?: boolean;
|
|
230
|
+
tags?: ReadonlyArray<string>;
|
|
231
|
+
}], import("../types.gen").Ticket[], Error>;
|
|
262
232
|
/**
|
|
263
233
|
* Create a new support ticket.
|
|
264
234
|
*
|
|
@@ -291,16 +261,11 @@ export declare const getTicketOptions: (options: Options<GetTicketData>) => impo
|
|
|
291
261
|
_infinite?: boolean;
|
|
292
262
|
tags?: ReadonlyArray<string>;
|
|
293
263
|
}], never> | undefined;
|
|
294
|
-
} & {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}] & {
|
|
300
|
-
[dataTagSymbol]: import("../types.gen").Ticket;
|
|
301
|
-
[dataTagErrorSymbol]: Error;
|
|
302
|
-
};
|
|
303
|
-
};
|
|
264
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
265
|
+
_id: string;
|
|
266
|
+
_infinite?: boolean;
|
|
267
|
+
tags?: ReadonlyArray<string>;
|
|
268
|
+
}], import("../types.gen").Ticket, Error>;
|
|
304
269
|
/**
|
|
305
270
|
* Append a customer reply to a ticket.
|
|
306
271
|
*
|
|
@@ -326,16 +291,11 @@ export declare const getTicketAttachmentOptions: (options: Options<GetTicketAtta
|
|
|
326
291
|
_infinite?: boolean;
|
|
327
292
|
tags?: ReadonlyArray<string>;
|
|
328
293
|
}], never> | undefined;
|
|
329
|
-
} & {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
}] & {
|
|
335
|
-
[dataTagSymbol]: Blob | File;
|
|
336
|
-
[dataTagErrorSymbol]: Error;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
294
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
295
|
+
_id: string;
|
|
296
|
+
_infinite?: boolean;
|
|
297
|
+
tags?: ReadonlyArray<string>;
|
|
298
|
+
}], Blob | File, Error>;
|
|
339
299
|
export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
340
300
|
_id: string;
|
|
341
301
|
_infinite?: boolean;
|
|
@@ -357,16 +317,11 @@ export declare const listRepositoriesOptions: (options?: Options<ListRepositorie
|
|
|
357
317
|
_infinite?: boolean;
|
|
358
318
|
tags?: ReadonlyArray<string>;
|
|
359
319
|
}], never> | undefined;
|
|
360
|
-
} & {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}] & {
|
|
366
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepository[];
|
|
367
|
-
[dataTagErrorSymbol]: Error;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
320
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
321
|
+
_id: string;
|
|
322
|
+
_infinite?: boolean;
|
|
323
|
+
tags?: ReadonlyArray<string>;
|
|
324
|
+
}], import("../types.gen").RegistryRepository[], Error>;
|
|
370
325
|
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
371
326
|
_id: string;
|
|
372
327
|
_infinite?: boolean;
|
|
@@ -388,16 +343,11 @@ export declare const listTagsOptions: (options: Options<ListTagsData>) => import
|
|
|
388
343
|
_infinite?: boolean;
|
|
389
344
|
tags?: ReadonlyArray<string>;
|
|
390
345
|
}], never> | undefined;
|
|
391
|
-
} & {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}] & {
|
|
397
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
398
|
-
[dataTagErrorSymbol]: Error;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
346
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
347
|
+
_id: string;
|
|
348
|
+
_infinite?: boolean;
|
|
349
|
+
tags?: ReadonlyArray<string>;
|
|
350
|
+
}], import("../types.gen").RegistryRepositoryWithTags, Error>;
|
|
401
351
|
/**
|
|
402
352
|
* Delete tag
|
|
403
353
|
*
|
|
@@ -426,16 +376,11 @@ export declare const getTagOptions: (options: Options<GetTagData>) => import("@t
|
|
|
426
376
|
_infinite?: boolean;
|
|
427
377
|
tags?: ReadonlyArray<string>;
|
|
428
378
|
}], never> | undefined;
|
|
429
|
-
} & {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
}] & {
|
|
435
|
-
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
436
|
-
[dataTagErrorSymbol]: Error;
|
|
437
|
-
};
|
|
438
|
-
};
|
|
379
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
380
|
+
_id: string;
|
|
381
|
+
_infinite?: boolean;
|
|
382
|
+
tags?: ReadonlyArray<string>;
|
|
383
|
+
}], import("../types.gen").RegistryTag, Error>;
|
|
439
384
|
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
440
385
|
_id: string;
|
|
441
386
|
_infinite?: boolean;
|
|
@@ -459,16 +404,11 @@ export declare const getOrganizationOptions: (options?: Options<GetOrganizationD
|
|
|
459
404
|
_infinite?: boolean;
|
|
460
405
|
tags?: ReadonlyArray<string>;
|
|
461
406
|
}], never> | undefined;
|
|
462
|
-
} & {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}] & {
|
|
468
|
-
[dataTagSymbol]: import("../types.gen").Organization;
|
|
469
|
-
[dataTagErrorSymbol]: Error;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
407
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
408
|
+
_id: string;
|
|
409
|
+
_infinite?: boolean;
|
|
410
|
+
tags?: ReadonlyArray<string>;
|
|
411
|
+
}], import("../types.gen").Organization, Error>;
|
|
472
412
|
/**
|
|
473
413
|
* Create a new organization / Cloudfleet account signup.
|
|
474
414
|
*
|
|
@@ -505,16 +445,11 @@ export declare const listMarketplaceChartsOptions: (options?: Options<ListMarket
|
|
|
505
445
|
_infinite?: boolean;
|
|
506
446
|
tags?: ReadonlyArray<string>;
|
|
507
447
|
}], never> | undefined;
|
|
508
|
-
} & {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}] & {
|
|
514
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
515
|
-
[dataTagErrorSymbol]: Error;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
448
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
449
|
+
_id: string;
|
|
450
|
+
_infinite?: boolean;
|
|
451
|
+
tags?: ReadonlyArray<string>;
|
|
452
|
+
}], import("../types.gen").MarketplaceListing[], Error>;
|
|
518
453
|
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
519
454
|
_id: string;
|
|
520
455
|
_infinite?: boolean;
|
|
@@ -540,16 +475,11 @@ export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarke
|
|
|
540
475
|
_infinite?: boolean;
|
|
541
476
|
tags?: ReadonlyArray<string>;
|
|
542
477
|
}], never> | undefined;
|
|
543
|
-
} & {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
}] & {
|
|
549
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
550
|
-
[dataTagErrorSymbol]: Error;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
478
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
479
|
+
_id: string;
|
|
480
|
+
_infinite?: boolean;
|
|
481
|
+
tags?: ReadonlyArray<string>;
|
|
482
|
+
}], import("../types.gen").MarketplaceListingFiles, Error>;
|
|
553
483
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
554
484
|
_id: string;
|
|
555
485
|
_infinite?: boolean;
|
|
@@ -571,16 +501,11 @@ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) =>
|
|
|
571
501
|
_infinite?: boolean;
|
|
572
502
|
tags?: ReadonlyArray<string>;
|
|
573
503
|
}], never> | undefined;
|
|
574
|
-
} & {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}] & {
|
|
580
|
-
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
581
|
-
[dataTagErrorSymbol]: Error;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
504
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
505
|
+
_id: string;
|
|
506
|
+
_infinite?: boolean;
|
|
507
|
+
tags?: ReadonlyArray<string>;
|
|
508
|
+
}], import("../types.gen").Invite[], Error>;
|
|
584
509
|
/**
|
|
585
510
|
* Create a new invite.
|
|
586
511
|
*
|
|
@@ -618,19 +543,14 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
618
543
|
_infinite?: boolean;
|
|
619
544
|
tags?: ReadonlyArray<string>;
|
|
620
545
|
}], never> | undefined;
|
|
621
|
-
} & {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
organization_id?: string;
|
|
630
|
-
};
|
|
631
|
-
[dataTagErrorSymbol]: Error;
|
|
632
|
-
};
|
|
633
|
-
};
|
|
546
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
547
|
+
_id: string;
|
|
548
|
+
_infinite?: boolean;
|
|
549
|
+
tags?: ReadonlyArray<string>;
|
|
550
|
+
}], {
|
|
551
|
+
email?: string;
|
|
552
|
+
organization_id?: string;
|
|
553
|
+
}, Error>;
|
|
634
554
|
/**
|
|
635
555
|
* Permanently delete invite.
|
|
636
556
|
*
|
|
@@ -658,16 +578,11 @@ export declare const queryClusterOptions: (options: Options<QueryClusterData>) =
|
|
|
658
578
|
_infinite?: boolean;
|
|
659
579
|
tags?: ReadonlyArray<string>;
|
|
660
580
|
}], never> | undefined;
|
|
661
|
-
} & {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}] & {
|
|
667
|
-
[dataTagSymbol]: unknown;
|
|
668
|
-
[dataTagErrorSymbol]: Error;
|
|
669
|
-
};
|
|
670
|
-
};
|
|
581
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
582
|
+
_id: string;
|
|
583
|
+
_infinite?: boolean;
|
|
584
|
+
tags?: ReadonlyArray<string>;
|
|
585
|
+
}], unknown, Error>;
|
|
671
586
|
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
672
587
|
_id: string;
|
|
673
588
|
_infinite?: boolean;
|
|
@@ -691,21 +606,18 @@ export declare const listFleetsOptions: (options: Options<ListFleetsData>) => im
|
|
|
691
606
|
_infinite?: boolean;
|
|
692
607
|
tags?: ReadonlyArray<string>;
|
|
693
608
|
}], never> | undefined;
|
|
694
|
-
} & {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}] & {
|
|
700
|
-
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
701
|
-
[dataTagErrorSymbol]: Error;
|
|
702
|
-
};
|
|
703
|
-
};
|
|
609
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
610
|
+
_id: string;
|
|
611
|
+
_infinite?: boolean;
|
|
612
|
+
tags?: ReadonlyArray<string>;
|
|
613
|
+
}], import("../types.gen").Fleet[], Error>;
|
|
704
614
|
/**
|
|
705
615
|
* Create a new fleet.
|
|
706
616
|
*
|
|
707
617
|
* 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.
|
|
708
618
|
*
|
|
619
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
620
|
+
*
|
|
709
621
|
* This endpoint is available to administrators of the organization only.
|
|
710
622
|
*
|
|
711
623
|
*/
|
|
@@ -715,6 +627,8 @@ export declare const createFleetMutation: (options?: Partial<Options<CreateFleet
|
|
|
715
627
|
*
|
|
716
628
|
* 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. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
717
629
|
*
|
|
630
|
+
* Deleting a fleet does not deprovision the cloud infrastructure it provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
|
|
631
|
+
*
|
|
718
632
|
* This endpoint is available to administrators of the organization only.
|
|
719
633
|
*
|
|
720
634
|
*/
|
|
@@ -742,16 +656,11 @@ export declare const getFleetOptions: (options: Options<GetFleetData>) => import
|
|
|
742
656
|
_infinite?: boolean;
|
|
743
657
|
tags?: ReadonlyArray<string>;
|
|
744
658
|
}], never> | undefined;
|
|
745
|
-
} & {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
}] & {
|
|
751
|
-
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
752
|
-
[dataTagErrorSymbol]: Error;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
659
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
660
|
+
_id: string;
|
|
661
|
+
_infinite?: boolean;
|
|
662
|
+
tags?: ReadonlyArray<string>;
|
|
663
|
+
}], import("../types.gen").Fleet, Error>;
|
|
755
664
|
/**
|
|
756
665
|
* Update fleet information.
|
|
757
666
|
*
|
|
@@ -759,6 +668,8 @@ export declare const getFleetOptions: (options: Options<GetFleetData>) => import
|
|
|
759
668
|
*
|
|
760
669
|
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
761
670
|
*
|
|
671
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged. The Hetzner API key is the exception: it is kept when omitted (send a new value to rotate it).
|
|
672
|
+
*
|
|
762
673
|
* This endpoint is available to administrators of the organization only.
|
|
763
674
|
*
|
|
764
675
|
*/
|
|
@@ -786,16 +697,11 @@ export declare const listChartsOptions: (options: Options<ListChartsData>) => im
|
|
|
786
697
|
_infinite?: boolean;
|
|
787
698
|
tags?: ReadonlyArray<string>;
|
|
788
699
|
}], never> | undefined;
|
|
789
|
-
} & {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}] & {
|
|
795
|
-
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
796
|
-
[dataTagErrorSymbol]: Error;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
700
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
701
|
+
_id: string;
|
|
702
|
+
_infinite?: boolean;
|
|
703
|
+
tags?: ReadonlyArray<string>;
|
|
704
|
+
}], import("../types.gen").Chart[], Error>;
|
|
799
705
|
/**
|
|
800
706
|
* Create a new chart.
|
|
801
707
|
*
|
|
@@ -837,16 +743,11 @@ export declare const getChartOptions: (options: Options<GetChartData>) => import
|
|
|
837
743
|
_infinite?: boolean;
|
|
838
744
|
tags?: ReadonlyArray<string>;
|
|
839
745
|
}], never> | undefined;
|
|
840
|
-
} & {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
}] & {
|
|
846
|
-
[dataTagSymbol]: import("../types.gen").Chart;
|
|
847
|
-
[dataTagErrorSymbol]: Error;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
746
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
747
|
+
_id: string;
|
|
748
|
+
_infinite?: boolean;
|
|
749
|
+
tags?: ReadonlyArray<string>;
|
|
750
|
+
}], import("../types.gen").Chart, Error>;
|
|
850
751
|
/**
|
|
851
752
|
* Update chart information.
|
|
852
753
|
*
|
|
@@ -879,16 +780,11 @@ export declare const listClustersOptions: (options?: Options<ListClustersData>)
|
|
|
879
780
|
_infinite?: boolean;
|
|
880
781
|
tags?: ReadonlyArray<string>;
|
|
881
782
|
}], never> | undefined;
|
|
882
|
-
} & {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
}] & {
|
|
888
|
-
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
889
|
-
[dataTagErrorSymbol]: Error;
|
|
890
|
-
};
|
|
891
|
-
};
|
|
783
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
784
|
+
_id: string;
|
|
785
|
+
_infinite?: boolean;
|
|
786
|
+
tags?: ReadonlyArray<string>;
|
|
787
|
+
}], import("../types.gen").Cluster[], Error>;
|
|
892
788
|
/**
|
|
893
789
|
* Create a new cluster.
|
|
894
790
|
*
|
|
@@ -903,6 +799,8 @@ export declare const createClusterMutation: (options?: Partial<Options<CreateClu
|
|
|
903
799
|
*
|
|
904
800
|
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
905
801
|
*
|
|
802
|
+
* Deleting a cluster also deletes its fleets. This does not deprovision the cloud infrastructure those fleets provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
|
|
803
|
+
*
|
|
906
804
|
* This endpoint is available to administrators of the organization only.
|
|
907
805
|
*
|
|
908
806
|
*/
|
|
@@ -930,20 +828,17 @@ export declare const getClusterOptions: (options: Options<GetClusterData>) => im
|
|
|
930
828
|
_infinite?: boolean;
|
|
931
829
|
tags?: ReadonlyArray<string>;
|
|
932
830
|
}], never> | undefined;
|
|
933
|
-
} & {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}] & {
|
|
939
|
-
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
940
|
-
[dataTagErrorSymbol]: Error;
|
|
941
|
-
};
|
|
942
|
-
};
|
|
831
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
832
|
+
_id: string;
|
|
833
|
+
_infinite?: boolean;
|
|
834
|
+
tags?: ReadonlyArray<string>;
|
|
835
|
+
}], import("../types.gen").Cluster, Error>;
|
|
943
836
|
/**
|
|
944
837
|
* Update cluster information.
|
|
945
838
|
*
|
|
946
|
-
* This endpoint allows you to update cluster details
|
|
839
|
+
* This endpoint allows you to update cluster details. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
840
|
+
*
|
|
841
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
947
842
|
*
|
|
948
843
|
* This endpoint is available to administrators of the organization only.
|
|
949
844
|
*
|
|
@@ -977,16 +872,11 @@ export declare const getUsageOptions: (options?: Options<GetUsageData>) => impor
|
|
|
977
872
|
_infinite?: boolean;
|
|
978
873
|
tags?: ReadonlyArray<string>;
|
|
979
874
|
}], never> | undefined;
|
|
980
|
-
} & {
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
}] & {
|
|
986
|
-
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
987
|
-
[dataTagErrorSymbol]: Error;
|
|
988
|
-
};
|
|
989
|
-
};
|
|
875
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
876
|
+
_id: string;
|
|
877
|
+
_infinite?: boolean;
|
|
878
|
+
tags?: ReadonlyArray<string>;
|
|
879
|
+
}], import("../types.gen").UsageResponse, Error>;
|
|
990
880
|
/**
|
|
991
881
|
* Get Stripe client secret.
|
|
992
882
|
*
|
|
@@ -1015,16 +905,11 @@ export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMe
|
|
|
1015
905
|
_infinite?: boolean;
|
|
1016
906
|
tags?: ReadonlyArray<string>;
|
|
1017
907
|
}], never> | undefined;
|
|
1018
|
-
} & {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
}] & {
|
|
1024
|
-
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1025
|
-
[dataTagErrorSymbol]: Error;
|
|
1026
|
-
};
|
|
1027
|
-
};
|
|
908
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
909
|
+
_id: string;
|
|
910
|
+
_infinite?: boolean;
|
|
911
|
+
tags?: ReadonlyArray<string>;
|
|
912
|
+
}], import("../types.gen").PaymentMethod[], Error>;
|
|
1028
913
|
/**
|
|
1029
914
|
* Set the default payment method.
|
|
1030
915
|
*
|
|
@@ -1060,16 +945,18 @@ export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>)
|
|
|
1060
945
|
_infinite?: boolean;
|
|
1061
946
|
tags?: ReadonlyArray<string>;
|
|
1062
947
|
}], never> | undefined;
|
|
1063
|
-
} & {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
948
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
949
|
+
_id: string;
|
|
950
|
+
_infinite?: boolean;
|
|
951
|
+
tags?: ReadonlyArray<string>;
|
|
952
|
+
}], import("../types.gen").Invoice[], Error>;
|
|
953
|
+
/**
|
|
954
|
+
* Pay the organization's open invoices.
|
|
955
|
+
*
|
|
956
|
+
* Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
|
|
957
|
+
*
|
|
958
|
+
*/
|
|
959
|
+
export declare const payOpenInvoicesMutation: (options?: Partial<Options<PayOpenInvoicesData>>) => UseMutationOptions<PayOpenInvoicesResponse, DefaultError, Options<PayOpenInvoicesData>>;
|
|
1073
960
|
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1074
961
|
_id: string;
|
|
1075
962
|
_infinite?: boolean;
|
|
@@ -1091,16 +978,11 @@ export declare const getContactOptions: (options?: Options<GetContactData>) => i
|
|
|
1091
978
|
_infinite?: boolean;
|
|
1092
979
|
tags?: ReadonlyArray<string>;
|
|
1093
980
|
}], never> | undefined;
|
|
1094
|
-
} & {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
}] & {
|
|
1100
|
-
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1101
|
-
[dataTagErrorSymbol]: Error;
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
981
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
982
|
+
_id: string;
|
|
983
|
+
_infinite?: boolean;
|
|
984
|
+
tags?: ReadonlyArray<string>;
|
|
985
|
+
}], import("../types.gen").BillingContact, Error>;
|
|
1104
986
|
/**
|
|
1105
987
|
* Update organization contact information and billing address.
|
|
1106
988
|
*
|
|
@@ -1129,16 +1011,11 @@ export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => i
|
|
|
1129
1011
|
_infinite?: boolean;
|
|
1130
1012
|
tags?: ReadonlyArray<string>;
|
|
1131
1013
|
}], never> | undefined;
|
|
1132
|
-
} & {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}] & {
|
|
1138
|
-
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1139
|
-
[dataTagErrorSymbol]: Error;
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
1014
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1015
|
+
_id: string;
|
|
1016
|
+
_infinite?: boolean;
|
|
1017
|
+
tags?: ReadonlyArray<string>;
|
|
1018
|
+
}], import("../types.gen").BillingCredits[], Error>;
|
|
1142
1019
|
/**
|
|
1143
1020
|
* Redeem promotional credits code.
|
|
1144
1021
|
*
|