@runloop/reflex-client 0.3.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/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/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 +1 -1
- 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/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
|
@@ -7,16 +7,17 @@
|
|
|
7
7
|
import type {
|
|
8
8
|
AddOrgEmailDomainBody,
|
|
9
9
|
AddOrgMemberBody,
|
|
10
|
+
AdminSetOrgSandboxProviderBody,
|
|
11
|
+
AdminSetOrgSecretBody,
|
|
12
|
+
AdminValidateOrgSandboxProviderBody,
|
|
10
13
|
AssignOrgRoleBody,
|
|
11
14
|
BaseImageView,
|
|
12
|
-
CopyOrgKeyMaterialBody,
|
|
13
15
|
CreateOrgInviteBody,
|
|
14
16
|
CreateOrgModelProviderSecretBody,
|
|
15
17
|
CreateOrgTeamBody,
|
|
16
18
|
CreateOrganizationBody,
|
|
17
19
|
CreateTeamModelProviderSecretBody,
|
|
18
20
|
CreateTeamSecretBody,
|
|
19
|
-
ErrorEnvelope,
|
|
20
21
|
ListLlmTaskAssignments200,
|
|
21
22
|
ListOrgInvitesParams,
|
|
22
23
|
ListOrgModelProviderSecretDependents200,
|
|
@@ -26,20 +27,16 @@ import type {
|
|
|
26
27
|
LlmTaskAssignment,
|
|
27
28
|
ModelProviderSecret,
|
|
28
29
|
Organization,
|
|
29
|
-
ProvisionOrganizationRunloopAccount200,
|
|
30
30
|
RevokeOrgRoleBody,
|
|
31
31
|
ScopedSecret,
|
|
32
32
|
SetBaseImageOverridesBody,
|
|
33
33
|
SetOrgPluginSettingsBody,
|
|
34
|
-
SetOrgSecretBody,
|
|
35
|
-
SetSandboxProviderBody,
|
|
36
34
|
UpdateOrgModelProviderSecretBody,
|
|
37
35
|
UpdateOrgRoleBody,
|
|
38
36
|
UpdateOrganizationBody,
|
|
39
37
|
UpdateTeamModelProviderSecretBody,
|
|
40
38
|
UpdateTeamSecretBody,
|
|
41
|
-
UpsertLlmTaskAssignmentBody
|
|
42
|
-
ValidateSandboxProviderBody
|
|
39
|
+
UpsertLlmTaskAssignmentBody
|
|
43
40
|
} from './model/index.js';
|
|
44
41
|
|
|
45
42
|
import { apiFetch } from '../http.js';
|
|
@@ -331,78 +328,6 @@ export const rebuildBaseImage = async (id: string, options?: RequestInit): Promi
|
|
|
331
328
|
);}
|
|
332
329
|
|
|
333
330
|
|
|
334
|
-
export type completeOrgBootstrapResponse200 = {
|
|
335
|
-
data: void
|
|
336
|
-
status: 200
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
export type completeOrgBootstrapResponseSuccess = (completeOrgBootstrapResponse200) & {
|
|
340
|
-
headers: Headers;
|
|
341
|
-
};
|
|
342
|
-
;
|
|
343
|
-
|
|
344
|
-
export type completeOrgBootstrapResponse = (completeOrgBootstrapResponseSuccess)
|
|
345
|
-
|
|
346
|
-
export const getCompleteOrgBootstrapUrl = (id: string,) => {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
return `/organizations/${encodeURIComponent(String(id))}/bootstrap-complete`
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @summary Mark the org's guided setup as complete.
|
|
356
|
-
*/
|
|
357
|
-
export const completeOrgBootstrap = async (id: string, options?: RequestInit): Promise<completeOrgBootstrapResponse> => {
|
|
358
|
-
|
|
359
|
-
return apiFetch<completeOrgBootstrapResponse>(getCompleteOrgBootstrapUrl(id),
|
|
360
|
-
{
|
|
361
|
-
...options,
|
|
362
|
-
method: 'POST'
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
);}
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
export type copyOrgKeyMaterialResponse200 = {
|
|
370
|
-
data: void
|
|
371
|
-
status: 200
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export type copyOrgKeyMaterialResponseSuccess = (copyOrgKeyMaterialResponse200) & {
|
|
375
|
-
headers: Headers;
|
|
376
|
-
};
|
|
377
|
-
;
|
|
378
|
-
|
|
379
|
-
export type copyOrgKeyMaterialResponse = (copyOrgKeyMaterialResponseSuccess)
|
|
380
|
-
|
|
381
|
-
export const getCopyOrgKeyMaterialUrl = (id: string,) => {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
return `/organizations/${encodeURIComponent(String(id))}/copy-key-material`
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* The caller needs secrets access on both the source and target orgs.
|
|
391
|
-
* @summary Copy sandbox and model provider keys from another org.
|
|
392
|
-
*/
|
|
393
|
-
export const copyOrgKeyMaterial = async (id: string,
|
|
394
|
-
copyOrgKeyMaterialBody: CopyOrgKeyMaterialBody, options?: RequestInit): Promise<copyOrgKeyMaterialResponse> => {
|
|
395
|
-
|
|
396
|
-
return apiFetch<copyOrgKeyMaterialResponse>(getCopyOrgKeyMaterialUrl(id),
|
|
397
|
-
{
|
|
398
|
-
...options,
|
|
399
|
-
method: 'POST',
|
|
400
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
401
|
-
body: JSON.stringify(copyOrgKeyMaterialBody)
|
|
402
|
-
}
|
|
403
|
-
);}
|
|
404
|
-
|
|
405
|
-
|
|
406
331
|
export type listOrgEmailDomainsResponse200 = {
|
|
407
332
|
data: void
|
|
408
333
|
status: 200
|
|
@@ -737,41 +662,6 @@ export const removeOrgMember = async (id: string,
|
|
|
737
662
|
);}
|
|
738
663
|
|
|
739
664
|
|
|
740
|
-
export type getOrgSetupStateResponse200 = {
|
|
741
|
-
data: void
|
|
742
|
-
status: 200
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
export type getOrgSetupStateResponseSuccess = (getOrgSetupStateResponse200) & {
|
|
746
|
-
headers: Headers;
|
|
747
|
-
};
|
|
748
|
-
;
|
|
749
|
-
|
|
750
|
-
export type getOrgSetupStateResponse = (getOrgSetupStateResponseSuccess)
|
|
751
|
-
|
|
752
|
-
export const getGetOrgSetupStateUrl = (id: string,) => {
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
return `/organizations/${encodeURIComponent(String(id))}/org-setup/state`
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* @summary Report the org's guided setup progress.
|
|
762
|
-
*/
|
|
763
|
-
export const getOrgSetupState = async (id: string, options?: RequestInit): Promise<getOrgSetupStateResponse> => {
|
|
764
|
-
|
|
765
|
-
return apiFetch<getOrgSetupStateResponse>(getGetOrgSetupStateUrl(id),
|
|
766
|
-
{
|
|
767
|
-
...options,
|
|
768
|
-
method: 'GET'
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
}
|
|
772
|
-
);}
|
|
773
|
-
|
|
774
|
-
|
|
775
665
|
export type listOrgPluginsResponse200 = {
|
|
776
666
|
data: void
|
|
777
667
|
status: 200
|
|
@@ -1030,154 +920,6 @@ export const previewOrgPluginUninstall = async (id: string,
|
|
|
1030
920
|
);}
|
|
1031
921
|
|
|
1032
922
|
|
|
1033
|
-
export type completePluginSetupStepResponse200 = {
|
|
1034
|
-
data: void
|
|
1035
|
-
status: 200
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export type completePluginSetupStepResponseSuccess = (completePluginSetupStepResponse200) & {
|
|
1039
|
-
headers: Headers;
|
|
1040
|
-
};
|
|
1041
|
-
;
|
|
1042
|
-
|
|
1043
|
-
export type completePluginSetupStepResponse = (completePluginSetupStepResponseSuccess)
|
|
1044
|
-
|
|
1045
|
-
export const getCompletePluginSetupStepUrl = (id: string,
|
|
1046
|
-
plugin: string,
|
|
1047
|
-
step: string,) => {
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
return `/organizations/${encodeURIComponent(String(id))}/plugins/${encodeURIComponent(String(plugin))}/setup-steps/${encodeURIComponent(String(step))}/complete`
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* @summary Mark a plugin setup step as complete.
|
|
1057
|
-
*/
|
|
1058
|
-
export const completePluginSetupStep = async (id: string,
|
|
1059
|
-
plugin: string,
|
|
1060
|
-
step: string, options?: RequestInit): Promise<completePluginSetupStepResponse> => {
|
|
1061
|
-
|
|
1062
|
-
return apiFetch<completePluginSetupStepResponse>(getCompletePluginSetupStepUrl(id,plugin,step),
|
|
1063
|
-
{
|
|
1064
|
-
...options,
|
|
1065
|
-
method: 'POST'
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
}
|
|
1069
|
-
);}
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
export type testPluginSetupStepResponse200 = {
|
|
1073
|
-
data: void
|
|
1074
|
-
status: 200
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
export type testPluginSetupStepResponseSuccess = (testPluginSetupStepResponse200) & {
|
|
1078
|
-
headers: Headers;
|
|
1079
|
-
};
|
|
1080
|
-
;
|
|
1081
|
-
|
|
1082
|
-
export type testPluginSetupStepResponse = (testPluginSetupStepResponseSuccess)
|
|
1083
|
-
|
|
1084
|
-
export const getTestPluginSetupStepUrl = (id: string,
|
|
1085
|
-
plugin: string,
|
|
1086
|
-
step: string,) => {
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
return `/organizations/${encodeURIComponent(String(id))}/plugins/${encodeURIComponent(String(plugin))}/setup-steps/${encodeURIComponent(String(step))}/test`
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* @summary Run a plugin setup step's connection test.
|
|
1096
|
-
*/
|
|
1097
|
-
export const testPluginSetupStep = async (id: string,
|
|
1098
|
-
plugin: string,
|
|
1099
|
-
step: string, options?: RequestInit): Promise<testPluginSetupStepResponse> => {
|
|
1100
|
-
|
|
1101
|
-
return apiFetch<testPluginSetupStepResponse>(getTestPluginSetupStepUrl(id,plugin,step),
|
|
1102
|
-
{
|
|
1103
|
-
...options,
|
|
1104
|
-
method: 'POST'
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
}
|
|
1108
|
-
);}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
export type markOrgPluginsConfiguredResponse200 = {
|
|
1112
|
-
data: void
|
|
1113
|
-
status: 200
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
export type markOrgPluginsConfiguredResponseSuccess = (markOrgPluginsConfiguredResponse200) & {
|
|
1117
|
-
headers: Headers;
|
|
1118
|
-
};
|
|
1119
|
-
;
|
|
1120
|
-
|
|
1121
|
-
export type markOrgPluginsConfiguredResponse = (markOrgPluginsConfiguredResponseSuccess)
|
|
1122
|
-
|
|
1123
|
-
export const getMarkOrgPluginsConfiguredUrl = (id: string,) => {
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
return `/organizations/${encodeURIComponent(String(id))}/plugins/mark-configured`
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* @summary Mark the org's plugin selection as configured.
|
|
1133
|
-
*/
|
|
1134
|
-
export const markOrgPluginsConfigured = async (id: string, options?: RequestInit): Promise<markOrgPluginsConfiguredResponse> => {
|
|
1135
|
-
|
|
1136
|
-
return apiFetch<markOrgPluginsConfiguredResponse>(getMarkOrgPluginsConfiguredUrl(id),
|
|
1137
|
-
{
|
|
1138
|
-
...options,
|
|
1139
|
-
method: 'POST'
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
}
|
|
1143
|
-
);}
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
export type listPluginSetupStepsResponse200 = {
|
|
1147
|
-
data: void
|
|
1148
|
-
status: 200
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
export type listPluginSetupStepsResponseSuccess = (listPluginSetupStepsResponse200) & {
|
|
1152
|
-
headers: Headers;
|
|
1153
|
-
};
|
|
1154
|
-
;
|
|
1155
|
-
|
|
1156
|
-
export type listPluginSetupStepsResponse = (listPluginSetupStepsResponseSuccess)
|
|
1157
|
-
|
|
1158
|
-
export const getListPluginSetupStepsUrl = (id: string,) => {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
return `/organizations/${encodeURIComponent(String(id))}/plugins/setup-steps`
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* @summary List setup steps for the org's active plugins.
|
|
1168
|
-
*/
|
|
1169
|
-
export const listPluginSetupSteps = async (id: string, options?: RequestInit): Promise<listPluginSetupStepsResponse> => {
|
|
1170
|
-
|
|
1171
|
-
return apiFetch<listPluginSetupStepsResponse>(getListPluginSetupStepsUrl(id),
|
|
1172
|
-
{
|
|
1173
|
-
...options,
|
|
1174
|
-
method: 'GET'
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
}
|
|
1178
|
-
);}
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
923
|
export type listOrgRolesResponse200 = {
|
|
1182
924
|
data: void
|
|
1183
925
|
status: 200
|
|
@@ -1361,76 +1103,19 @@ export const revokeOrgRole = async (id: string,
|
|
|
1361
1103
|
);}
|
|
1362
1104
|
|
|
1363
1105
|
|
|
1364
|
-
export type
|
|
1365
|
-
data: ProvisionOrganizationRunloopAccount200
|
|
1366
|
-
status: 200
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
export type provisionOrganizationRunloopAccountResponse400 = {
|
|
1370
|
-
data: ErrorEnvelope
|
|
1371
|
-
status: 400
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
export type provisionOrganizationRunloopAccountResponse404 = {
|
|
1375
|
-
data: ErrorEnvelope
|
|
1376
|
-
status: 404
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
export type provisionOrganizationRunloopAccountResponse409 = {
|
|
1380
|
-
data: ErrorEnvelope
|
|
1381
|
-
status: 409
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
export type provisionOrganizationRunloopAccountResponse503 = {
|
|
1385
|
-
data: ErrorEnvelope
|
|
1386
|
-
status: 503
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
export type provisionOrganizationRunloopAccountResponseSuccess = (provisionOrganizationRunloopAccountResponse200) & {
|
|
1390
|
-
headers: Headers;
|
|
1391
|
-
};
|
|
1392
|
-
export type provisionOrganizationRunloopAccountResponseError = (provisionOrganizationRunloopAccountResponse400 | provisionOrganizationRunloopAccountResponse404 | provisionOrganizationRunloopAccountResponse409 | provisionOrganizationRunloopAccountResponse503) & {
|
|
1393
|
-
headers: Headers;
|
|
1394
|
-
};
|
|
1395
|
-
|
|
1396
|
-
export type provisionOrganizationRunloopAccountResponse = (provisionOrganizationRunloopAccountResponseSuccess | provisionOrganizationRunloopAccountResponseError)
|
|
1397
|
-
|
|
1398
|
-
export const getProvisionOrganizationRunloopAccountUrl = (id: string,) => {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
return `/organizations/${encodeURIComponent(String(id))}/runloop-provider/provision`
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
* @summary Provision a Runloop account for an organization
|
|
1408
|
-
*/
|
|
1409
|
-
export const provisionOrganizationRunloopAccount = async (id: string, options?: RequestInit): Promise<provisionOrganizationRunloopAccountResponse> => {
|
|
1410
|
-
|
|
1411
|
-
return apiFetch<provisionOrganizationRunloopAccountResponse>(getProvisionOrganizationRunloopAccountUrl(id),
|
|
1412
|
-
{
|
|
1413
|
-
...options,
|
|
1414
|
-
method: 'POST'
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
}
|
|
1418
|
-
);}
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
export type getSandboxProviderResponse200 = {
|
|
1106
|
+
export type adminGetOrgSandboxProviderResponse200 = {
|
|
1422
1107
|
data: void
|
|
1423
1108
|
status: 200
|
|
1424
1109
|
}
|
|
1425
1110
|
|
|
1426
|
-
export type
|
|
1111
|
+
export type adminGetOrgSandboxProviderResponseSuccess = (adminGetOrgSandboxProviderResponse200) & {
|
|
1427
1112
|
headers: Headers;
|
|
1428
1113
|
};
|
|
1429
1114
|
;
|
|
1430
1115
|
|
|
1431
|
-
export type
|
|
1116
|
+
export type adminGetOrgSandboxProviderResponse = (adminGetOrgSandboxProviderResponseSuccess)
|
|
1432
1117
|
|
|
1433
|
-
export const
|
|
1118
|
+
export const getAdminGetOrgSandboxProviderUrl = (id: string,) => {
|
|
1434
1119
|
|
|
1435
1120
|
|
|
1436
1121
|
|
|
@@ -1439,11 +1124,11 @@ export const getGetSandboxProviderUrl = (id: string,) => {
|
|
|
1439
1124
|
}
|
|
1440
1125
|
|
|
1441
1126
|
/**
|
|
1442
|
-
* @summary Report
|
|
1127
|
+
* @summary Report a target org's sandbox provider key and account.
|
|
1443
1128
|
*/
|
|
1444
|
-
export const
|
|
1129
|
+
export const adminGetOrgSandboxProvider = async (id: string, options?: RequestInit): Promise<adminGetOrgSandboxProviderResponse> => {
|
|
1445
1130
|
|
|
1446
|
-
return apiFetch<
|
|
1131
|
+
return apiFetch<adminGetOrgSandboxProviderResponse>(getAdminGetOrgSandboxProviderUrl(id),
|
|
1447
1132
|
{
|
|
1448
1133
|
...options,
|
|
1449
1134
|
method: 'GET'
|
|
@@ -1453,19 +1138,19 @@ export const getSandboxProvider = async (id: string, options?: RequestInit): Pro
|
|
|
1453
1138
|
);}
|
|
1454
1139
|
|
|
1455
1140
|
|
|
1456
|
-
export type
|
|
1141
|
+
export type adminSetOrgSandboxProviderResponse200 = {
|
|
1457
1142
|
data: void
|
|
1458
1143
|
status: 200
|
|
1459
1144
|
}
|
|
1460
1145
|
|
|
1461
|
-
export type
|
|
1146
|
+
export type adminSetOrgSandboxProviderResponseSuccess = (adminSetOrgSandboxProviderResponse200) & {
|
|
1462
1147
|
headers: Headers;
|
|
1463
1148
|
};
|
|
1464
1149
|
;
|
|
1465
1150
|
|
|
1466
|
-
export type
|
|
1151
|
+
export type adminSetOrgSandboxProviderResponse = (adminSetOrgSandboxProviderResponseSuccess)
|
|
1467
1152
|
|
|
1468
|
-
export const
|
|
1153
|
+
export const getAdminSetOrgSandboxProviderUrl = (id: string,) => {
|
|
1469
1154
|
|
|
1470
1155
|
|
|
1471
1156
|
|
|
@@ -1474,34 +1159,34 @@ export const getSetSandboxProviderUrl = (id: string,) => {
|
|
|
1474
1159
|
}
|
|
1475
1160
|
|
|
1476
1161
|
/**
|
|
1477
|
-
* @summary Validate and save
|
|
1162
|
+
* @summary Validate and save a target org's sandbox provider API key.
|
|
1478
1163
|
*/
|
|
1479
|
-
export const
|
|
1480
|
-
|
|
1164
|
+
export const adminSetOrgSandboxProvider = async (id: string,
|
|
1165
|
+
adminSetOrgSandboxProviderBody: AdminSetOrgSandboxProviderBody, options?: RequestInit): Promise<adminSetOrgSandboxProviderResponse> => {
|
|
1481
1166
|
|
|
1482
|
-
return apiFetch<
|
|
1167
|
+
return apiFetch<adminSetOrgSandboxProviderResponse>(getAdminSetOrgSandboxProviderUrl(id),
|
|
1483
1168
|
{
|
|
1484
1169
|
...options,
|
|
1485
1170
|
method: 'PUT',
|
|
1486
1171
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
1487
|
-
body: JSON.stringify(
|
|
1172
|
+
body: JSON.stringify(adminSetOrgSandboxProviderBody)
|
|
1488
1173
|
}
|
|
1489
1174
|
);}
|
|
1490
1175
|
|
|
1491
1176
|
|
|
1492
|
-
export type
|
|
1177
|
+
export type adminGetOrgSandboxProviderHealthResponse200 = {
|
|
1493
1178
|
data: void
|
|
1494
1179
|
status: 200
|
|
1495
1180
|
}
|
|
1496
1181
|
|
|
1497
|
-
export type
|
|
1182
|
+
export type adminGetOrgSandboxProviderHealthResponseSuccess = (adminGetOrgSandboxProviderHealthResponse200) & {
|
|
1498
1183
|
headers: Headers;
|
|
1499
1184
|
};
|
|
1500
1185
|
;
|
|
1501
1186
|
|
|
1502
|
-
export type
|
|
1187
|
+
export type adminGetOrgSandboxProviderHealthResponse = (adminGetOrgSandboxProviderHealthResponseSuccess)
|
|
1503
1188
|
|
|
1504
|
-
export const
|
|
1189
|
+
export const getAdminGetOrgSandboxProviderHealthUrl = (id: string,) => {
|
|
1505
1190
|
|
|
1506
1191
|
|
|
1507
1192
|
|
|
@@ -1510,11 +1195,11 @@ export const getGetSandboxProviderHealthUrl = (id: string,) => {
|
|
|
1510
1195
|
}
|
|
1511
1196
|
|
|
1512
1197
|
/**
|
|
1513
|
-
* @summary Report whether
|
|
1198
|
+
* @summary Report whether a target org's stored sandbox key works.
|
|
1514
1199
|
*/
|
|
1515
|
-
export const
|
|
1200
|
+
export const adminGetOrgSandboxProviderHealth = async (id: string, options?: RequestInit): Promise<adminGetOrgSandboxProviderHealthResponse> => {
|
|
1516
1201
|
|
|
1517
|
-
return apiFetch<
|
|
1202
|
+
return apiFetch<adminGetOrgSandboxProviderHealthResponse>(getAdminGetOrgSandboxProviderHealthUrl(id),
|
|
1518
1203
|
{
|
|
1519
1204
|
...options,
|
|
1520
1205
|
method: 'GET'
|
|
@@ -1524,19 +1209,19 @@ export const getSandboxProviderHealth = async (id: string, options?: RequestInit
|
|
|
1524
1209
|
);}
|
|
1525
1210
|
|
|
1526
1211
|
|
|
1527
|
-
export type
|
|
1212
|
+
export type adminValidateOrgSandboxProviderResponse200 = {
|
|
1528
1213
|
data: void
|
|
1529
1214
|
status: 200
|
|
1530
1215
|
}
|
|
1531
1216
|
|
|
1532
|
-
export type
|
|
1217
|
+
export type adminValidateOrgSandboxProviderResponseSuccess = (adminValidateOrgSandboxProviderResponse200) & {
|
|
1533
1218
|
headers: Headers;
|
|
1534
1219
|
};
|
|
1535
1220
|
;
|
|
1536
1221
|
|
|
1537
|
-
export type
|
|
1222
|
+
export type adminValidateOrgSandboxProviderResponse = (adminValidateOrgSandboxProviderResponseSuccess)
|
|
1538
1223
|
|
|
1539
|
-
export const
|
|
1224
|
+
export const getAdminValidateOrgSandboxProviderUrl = (id: string,) => {
|
|
1540
1225
|
|
|
1541
1226
|
|
|
1542
1227
|
|
|
@@ -1545,34 +1230,34 @@ export const getValidateSandboxProviderUrl = (id: string,) => {
|
|
|
1545
1230
|
}
|
|
1546
1231
|
|
|
1547
1232
|
/**
|
|
1548
|
-
* @summary Check a sandbox provider API key without saving it.
|
|
1233
|
+
* @summary Check a sandbox provider API key against a target org's pin without saving it.
|
|
1549
1234
|
*/
|
|
1550
|
-
export const
|
|
1551
|
-
|
|
1235
|
+
export const adminValidateOrgSandboxProvider = async (id: string,
|
|
1236
|
+
adminValidateOrgSandboxProviderBody: AdminValidateOrgSandboxProviderBody, options?: RequestInit): Promise<adminValidateOrgSandboxProviderResponse> => {
|
|
1552
1237
|
|
|
1553
|
-
return apiFetch<
|
|
1238
|
+
return apiFetch<adminValidateOrgSandboxProviderResponse>(getAdminValidateOrgSandboxProviderUrl(id),
|
|
1554
1239
|
{
|
|
1555
1240
|
...options,
|
|
1556
1241
|
method: 'POST',
|
|
1557
1242
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
1558
|
-
body: JSON.stringify(
|
|
1243
|
+
body: JSON.stringify(adminValidateOrgSandboxProviderBody)
|
|
1559
1244
|
}
|
|
1560
1245
|
);}
|
|
1561
1246
|
|
|
1562
1247
|
|
|
1563
|
-
export type
|
|
1248
|
+
export type adminSetOrgSecretResponse200 = {
|
|
1564
1249
|
data: void
|
|
1565
1250
|
status: 200
|
|
1566
1251
|
}
|
|
1567
1252
|
|
|
1568
|
-
export type
|
|
1253
|
+
export type adminSetOrgSecretResponseSuccess = (adminSetOrgSecretResponse200) & {
|
|
1569
1254
|
headers: Headers;
|
|
1570
1255
|
};
|
|
1571
1256
|
;
|
|
1572
1257
|
|
|
1573
|
-
export type
|
|
1258
|
+
export type adminSetOrgSecretResponse = (adminSetOrgSecretResponseSuccess)
|
|
1574
1259
|
|
|
1575
|
-
export const
|
|
1260
|
+
export const getAdminSetOrgSecretUrl = (id: string,
|
|
1576
1261
|
name: string,) => {
|
|
1577
1262
|
|
|
1578
1263
|
|
|
@@ -1582,35 +1267,35 @@ export const getSetOrgSecretUrl = (id: string,
|
|
|
1582
1267
|
}
|
|
1583
1268
|
|
|
1584
1269
|
/**
|
|
1585
|
-
* @summary Save
|
|
1270
|
+
* @summary Save a target org's secret by name.
|
|
1586
1271
|
*/
|
|
1587
|
-
export const
|
|
1272
|
+
export const adminSetOrgSecret = async (id: string,
|
|
1588
1273
|
name: string,
|
|
1589
|
-
|
|
1274
|
+
adminSetOrgSecretBody: AdminSetOrgSecretBody, options?: RequestInit): Promise<adminSetOrgSecretResponse> => {
|
|
1590
1275
|
|
|
1591
|
-
return apiFetch<
|
|
1276
|
+
return apiFetch<adminSetOrgSecretResponse>(getAdminSetOrgSecretUrl(id,name),
|
|
1592
1277
|
{
|
|
1593
1278
|
...options,
|
|
1594
1279
|
method: 'PUT',
|
|
1595
1280
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
1596
|
-
body: JSON.stringify(
|
|
1281
|
+
body: JSON.stringify(adminSetOrgSecretBody)
|
|
1597
1282
|
}
|
|
1598
1283
|
);}
|
|
1599
1284
|
|
|
1600
1285
|
|
|
1601
|
-
export type
|
|
1286
|
+
export type adminGetOrgSecretsStatusResponse200 = {
|
|
1602
1287
|
data: void
|
|
1603
1288
|
status: 200
|
|
1604
1289
|
}
|
|
1605
1290
|
|
|
1606
|
-
export type
|
|
1291
|
+
export type adminGetOrgSecretsStatusResponseSuccess = (adminGetOrgSecretsStatusResponse200) & {
|
|
1607
1292
|
headers: Headers;
|
|
1608
1293
|
};
|
|
1609
1294
|
;
|
|
1610
1295
|
|
|
1611
|
-
export type
|
|
1296
|
+
export type adminGetOrgSecretsStatusResponse = (adminGetOrgSecretsStatusResponseSuccess)
|
|
1612
1297
|
|
|
1613
|
-
export const
|
|
1298
|
+
export const getAdminGetOrgSecretsStatusUrl = (id: string,) => {
|
|
1614
1299
|
|
|
1615
1300
|
|
|
1616
1301
|
|
|
@@ -1619,11 +1304,11 @@ export const getGetOrgSecretsStatusUrl = (id: string,) => {
|
|
|
1619
1304
|
}
|
|
1620
1305
|
|
|
1621
1306
|
/**
|
|
1622
|
-
* @summary Report which of
|
|
1307
|
+
* @summary Report which of a target org's secrets are set.
|
|
1623
1308
|
*/
|
|
1624
|
-
export const
|
|
1309
|
+
export const adminGetOrgSecretsStatus = async (id: string, options?: RequestInit): Promise<adminGetOrgSecretsStatusResponse> => {
|
|
1625
1310
|
|
|
1626
|
-
return apiFetch<
|
|
1311
|
+
return apiFetch<adminGetOrgSecretsStatusResponse>(getAdminGetOrgSecretsStatusUrl(id),
|
|
1627
1312
|
{
|
|
1628
1313
|
...options,
|
|
1629
1314
|
method: 'GET'
|
package/src/index.ts
CHANGED
|
@@ -72,6 +72,7 @@ export * from './generated/invites.js';
|
|
|
72
72
|
export * from './generated/mcp.js';
|
|
73
73
|
export * from './generated/me.js';
|
|
74
74
|
export * from './generated/organizations.js';
|
|
75
|
+
export * from './generated/org-setup.js';
|
|
75
76
|
export * from './generated/permissions.js';
|
|
76
77
|
export * from './generated/plugins.js';
|
|
77
78
|
export * from './generated/profile.js';
|