@cloudfleet/sdk 0.0.1-7dae59c → 0.0.1-7e837ad
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@tanstack/react-query.gen.d.ts +154 -327
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +19 -40
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +130 -38
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +170 -49
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +8 -17
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +9 -27
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +116 -57
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +74 -48
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +47 -22
- package/dist/zod.gen.js.map +1 -1
- package/package.json +7 -7
|
@@ -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,
|
|
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
|
*
|
|
@@ -249,16 +224,11 @@ export declare const listTicketsOptions: (options?: Options<ListTicketsData>) =>
|
|
|
249
224
|
_infinite?: boolean;
|
|
250
225
|
tags?: ReadonlyArray<string>;
|
|
251
226
|
}], never> | undefined;
|
|
252
|
-
} & {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}] & {
|
|
258
|
-
[dataTagSymbol]: import("../types.gen").Ticket[];
|
|
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,63 +404,18 @@ export declare const getOrganizationOptions: (options?: Options<GetOrganizationD
|
|
|
459
404
|
_infinite?: boolean;
|
|
460
405
|
tags?: ReadonlyArray<string>;
|
|
461
406
|
}], never> | undefined;
|
|
462
|
-
} & {
|
|
463
|
-
queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
464
|
-
_id: string;
|
|
465
|
-
_infinite?: boolean;
|
|
466
|
-
tags?: ReadonlyArray<string>;
|
|
467
|
-
}] & {
|
|
468
|
-
[dataTagSymbol]: import("../types.gen").Organization;
|
|
469
|
-
[dataTagErrorSymbol]: Error;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
/**
|
|
473
|
-
* Create a new organization / Cloudfleet account signup.
|
|
474
|
-
*
|
|
475
|
-
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
476
|
-
*
|
|
477
|
-
*/
|
|
478
|
-
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
479
|
-
export declare const getBasicPriceConsentQueryKey: (options?: Options<GetBasicPriceConsentData>) => [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
407
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
480
408
|
_id: string;
|
|
481
409
|
_infinite?: boolean;
|
|
482
410
|
tags?: ReadonlyArray<string>;
|
|
483
|
-
}]
|
|
411
|
+
}], import("../types.gen").Organization, Error>;
|
|
484
412
|
/**
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
* Returns the organization's consent status for the migration from the free tier to the paid Basic plan. `pending` means an administrator must opt in; `not_applicable` means the organization is not in scope for the migration; `accepted` / `rejected` reflect a recorded decision.
|
|
488
|
-
*
|
|
489
|
-
* This endpoint is available to all users in the organization and drives the consent dialog in the console.
|
|
490
|
-
*
|
|
491
|
-
*/
|
|
492
|
-
export declare const getBasicPriceConsentOptions: (options?: Options<GetBasicPriceConsentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BasicPriceConsent, Error, import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
493
|
-
_id: string;
|
|
494
|
-
_infinite?: boolean;
|
|
495
|
-
tags?: ReadonlyArray<string>;
|
|
496
|
-
}]>, "queryFn"> & {
|
|
497
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
498
|
-
_id: string;
|
|
499
|
-
_infinite?: boolean;
|
|
500
|
-
tags?: ReadonlyArray<string>;
|
|
501
|
-
}], never> | undefined;
|
|
502
|
-
} & {
|
|
503
|
-
queryKey: [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
504
|
-
_id: string;
|
|
505
|
-
_infinite?: boolean;
|
|
506
|
-
tags?: ReadonlyArray<string>;
|
|
507
|
-
}] & {
|
|
508
|
-
[dataTagSymbol]: import("../types.gen").BasicPriceConsent;
|
|
509
|
-
[dataTagErrorSymbol]: Error;
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
/**
|
|
513
|
-
* Record an administrator's decision on the new Basic price.
|
|
413
|
+
* Create a new organization / Cloudfleet account signup.
|
|
514
414
|
*
|
|
515
|
-
*
|
|
415
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
516
416
|
*
|
|
517
417
|
*/
|
|
518
|
-
export declare const
|
|
418
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
519
419
|
/**
|
|
520
420
|
* MCP endpoint
|
|
521
421
|
*
|
|
@@ -545,16 +445,11 @@ export declare const listMarketplaceChartsOptions: (options?: Options<ListMarket
|
|
|
545
445
|
_infinite?: boolean;
|
|
546
446
|
tags?: ReadonlyArray<string>;
|
|
547
447
|
}], never> | undefined;
|
|
548
|
-
} & {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}] & {
|
|
554
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
555
|
-
[dataTagErrorSymbol]: Error;
|
|
556
|
-
};
|
|
557
|
-
};
|
|
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>;
|
|
558
453
|
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
559
454
|
_id: string;
|
|
560
455
|
_infinite?: boolean;
|
|
@@ -580,16 +475,11 @@ export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarke
|
|
|
580
475
|
_infinite?: boolean;
|
|
581
476
|
tags?: ReadonlyArray<string>;
|
|
582
477
|
}], never> | undefined;
|
|
583
|
-
} & {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
}] & {
|
|
589
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
590
|
-
[dataTagErrorSymbol]: Error;
|
|
591
|
-
};
|
|
592
|
-
};
|
|
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>;
|
|
593
483
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
594
484
|
_id: string;
|
|
595
485
|
_infinite?: boolean;
|
|
@@ -611,16 +501,11 @@ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) =>
|
|
|
611
501
|
_infinite?: boolean;
|
|
612
502
|
tags?: ReadonlyArray<string>;
|
|
613
503
|
}], never> | undefined;
|
|
614
|
-
} & {
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
}] & {
|
|
620
|
-
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
621
|
-
[dataTagErrorSymbol]: Error;
|
|
622
|
-
};
|
|
623
|
-
};
|
|
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>;
|
|
624
509
|
/**
|
|
625
510
|
* Create a new invite.
|
|
626
511
|
*
|
|
@@ -658,19 +543,14 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
658
543
|
_infinite?: boolean;
|
|
659
544
|
tags?: ReadonlyArray<string>;
|
|
660
545
|
}], never> | undefined;
|
|
661
|
-
} & {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
organization_id?: string;
|
|
670
|
-
};
|
|
671
|
-
[dataTagErrorSymbol]: Error;
|
|
672
|
-
};
|
|
673
|
-
};
|
|
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>;
|
|
674
554
|
/**
|
|
675
555
|
* Permanently delete invite.
|
|
676
556
|
*
|
|
@@ -698,16 +578,11 @@ export declare const queryClusterOptions: (options: Options<QueryClusterData>) =
|
|
|
698
578
|
_infinite?: boolean;
|
|
699
579
|
tags?: ReadonlyArray<string>;
|
|
700
580
|
}], never> | undefined;
|
|
701
|
-
} & {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}] & {
|
|
707
|
-
[dataTagSymbol]: unknown;
|
|
708
|
-
[dataTagErrorSymbol]: Error;
|
|
709
|
-
};
|
|
710
|
-
};
|
|
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>;
|
|
711
586
|
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
712
587
|
_id: string;
|
|
713
588
|
_infinite?: boolean;
|
|
@@ -731,16 +606,11 @@ export declare const listFleetsOptions: (options: Options<ListFleetsData>) => im
|
|
|
731
606
|
_infinite?: boolean;
|
|
732
607
|
tags?: ReadonlyArray<string>;
|
|
733
608
|
}], never> | undefined;
|
|
734
|
-
} & {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}] & {
|
|
740
|
-
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
741
|
-
[dataTagErrorSymbol]: Error;
|
|
742
|
-
};
|
|
743
|
-
};
|
|
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>;
|
|
744
614
|
/**
|
|
745
615
|
* Create a new fleet.
|
|
746
616
|
*
|
|
@@ -786,16 +656,11 @@ export declare const getFleetOptions: (options: Options<GetFleetData>) => import
|
|
|
786
656
|
_infinite?: boolean;
|
|
787
657
|
tags?: ReadonlyArray<string>;
|
|
788
658
|
}], never> | undefined;
|
|
789
|
-
} & {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}] & {
|
|
795
|
-
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
796
|
-
[dataTagErrorSymbol]: Error;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
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>;
|
|
799
664
|
/**
|
|
800
665
|
* Update fleet information.
|
|
801
666
|
*
|
|
@@ -832,16 +697,11 @@ export declare const listChartsOptions: (options: Options<ListChartsData>) => im
|
|
|
832
697
|
_infinite?: boolean;
|
|
833
698
|
tags?: ReadonlyArray<string>;
|
|
834
699
|
}], never> | undefined;
|
|
835
|
-
} & {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
}] & {
|
|
841
|
-
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
842
|
-
[dataTagErrorSymbol]: Error;
|
|
843
|
-
};
|
|
844
|
-
};
|
|
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>;
|
|
845
705
|
/**
|
|
846
706
|
* Create a new chart.
|
|
847
707
|
*
|
|
@@ -883,16 +743,11 @@ export declare const getChartOptions: (options: Options<GetChartData>) => import
|
|
|
883
743
|
_infinite?: boolean;
|
|
884
744
|
tags?: ReadonlyArray<string>;
|
|
885
745
|
}], never> | undefined;
|
|
886
|
-
} & {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
}] & {
|
|
892
|
-
[dataTagSymbol]: import("../types.gen").Chart;
|
|
893
|
-
[dataTagErrorSymbol]: Error;
|
|
894
|
-
};
|
|
895
|
-
};
|
|
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>;
|
|
896
751
|
/**
|
|
897
752
|
* Update chart information.
|
|
898
753
|
*
|
|
@@ -925,16 +780,11 @@ export declare const listClustersOptions: (options?: Options<ListClustersData>)
|
|
|
925
780
|
_infinite?: boolean;
|
|
926
781
|
tags?: ReadonlyArray<string>;
|
|
927
782
|
}], never> | undefined;
|
|
928
|
-
} & {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}] & {
|
|
934
|
-
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
935
|
-
[dataTagErrorSymbol]: Error;
|
|
936
|
-
};
|
|
937
|
-
};
|
|
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>;
|
|
938
788
|
/**
|
|
939
789
|
* Create a new cluster.
|
|
940
790
|
*
|
|
@@ -978,16 +828,11 @@ export declare const getClusterOptions: (options: Options<GetClusterData>) => im
|
|
|
978
828
|
_infinite?: boolean;
|
|
979
829
|
tags?: ReadonlyArray<string>;
|
|
980
830
|
}], never> | undefined;
|
|
981
|
-
} & {
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
}] & {
|
|
987
|
-
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
988
|
-
[dataTagErrorSymbol]: Error;
|
|
989
|
-
};
|
|
990
|
-
};
|
|
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>;
|
|
991
836
|
/**
|
|
992
837
|
* Update cluster information.
|
|
993
838
|
*
|
|
@@ -1027,16 +872,11 @@ export declare const getUsageOptions: (options?: Options<GetUsageData>) => impor
|
|
|
1027
872
|
_infinite?: boolean;
|
|
1028
873
|
tags?: ReadonlyArray<string>;
|
|
1029
874
|
}], never> | undefined;
|
|
1030
|
-
} & {
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
}] & {
|
|
1036
|
-
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
1037
|
-
[dataTagErrorSymbol]: Error;
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
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>;
|
|
1040
880
|
/**
|
|
1041
881
|
* Get Stripe client secret.
|
|
1042
882
|
*
|
|
@@ -1065,16 +905,11 @@ export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMe
|
|
|
1065
905
|
_infinite?: boolean;
|
|
1066
906
|
tags?: ReadonlyArray<string>;
|
|
1067
907
|
}], never> | undefined;
|
|
1068
|
-
} & {
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
}] & {
|
|
1074
|
-
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1075
|
-
[dataTagErrorSymbol]: Error;
|
|
1076
|
-
};
|
|
1077
|
-
};
|
|
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>;
|
|
1078
913
|
/**
|
|
1079
914
|
* Set the default payment method.
|
|
1080
915
|
*
|
|
@@ -1110,16 +945,18 @@ export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>)
|
|
|
1110
945
|
_infinite?: boolean;
|
|
1111
946
|
tags?: ReadonlyArray<string>;
|
|
1112
947
|
}], never> | undefined;
|
|
1113
|
-
} & {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
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>>;
|
|
1123
960
|
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1124
961
|
_id: string;
|
|
1125
962
|
_infinite?: boolean;
|
|
@@ -1141,16 +978,11 @@ export declare const getContactOptions: (options?: Options<GetContactData>) => i
|
|
|
1141
978
|
_infinite?: boolean;
|
|
1142
979
|
tags?: ReadonlyArray<string>;
|
|
1143
980
|
}], never> | undefined;
|
|
1144
|
-
} & {
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
}] & {
|
|
1150
|
-
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1151
|
-
[dataTagErrorSymbol]: Error;
|
|
1152
|
-
};
|
|
1153
|
-
};
|
|
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>;
|
|
1154
986
|
/**
|
|
1155
987
|
* Update organization contact information and billing address.
|
|
1156
988
|
*
|
|
@@ -1179,16 +1011,11 @@ export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => i
|
|
|
1179
1011
|
_infinite?: boolean;
|
|
1180
1012
|
tags?: ReadonlyArray<string>;
|
|
1181
1013
|
}], never> | undefined;
|
|
1182
|
-
} & {
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
}] & {
|
|
1188
|
-
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1189
|
-
[dataTagErrorSymbol]: Error;
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
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>;
|
|
1192
1019
|
/**
|
|
1193
1020
|
* Redeem promotional credits code.
|
|
1194
1021
|
*
|