@cloudfleet/sdk 0.0.1-a4bb08f → 0.0.1-a508b9d
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 +184 -289
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +40 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +81 -146
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +134 -177
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +17 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +27 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +90 -94
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +149 -75
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +80 -42
- 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, 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, GetBasicPriceConsentData, 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, SetBasicPriceConsentData, SetBasicPriceConsentResponse, 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
|
*
|
|
@@ -476,6 +416,41 @@ export declare const getOrganizationOptions: (options?: Options<GetOrganizationD
|
|
|
476
416
|
*
|
|
477
417
|
*/
|
|
478
418
|
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
419
|
+
export declare const getBasicPriceConsentQueryKey: (options?: Options<GetBasicPriceConsentData>) => [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
420
|
+
_id: string;
|
|
421
|
+
_infinite?: boolean;
|
|
422
|
+
tags?: ReadonlyArray<string>;
|
|
423
|
+
}];
|
|
424
|
+
/**
|
|
425
|
+
* Get the organization's consent status for the new Basic price.
|
|
426
|
+
*
|
|
427
|
+
* 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.
|
|
428
|
+
*
|
|
429
|
+
* This endpoint is available to all users in the organization and drives the consent dialog in the console.
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
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"> & {
|
|
433
|
+
_id: string;
|
|
434
|
+
_infinite?: boolean;
|
|
435
|
+
tags?: ReadonlyArray<string>;
|
|
436
|
+
}]>, "queryFn"> & {
|
|
437
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
438
|
+
_id: string;
|
|
439
|
+
_infinite?: boolean;
|
|
440
|
+
tags?: ReadonlyArray<string>;
|
|
441
|
+
}], never> | undefined;
|
|
442
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
443
|
+
_id: string;
|
|
444
|
+
_infinite?: boolean;
|
|
445
|
+
tags?: ReadonlyArray<string>;
|
|
446
|
+
}], import("../types.gen").BasicPriceConsent, Error>;
|
|
447
|
+
/**
|
|
448
|
+
* Record an administrator's decision on the new Basic price.
|
|
449
|
+
*
|
|
450
|
+
* Records an affirmative decision to continue on the paid Basic plan (`accepted`) or to opt out (`rejected`). This is an organization-binding financial decision, so it is restricted to administrators. Each call appends an immutable audit entry (who and when) and sends a confirmation email to the acting administrator.
|
|
451
|
+
*
|
|
452
|
+
*/
|
|
453
|
+
export declare const setBasicPriceConsentMutation: (options?: Partial<Options<SetBasicPriceConsentData>>) => UseMutationOptions<SetBasicPriceConsentResponse, DefaultError, Options<SetBasicPriceConsentData>>;
|
|
479
454
|
/**
|
|
480
455
|
* MCP endpoint
|
|
481
456
|
*
|
|
@@ -505,16 +480,11 @@ export declare const listMarketplaceChartsOptions: (options?: Options<ListMarket
|
|
|
505
480
|
_infinite?: boolean;
|
|
506
481
|
tags?: ReadonlyArray<string>;
|
|
507
482
|
}], never> | undefined;
|
|
508
|
-
} & {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}] & {
|
|
514
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
515
|
-
[dataTagErrorSymbol]: Error;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
483
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
484
|
+
_id: string;
|
|
485
|
+
_infinite?: boolean;
|
|
486
|
+
tags?: ReadonlyArray<string>;
|
|
487
|
+
}], import("../types.gen").MarketplaceListing[], Error>;
|
|
518
488
|
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
519
489
|
_id: string;
|
|
520
490
|
_infinite?: boolean;
|
|
@@ -540,16 +510,11 @@ export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarke
|
|
|
540
510
|
_infinite?: boolean;
|
|
541
511
|
tags?: ReadonlyArray<string>;
|
|
542
512
|
}], never> | undefined;
|
|
543
|
-
} & {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
}] & {
|
|
549
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
550
|
-
[dataTagErrorSymbol]: Error;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
513
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
514
|
+
_id: string;
|
|
515
|
+
_infinite?: boolean;
|
|
516
|
+
tags?: ReadonlyArray<string>;
|
|
517
|
+
}], import("../types.gen").MarketplaceListingFiles, Error>;
|
|
553
518
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
554
519
|
_id: string;
|
|
555
520
|
_infinite?: boolean;
|
|
@@ -571,16 +536,11 @@ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) =>
|
|
|
571
536
|
_infinite?: boolean;
|
|
572
537
|
tags?: ReadonlyArray<string>;
|
|
573
538
|
}], never> | undefined;
|
|
574
|
-
} & {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}] & {
|
|
580
|
-
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
581
|
-
[dataTagErrorSymbol]: Error;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
539
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
540
|
+
_id: string;
|
|
541
|
+
_infinite?: boolean;
|
|
542
|
+
tags?: ReadonlyArray<string>;
|
|
543
|
+
}], import("../types.gen").Invite[], Error>;
|
|
584
544
|
/**
|
|
585
545
|
* Create a new invite.
|
|
586
546
|
*
|
|
@@ -618,19 +578,14 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
618
578
|
_infinite?: boolean;
|
|
619
579
|
tags?: ReadonlyArray<string>;
|
|
620
580
|
}], never> | undefined;
|
|
621
|
-
} & {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
organization_id?: string;
|
|
630
|
-
};
|
|
631
|
-
[dataTagErrorSymbol]: Error;
|
|
632
|
-
};
|
|
633
|
-
};
|
|
581
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
582
|
+
_id: string;
|
|
583
|
+
_infinite?: boolean;
|
|
584
|
+
tags?: ReadonlyArray<string>;
|
|
585
|
+
}], {
|
|
586
|
+
email?: string;
|
|
587
|
+
organization_id?: string;
|
|
588
|
+
}, Error>;
|
|
634
589
|
/**
|
|
635
590
|
* Permanently delete invite.
|
|
636
591
|
*
|
|
@@ -658,16 +613,11 @@ export declare const queryClusterOptions: (options: Options<QueryClusterData>) =
|
|
|
658
613
|
_infinite?: boolean;
|
|
659
614
|
tags?: ReadonlyArray<string>;
|
|
660
615
|
}], never> | undefined;
|
|
661
|
-
} & {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}] & {
|
|
667
|
-
[dataTagSymbol]: unknown;
|
|
668
|
-
[dataTagErrorSymbol]: Error;
|
|
669
|
-
};
|
|
670
|
-
};
|
|
616
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
617
|
+
_id: string;
|
|
618
|
+
_infinite?: boolean;
|
|
619
|
+
tags?: ReadonlyArray<string>;
|
|
620
|
+
}], unknown, Error>;
|
|
671
621
|
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
672
622
|
_id: string;
|
|
673
623
|
_infinite?: boolean;
|
|
@@ -691,16 +641,11 @@ export declare const listFleetsOptions: (options: Options<ListFleetsData>) => im
|
|
|
691
641
|
_infinite?: boolean;
|
|
692
642
|
tags?: ReadonlyArray<string>;
|
|
693
643
|
}], never> | undefined;
|
|
694
|
-
} & {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}] & {
|
|
700
|
-
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
701
|
-
[dataTagErrorSymbol]: Error;
|
|
702
|
-
};
|
|
703
|
-
};
|
|
644
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
645
|
+
_id: string;
|
|
646
|
+
_infinite?: boolean;
|
|
647
|
+
tags?: ReadonlyArray<string>;
|
|
648
|
+
}], import("../types.gen").Fleet[], Error>;
|
|
704
649
|
/**
|
|
705
650
|
* Create a new fleet.
|
|
706
651
|
*
|
|
@@ -746,16 +691,11 @@ export declare const getFleetOptions: (options: Options<GetFleetData>) => import
|
|
|
746
691
|
_infinite?: boolean;
|
|
747
692
|
tags?: ReadonlyArray<string>;
|
|
748
693
|
}], never> | undefined;
|
|
749
|
-
} & {
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}] & {
|
|
755
|
-
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
756
|
-
[dataTagErrorSymbol]: Error;
|
|
757
|
-
};
|
|
758
|
-
};
|
|
694
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
695
|
+
_id: string;
|
|
696
|
+
_infinite?: boolean;
|
|
697
|
+
tags?: ReadonlyArray<string>;
|
|
698
|
+
}], import("../types.gen").Fleet, Error>;
|
|
759
699
|
/**
|
|
760
700
|
* Update fleet information.
|
|
761
701
|
*
|
|
@@ -792,16 +732,11 @@ export declare const listChartsOptions: (options: Options<ListChartsData>) => im
|
|
|
792
732
|
_infinite?: boolean;
|
|
793
733
|
tags?: ReadonlyArray<string>;
|
|
794
734
|
}], never> | undefined;
|
|
795
|
-
} & {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}] & {
|
|
801
|
-
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
802
|
-
[dataTagErrorSymbol]: Error;
|
|
803
|
-
};
|
|
804
|
-
};
|
|
735
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
736
|
+
_id: string;
|
|
737
|
+
_infinite?: boolean;
|
|
738
|
+
tags?: ReadonlyArray<string>;
|
|
739
|
+
}], import("../types.gen").Chart[], Error>;
|
|
805
740
|
/**
|
|
806
741
|
* Create a new chart.
|
|
807
742
|
*
|
|
@@ -843,16 +778,11 @@ export declare const getChartOptions: (options: Options<GetChartData>) => import
|
|
|
843
778
|
_infinite?: boolean;
|
|
844
779
|
tags?: ReadonlyArray<string>;
|
|
845
780
|
}], never> | undefined;
|
|
846
|
-
} & {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
}] & {
|
|
852
|
-
[dataTagSymbol]: import("../types.gen").Chart;
|
|
853
|
-
[dataTagErrorSymbol]: Error;
|
|
854
|
-
};
|
|
855
|
-
};
|
|
781
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
782
|
+
_id: string;
|
|
783
|
+
_infinite?: boolean;
|
|
784
|
+
tags?: ReadonlyArray<string>;
|
|
785
|
+
}], import("../types.gen").Chart, Error>;
|
|
856
786
|
/**
|
|
857
787
|
* Update chart information.
|
|
858
788
|
*
|
|
@@ -885,16 +815,11 @@ export declare const listClustersOptions: (options?: Options<ListClustersData>)
|
|
|
885
815
|
_infinite?: boolean;
|
|
886
816
|
tags?: ReadonlyArray<string>;
|
|
887
817
|
}], never> | undefined;
|
|
888
|
-
} & {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
}] & {
|
|
894
|
-
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
895
|
-
[dataTagErrorSymbol]: Error;
|
|
896
|
-
};
|
|
897
|
-
};
|
|
818
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
819
|
+
_id: string;
|
|
820
|
+
_infinite?: boolean;
|
|
821
|
+
tags?: ReadonlyArray<string>;
|
|
822
|
+
}], import("../types.gen").Cluster[], Error>;
|
|
898
823
|
/**
|
|
899
824
|
* Create a new cluster.
|
|
900
825
|
*
|
|
@@ -938,16 +863,11 @@ export declare const getClusterOptions: (options: Options<GetClusterData>) => im
|
|
|
938
863
|
_infinite?: boolean;
|
|
939
864
|
tags?: ReadonlyArray<string>;
|
|
940
865
|
}], never> | undefined;
|
|
941
|
-
} & {
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}] & {
|
|
947
|
-
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
948
|
-
[dataTagErrorSymbol]: Error;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
866
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
867
|
+
_id: string;
|
|
868
|
+
_infinite?: boolean;
|
|
869
|
+
tags?: ReadonlyArray<string>;
|
|
870
|
+
}], import("../types.gen").Cluster, Error>;
|
|
951
871
|
/**
|
|
952
872
|
* Update cluster information.
|
|
953
873
|
*
|
|
@@ -987,16 +907,11 @@ export declare const getUsageOptions: (options?: Options<GetUsageData>) => impor
|
|
|
987
907
|
_infinite?: boolean;
|
|
988
908
|
tags?: ReadonlyArray<string>;
|
|
989
909
|
}], never> | undefined;
|
|
990
|
-
} & {
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
}] & {
|
|
996
|
-
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
997
|
-
[dataTagErrorSymbol]: Error;
|
|
998
|
-
};
|
|
999
|
-
};
|
|
910
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
911
|
+
_id: string;
|
|
912
|
+
_infinite?: boolean;
|
|
913
|
+
tags?: ReadonlyArray<string>;
|
|
914
|
+
}], import("../types.gen").UsageResponse, Error>;
|
|
1000
915
|
/**
|
|
1001
916
|
* Get Stripe client secret.
|
|
1002
917
|
*
|
|
@@ -1025,16 +940,11 @@ export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMe
|
|
|
1025
940
|
_infinite?: boolean;
|
|
1026
941
|
tags?: ReadonlyArray<string>;
|
|
1027
942
|
}], never> | undefined;
|
|
1028
|
-
} & {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
}] & {
|
|
1034
|
-
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1035
|
-
[dataTagErrorSymbol]: Error;
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
943
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
944
|
+
_id: string;
|
|
945
|
+
_infinite?: boolean;
|
|
946
|
+
tags?: ReadonlyArray<string>;
|
|
947
|
+
}], import("../types.gen").PaymentMethod[], Error>;
|
|
1038
948
|
/**
|
|
1039
949
|
* Set the default payment method.
|
|
1040
950
|
*
|
|
@@ -1070,16 +980,11 @@ export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>)
|
|
|
1070
980
|
_infinite?: boolean;
|
|
1071
981
|
tags?: ReadonlyArray<string>;
|
|
1072
982
|
}], never> | undefined;
|
|
1073
|
-
} & {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
}] & {
|
|
1079
|
-
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1080
|
-
[dataTagErrorSymbol]: Error;
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
983
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
984
|
+
_id: string;
|
|
985
|
+
_infinite?: boolean;
|
|
986
|
+
tags?: ReadonlyArray<string>;
|
|
987
|
+
}], import("../types.gen").Invoice[], Error>;
|
|
1083
988
|
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1084
989
|
_id: string;
|
|
1085
990
|
_infinite?: boolean;
|
|
@@ -1101,16 +1006,11 @@ export declare const getContactOptions: (options?: Options<GetContactData>) => i
|
|
|
1101
1006
|
_infinite?: boolean;
|
|
1102
1007
|
tags?: ReadonlyArray<string>;
|
|
1103
1008
|
}], never> | undefined;
|
|
1104
|
-
} & {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
}] & {
|
|
1110
|
-
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1111
|
-
[dataTagErrorSymbol]: Error;
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1009
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1010
|
+
_id: string;
|
|
1011
|
+
_infinite?: boolean;
|
|
1012
|
+
tags?: ReadonlyArray<string>;
|
|
1013
|
+
}], import("../types.gen").BillingContact, Error>;
|
|
1114
1014
|
/**
|
|
1115
1015
|
* Update organization contact information and billing address.
|
|
1116
1016
|
*
|
|
@@ -1139,16 +1039,11 @@ export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => i
|
|
|
1139
1039
|
_infinite?: boolean;
|
|
1140
1040
|
tags?: ReadonlyArray<string>;
|
|
1141
1041
|
}], never> | undefined;
|
|
1142
|
-
} & {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
}] & {
|
|
1148
|
-
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1149
|
-
[dataTagErrorSymbol]: Error;
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1042
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1043
|
+
_id: string;
|
|
1044
|
+
_infinite?: boolean;
|
|
1045
|
+
tags?: ReadonlyArray<string>;
|
|
1046
|
+
}], import("../types.gen").BillingCredits[], Error>;
|
|
1152
1047
|
/**
|
|
1153
1048
|
* Redeem promotional credits code.
|
|
1154
1049
|
*
|