@runloop/reflex-client 0.10.0 → 0.11.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/agents.d.ts +15 -1
- package/dist/generated/agents.d.ts.map +1 -1
- package/dist/generated/agents.js +21 -0
- package/dist/generated/agents.js.map +1 -1
- package/dist/generated/model/agentCommandFailureResponse.d.ts +12 -0
- package/dist/generated/model/agentCommandFailureResponse.d.ts.map +1 -0
- package/dist/generated/model/agentCommandFailureResponse.js +8 -0
- package/dist/generated/model/agentCommandFailureResponse.js.map +1 -0
- package/dist/generated/model/agentCommandStatusResponse.d.ts +14 -0
- package/dist/generated/model/agentCommandStatusResponse.d.ts.map +1 -0
- package/dist/generated/model/agentCommandStatusResponse.js +2 -0
- package/dist/generated/model/agentCommandStatusResponse.js.map +1 -0
- package/dist/generated/model/agentCommandStatusResponseStatus.d.ts +14 -0
- package/dist/generated/model/agentCommandStatusResponseStatus.d.ts.map +1 -0
- package/dist/generated/model/agentCommandStatusResponseStatus.js +13 -0
- package/dist/generated/model/agentCommandStatusResponseStatus.js.map +1 -0
- package/dist/generated/model/getAgentCommandStatusParams.d.ts +14 -0
- package/dist/generated/model/getAgentCommandStatusParams.d.ts.map +1 -0
- package/dist/generated/model/getAgentCommandStatusParams.js +8 -0
- package/dist/generated/model/getAgentCommandStatusParams.js.map +1 -0
- package/dist/generated/model/getIdpConfig200.d.ts +11 -0
- package/dist/generated/model/getIdpConfig200.d.ts.map +1 -0
- package/dist/generated/model/getIdpConfig200.js +2 -0
- package/dist/generated/model/getIdpConfig200.js.map +1 -0
- package/dist/generated/model/getIdpConfig200Config.d.ts +21 -0
- package/dist/generated/model/getIdpConfig200Config.d.ts.map +1 -0
- package/dist/generated/model/getIdpConfig200Config.js +2 -0
- package/dist/generated/model/getIdpConfig200Config.js.map +1 -0
- package/dist/generated/model/getIdpConfig200ConfigGroupMappingsItem.d.ts +15 -0
- package/dist/generated/model/getIdpConfig200ConfigGroupMappingsItem.d.ts.map +1 -0
- package/dist/generated/model/getIdpConfig200ConfigGroupMappingsItem.js +8 -0
- package/dist/generated/model/getIdpConfig200ConfigGroupMappingsItem.js.map +1 -0
- package/dist/generated/model/index.d.ts +12 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.js +12 -0
- package/dist/generated/model/index.js.map +1 -1
- package/dist/generated/model/rotateScimToken200.d.ts +10 -0
- package/dist/generated/model/rotateScimToken200.d.ts.map +1 -0
- package/dist/generated/model/rotateScimToken200.js +8 -0
- package/dist/generated/model/rotateScimToken200.js.map +1 -0
- package/dist/generated/model/upsertIdpConfig200.d.ts +21 -0
- package/dist/generated/model/upsertIdpConfig200.d.ts.map +1 -0
- package/dist/generated/model/upsertIdpConfig200.js +2 -0
- package/dist/generated/model/upsertIdpConfig200.js.map +1 -0
- package/dist/generated/model/upsertIdpConfig200GroupMappingsItem.d.ts +15 -0
- package/dist/generated/model/upsertIdpConfig200GroupMappingsItem.d.ts.map +1 -0
- package/dist/generated/model/upsertIdpConfig200GroupMappingsItem.js +8 -0
- package/dist/generated/model/upsertIdpConfig200GroupMappingsItem.js.map +1 -0
- package/dist/generated/model/upsertIdpConfigBody.d.ts +16 -0
- package/dist/generated/model/upsertIdpConfigBody.d.ts.map +1 -0
- package/dist/generated/model/upsertIdpConfigBody.js +2 -0
- package/dist/generated/model/upsertIdpConfigBody.js.map +1 -0
- package/dist/generated/model/upsertIdpConfigBodyGroupMappingsItem.d.ts +15 -0
- package/dist/generated/model/upsertIdpConfigBodyGroupMappingsItem.d.ts.map +1 -0
- package/dist/generated/model/upsertIdpConfigBodyGroupMappingsItem.js +8 -0
- package/dist/generated/model/upsertIdpConfigBodyGroupMappingsItem.js.map +1 -0
- package/dist/generated/organizations.d.ts +40 -1
- package/dist/generated/organizations.d.ts.map +1 -1
- package/dist/generated/organizations.js +41 -0
- package/dist/generated/organizations.js.map +1 -1
- package/dist/react/agents.d.ts +26 -1
- package/dist/react/agents.d.ts.map +1 -1
- package/dist/react/agents.js +29 -1
- package/dist/react/agents.js.map +1 -1
- package/dist/react/model/agentCommandFailureResponse.d.ts +12 -0
- package/dist/react/model/agentCommandFailureResponse.d.ts.map +1 -0
- package/dist/react/model/agentCommandFailureResponse.js +8 -0
- package/dist/react/model/agentCommandFailureResponse.js.map +1 -0
- package/dist/react/model/agentCommandStatusResponse.d.ts +14 -0
- package/dist/react/model/agentCommandStatusResponse.d.ts.map +1 -0
- package/dist/react/model/agentCommandStatusResponse.js +2 -0
- package/dist/react/model/agentCommandStatusResponse.js.map +1 -0
- package/dist/react/model/agentCommandStatusResponseStatus.d.ts +14 -0
- package/dist/react/model/agentCommandStatusResponseStatus.d.ts.map +1 -0
- package/dist/react/model/agentCommandStatusResponseStatus.js +13 -0
- package/dist/react/model/agentCommandStatusResponseStatus.js.map +1 -0
- package/dist/react/model/getAgentCommandStatusParams.d.ts +14 -0
- package/dist/react/model/getAgentCommandStatusParams.d.ts.map +1 -0
- package/dist/react/model/getAgentCommandStatusParams.js +8 -0
- package/dist/react/model/getAgentCommandStatusParams.js.map +1 -0
- package/dist/react/model/getIdpConfig200.d.ts +11 -0
- package/dist/react/model/getIdpConfig200.d.ts.map +1 -0
- package/dist/react/model/getIdpConfig200.js +2 -0
- package/dist/react/model/getIdpConfig200.js.map +1 -0
- package/dist/react/model/getIdpConfig200Config.d.ts +21 -0
- package/dist/react/model/getIdpConfig200Config.d.ts.map +1 -0
- package/dist/react/model/getIdpConfig200Config.js +2 -0
- package/dist/react/model/getIdpConfig200Config.js.map +1 -0
- package/dist/react/model/getIdpConfig200ConfigGroupMappingsItem.d.ts +15 -0
- package/dist/react/model/getIdpConfig200ConfigGroupMappingsItem.d.ts.map +1 -0
- package/dist/react/model/getIdpConfig200ConfigGroupMappingsItem.js +8 -0
- package/dist/react/model/getIdpConfig200ConfigGroupMappingsItem.js.map +1 -0
- package/dist/react/model/rotateScimToken200.d.ts +10 -0
- package/dist/react/model/rotateScimToken200.d.ts.map +1 -0
- package/dist/react/model/rotateScimToken200.js +8 -0
- package/dist/react/model/rotateScimToken200.js.map +1 -0
- package/dist/react/model/upsertIdpConfig200.d.ts +21 -0
- package/dist/react/model/upsertIdpConfig200.d.ts.map +1 -0
- package/dist/react/model/upsertIdpConfig200.js +2 -0
- package/dist/react/model/upsertIdpConfig200.js.map +1 -0
- package/dist/react/model/upsertIdpConfig200GroupMappingsItem.d.ts +15 -0
- package/dist/react/model/upsertIdpConfig200GroupMappingsItem.d.ts.map +1 -0
- package/dist/react/model/upsertIdpConfig200GroupMappingsItem.js +8 -0
- package/dist/react/model/upsertIdpConfig200GroupMappingsItem.js.map +1 -0
- package/dist/react/model/upsertIdpConfigBody.d.ts +16 -0
- package/dist/react/model/upsertIdpConfigBody.d.ts.map +1 -0
- package/dist/react/model/upsertIdpConfigBody.js +2 -0
- package/dist/react/model/upsertIdpConfigBody.js.map +1 -0
- package/dist/react/model/upsertIdpConfigBodyGroupMappingsItem.d.ts +15 -0
- package/dist/react/model/upsertIdpConfigBodyGroupMappingsItem.d.ts.map +1 -0
- package/dist/react/model/upsertIdpConfigBodyGroupMappingsItem.js +8 -0
- package/dist/react/model/upsertIdpConfigBodyGroupMappingsItem.js.map +1 -0
- package/dist/react/organizations.d.ts +81 -0
- package/dist/react/organizations.d.ts.map +1 -1
- package/dist/react/organizations.js +80 -0
- package/dist/react/organizations.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/agents.ts +49 -0
- package/src/generated/model/agentCommandFailureResponse.ts +12 -0
- package/src/generated/model/agentCommandStatusResponse.ts +14 -0
- package/src/generated/model/agentCommandStatusResponseStatus.ts +16 -0
- package/src/generated/model/getAgentCommandStatusParams.ts +14 -0
- package/src/generated/model/getIdpConfig200.ts +11 -0
- package/src/generated/model/getIdpConfig200Config.ts +21 -0
- package/src/generated/model/getIdpConfig200ConfigGroupMappingsItem.ts +15 -0
- package/src/generated/model/index.ts +12 -0
- package/src/generated/model/rotateScimToken200.ts +10 -0
- package/src/generated/model/upsertIdpConfig200.ts +21 -0
- package/src/generated/model/upsertIdpConfig200GroupMappingsItem.ts +15 -0
- package/src/generated/model/upsertIdpConfigBody.ts +16 -0
- package/src/generated/model/upsertIdpConfigBodyGroupMappingsItem.ts +15 -0
- package/src/generated/organizations.ts +110 -0
- package/src/react/agents.ts +86 -0
- package/src/react/model/agentCommandFailureResponse.ts +12 -0
- package/src/react/model/agentCommandStatusResponse.ts +14 -0
- package/src/react/model/agentCommandStatusResponseStatus.ts +16 -0
- package/src/react/model/getAgentCommandStatusParams.ts +14 -0
- package/src/react/model/getIdpConfig200.ts +11 -0
- package/src/react/model/getIdpConfig200Config.ts +21 -0
- package/src/react/model/getIdpConfig200ConfigGroupMappingsItem.ts +15 -0
- package/src/react/model/rotateScimToken200.ts +10 -0
- package/src/react/model/upsertIdpConfig200.ts +21 -0
- package/src/react/model/upsertIdpConfig200GroupMappingsItem.ts +15 -0
- package/src/react/model/upsertIdpConfigBody.ts +16 -0
- package/src/react/model/upsertIdpConfigBodyGroupMappingsItem.ts +15 -0
- package/src/react/organizations.ts +209 -0
|
@@ -70,6 +70,10 @@ import type {
|
|
|
70
70
|
CreateTeamSecretBody
|
|
71
71
|
} from './model/createTeamSecretBody.js';
|
|
72
72
|
|
|
73
|
+
import type {
|
|
74
|
+
GetIdpConfig200
|
|
75
|
+
} from './model/getIdpConfig200.js';
|
|
76
|
+
|
|
73
77
|
import type {
|
|
74
78
|
ListLlmTaskAssignments200
|
|
75
79
|
} from './model/listLlmTaskAssignments200.js';
|
|
@@ -110,6 +114,10 @@ import type {
|
|
|
110
114
|
RevokeOrgRoleBody
|
|
111
115
|
} from './model/revokeOrgRoleBody.js';
|
|
112
116
|
|
|
117
|
+
import type {
|
|
118
|
+
RotateScimToken200
|
|
119
|
+
} from './model/rotateScimToken200.js';
|
|
120
|
+
|
|
113
121
|
import type {
|
|
114
122
|
ScopedSecret
|
|
115
123
|
} from './model/scopedSecret.js';
|
|
@@ -142,6 +150,14 @@ import type {
|
|
|
142
150
|
UpdateTeamSecretBody
|
|
143
151
|
} from './model/updateTeamSecretBody.js';
|
|
144
152
|
|
|
153
|
+
import type {
|
|
154
|
+
UpsertIdpConfig200
|
|
155
|
+
} from './model/upsertIdpConfig200.js';
|
|
156
|
+
|
|
157
|
+
import type {
|
|
158
|
+
UpsertIdpConfigBody
|
|
159
|
+
} from './model/upsertIdpConfigBody.js';
|
|
160
|
+
|
|
145
161
|
import type {
|
|
146
162
|
UpsertLlmTaskAssignmentBody
|
|
147
163
|
} from './model/upsertLlmTaskAssignmentBody.js';
|
|
@@ -2619,6 +2635,199 @@ export const useCreateOrgTeam = <TError = unknown,
|
|
|
2619
2635
|
return useMutation(getCreateOrgTeamMutationOptions(options));
|
|
2620
2636
|
}
|
|
2621
2637
|
/**
|
|
2638
|
+
* @summary Get the org's enterprise IdP configuration.
|
|
2639
|
+
*/
|
|
2640
|
+
export const getIdpConfig = (
|
|
2641
|
+
organizationId: string,
|
|
2642
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
2643
|
+
) => {
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
return apiFetch<GetIdpConfig200>(
|
|
2647
|
+
{url: `/organizations/${encodeURIComponent(String(organizationId))}/idp-config`, method: 'GET', signal
|
|
2648
|
+
},
|
|
2649
|
+
options);
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
export const getGetIdpConfigQueryKey = (organizationId: string,) => {
|
|
2656
|
+
return [
|
|
2657
|
+
`/organizations/${organizationId}/idp-config`
|
|
2658
|
+
] as const;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
export const getGetIdpConfigQueryOptions = <TData = Awaited<ReturnType<typeof getIdpConfig>>, TError = unknown>(organizationId: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getIdpConfig>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
2663
|
+
) => {
|
|
2664
|
+
|
|
2665
|
+
const {query: queryOptions, request: requestOptions} = options ?? {};
|
|
2666
|
+
|
|
2667
|
+
const queryKey = queryOptions?.queryKey ?? getGetIdpConfigQueryKey(organizationId);
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getIdpConfig>>> = ({ signal }) => getIdpConfig(organizationId, requestOptions, signal);
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
return { queryKey, queryFn, enabled: organizationId !== null && organizationId !== undefined, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getIdpConfig>>, TError, TData> & { queryKey: QueryKey }
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
export type GetIdpConfigQueryResult = NonNullable<Awaited<ReturnType<typeof getIdpConfig>>>
|
|
2681
|
+
export type GetIdpConfigQueryError = unknown
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* @summary Get the org's enterprise IdP configuration.
|
|
2686
|
+
*/
|
|
2687
|
+
|
|
2688
|
+
export function useGetIdpConfig<TData = Awaited<ReturnType<typeof getIdpConfig>>, TError = unknown>(
|
|
2689
|
+
organizationId: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getIdpConfig>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
2690
|
+
|
|
2691
|
+
): UseQueryResult<TData, TError> & { queryKey: QueryKey } {
|
|
2692
|
+
|
|
2693
|
+
const queryOptions = getGetIdpConfigQueryOptions(organizationId,options)
|
|
2694
|
+
|
|
2695
|
+
const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };
|
|
2696
|
+
|
|
2697
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* @summary Create or update the org's enterprise IdP configuration.
|
|
2707
|
+
*/
|
|
2708
|
+
export const upsertIdpConfig = (
|
|
2709
|
+
organizationId: string,
|
|
2710
|
+
upsertIdpConfigBody: UpsertIdpConfigBody,
|
|
2711
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
2712
|
+
) => {
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
return apiFetch<UpsertIdpConfig200>(
|
|
2716
|
+
{url: `/organizations/${encodeURIComponent(String(organizationId))}/idp-config`, method: 'PUT',
|
|
2717
|
+
headers: {'Content-Type': 'application/json', },
|
|
2718
|
+
data: upsertIdpConfigBody, signal
|
|
2719
|
+
},
|
|
2720
|
+
options);
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
export const getUpsertIdpConfigMutationOptions = <TError = unknown,
|
|
2726
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof upsertIdpConfig>>, TError,{organizationId: string;data: UpsertIdpConfigBody}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
2727
|
+
): UseMutationOptions<Awaited<ReturnType<typeof upsertIdpConfig>>, TError,{organizationId: string;data: UpsertIdpConfigBody}, TContext> => {
|
|
2728
|
+
|
|
2729
|
+
const mutationKey = ['upsertIdpConfig'];
|
|
2730
|
+
const {mutation: mutationOptions, request: requestOptions} = options ?
|
|
2731
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
2732
|
+
options
|
|
2733
|
+
: {...options, mutation: {...options.mutation, mutationKey}}
|
|
2734
|
+
: {mutation: { mutationKey, }, request: undefined};
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
const mutationFn: MutationFunction<Awaited<ReturnType<typeof upsertIdpConfig>>, {organizationId: string;data: UpsertIdpConfigBody}> = (props) => {
|
|
2740
|
+
const {organizationId,data} = props ?? {};
|
|
2741
|
+
|
|
2742
|
+
return upsertIdpConfig(organizationId,data,requestOptions)
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
return { mutationFn, ...mutationOptions }}
|
|
2751
|
+
|
|
2752
|
+
export type UpsertIdpConfigMutationResult = NonNullable<Awaited<ReturnType<typeof upsertIdpConfig>>>
|
|
2753
|
+
export type UpsertIdpConfigMutationBody = UpsertIdpConfigBody
|
|
2754
|
+
export type UpsertIdpConfigMutationError = unknown
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* @summary Create or update the org's enterprise IdP configuration.
|
|
2758
|
+
*/
|
|
2759
|
+
export const useUpsertIdpConfig = <TError = unknown,
|
|
2760
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof upsertIdpConfig>>, TError,{organizationId: string;data: UpsertIdpConfigBody}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
2761
|
+
): UseMutationResult<
|
|
2762
|
+
Awaited<ReturnType<typeof upsertIdpConfig>>,
|
|
2763
|
+
TError,
|
|
2764
|
+
{organizationId: string;data: UpsertIdpConfigBody},
|
|
2765
|
+
TContext
|
|
2766
|
+
> => {
|
|
2767
|
+
return useMutation(getUpsertIdpConfigMutationOptions(options));
|
|
2768
|
+
}
|
|
2769
|
+
/**
|
|
2770
|
+
* @summary Mint a fresh SCIM bearer token for the org's IdP, replacing any previous one.
|
|
2771
|
+
*/
|
|
2772
|
+
export const rotateScimToken = (
|
|
2773
|
+
organizationId: string,
|
|
2774
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
2775
|
+
) => {
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
return apiFetch<RotateScimToken200>(
|
|
2779
|
+
{url: `/organizations/${encodeURIComponent(String(organizationId))}/idp-config/scim-token`, method: 'POST', signal
|
|
2780
|
+
},
|
|
2781
|
+
options);
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
export const getRotateScimTokenMutationOptions = <TError = unknown,
|
|
2787
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof rotateScimToken>>, TError,{organizationId: string}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
2788
|
+
): UseMutationOptions<Awaited<ReturnType<typeof rotateScimToken>>, TError,{organizationId: string}, TContext> => {
|
|
2789
|
+
|
|
2790
|
+
const mutationKey = ['rotateScimToken'];
|
|
2791
|
+
const {mutation: mutationOptions, request: requestOptions} = options ?
|
|
2792
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
2793
|
+
options
|
|
2794
|
+
: {...options, mutation: {...options.mutation, mutationKey}}
|
|
2795
|
+
: {mutation: { mutationKey, }, request: undefined};
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
const mutationFn: MutationFunction<Awaited<ReturnType<typeof rotateScimToken>>, {organizationId: string}> = (props) => {
|
|
2801
|
+
const {organizationId} = props ?? {};
|
|
2802
|
+
|
|
2803
|
+
return rotateScimToken(organizationId,requestOptions)
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
return { mutationFn, ...mutationOptions }}
|
|
2812
|
+
|
|
2813
|
+
export type RotateScimTokenMutationResult = NonNullable<Awaited<ReturnType<typeof rotateScimToken>>>
|
|
2814
|
+
|
|
2815
|
+
export type RotateScimTokenMutationError = unknown
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* @summary Mint a fresh SCIM bearer token for the org's IdP, replacing any previous one.
|
|
2819
|
+
*/
|
|
2820
|
+
export const useRotateScimToken = <TError = unknown,
|
|
2821
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof rotateScimToken>>, TError,{organizationId: string}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
2822
|
+
): UseMutationResult<
|
|
2823
|
+
Awaited<ReturnType<typeof rotateScimToken>>,
|
|
2824
|
+
TError,
|
|
2825
|
+
{organizationId: string},
|
|
2826
|
+
TContext
|
|
2827
|
+
> => {
|
|
2828
|
+
return useMutation(getRotateScimTokenMutationOptions(options));
|
|
2829
|
+
}
|
|
2830
|
+
/**
|
|
2622
2831
|
* @summary List the org's LLM task assignments.
|
|
2623
2832
|
*/
|
|
2624
2833
|
export const listLlmTaskAssignments = (
|