@runloop/reflex-client 0.18.0 → 0.20.0
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/generated/blueprints.d.ts +14 -1
- package/dist/generated/blueprints.d.ts.map +1 -1
- package/dist/generated/blueprints.js +20 -0
- package/dist/generated/blueprints.js.map +1 -1
- package/dist/generated/invites.d.ts +14 -1
- package/dist/generated/invites.d.ts.map +1 -1
- package/dist/generated/invites.js +13 -0
- package/dist/generated/invites.js.map +1 -1
- package/dist/generated/model/acceptInviteResponse.d.ts +11 -0
- package/dist/generated/model/acceptInviteResponse.d.ts.map +1 -0
- package/dist/generated/model/acceptInviteResponse.js +2 -0
- package/dist/generated/model/acceptInviteResponse.js.map +1 -0
- package/dist/generated/model/acceptInviteResponseJoined.d.ts +12 -0
- package/dist/generated/model/acceptInviteResponseJoined.d.ts.map +1 -0
- package/dist/generated/model/acceptInviteResponseJoined.js +8 -0
- package/dist/generated/model/acceptInviteResponseJoined.js.map +1 -0
- package/dist/generated/model/agent.d.ts +1 -0
- package/dist/generated/model/agent.d.ts.map +1 -1
- package/dist/generated/model/agentPersona.d.ts +2 -0
- package/dist/generated/model/agentPersona.d.ts.map +1 -1
- package/dist/generated/model/createAgentBody.d.ts +2 -0
- package/dist/generated/model/createAgentBody.d.ts.map +1 -1
- package/dist/generated/model/createAgentResponse.d.ts +1 -0
- package/dist/generated/model/createAgentResponse.d.ts.map +1 -1
- package/dist/generated/model/getBlueprintBuildLog200.d.ts +22 -0
- package/dist/generated/model/getBlueprintBuildLog200.d.ts.map +1 -0
- package/dist/generated/model/getBlueprintBuildLog200.js +2 -0
- package/dist/generated/model/getBlueprintBuildLog200.js.map +1 -0
- package/dist/generated/model/getBlueprintBuildLog200EntriesItem.d.ts +12 -0
- package/dist/generated/model/getBlueprintBuildLog200EntriesItem.d.ts.map +1 -0
- package/dist/generated/model/getBlueprintBuildLog200EntriesItem.js +8 -0
- package/dist/generated/model/getBlueprintBuildLog200EntriesItem.js.map +1 -0
- package/dist/generated/model/getBlueprintBuildLog200Status.d.ts +15 -0
- package/dist/generated/model/getBlueprintBuildLog200Status.d.ts.map +1 -0
- package/dist/generated/model/getBlueprintBuildLog200Status.js +14 -0
- package/dist/generated/model/getBlueprintBuildLog200Status.js.map +1 -0
- package/dist/generated/model/getBlueprintBuildLogOrder.d.ts +12 -0
- package/dist/generated/model/getBlueprintBuildLogOrder.d.ts.map +1 -0
- package/dist/generated/model/getBlueprintBuildLogOrder.js +11 -0
- package/dist/generated/model/getBlueprintBuildLogOrder.js.map +1 -0
- package/dist/generated/model/getBlueprintBuildLogParams.d.ts +21 -0
- package/dist/generated/model/getBlueprintBuildLogParams.d.ts.map +1 -0
- package/dist/generated/model/getBlueprintBuildLogParams.js +2 -0
- package/dist/generated/model/getBlueprintBuildLogParams.js.map +1 -0
- package/dist/generated/model/index.d.ts +8 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.js +8 -0
- package/dist/generated/model/index.js.map +1 -1
- package/dist/generated/model/listAgentsParams.d.ts +1 -5
- package/dist/generated/model/listAgentsParams.d.ts.map +1 -1
- package/dist/generated/model/listMcpTools200ToolsItem.d.ts +1 -0
- package/dist/generated/model/listMcpTools200ToolsItem.d.ts.map +1 -1
- package/dist/generated/model/organization.d.ts +2 -0
- package/dist/generated/model/organization.d.ts.map +1 -1
- package/dist/generated/model/organizationSubscriptionTier.d.ts +13 -0
- package/dist/generated/model/organizationSubscriptionTier.d.ts.map +1 -0
- package/dist/generated/model/organizationSubscriptionTier.js +12 -0
- package/dist/generated/model/organizationSubscriptionTier.js.map +1 -0
- package/dist/generated/model/saveAgentDraftBodyPayload.d.ts +2 -0
- package/dist/generated/model/saveAgentDraftBodyPayload.d.ts.map +1 -1
- package/dist/generated/organizations.d.ts +1 -1
- package/dist/generated/organizations.js +1 -1
- package/dist/react/blueprints.d.ts +25 -1
- package/dist/react/blueprints.d.ts.map +1 -1
- package/dist/react/blueprints.js +28 -1
- package/dist/react/blueprints.js.map +1 -1
- package/dist/react/invites.d.ts +27 -1
- package/dist/react/invites.d.ts.map +1 -1
- package/dist/react/invites.js +27 -1
- package/dist/react/invites.js.map +1 -1
- package/dist/react/model/acceptInviteResponse.d.ts +11 -0
- package/dist/react/model/acceptInviteResponse.d.ts.map +1 -0
- package/dist/react/model/acceptInviteResponse.js +2 -0
- package/dist/react/model/acceptInviteResponse.js.map +1 -0
- package/dist/react/model/acceptInviteResponseJoined.d.ts +12 -0
- package/dist/react/model/acceptInviteResponseJoined.d.ts.map +1 -0
- package/dist/react/model/acceptInviteResponseJoined.js +8 -0
- package/dist/react/model/acceptInviteResponseJoined.js.map +1 -0
- package/dist/react/model/agent.d.ts +1 -0
- package/dist/react/model/agent.d.ts.map +1 -1
- package/dist/react/model/agentPersona.d.ts +2 -0
- package/dist/react/model/agentPersona.d.ts.map +1 -1
- package/dist/react/model/createAgentBody.d.ts +2 -0
- package/dist/react/model/createAgentBody.d.ts.map +1 -1
- package/dist/react/model/createAgentResponse.d.ts +1 -0
- package/dist/react/model/createAgentResponse.d.ts.map +1 -1
- package/dist/react/model/getBlueprintBuildLog200.d.ts +22 -0
- package/dist/react/model/getBlueprintBuildLog200.d.ts.map +1 -0
- package/dist/react/model/getBlueprintBuildLog200.js +2 -0
- package/dist/react/model/getBlueprintBuildLog200.js.map +1 -0
- package/dist/react/model/getBlueprintBuildLog200EntriesItem.d.ts +12 -0
- package/dist/react/model/getBlueprintBuildLog200EntriesItem.d.ts.map +1 -0
- package/dist/react/model/getBlueprintBuildLog200EntriesItem.js +8 -0
- package/dist/react/model/getBlueprintBuildLog200EntriesItem.js.map +1 -0
- package/dist/react/model/getBlueprintBuildLog200Status.d.ts +15 -0
- package/dist/react/model/getBlueprintBuildLog200Status.d.ts.map +1 -0
- package/dist/react/model/getBlueprintBuildLog200Status.js +14 -0
- package/dist/react/model/getBlueprintBuildLog200Status.js.map +1 -0
- package/dist/react/model/getBlueprintBuildLogOrder.d.ts +12 -0
- package/dist/react/model/getBlueprintBuildLogOrder.d.ts.map +1 -0
- package/dist/react/model/getBlueprintBuildLogOrder.js +11 -0
- package/dist/react/model/getBlueprintBuildLogOrder.js.map +1 -0
- package/dist/react/model/getBlueprintBuildLogParams.d.ts +21 -0
- package/dist/react/model/getBlueprintBuildLogParams.d.ts.map +1 -0
- package/dist/react/model/getBlueprintBuildLogParams.js +2 -0
- package/dist/react/model/getBlueprintBuildLogParams.js.map +1 -0
- package/dist/react/model/listAgentsParams.d.ts +1 -5
- package/dist/react/model/listAgentsParams.d.ts.map +1 -1
- package/dist/react/model/listMcpTools200ToolsItem.d.ts +1 -0
- package/dist/react/model/listMcpTools200ToolsItem.d.ts.map +1 -1
- package/dist/react/model/organization.d.ts +2 -0
- package/dist/react/model/organization.d.ts.map +1 -1
- package/dist/react/model/organizationSubscriptionTier.d.ts +13 -0
- package/dist/react/model/organizationSubscriptionTier.d.ts.map +1 -0
- package/dist/react/model/organizationSubscriptionTier.js +12 -0
- package/dist/react/model/organizationSubscriptionTier.js.map +1 -0
- package/dist/react/model/saveAgentDraftBodyPayload.d.ts +2 -0
- package/dist/react/model/saveAgentDraftBodyPayload.d.ts.map +1 -1
- package/dist/react/organizations.d.ts +1 -1
- package/dist/react/organizations.js +1 -1
- package/package.json +1 -1
- package/src/generated/blueprints.ts +46 -0
- package/src/generated/invites.ts +36 -0
- package/src/generated/model/acceptInviteResponse.ts +11 -0
- package/src/generated/model/acceptInviteResponseJoined.ts +12 -0
- package/src/generated/model/agent.ts +1 -0
- package/src/generated/model/agentPersona.ts +2 -0
- package/src/generated/model/createAgentBody.ts +2 -0
- package/src/generated/model/createAgentResponse.ts +1 -0
- package/src/generated/model/getBlueprintBuildLog200.ts +22 -0
- package/src/generated/model/getBlueprintBuildLog200EntriesItem.ts +12 -0
- package/src/generated/model/getBlueprintBuildLog200Status.ts +17 -0
- package/src/generated/model/getBlueprintBuildLogOrder.ts +14 -0
- package/src/generated/model/getBlueprintBuildLogParams.ts +21 -0
- package/src/generated/model/index.ts +8 -0
- package/src/generated/model/listAgentsParams.ts +1 -5
- package/src/generated/model/listMcpTools200ToolsItem.ts +1 -0
- package/src/generated/model/organization.ts +2 -0
- package/src/generated/model/organizationSubscriptionTier.ts +15 -0
- package/src/generated/model/saveAgentDraftBodyPayload.ts +2 -0
- package/src/generated/organizations.ts +1 -1
- package/src/react/blueprints.ts +81 -0
- package/src/react/invites.ts +65 -0
- package/src/react/model/acceptInviteResponse.ts +11 -0
- package/src/react/model/acceptInviteResponseJoined.ts +12 -0
- package/src/react/model/agent.ts +1 -0
- package/src/react/model/agentPersona.ts +2 -0
- package/src/react/model/createAgentBody.ts +2 -0
- package/src/react/model/createAgentResponse.ts +1 -0
- package/src/react/model/getBlueprintBuildLog200.ts +22 -0
- package/src/react/model/getBlueprintBuildLog200EntriesItem.ts +12 -0
- package/src/react/model/getBlueprintBuildLog200Status.ts +17 -0
- package/src/react/model/getBlueprintBuildLogOrder.ts +14 -0
- package/src/react/model/getBlueprintBuildLogParams.ts +21 -0
- package/src/react/model/listAgentsParams.ts +1 -5
- package/src/react/model/listMcpTools200ToolsItem.ts +1 -0
- package/src/react/model/organization.ts +2 -0
- package/src/react/model/organizationSubscriptionTier.ts +15 -0
- package/src/react/model/saveAgentDraftBodyPayload.ts +2 -0
- package/src/react/organizations.ts +1 -1
|
@@ -16,11 +16,7 @@ userId?: string;
|
|
|
16
16
|
* @maximum 200
|
|
17
17
|
*/
|
|
18
18
|
limit?: number;
|
|
19
|
-
|
|
20
|
-
* @minimum -9007199254740991
|
|
21
|
-
* @maximum 9007199254740991
|
|
22
|
-
*/
|
|
23
|
-
cursor?: number;
|
|
19
|
+
cursor?: string;
|
|
24
20
|
search?: string;
|
|
25
21
|
status?: string;
|
|
26
22
|
mark?: 'any' | 'blocked' | 'in_review' | 'completed';
|
|
@@ -10,6 +10,7 @@ import type { OrganizationEnabledReleaseChannelsItem } from './organizationEnabl
|
|
|
10
10
|
import type { OrganizationSharingSettings } from './organizationSharingSettings.js';
|
|
11
11
|
import type { OrganizationStatus } from './organizationStatus.js';
|
|
12
12
|
import type { OrganizationSubscription } from './organizationSubscription.js';
|
|
13
|
+
import type { OrganizationSubscriptionTier } from './organizationSubscriptionTier.js';
|
|
13
14
|
|
|
14
15
|
export interface Organization {
|
|
15
16
|
id: string;
|
|
@@ -23,6 +24,7 @@ export interface Organization {
|
|
|
23
24
|
emailDomains: unknown[];
|
|
24
25
|
bootstrappedAt?: number | null;
|
|
25
26
|
capabilities: string[];
|
|
27
|
+
subscriptionTier?: OrganizationSubscriptionTier;
|
|
26
28
|
enabledReleaseChannels: OrganizationEnabledReleaseChannelsItem[];
|
|
27
29
|
status?: OrganizationStatus;
|
|
28
30
|
disabledReason?: OrganizationDisabledReason;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type OrganizationSubscriptionTier = typeof OrganizationSubscriptionTier[keyof typeof OrganizationSubscriptionTier];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const OrganizationSubscriptionTier = {
|
|
12
|
+
trial: 'trial',
|
|
13
|
+
standard: 'standard',
|
|
14
|
+
enterprise: 'enterprise',
|
|
15
|
+
} as const;
|
|
@@ -173,7 +173,7 @@ export const getUpdateOrganizationUrl = (id: string,) => {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* Capability changes are restricted to platform
|
|
176
|
+
* Capability changes are restricted to platform admins.
|
|
177
177
|
* @summary Update an organization's name, slug, or settings.
|
|
178
178
|
*/
|
|
179
179
|
export const updateOrganization = async (id: string,
|
package/src/react/blueprints.ts
CHANGED
|
@@ -30,6 +30,14 @@ import type {
|
|
|
30
30
|
DeleteBlueprint200
|
|
31
31
|
} from './model/deleteBlueprint200.js';
|
|
32
32
|
|
|
33
|
+
import type {
|
|
34
|
+
GetBlueprintBuildLog200
|
|
35
|
+
} from './model/getBlueprintBuildLog200.js';
|
|
36
|
+
|
|
37
|
+
import type {
|
|
38
|
+
GetBlueprintBuildLogParams
|
|
39
|
+
} from './model/getBlueprintBuildLogParams.js';
|
|
40
|
+
|
|
33
41
|
import type {
|
|
34
42
|
GetBlueprintLogs200
|
|
35
43
|
} from './model/getBlueprintLogs200.js';
|
|
@@ -323,6 +331,79 @@ export const useDeleteBlueprint = <TError = unknown,
|
|
|
323
331
|
return useMutation(getDeleteBlueprintMutationOptions(options));
|
|
324
332
|
}
|
|
325
333
|
/**
|
|
334
|
+
* @summary Get a page of a blueprint's build log, with its build state.
|
|
335
|
+
*/
|
|
336
|
+
export const getBlueprintBuildLog = (
|
|
337
|
+
id: string,
|
|
338
|
+
params?: GetBlueprintBuildLogParams,
|
|
339
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
340
|
+
) => {
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
return apiFetch<GetBlueprintBuildLog200>(
|
|
344
|
+
{url: `/blueprints/${encodeURIComponent(String(id))}/build-log`, method: 'GET',
|
|
345
|
+
params, signal
|
|
346
|
+
},
|
|
347
|
+
options);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
export const getGetBlueprintBuildLogQueryKey = (id: string,
|
|
354
|
+
params?: GetBlueprintBuildLogParams,) => {
|
|
355
|
+
return [
|
|
356
|
+
`/blueprints/${id}/build-log`, ...(params ? [params] : [])
|
|
357
|
+
] as const;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
export const getGetBlueprintBuildLogQueryOptions = <TData = Awaited<ReturnType<typeof getBlueprintBuildLog>>, TError = unknown>(id: string,
|
|
362
|
+
params?: GetBlueprintBuildLogParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getBlueprintBuildLog>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
363
|
+
) => {
|
|
364
|
+
|
|
365
|
+
const {query: queryOptions, request: requestOptions} = options ?? {};
|
|
366
|
+
|
|
367
|
+
const queryKey = queryOptions?.queryKey ?? getGetBlueprintBuildLogQueryKey(id,params);
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getBlueprintBuildLog>>> = ({ signal }) => getBlueprintBuildLog(id,params, requestOptions, signal);
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
return { queryKey, queryFn, enabled: id !== null && id !== undefined, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getBlueprintBuildLog>>, TError, TData> & { queryKey: QueryKey }
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export type GetBlueprintBuildLogQueryResult = NonNullable<Awaited<ReturnType<typeof getBlueprintBuildLog>>>
|
|
381
|
+
export type GetBlueprintBuildLogQueryError = unknown
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @summary Get a page of a blueprint's build log, with its build state.
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
export function useGetBlueprintBuildLog<TData = Awaited<ReturnType<typeof getBlueprintBuildLog>>, TError = unknown>(
|
|
389
|
+
id: string,
|
|
390
|
+
params?: GetBlueprintBuildLogParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getBlueprintBuildLog>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
391
|
+
|
|
392
|
+
): UseQueryResult<TData, TError> & { queryKey: QueryKey } {
|
|
393
|
+
|
|
394
|
+
const queryOptions = getGetBlueprintBuildLogQueryOptions(id,params,options)
|
|
395
|
+
|
|
396
|
+
const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };
|
|
397
|
+
|
|
398
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
/**
|
|
326
407
|
* @summary Get a blueprint's build logs.
|
|
327
408
|
*/
|
|
328
409
|
export const getBlueprintLogs = (
|
package/src/react/invites.ts
CHANGED
|
@@ -18,6 +18,10 @@ import type {
|
|
|
18
18
|
UseQueryResult
|
|
19
19
|
} from '@tanstack/react-query';
|
|
20
20
|
|
|
21
|
+
import type {
|
|
22
|
+
AcceptInviteResponse
|
|
23
|
+
} from './model/acceptInviteResponse.js';
|
|
24
|
+
|
|
21
25
|
import type {
|
|
22
26
|
AcceptPendingInvites200
|
|
23
27
|
} from './model/acceptPendingInvites200.js';
|
|
@@ -62,6 +66,67 @@ const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKe
|
|
|
62
66
|
};
|
|
63
67
|
|
|
64
68
|
/**
|
|
69
|
+
* @summary Accept one organization invite
|
|
70
|
+
*/
|
|
71
|
+
export const acceptInvite = (
|
|
72
|
+
inviteId: string,
|
|
73
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
74
|
+
) => {
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
return apiFetch<AcceptInviteResponse>(
|
|
78
|
+
{url: `/invites/${encodeURIComponent(String(inviteId))}/accept`, method: 'POST', signal
|
|
79
|
+
},
|
|
80
|
+
options);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
export const getAcceptInviteMutationOptions = <TError = unknown,
|
|
86
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof acceptInvite>>, TError,{inviteId: string}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
87
|
+
): UseMutationOptions<Awaited<ReturnType<typeof acceptInvite>>, TError,{inviteId: string}, TContext> => {
|
|
88
|
+
|
|
89
|
+
const mutationKey = ['acceptInvite'];
|
|
90
|
+
const {mutation: mutationOptions, request: requestOptions} = options ?
|
|
91
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
92
|
+
options
|
|
93
|
+
: {...options, mutation: {...options.mutation, mutationKey}}
|
|
94
|
+
: {mutation: { mutationKey, }, request: undefined};
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
const mutationFn: MutationFunction<Awaited<ReturnType<typeof acceptInvite>>, {inviteId: string}> = (props) => {
|
|
100
|
+
const {inviteId} = props ?? {};
|
|
101
|
+
|
|
102
|
+
return acceptInvite(inviteId,requestOptions)
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
return { mutationFn, ...mutationOptions }}
|
|
111
|
+
|
|
112
|
+
export type AcceptInviteMutationResult = NonNullable<Awaited<ReturnType<typeof acceptInvite>>>
|
|
113
|
+
|
|
114
|
+
export type AcceptInviteMutationError = unknown
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @summary Accept one organization invite
|
|
118
|
+
*/
|
|
119
|
+
export const useAcceptInvite = <TError = unknown,
|
|
120
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof acceptInvite>>, TError,{inviteId: string}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
121
|
+
): UseMutationResult<
|
|
122
|
+
Awaited<ReturnType<typeof acceptInvite>>,
|
|
123
|
+
TError,
|
|
124
|
+
{inviteId: string},
|
|
125
|
+
TContext
|
|
126
|
+
> => {
|
|
127
|
+
return useMutation(getAcceptInviteMutationOptions(options));
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
65
130
|
* @summary Decline an organization invite
|
|
66
131
|
*/
|
|
67
132
|
export const declineInvite = (
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AcceptInviteResponseJoined } from './acceptInviteResponseJoined.js';
|
|
8
|
+
|
|
9
|
+
export interface AcceptInviteResponse {
|
|
10
|
+
joined: AcceptInviteResponseJoined;
|
|
11
|
+
}
|
package/src/react/model/agent.ts
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GetBlueprintBuildLog200EntriesItem } from './getBlueprintBuildLog200EntriesItem.js';
|
|
8
|
+
import type { GetBlueprintBuildLog200Status } from './getBlueprintBuildLog200Status.js';
|
|
9
|
+
|
|
10
|
+
export type GetBlueprintBuildLog200 = {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string | null;
|
|
13
|
+
status: GetBlueprintBuildLog200Status;
|
|
14
|
+
failureReason: string | null;
|
|
15
|
+
entries: GetBlueprintBuildLog200EntriesItem[];
|
|
16
|
+
/**
|
|
17
|
+
* @minimum -9007199254740991
|
|
18
|
+
* @maximum 9007199254740991
|
|
19
|
+
*/
|
|
20
|
+
totalEntries: number;
|
|
21
|
+
nextCursor: string | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type GetBlueprintBuildLog200Status = typeof GetBlueprintBuildLog200Status[keyof typeof GetBlueprintBuildLog200Status];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const GetBlueprintBuildLog200Status = {
|
|
12
|
+
queued: 'queued',
|
|
13
|
+
provisioning: 'provisioning',
|
|
14
|
+
building: 'building',
|
|
15
|
+
failed: 'failed',
|
|
16
|
+
build_complete: 'build_complete',
|
|
17
|
+
} as const;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type GetBlueprintBuildLogOrder = typeof GetBlueprintBuildLogOrder[keyof typeof GetBlueprintBuildLogOrder];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const GetBlueprintBuildLogOrder = {
|
|
12
|
+
asc: 'asc',
|
|
13
|
+
desc: 'desc',
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GetBlueprintBuildLogOrder } from './getBlueprintBuildLogOrder.js';
|
|
8
|
+
|
|
9
|
+
export type GetBlueprintBuildLogParams = {
|
|
10
|
+
/**
|
|
11
|
+
* Entries per page (default 200).
|
|
12
|
+
* @minimum 1
|
|
13
|
+
* @maximum 1000
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
cursor?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Page direction (default asc).
|
|
19
|
+
*/
|
|
20
|
+
order?: GetBlueprintBuildLogOrder;
|
|
21
|
+
};
|
|
@@ -16,11 +16,7 @@ userId?: string;
|
|
|
16
16
|
* @maximum 200
|
|
17
17
|
*/
|
|
18
18
|
limit?: number;
|
|
19
|
-
|
|
20
|
-
* @minimum -9007199254740991
|
|
21
|
-
* @maximum 9007199254740991
|
|
22
|
-
*/
|
|
23
|
-
cursor?: number;
|
|
19
|
+
cursor?: string;
|
|
24
20
|
search?: string;
|
|
25
21
|
status?: string;
|
|
26
22
|
mark?: 'any' | 'blocked' | 'in_review' | 'completed';
|
|
@@ -10,6 +10,7 @@ import type { OrganizationEnabledReleaseChannelsItem } from './organizationEnabl
|
|
|
10
10
|
import type { OrganizationSharingSettings } from './organizationSharingSettings.js';
|
|
11
11
|
import type { OrganizationStatus } from './organizationStatus.js';
|
|
12
12
|
import type { OrganizationSubscription } from './organizationSubscription.js';
|
|
13
|
+
import type { OrganizationSubscriptionTier } from './organizationSubscriptionTier.js';
|
|
13
14
|
|
|
14
15
|
export interface Organization {
|
|
15
16
|
id: string;
|
|
@@ -23,6 +24,7 @@ export interface Organization {
|
|
|
23
24
|
emailDomains: unknown[];
|
|
24
25
|
bootstrappedAt?: number | null;
|
|
25
26
|
capabilities: string[];
|
|
27
|
+
subscriptionTier?: OrganizationSubscriptionTier;
|
|
26
28
|
enabledReleaseChannels: OrganizationEnabledReleaseChannelsItem[];
|
|
27
29
|
status?: OrganizationStatus;
|
|
28
30
|
disabledReason?: OrganizationDisabledReason;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type OrganizationSubscriptionTier = typeof OrganizationSubscriptionTier[keyof typeof OrganizationSubscriptionTier];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const OrganizationSubscriptionTier = {
|
|
12
|
+
trial: 'trial',
|
|
13
|
+
standard: 'standard',
|
|
14
|
+
enterprise: 'enterprise',
|
|
15
|
+
} as const;
|
|
@@ -393,7 +393,7 @@ export function useGetOrganization<TData = Awaited<ReturnType<typeof getOrganiza
|
|
|
393
393
|
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
|
-
* Capability changes are restricted to platform
|
|
396
|
+
* Capability changes are restricted to platform admins.
|
|
397
397
|
* @summary Update an organization's name, slug, or settings.
|
|
398
398
|
*/
|
|
399
399
|
export const updateOrganization = (
|