@xemahq/app-platform-api-client 0.3.0 → 0.3.1
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/LICENSE +2 -1
- package/dist/endpoints/delegated-sessions/delegated-sessions.js +3 -3
- package/dist/endpoints/project-apps/project-apps.js +19 -21
- package/dist/endpoints/public-ingress/public-ingress.js +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/models/appReleaseState.d.ts +1 -1
- package/dist/models/audienceKind.d.ts +1 -1
- package/dist/models/audienceUpstreamType.d.ts +1 -1
- package/dist/models/createProjectAppDto.d.ts +3 -3
- package/dist/models/delegatedSessionStatus.d.ts +1 -1
- package/dist/models/resourceManagedBy.d.ts +1 -1
- package/dist/models/resourceVisibilityPattern.d.ts +1 -3
- package/dist/models/resourceVisibilityPattern.js +0 -2
- package/dist/models/subjectKind.d.ts +1 -1
- package/dist/models/tokenClass.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ Parameters
|
|
|
9
9
|
|
|
10
10
|
Licensor: Neuralchowder Inc.
|
|
11
11
|
|
|
12
|
-
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
|
|
13
13
|
|
|
14
14
|
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
15
|
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
@@ -116,6 +116,7 @@ the interpretation of, the Additional Use Grant set out above.
|
|
|
116
116
|
and effect. The Licensor reserves all rights not expressly granted
|
|
117
117
|
by this License.
|
|
118
118
|
|
|
119
|
+
|
|
119
120
|
Change Date: Four years from the date the specific version of the Licensed
|
|
120
121
|
Work is first publicly released by Licensor.
|
|
121
122
|
|
|
@@ -14,7 +14,7 @@ const delegatedSessionsControllerVerify = async (verifyDelegatedSessionRequestDt
|
|
|
14
14
|
...options,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(verifyDelegatedSessionRequestDto)
|
|
17
|
+
body: JSON.stringify(verifyDelegatedSessionRequestDto)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.delegatedSessionsControllerVerify = delegatedSessionsControllerVerify;
|
|
@@ -28,7 +28,7 @@ exports.getDelegatedSessionsControllerGetByIdUrl = getDelegatedSessionsControlle
|
|
|
28
28
|
const delegatedSessionsControllerGetById = async (id, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getDelegatedSessionsControllerGetByIdUrl)(id), {
|
|
30
30
|
...options,
|
|
31
|
-
method: 'GET'
|
|
31
|
+
method: 'GET'
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.delegatedSessionsControllerGetById = delegatedSessionsControllerGetById;
|
|
@@ -42,7 +42,7 @@ exports.getDelegatedSessionsControllerRevokeUrl = getDelegatedSessionsController
|
|
|
42
42
|
const delegatedSessionsControllerRevoke = async (id, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getDelegatedSessionsControllerRevokeUrl)(id), {
|
|
44
44
|
...options,
|
|
45
|
-
method: 'POST'
|
|
45
|
+
method: 'POST'
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
exports.delegatedSessionsControllerRevoke = delegatedSessionsControllerRevoke;
|
|
@@ -14,7 +14,7 @@ const projectAppsControllerCreate = async (createProjectAppDto, options) => {
|
|
|
14
14
|
...options,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(createProjectAppDto)
|
|
17
|
+
body: JSON.stringify(createProjectAppDto)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.projectAppsControllerCreate = projectAppsControllerCreate;
|
|
@@ -38,9 +38,7 @@ const getProjectAppsControllerListUrl = (params) => {
|
|
|
38
38
|
normalizedParams.append(key, value.toString());
|
|
39
39
|
});
|
|
40
40
|
const stringifiedParams = normalizedParams.toString();
|
|
41
|
-
return stringifiedParams.length > 0
|
|
42
|
-
? `/bff/apps?${stringifiedParams}`
|
|
43
|
-
: `/bff/apps`;
|
|
41
|
+
return stringifiedParams.length > 0 ? `/bff/apps?${stringifiedParams}` : `/bff/apps`;
|
|
44
42
|
};
|
|
45
43
|
exports.getProjectAppsControllerListUrl = getProjectAppsControllerListUrl;
|
|
46
44
|
/**
|
|
@@ -49,7 +47,7 @@ exports.getProjectAppsControllerListUrl = getProjectAppsControllerListUrl;
|
|
|
49
47
|
const projectAppsControllerList = async (params, options) => {
|
|
50
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppsControllerListUrl)(params), {
|
|
51
49
|
...options,
|
|
52
|
-
method: 'GET'
|
|
50
|
+
method: 'GET'
|
|
53
51
|
});
|
|
54
52
|
};
|
|
55
53
|
exports.projectAppsControllerList = projectAppsControllerList;
|
|
@@ -63,7 +61,7 @@ exports.getProjectAppsControllerGetByIdUrl = getProjectAppsControllerGetByIdUrl;
|
|
|
63
61
|
const projectAppsControllerGetById = async (id, options) => {
|
|
64
62
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppsControllerGetByIdUrl)(id), {
|
|
65
63
|
...options,
|
|
66
|
-
method: 'GET'
|
|
64
|
+
method: 'GET'
|
|
67
65
|
});
|
|
68
66
|
};
|
|
69
67
|
exports.projectAppsControllerGetById = projectAppsControllerGetById;
|
|
@@ -79,7 +77,7 @@ const projectAppClientsControllerCreate = async (appId, createAppClientDto, opti
|
|
|
79
77
|
...options,
|
|
80
78
|
method: 'POST',
|
|
81
79
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
82
|
-
body: JSON.stringify(createAppClientDto)
|
|
80
|
+
body: JSON.stringify(createAppClientDto)
|
|
83
81
|
});
|
|
84
82
|
};
|
|
85
83
|
exports.projectAppClientsControllerCreate = projectAppClientsControllerCreate;
|
|
@@ -93,7 +91,7 @@ exports.getProjectAppClientsControllerListUrl = getProjectAppClientsControllerLi
|
|
|
93
91
|
const projectAppClientsControllerList = async (appId, options) => {
|
|
94
92
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppClientsControllerListUrl)(appId), {
|
|
95
93
|
...options,
|
|
96
|
-
method: 'GET'
|
|
94
|
+
method: 'GET'
|
|
97
95
|
});
|
|
98
96
|
};
|
|
99
97
|
exports.projectAppClientsControllerList = projectAppClientsControllerList;
|
|
@@ -107,7 +105,7 @@ exports.getProjectAppClientsControllerRevokeUrl = getProjectAppClientsController
|
|
|
107
105
|
const projectAppClientsControllerRevoke = async (id, options) => {
|
|
108
106
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppClientsControllerRevokeUrl)(id), {
|
|
109
107
|
...options,
|
|
110
|
-
method: 'POST'
|
|
108
|
+
method: 'POST'
|
|
111
109
|
});
|
|
112
110
|
};
|
|
113
111
|
exports.projectAppClientsControllerRevoke = projectAppClientsControllerRevoke;
|
|
@@ -121,7 +119,7 @@ exports.getProjectAppReleasesControllerGetLiveUrl = getProjectAppReleasesControl
|
|
|
121
119
|
const projectAppReleasesControllerGetLive = async (appId, options) => {
|
|
122
120
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppReleasesControllerGetLiveUrl)(appId), {
|
|
123
121
|
...options,
|
|
124
|
-
method: 'GET'
|
|
122
|
+
method: 'GET'
|
|
125
123
|
});
|
|
126
124
|
};
|
|
127
125
|
exports.projectAppReleasesControllerGetLive = projectAppReleasesControllerGetLive;
|
|
@@ -135,7 +133,7 @@ exports.getProjectAppReleasesControllerListHistoryUrl = getProjectAppReleasesCon
|
|
|
135
133
|
const projectAppReleasesControllerListHistory = async (appId, options) => {
|
|
136
134
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppReleasesControllerListHistoryUrl)(appId), {
|
|
137
135
|
...options,
|
|
138
|
-
method: 'GET'
|
|
136
|
+
method: 'GET'
|
|
139
137
|
});
|
|
140
138
|
};
|
|
141
139
|
exports.projectAppReleasesControllerListHistory = projectAppReleasesControllerListHistory;
|
|
@@ -149,7 +147,7 @@ exports.getProjectAppReleasesControllerRollbackUrl = getProjectAppReleasesContro
|
|
|
149
147
|
const projectAppReleasesControllerRollback = async (appId, releaseId, options) => {
|
|
150
148
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAppReleasesControllerRollbackUrl)(appId, releaseId), {
|
|
151
149
|
...options,
|
|
152
|
-
method: 'POST'
|
|
150
|
+
method: 'POST'
|
|
153
151
|
});
|
|
154
152
|
};
|
|
155
153
|
exports.projectAppReleasesControllerRollback = projectAppReleasesControllerRollback;
|
|
@@ -165,7 +163,7 @@ const projectAudiencePoliciesControllerCreate = async (appId, createAudiencePoli
|
|
|
165
163
|
...options,
|
|
166
164
|
method: 'POST',
|
|
167
165
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
168
|
-
body: JSON.stringify(createAudiencePolicyDto)
|
|
166
|
+
body: JSON.stringify(createAudiencePolicyDto)
|
|
169
167
|
});
|
|
170
168
|
};
|
|
171
169
|
exports.projectAudiencePoliciesControllerCreate = projectAudiencePoliciesControllerCreate;
|
|
@@ -179,7 +177,7 @@ exports.getProjectAudiencePoliciesControllerListUrl = getProjectAudiencePolicies
|
|
|
179
177
|
const projectAudiencePoliciesControllerList = async (appId, options) => {
|
|
180
178
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAudiencePoliciesControllerListUrl)(appId), {
|
|
181
179
|
...options,
|
|
182
|
-
method: 'GET'
|
|
180
|
+
method: 'GET'
|
|
183
181
|
});
|
|
184
182
|
};
|
|
185
183
|
exports.projectAudiencePoliciesControllerList = projectAudiencePoliciesControllerList;
|
|
@@ -195,7 +193,7 @@ const projectAudiencePoliciesControllerUpdate = async (id, updateAudiencePolicyD
|
|
|
195
193
|
...options,
|
|
196
194
|
method: 'PATCH',
|
|
197
195
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
198
|
-
body: JSON.stringify(updateAudiencePolicyDto)
|
|
196
|
+
body: JSON.stringify(updateAudiencePolicyDto)
|
|
199
197
|
});
|
|
200
198
|
};
|
|
201
199
|
exports.projectAudiencePoliciesControllerUpdate = projectAudiencePoliciesControllerUpdate;
|
|
@@ -209,7 +207,7 @@ exports.getProjectAudiencePoliciesControllerDeleteUrl = getProjectAudiencePolici
|
|
|
209
207
|
const projectAudiencePoliciesControllerDelete = async (id, options) => {
|
|
210
208
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectAudiencePoliciesControllerDeleteUrl)(id), {
|
|
211
209
|
...options,
|
|
212
|
-
method: 'DELETE'
|
|
210
|
+
method: 'DELETE'
|
|
213
211
|
});
|
|
214
212
|
};
|
|
215
213
|
exports.projectAudiencePoliciesControllerDelete = projectAudiencePoliciesControllerDelete;
|
|
@@ -223,7 +221,7 @@ exports.getPortalsControllerListUrl = getPortalsControllerListUrl;
|
|
|
223
221
|
const portalsControllerList = async (options) => {
|
|
224
222
|
return (0, custom_fetch_1.customFetch)((0, exports.getPortalsControllerListUrl)(), {
|
|
225
223
|
...options,
|
|
226
|
-
method: 'GET'
|
|
224
|
+
method: 'GET'
|
|
227
225
|
});
|
|
228
226
|
};
|
|
229
227
|
exports.portalsControllerList = portalsControllerList;
|
|
@@ -239,7 +237,7 @@ const portalsControllerCreate = async (createPortalDto, options) => {
|
|
|
239
237
|
...options,
|
|
240
238
|
method: 'POST',
|
|
241
239
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
242
|
-
body: JSON.stringify(createPortalDto)
|
|
240
|
+
body: JSON.stringify(createPortalDto)
|
|
243
241
|
});
|
|
244
242
|
};
|
|
245
243
|
exports.portalsControllerCreate = portalsControllerCreate;
|
|
@@ -253,7 +251,7 @@ exports.getPortalsControllerGetOneUrl = getPortalsControllerGetOneUrl;
|
|
|
253
251
|
const portalsControllerGetOne = async (id, options) => {
|
|
254
252
|
return (0, custom_fetch_1.customFetch)((0, exports.getPortalsControllerGetOneUrl)(id), {
|
|
255
253
|
...options,
|
|
256
|
-
method: 'GET'
|
|
254
|
+
method: 'GET'
|
|
257
255
|
});
|
|
258
256
|
};
|
|
259
257
|
exports.portalsControllerGetOne = portalsControllerGetOne;
|
|
@@ -269,7 +267,7 @@ const portalsControllerUpdate = async (id, updatePortalDto, options) => {
|
|
|
269
267
|
...options,
|
|
270
268
|
method: 'PATCH',
|
|
271
269
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
272
|
-
body: JSON.stringify(updatePortalDto)
|
|
270
|
+
body: JSON.stringify(updatePortalDto)
|
|
273
271
|
});
|
|
274
272
|
};
|
|
275
273
|
exports.portalsControllerUpdate = portalsControllerUpdate;
|
|
@@ -283,7 +281,7 @@ exports.getPortalsControllerArchiveUrl = getPortalsControllerArchiveUrl;
|
|
|
283
281
|
const portalsControllerArchive = async (id, options) => {
|
|
284
282
|
return (0, custom_fetch_1.customFetch)((0, exports.getPortalsControllerArchiveUrl)(id), {
|
|
285
283
|
...options,
|
|
286
|
-
method: 'POST'
|
|
284
|
+
method: 'POST'
|
|
287
285
|
});
|
|
288
286
|
};
|
|
289
287
|
exports.portalsControllerArchive = portalsControllerArchive;
|
|
@@ -14,7 +14,7 @@ const publicIngressControllerOpenSession = async (appSlug, createPublicSessionDt
|
|
|
14
14
|
...options,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(createPublicSessionDto)
|
|
17
|
+
body: JSON.stringify(createPublicSessionDto)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.publicIngressControllerOpenSession = publicIngressControllerOpenSession;
|
|
@@ -28,7 +28,7 @@ exports.getPublicIngressControllerGetSessionUrl = getPublicIngressControllerGetS
|
|
|
28
28
|
const publicIngressControllerGetSession = async (id, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getPublicIngressControllerGetSessionUrl)(id), {
|
|
30
30
|
...options,
|
|
31
|
-
method: 'GET'
|
|
31
|
+
method: 'GET'
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.publicIngressControllerGetSession = publicIngressControllerGetSession;
|
|
@@ -42,7 +42,7 @@ exports.getPublicIngressControllerRevokeSessionUrl = getPublicIngressControllerR
|
|
|
42
42
|
const publicIngressControllerRevokeSession = async (id, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getPublicIngressControllerRevokeSessionUrl)(id), {
|
|
44
44
|
...options,
|
|
45
|
-
method: 'POST'
|
|
45
|
+
method: 'POST'
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
exports.publicIngressControllerRevokeSession = publicIngressControllerRevokeSession;
|
|
@@ -58,7 +58,7 @@ const publicIngressControllerOidcAuthenticate = async (appSlug, oidcAuthDto, opt
|
|
|
58
58
|
...options,
|
|
59
59
|
method: 'POST',
|
|
60
60
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
61
|
-
body: JSON.stringify(oidcAuthDto)
|
|
61
|
+
body: JSON.stringify(oidcAuthDto)
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
exports.publicIngressControllerOidcAuthenticate = publicIngressControllerOidcAuthenticate;
|
|
@@ -74,7 +74,7 @@ const publicIngressControllerRequestMagicLink = async (appSlug, requestMagicLink
|
|
|
74
74
|
...options,
|
|
75
75
|
method: 'POST',
|
|
76
76
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
77
|
-
body: JSON.stringify(requestMagicLinkDto)
|
|
77
|
+
body: JSON.stringify(requestMagicLinkDto)
|
|
78
78
|
});
|
|
79
79
|
};
|
|
80
80
|
exports.publicIngressControllerRequestMagicLink = publicIngressControllerRequestMagicLink;
|
|
@@ -90,7 +90,7 @@ const publicIngressControllerVerifyMagicLink = async (appSlug, verifyMagicLinkDt
|
|
|
90
90
|
...options,
|
|
91
91
|
method: 'POST',
|
|
92
92
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
93
|
-
body: JSON.stringify(verifyMagicLinkDto)
|
|
93
|
+
body: JSON.stringify(verifyMagicLinkDto)
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
96
|
exports.publicIngressControllerVerifyMagicLink = publicIngressControllerVerifyMagicLink;
|
|
@@ -106,7 +106,7 @@ const publicIngressControllerAnonAuthenticate = async (appSlug, anonAuthDto, opt
|
|
|
106
106
|
...options,
|
|
107
107
|
method: 'POST',
|
|
108
108
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
109
|
-
body: JSON.stringify(anonAuthDto)
|
|
109
|
+
body: JSON.stringify(anonAuthDto)
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
exports.publicIngressControllerAnonAuthenticate = publicIngressControllerAnonAuthenticate;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig
|
|
1
|
+
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
|
|
2
2
|
export * from './models';
|
|
3
3
|
export * from './endpoints/delegated-sessions/delegated-sessions';
|
|
4
4
|
export * from './endpoints/project-apps/project-apps';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* App Runtime API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
export type AppReleaseState =
|
|
8
|
+
export type AppReleaseState = typeof AppReleaseState[keyof typeof AppReleaseState];
|
|
9
9
|
export declare const AppReleaseState: {
|
|
10
10
|
readonly preparing: "preparing";
|
|
11
11
|
readonly prepared: "prepared";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* App Runtime API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
export type AudienceKind =
|
|
8
|
+
export type AudienceKind = typeof AudienceKind[keyof typeof AudienceKind];
|
|
9
9
|
export declare const AudienceKind: {
|
|
10
10
|
readonly 'internal-org': "internal-org";
|
|
11
11
|
readonly 'external-subject': "external-subject";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* App Runtime API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
export type AudienceUpstreamType =
|
|
8
|
+
export type AudienceUpstreamType = typeof AudienceUpstreamType[keyof typeof AudienceUpstreamType];
|
|
9
9
|
export declare const AudienceUpstreamType: {
|
|
10
10
|
readonly oidc: "oidc";
|
|
11
11
|
readonly 'magic-link': "magic-link";
|
|
@@ -14,9 +14,9 @@ export interface CreateProjectAppDto {
|
|
|
14
14
|
/** Stable slug unique within (orgId, projectId) for project apps, or (orgId) for portals. */
|
|
15
15
|
slug: string;
|
|
16
16
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
* Project id. Null or absent for org-scoped portals.
|
|
18
|
+
* @nullable
|
|
19
|
+
*/
|
|
20
20
|
projectId?: CreateProjectAppDtoProjectId;
|
|
21
21
|
displayName: string;
|
|
22
22
|
/** Default ExecutionEnvironment slug (e.g. `public-session`). */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* App Runtime API extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
export type DelegatedSessionStatus =
|
|
8
|
+
export type DelegatedSessionStatus = typeof DelegatedSessionStatus[keyof typeof DelegatedSessionStatus];
|
|
9
9
|
export declare const DelegatedSessionStatus: {
|
|
10
10
|
readonly active: "active";
|
|
11
11
|
readonly expired: "expired";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Provisioning ownership marker. `iac` = managed by the declarative control plane (Terraform / xema.yaml); `seeder` = a distribution default; `ui` = hand-managed (or adopted from iac/seeder via a UI edit); `system` = platform-shipped; null = unmanaged/legacy. Lets a console badge an IaC-owned resource and surface an "export as code" affordance.
|
|
10
10
|
*/
|
|
11
|
-
export type ResourceManagedBy =
|
|
11
|
+
export type ResourceManagedBy = typeof ResourceManagedBy[keyof typeof ResourceManagedBy];
|
|
12
12
|
export declare const ResourceManagedBy: {
|
|
13
13
|
readonly ui: "ui";
|
|
14
14
|
readonly iac: "iac";
|
|
@@ -8,11 +8,9 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Portal visibility. `org-shared` = all org members; `explicit-share` = only the listed shares.
|
|
10
10
|
*/
|
|
11
|
-
export type ResourceVisibilityPattern =
|
|
11
|
+
export type ResourceVisibilityPattern = typeof ResourceVisibilityPattern[keyof typeof ResourceVisibilityPattern];
|
|
12
12
|
export declare const ResourceVisibilityPattern: {
|
|
13
13
|
readonly 'owner-only': "owner-only";
|
|
14
14
|
readonly 'org-shared': "org-shared";
|
|
15
|
-
readonly 'project-shared': "project-shared";
|
|
16
|
-
readonly 'space-shared': "space-shared";
|
|
17
15
|
readonly 'explicit-share': "explicit-share";
|
|
18
16
|
};
|
|
@@ -11,7 +11,5 @@ exports.ResourceVisibilityPattern = void 0;
|
|
|
11
11
|
exports.ResourceVisibilityPattern = {
|
|
12
12
|
'owner-only': 'owner-only',
|
|
13
13
|
'org-shared': 'org-shared',
|
|
14
|
-
'project-shared': 'project-shared',
|
|
15
|
-
'space-shared': 'space-shared',
|
|
16
14
|
'explicit-share': 'explicit-share',
|
|
17
15
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Subject kind the share targets (portals use `user` or `group`).
|
|
10
10
|
*/
|
|
11
|
-
export type SubjectKind =
|
|
11
|
+
export type SubjectKind = typeof SubjectKind[keyof typeof SubjectKind];
|
|
12
12
|
export declare const SubjectKind: {
|
|
13
13
|
readonly user: "user";
|
|
14
14
|
readonly agent: "agent";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* The minted token class. Always `external_session_token` for a delegated session — a consumer edge can enforce it via `@RequireTokenClass(TokenClass.ExternalSessionToken)`.
|
|
10
10
|
*/
|
|
11
|
-
export type TokenClass =
|
|
11
|
+
export type TokenClass = typeof TokenClass[keyof typeof TokenClass];
|
|
12
12
|
export declare const TokenClass: {
|
|
13
13
|
readonly user_jwt: "user_jwt";
|
|
14
14
|
readonly service_jwt: "service_jwt";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/app-platform-api-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"service": "app-platform-api",
|
|
21
21
|
"biome": "app-platform",
|
|
22
22
|
"target": "server",
|
|
23
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
23
|
+
"generator": "@xemahq/api-client-generator@0.3.0",
|
|
24
24
|
"source": "openapi.public.json"
|
|
25
25
|
},
|
|
26
26
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"bugs": "https://github.com/xema-dev/xema-community/issues",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "git+https://github.com/xema-dev/xema-
|
|
32
|
+
"url": "git+https://github.com/xema-dev/xema-base.git",
|
|
33
33
|
"directory": "packages/clients/app-platform-api"
|
|
34
34
|
},
|
|
35
35
|
"description": "Generated public API client for the Xema app-platform-api service.",
|