@runloop/reflex-client 0.2.0 → 0.4.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/README.md +4 -0
- package/dist/generated/agents.d.ts +13 -0
- package/dist/generated/agents.d.ts.map +1 -1
- package/dist/generated/agents.js +13 -0
- package/dist/generated/agents.js.map +1 -1
- package/dist/generated/model/adminSetOrgSandboxProviderBody.d.ts +11 -0
- package/dist/generated/model/adminSetOrgSandboxProviderBody.d.ts.map +1 -0
- package/dist/generated/model/adminSetOrgSandboxProviderBody.js +8 -0
- package/dist/generated/model/adminSetOrgSandboxProviderBody.js.map +1 -0
- package/dist/generated/model/adminSetOrgSecretBody.d.ts +11 -0
- package/dist/generated/model/adminSetOrgSecretBody.d.ts.map +1 -0
- package/dist/generated/model/adminSetOrgSecretBody.js +8 -0
- package/dist/generated/model/adminSetOrgSecretBody.js.map +1 -0
- package/dist/generated/model/adminValidateOrgSandboxProviderBody.d.ts +11 -0
- package/dist/generated/model/adminValidateOrgSandboxProviderBody.d.ts.map +1 -0
- package/dist/generated/model/adminValidateOrgSandboxProviderBody.js +8 -0
- package/dist/generated/model/adminValidateOrgSandboxProviderBody.js.map +1 -0
- package/dist/generated/model/index.d.ts +3 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.js +3 -0
- package/dist/generated/model/index.js.map +1 -1
- package/dist/generated/org-setup.d.ts +197 -0
- package/dist/generated/org-setup.d.ts.map +1 -0
- package/dist/generated/org-setup.js +179 -0
- package/dist/generated/org-setup.js.map +1 -0
- package/dist/generated/organizations.d.ts +37 -161
- package/dist/generated/organizations.d.ts.map +1 -1
- package/dist/generated/organizations.js +27 -133
- package/dist/generated/organizations.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/react/agents.d.ts +25 -0
- package/dist/react/agents.d.ts.map +1 -1
- package/dist/react/agents.js +26 -0
- package/dist/react/agents.js.map +1 -1
- package/dist/react/model/adminSetOrgSandboxProviderBody.d.ts +11 -0
- package/dist/react/model/adminSetOrgSandboxProviderBody.d.ts.map +1 -0
- package/dist/react/model/adminSetOrgSandboxProviderBody.js +8 -0
- package/dist/react/model/adminSetOrgSandboxProviderBody.js.map +1 -0
- package/dist/react/model/adminSetOrgSecretBody.d.ts +11 -0
- package/dist/react/model/adminSetOrgSecretBody.d.ts.map +1 -0
- package/dist/react/model/adminSetOrgSecretBody.js +8 -0
- package/dist/react/model/adminSetOrgSecretBody.js.map +1 -0
- package/dist/react/model/adminValidateOrgSandboxProviderBody.d.ts +11 -0
- package/dist/react/model/adminValidateOrgSandboxProviderBody.d.ts.map +1 -0
- package/dist/react/model/adminValidateOrgSandboxProviderBody.js +8 -0
- package/dist/react/model/adminValidateOrgSandboxProviderBody.js.map +1 -0
- package/dist/react/org-setup.d.ts +324 -0
- package/dist/react/org-setup.d.ts.map +1 -0
- package/dist/react/org-setup.js +369 -0
- package/dist/react/org-setup.js.map +1 -0
- package/dist/react/organizations.d.ts +85 -304
- package/dist/react/organizations.d.ts.map +1 -1
- package/dist/react/organizations.js +55 -266
- package/dist/react/organizations.js.map +1 -1
- package/package.json +5 -5
- package/src/generated/agents.ts +35 -0
- package/src/generated/model/adminSetOrgSandboxProviderBody.ts +11 -0
- package/src/generated/model/adminSetOrgSecretBody.ts +11 -0
- package/src/generated/model/adminValidateOrgSandboxProviderBody.ts +11 -0
- package/src/generated/model/index.ts +3 -0
- package/src/generated/org-setup.ts +501 -0
- package/src/generated/organizations.ts +52 -367
- package/src/index.ts +1 -0
- package/src/react/agents.ts +61 -0
- package/src/react/model/adminSetOrgSandboxProviderBody.ts +11 -0
- package/src/react/model/adminSetOrgSecretBody.ts +11 -0
- package/src/react/model/adminValidateOrgSandboxProviderBody.ts +11 -0
- package/src/react/org-setup.ts +911 -0
- package/src/react/organizations.ts +108 -630
|
@@ -0,0 +1,369 @@
|
|
|
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 { useMutation, useQuery } from '@tanstack/react-query';
|
|
8
|
+
import { apiFetch } from '../react-mutator.js';
|
|
9
|
+
const withQueryKey = (query, queryKey) => {
|
|
10
|
+
const result = { queryKey };
|
|
11
|
+
for (const key of Object.keys(query)) {
|
|
12
|
+
// The explicit queryKey always wins, matching the previous
|
|
13
|
+
// `{ ...query, queryKey }` spread where it was set last.
|
|
14
|
+
if (key === 'queryKey')
|
|
15
|
+
continue;
|
|
16
|
+
Object.defineProperty(result, key, {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
get: () => query[key],
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return result;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @summary Mark the org's guided setup as complete.
|
|
26
|
+
*/
|
|
27
|
+
export const completeOrgBootstrap = (options, signal) => {
|
|
28
|
+
return apiFetch({ url: `/org-setup/bootstrap-complete`, method: 'POST', signal
|
|
29
|
+
}, options);
|
|
30
|
+
};
|
|
31
|
+
export const getCompleteOrgBootstrapMutationOptions = (options) => {
|
|
32
|
+
const mutationKey = ['completeOrgBootstrap'];
|
|
33
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
34
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
35
|
+
options
|
|
36
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
37
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
38
|
+
const mutationFn = () => {
|
|
39
|
+
return completeOrgBootstrap(requestOptions);
|
|
40
|
+
};
|
|
41
|
+
return { mutationFn, ...mutationOptions };
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @summary Mark the org's guided setup as complete.
|
|
45
|
+
*/
|
|
46
|
+
export const useCompleteOrgBootstrap = (options) => {
|
|
47
|
+
return useMutation(getCompleteOrgBootstrapMutationOptions(options));
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* The caller needs secrets access on both the source and target orgs.
|
|
51
|
+
* @summary Copy sandbox and model provider keys from another org.
|
|
52
|
+
*/
|
|
53
|
+
export const copyOrgKeyMaterial = (copyOrgKeyMaterialBody, options, signal) => {
|
|
54
|
+
return apiFetch({ url: `/org-setup/copy-key-material`, method: 'POST',
|
|
55
|
+
headers: { 'Content-Type': 'application/json', },
|
|
56
|
+
data: copyOrgKeyMaterialBody, signal
|
|
57
|
+
}, options);
|
|
58
|
+
};
|
|
59
|
+
export const getCopyOrgKeyMaterialMutationOptions = (options) => {
|
|
60
|
+
const mutationKey = ['copyOrgKeyMaterial'];
|
|
61
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
62
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
63
|
+
options
|
|
64
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
65
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
66
|
+
const mutationFn = (props) => {
|
|
67
|
+
const { data } = props ?? {};
|
|
68
|
+
return copyOrgKeyMaterial(data, requestOptions);
|
|
69
|
+
};
|
|
70
|
+
return { mutationFn, ...mutationOptions };
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @summary Copy sandbox and model provider keys from another org.
|
|
74
|
+
*/
|
|
75
|
+
export const useCopyOrgKeyMaterial = (options) => {
|
|
76
|
+
return useMutation(getCopyOrgKeyMaterialMutationOptions(options));
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @summary Mark a plugin setup step as complete.
|
|
80
|
+
*/
|
|
81
|
+
export const completePluginSetupStep = (plugin, step, options, signal) => {
|
|
82
|
+
return apiFetch({ url: `/org-setup/plugins/${encodeURIComponent(String(plugin))}/setup-steps/${encodeURIComponent(String(step))}/complete`, method: 'POST', signal
|
|
83
|
+
}, options);
|
|
84
|
+
};
|
|
85
|
+
export const getCompletePluginSetupStepMutationOptions = (options) => {
|
|
86
|
+
const mutationKey = ['completePluginSetupStep'];
|
|
87
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
88
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
89
|
+
options
|
|
90
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
91
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
92
|
+
const mutationFn = (props) => {
|
|
93
|
+
const { plugin, step } = props ?? {};
|
|
94
|
+
return completePluginSetupStep(plugin, step, requestOptions);
|
|
95
|
+
};
|
|
96
|
+
return { mutationFn, ...mutationOptions };
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @summary Mark a plugin setup step as complete.
|
|
100
|
+
*/
|
|
101
|
+
export const useCompletePluginSetupStep = (options) => {
|
|
102
|
+
return useMutation(getCompletePluginSetupStepMutationOptions(options));
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @summary Run a plugin setup step's connection test.
|
|
106
|
+
*/
|
|
107
|
+
export const testPluginSetupStep = (plugin, step, options, signal) => {
|
|
108
|
+
return apiFetch({ url: `/org-setup/plugins/${encodeURIComponent(String(plugin))}/setup-steps/${encodeURIComponent(String(step))}/test`, method: 'POST', signal
|
|
109
|
+
}, options);
|
|
110
|
+
};
|
|
111
|
+
export const getTestPluginSetupStepMutationOptions = (options) => {
|
|
112
|
+
const mutationKey = ['testPluginSetupStep'];
|
|
113
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
114
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
115
|
+
options
|
|
116
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
117
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
118
|
+
const mutationFn = (props) => {
|
|
119
|
+
const { plugin, step } = props ?? {};
|
|
120
|
+
return testPluginSetupStep(plugin, step, requestOptions);
|
|
121
|
+
};
|
|
122
|
+
return { mutationFn, ...mutationOptions };
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* @summary Run a plugin setup step's connection test.
|
|
126
|
+
*/
|
|
127
|
+
export const useTestPluginSetupStep = (options) => {
|
|
128
|
+
return useMutation(getTestPluginSetupStepMutationOptions(options));
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @summary List setup steps for the org's active plugins.
|
|
132
|
+
*/
|
|
133
|
+
export const listPluginSetupSteps = (options, signal) => {
|
|
134
|
+
return apiFetch({ url: `/org-setup/plugins/setup-steps`, method: 'GET', signal
|
|
135
|
+
}, options);
|
|
136
|
+
};
|
|
137
|
+
export const getListPluginSetupStepsQueryKey = () => {
|
|
138
|
+
return [
|
|
139
|
+
`/org-setup/plugins/setup-steps`
|
|
140
|
+
];
|
|
141
|
+
};
|
|
142
|
+
export const getListPluginSetupStepsQueryOptions = (options) => {
|
|
143
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
144
|
+
const queryKey = queryOptions?.queryKey ?? getListPluginSetupStepsQueryKey();
|
|
145
|
+
const queryFn = ({ signal }) => listPluginSetupSteps(requestOptions, signal);
|
|
146
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* @summary List setup steps for the org's active plugins.
|
|
150
|
+
*/
|
|
151
|
+
export function useListPluginSetupSteps(options) {
|
|
152
|
+
const queryOptions = getListPluginSetupStepsQueryOptions(options);
|
|
153
|
+
const query = useQuery(queryOptions);
|
|
154
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @summary Provision a Runloop account for an organization
|
|
158
|
+
*/
|
|
159
|
+
export const provisionOrganizationRunloopAccount = (options, signal) => {
|
|
160
|
+
return apiFetch({ url: `/org-setup/runloop-provider/provision`, method: 'POST', signal
|
|
161
|
+
}, options);
|
|
162
|
+
};
|
|
163
|
+
export const getProvisionOrganizationRunloopAccountMutationOptions = (options) => {
|
|
164
|
+
const mutationKey = ['provisionOrganizationRunloopAccount'];
|
|
165
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
166
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
167
|
+
options
|
|
168
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
169
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
170
|
+
const mutationFn = () => {
|
|
171
|
+
return provisionOrganizationRunloopAccount(requestOptions);
|
|
172
|
+
};
|
|
173
|
+
return { mutationFn, ...mutationOptions };
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @summary Provision a Runloop account for an organization
|
|
177
|
+
*/
|
|
178
|
+
export const useProvisionOrganizationRunloopAccount = (options) => {
|
|
179
|
+
return useMutation(getProvisionOrganizationRunloopAccountMutationOptions(options));
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @summary Report the org's sandbox provider key and account.
|
|
183
|
+
*/
|
|
184
|
+
export const getSandboxProvider = (options, signal) => {
|
|
185
|
+
return apiFetch({ url: `/org-setup/sandbox-provider`, method: 'GET', signal
|
|
186
|
+
}, options);
|
|
187
|
+
};
|
|
188
|
+
export const getGetSandboxProviderQueryKey = () => {
|
|
189
|
+
return [
|
|
190
|
+
`/org-setup/sandbox-provider`
|
|
191
|
+
];
|
|
192
|
+
};
|
|
193
|
+
export const getGetSandboxProviderQueryOptions = (options) => {
|
|
194
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
195
|
+
const queryKey = queryOptions?.queryKey ?? getGetSandboxProviderQueryKey();
|
|
196
|
+
const queryFn = ({ signal }) => getSandboxProvider(requestOptions, signal);
|
|
197
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* @summary Report the org's sandbox provider key and account.
|
|
201
|
+
*/
|
|
202
|
+
export function useGetSandboxProvider(options) {
|
|
203
|
+
const queryOptions = getGetSandboxProviderQueryOptions(options);
|
|
204
|
+
const query = useQuery(queryOptions);
|
|
205
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* @summary Validate and save the org's sandbox provider API key.
|
|
209
|
+
*/
|
|
210
|
+
export const setSandboxProvider = (setSandboxProviderBody, options, signal) => {
|
|
211
|
+
return apiFetch({ url: `/org-setup/sandbox-provider`, method: 'PUT',
|
|
212
|
+
headers: { 'Content-Type': 'application/json', },
|
|
213
|
+
data: setSandboxProviderBody, signal
|
|
214
|
+
}, options);
|
|
215
|
+
};
|
|
216
|
+
export const getSetSandboxProviderMutationOptions = (options) => {
|
|
217
|
+
const mutationKey = ['setSandboxProvider'];
|
|
218
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
219
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
220
|
+
options
|
|
221
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
222
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
223
|
+
const mutationFn = (props) => {
|
|
224
|
+
const { data } = props ?? {};
|
|
225
|
+
return setSandboxProvider(data, requestOptions);
|
|
226
|
+
};
|
|
227
|
+
return { mutationFn, ...mutationOptions };
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @summary Validate and save the org's sandbox provider API key.
|
|
231
|
+
*/
|
|
232
|
+
export const useSetSandboxProvider = (options) => {
|
|
233
|
+
return useMutation(getSetSandboxProviderMutationOptions(options));
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* @summary Report whether the org's stored sandbox key works.
|
|
237
|
+
*/
|
|
238
|
+
export const getSandboxProviderHealth = (options, signal) => {
|
|
239
|
+
return apiFetch({ url: `/org-setup/sandbox-provider/health`, method: 'GET', signal
|
|
240
|
+
}, options);
|
|
241
|
+
};
|
|
242
|
+
export const getGetSandboxProviderHealthQueryKey = () => {
|
|
243
|
+
return [
|
|
244
|
+
`/org-setup/sandbox-provider/health`
|
|
245
|
+
];
|
|
246
|
+
};
|
|
247
|
+
export const getGetSandboxProviderHealthQueryOptions = (options) => {
|
|
248
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
249
|
+
const queryKey = queryOptions?.queryKey ?? getGetSandboxProviderHealthQueryKey();
|
|
250
|
+
const queryFn = ({ signal }) => getSandboxProviderHealth(requestOptions, signal);
|
|
251
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* @summary Report whether the org's stored sandbox key works.
|
|
255
|
+
*/
|
|
256
|
+
export function useGetSandboxProviderHealth(options) {
|
|
257
|
+
const queryOptions = getGetSandboxProviderHealthQueryOptions(options);
|
|
258
|
+
const query = useQuery(queryOptions);
|
|
259
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* @summary Check a sandbox provider API key without saving it.
|
|
263
|
+
*/
|
|
264
|
+
export const validateSandboxProvider = (validateSandboxProviderBody, options, signal) => {
|
|
265
|
+
return apiFetch({ url: `/org-setup/sandbox-provider/validate`, method: 'POST',
|
|
266
|
+
headers: { 'Content-Type': 'application/json', },
|
|
267
|
+
data: validateSandboxProviderBody, signal
|
|
268
|
+
}, options);
|
|
269
|
+
};
|
|
270
|
+
export const getValidateSandboxProviderMutationOptions = (options) => {
|
|
271
|
+
const mutationKey = ['validateSandboxProvider'];
|
|
272
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
273
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
274
|
+
options
|
|
275
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
276
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
277
|
+
const mutationFn = (props) => {
|
|
278
|
+
const { data } = props ?? {};
|
|
279
|
+
return validateSandboxProvider(data, requestOptions);
|
|
280
|
+
};
|
|
281
|
+
return { mutationFn, ...mutationOptions };
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* @summary Check a sandbox provider API key without saving it.
|
|
285
|
+
*/
|
|
286
|
+
export const useValidateSandboxProvider = (options) => {
|
|
287
|
+
return useMutation(getValidateSandboxProviderMutationOptions(options));
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* @summary Save an org secret by name.
|
|
291
|
+
*/
|
|
292
|
+
export const setOrgSecret = (name, setOrgSecretBody, options, signal) => {
|
|
293
|
+
return apiFetch({ url: `/org-setup/secrets/${encodeURIComponent(String(name))}`, method: 'PUT',
|
|
294
|
+
headers: { 'Content-Type': 'application/json', },
|
|
295
|
+
data: setOrgSecretBody, signal
|
|
296
|
+
}, options);
|
|
297
|
+
};
|
|
298
|
+
export const getSetOrgSecretMutationOptions = (options) => {
|
|
299
|
+
const mutationKey = ['setOrgSecret'];
|
|
300
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
301
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
302
|
+
options
|
|
303
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
304
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
305
|
+
const mutationFn = (props) => {
|
|
306
|
+
const { name, data } = props ?? {};
|
|
307
|
+
return setOrgSecret(name, data, requestOptions);
|
|
308
|
+
};
|
|
309
|
+
return { mutationFn, ...mutationOptions };
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* @summary Save an org secret by name.
|
|
313
|
+
*/
|
|
314
|
+
export const useSetOrgSecret = (options) => {
|
|
315
|
+
return useMutation(getSetOrgSecretMutationOptions(options));
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* @summary Report which of the org's secrets are set.
|
|
319
|
+
*/
|
|
320
|
+
export const getOrgSecretsStatus = (options, signal) => {
|
|
321
|
+
return apiFetch({ url: `/org-setup/secrets/status`, method: 'GET', signal
|
|
322
|
+
}, options);
|
|
323
|
+
};
|
|
324
|
+
export const getGetOrgSecretsStatusQueryKey = () => {
|
|
325
|
+
return [
|
|
326
|
+
`/org-setup/secrets/status`
|
|
327
|
+
];
|
|
328
|
+
};
|
|
329
|
+
export const getGetOrgSecretsStatusQueryOptions = (options) => {
|
|
330
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
331
|
+
const queryKey = queryOptions?.queryKey ?? getGetOrgSecretsStatusQueryKey();
|
|
332
|
+
const queryFn = ({ signal }) => getOrgSecretsStatus(requestOptions, signal);
|
|
333
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* @summary Report which of the org's secrets are set.
|
|
337
|
+
*/
|
|
338
|
+
export function useGetOrgSecretsStatus(options) {
|
|
339
|
+
const queryOptions = getGetOrgSecretsStatusQueryOptions(options);
|
|
340
|
+
const query = useQuery(queryOptions);
|
|
341
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* @summary Report the org's guided setup progress.
|
|
345
|
+
*/
|
|
346
|
+
export const getOrgSetupState = (options, signal) => {
|
|
347
|
+
return apiFetch({ url: `/org-setup/state`, method: 'GET', signal
|
|
348
|
+
}, options);
|
|
349
|
+
};
|
|
350
|
+
export const getGetOrgSetupStateQueryKey = () => {
|
|
351
|
+
return [
|
|
352
|
+
`/org-setup/state`
|
|
353
|
+
];
|
|
354
|
+
};
|
|
355
|
+
export const getGetOrgSetupStateQueryOptions = (options) => {
|
|
356
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
357
|
+
const queryKey = queryOptions?.queryKey ?? getGetOrgSetupStateQueryKey();
|
|
358
|
+
const queryFn = ({ signal }) => getOrgSetupState(requestOptions, signal);
|
|
359
|
+
return { queryKey, queryFn, ...queryOptions };
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* @summary Report the org's guided setup progress.
|
|
363
|
+
*/
|
|
364
|
+
export function useGetOrgSetupState(options) {
|
|
365
|
+
const queryOptions = getGetOrgSetupStateQueryOptions(options);
|
|
366
|
+
const query = useQuery(queryOptions);
|
|
367
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
368
|
+
}
|
|
369
|
+
//# sourceMappingURL=org-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"org-setup.js","sourceRoot":"","sources":["../../src/react/org-setup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,WAAW,EACX,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAmC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAY/C,MAAM,YAAY,GAAG,CAAsB,KAAQ,EAAE,QAAW,EAAuB,EAAE;IACvF,MAAM,MAAM,GAAG,EAAE,QAAQ,EAAyB,CAAC;IACnD,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACrC,2DAA2D;QAC3D,yDAAyD;QACzD,IAAI,GAAG,KAAK,UAAU;YAAE,SAAS;QACjC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE;YACjC,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;YAClB,GAAG,EAAE,GAAG,EAAE,CAAE,KAAiC,CAAC,GAAG,CAAC;SACnD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAEnC,OAA0C,EAAC,MAAoB,EAC9D,EAAE;IAGE,OAAO,QAAQ,CACf,EAAC,GAAG,EAAE,+BAA+B,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;KAC9D,EACC,OAAO,CAAC,CAAC;AACX,CAAC,CAAA;AAIL,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAC9B,OA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