@xemahq/app-runtime-internal-api-client 0.1.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/LICENSE +201 -0
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +48 -0
- package/dist/custom-fetch.js +146 -0
- package/dist/endpoints/app-clients/app-clients.d.ts +28 -0
- package/dist/endpoints/app-clients/app-clients.js +62 -0
- package/dist/endpoints/apps/apps.d.ts +43 -0
- package/dist/endpoints/apps/apps.js +125 -0
- package/dist/endpoints/audience-policies/audience-policies.d.ts +28 -0
- package/dist/endpoints/audience-policies/audience-policies.js +64 -0
- package/dist/endpoints/delegated-sessions/delegated-sessions.d.ts +13 -0
- package/dist/endpoints/delegated-sessions/delegated-sessions.js +20 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +28 -0
- package/dist/models/appClientDto.d.ts +19 -0
- package/dist/models/appClientDto.js +2 -0
- package/dist/models/appClientDtoRevokedAt.d.ts +13 -0
- package/dist/models/appClientDtoRevokedAt.js +9 -0
- package/dist/models/appDto.d.ts +36 -0
- package/dist/models/appDto.js +2 -0
- package/dist/models/appLockfileDto.d.ts +25 -0
- package/dist/models/appLockfileDto.js +2 -0
- package/dist/models/appLockfileDtoAgents.d.ts +10 -0
- package/dist/models/appLockfileDtoAgents.js +9 -0
- package/dist/models/appLockfileDtoBiomes.d.ts +13 -0
- package/dist/models/appLockfileDtoBiomes.js +9 -0
- package/dist/models/appLockfileDtoCapabilities.d.ts +13 -0
- package/dist/models/appLockfileDtoCapabilities.js +9 -0
- package/dist/models/appLockfileDtoDeliverableSpecs.d.ts +10 -0
- package/dist/models/appLockfileDtoDeliverableSpecs.js +9 -0
- package/dist/models/appLockfileDtoSkills.d.ts +10 -0
- package/dist/models/appLockfileDtoSkills.js +9 -0
- package/dist/models/appLockfileDtoWorkflows.d.ts +10 -0
- package/dist/models/appLockfileDtoWorkflows.js +9 -0
- package/dist/models/appsControllerListParams.d.ts +13 -0
- package/dist/models/appsControllerListParams.js +9 -0
- package/dist/models/audienceKind.d.ts +13 -0
- package/dist/models/audienceKind.js +15 -0
- package/dist/models/audiencePolicyDto.d.ts +21 -0
- package/dist/models/audiencePolicyDto.js +2 -0
- package/dist/models/audiencePolicyDtoRateLimitPerHourPerSubject.d.ts +13 -0
- package/dist/models/audiencePolicyDtoRateLimitPerHourPerSubject.js +9 -0
- package/dist/models/audienceUpstreamDto.d.ts +13 -0
- package/dist/models/audienceUpstreamDto.js +2 -0
- package/dist/models/audienceUpstreamDtoMetadata.d.ts +10 -0
- package/dist/models/audienceUpstreamDtoMetadata.js +9 -0
- package/dist/models/audienceUpstreamType.d.ts +13 -0
- package/dist/models/audienceUpstreamType.js +15 -0
- package/dist/models/biomeInstallDto.d.ts +16 -0
- package/dist/models/biomeInstallDto.js +2 -0
- package/dist/models/biomeInstallDtoConfiguration.d.ts +13 -0
- package/dist/models/biomeInstallDtoConfiguration.js +9 -0
- package/dist/models/brandingConfigDto.d.ts +18 -0
- package/dist/models/brandingConfigDto.js +2 -0
- package/dist/models/brandingConfigDtoCssTokens.d.ts +13 -0
- package/dist/models/brandingConfigDtoCssTokens.js +9 -0
- package/dist/models/capabilityPolicyOverrideDto.d.ts +16 -0
- package/dist/models/capabilityPolicyOverrideDto.js +9 -0
- package/dist/models/createAppClientDto.d.ts +12 -0
- package/dist/models/createAppClientDto.js +9 -0
- package/dist/models/createAppDto.d.ts +34 -0
- package/dist/models/createAppDto.js +2 -0
- package/dist/models/createAppDtoProjectId.d.ts +14 -0
- package/dist/models/createAppDtoProjectId.js +9 -0
- package/dist/models/createAudiencePolicyDto.d.ts +17 -0
- package/dist/models/createAudiencePolicyDto.js +2 -0
- package/dist/models/createdAppClientDto.d.ts +21 -0
- package/dist/models/createdAppClientDto.js +2 -0
- package/dist/models/createdAppClientDtoRevokedAt.d.ts +13 -0
- package/dist/models/createdAppClientDtoRevokedAt.js +9 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +51 -0
- package/dist/models/mintForInviteRequestDto.d.ts +19 -0
- package/dist/models/mintForInviteRequestDto.js +9 -0
- package/dist/models/mintForInviteResponseDto.d.ts +13 -0
- package/dist/models/mintForInviteResponseDto.js +9 -0
- package/dist/models/resourceManagedBy.d.ts +17 -0
- package/dist/models/resourceManagedBy.js +16 -0
- package/dist/models/updateAppDto.d.ts +23 -0
- package/dist/models/updateAppDto.js +2 -0
- package/dist/models/updateAudiencePolicyDto.d.ts +15 -0
- package/dist/models/updateAudiencePolicyDto.js +2 -0
- package/dist/models/updateAudiencePolicyDtoRateLimitPerHourPerSubject.d.ts +13 -0
- package/dist/models/updateAudiencePolicyDtoRateLimitPerHourPerSubject.js +9 -0
- package/package.json +38 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AudienceUpstreamDtoMetadata } from './audienceUpstreamDtoMetadata.js';
|
|
9
|
+
import type { AudienceUpstreamType } from './audienceUpstreamType.js';
|
|
10
|
+
export interface AudienceUpstreamDto {
|
|
11
|
+
type: AudienceUpstreamType;
|
|
12
|
+
metadata?: AudienceUpstreamDtoMetadata;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type AudienceUpstreamType = typeof AudienceUpstreamType[keyof typeof AudienceUpstreamType];
|
|
9
|
+
export declare const AudienceUpstreamType: {
|
|
10
|
+
readonly oidc: "oidc";
|
|
11
|
+
readonly 'magic-link': "magic-link";
|
|
12
|
+
readonly anon: "anon";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* App Runtime API
|
|
6
|
+
* App Runtime API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.AudienceUpstreamType = void 0;
|
|
11
|
+
exports.AudienceUpstreamType = {
|
|
12
|
+
oidc: 'oidc',
|
|
13
|
+
'magic-link': 'magic-link',
|
|
14
|
+
anon: 'anon',
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BiomeInstallDtoConfiguration } from './biomeInstallDtoConfiguration.js';
|
|
9
|
+
export interface BiomeInstallDto {
|
|
10
|
+
/** Canonical XemaObjectRef for the biome (e.g. `xema://system/biome/document-buddy`). */
|
|
11
|
+
biomeRef: string;
|
|
12
|
+
/** Semver-range string (`^1.2.0`, `~1.2.0`, `1.2.0`, `latest-compatible`). */
|
|
13
|
+
versionConstraint: string;
|
|
14
|
+
/** Free-form per-install configuration the biome consumes. */
|
|
15
|
+
configuration?: BiomeInstallDtoConfiguration;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Free-form per-install configuration the biome consumes.
|
|
10
|
+
*/
|
|
11
|
+
export type BiomeInstallDtoConfiguration = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BrandingConfigDtoCssTokens } from './brandingConfigDtoCssTokens.js';
|
|
9
|
+
export interface BrandingConfigDto {
|
|
10
|
+
/** Human-readable App label shown to audiences. */
|
|
11
|
+
displayName: string;
|
|
12
|
+
/** Public logo URL. */
|
|
13
|
+
logoUrl?: string;
|
|
14
|
+
/** Primary brand color in `#rgb`, `#rrggbb`, `#rrggbbaa`, `rgb()`, or `rgba()` form. */
|
|
15
|
+
primaryColor?: string;
|
|
16
|
+
/** Free-form CSS custom-property tokens (without leading `--`). */
|
|
17
|
+
cssTokens?: BrandingConfigDtoCssTokens;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Free-form CSS custom-property tokens (without leading `--`).
|
|
10
|
+
*/
|
|
11
|
+
export type BrandingConfigDtoCssTokens = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface CapabilityPolicyOverrideDto {
|
|
9
|
+
/** Canonical CapabilityRef (e.g. `kb:page.read@1`). */
|
|
10
|
+
capability: string;
|
|
11
|
+
allowedResources?: string[];
|
|
12
|
+
/** ExecutionEnvironmentRef slugs the capability is narrowed to. */
|
|
13
|
+
allowedEnvironments?: string[];
|
|
14
|
+
/** Per-App rate cap. */
|
|
15
|
+
rateLimit?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateAppClientDto {
|
|
9
|
+
displayName?: string;
|
|
10
|
+
/** OAuth-style redirect URI allow-list. */
|
|
11
|
+
redirectUris?: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AppLockfileDto } from './appLockfileDto.js';
|
|
9
|
+
import type { BiomeInstallDto } from './biomeInstallDto.js';
|
|
10
|
+
import type { BrandingConfigDto } from './brandingConfigDto.js';
|
|
11
|
+
import type { CapabilityPolicyOverrideDto } from './capabilityPolicyOverrideDto.js';
|
|
12
|
+
import type { CreateAppDtoProjectId } from './createAppDtoProjectId.js';
|
|
13
|
+
export interface CreateAppDto {
|
|
14
|
+
/** Stable slug unique within (orgId, projectId) for project apps, or (orgId) for portals. */
|
|
15
|
+
slug: string;
|
|
16
|
+
orgId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Project id. Null or absent for org-scoped portals.
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
|
+
projectId?: CreateAppDtoProjectId;
|
|
22
|
+
displayName: string;
|
|
23
|
+
/** Default ExecutionEnvironment slug (e.g. `public-session`). */
|
|
24
|
+
defaultZone: string;
|
|
25
|
+
branding: BrandingConfigDto;
|
|
26
|
+
lockfile: AppLockfileDto;
|
|
27
|
+
installedBiomes: BiomeInstallDto[];
|
|
28
|
+
capabilityPolicy: CapabilityPolicyOverrideDto[];
|
|
29
|
+
/** @nullable */
|
|
30
|
+
subdomain?: string | null;
|
|
31
|
+
subdomainEnabled?: boolean;
|
|
32
|
+
defaultAudience?: string;
|
|
33
|
+
archived?: boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Project id. Null or absent for org-scoped portals.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type CreateAppDtoProjectId = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AudienceKind } from './audienceKind.js';
|
|
9
|
+
import type { AudienceUpstreamDto } from './audienceUpstreamDto.js';
|
|
10
|
+
export interface CreateAudiencePolicyDto {
|
|
11
|
+
kind: AudienceKind;
|
|
12
|
+
/** ExecutionEnvironmentRef slugs this audience may invoke. Required. */
|
|
13
|
+
allowedEnvironments: string[];
|
|
14
|
+
authUpstream?: AudienceUpstreamDto;
|
|
15
|
+
/** Rate cap (calls/hour/subject). */
|
|
16
|
+
rateLimitPerHourPerSubject?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CreatedAppClientDtoRevokedAt } from './createdAppClientDtoRevokedAt.js';
|
|
9
|
+
export interface CreatedAppClientDto {
|
|
10
|
+
id: string;
|
|
11
|
+
appId: string;
|
|
12
|
+
clientId: string;
|
|
13
|
+
displayName?: string;
|
|
14
|
+
redirectUris: string[];
|
|
15
|
+
/** @nullable */
|
|
16
|
+
revokedAt?: CreatedAppClientDtoRevokedAt;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
/** Plain-text client secret. Returned ONCE at issue time. Persist this securely; the service stores only a hash and CANNOT recover it. */
|
|
20
|
+
clientSecret: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type CreatedAppClientDtoRevokedAt = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * from './appClientDto';
|
|
2
|
+
export * from './appClientDtoRevokedAt';
|
|
3
|
+
export * from './appDto';
|
|
4
|
+
export * from './appLockfileDto';
|
|
5
|
+
export * from './appLockfileDtoAgents';
|
|
6
|
+
export * from './appLockfileDtoBiomes';
|
|
7
|
+
export * from './appLockfileDtoCapabilities';
|
|
8
|
+
export * from './appLockfileDtoDeliverableSpecs';
|
|
9
|
+
export * from './appLockfileDtoSkills';
|
|
10
|
+
export * from './appLockfileDtoWorkflows';
|
|
11
|
+
export * from './appsControllerListParams';
|
|
12
|
+
export * from './audienceKind';
|
|
13
|
+
export * from './audiencePolicyDto';
|
|
14
|
+
export * from './audiencePolicyDtoRateLimitPerHourPerSubject';
|
|
15
|
+
export * from './audienceUpstreamDto';
|
|
16
|
+
export * from './audienceUpstreamDtoMetadata';
|
|
17
|
+
export * from './audienceUpstreamType';
|
|
18
|
+
export * from './biomeInstallDto';
|
|
19
|
+
export * from './biomeInstallDtoConfiguration';
|
|
20
|
+
export * from './brandingConfigDto';
|
|
21
|
+
export * from './brandingConfigDtoCssTokens';
|
|
22
|
+
export * from './capabilityPolicyOverrideDto';
|
|
23
|
+
export * from './createAppClientDto';
|
|
24
|
+
export * from './createAppDto';
|
|
25
|
+
export * from './createAppDtoProjectId';
|
|
26
|
+
export * from './createAudiencePolicyDto';
|
|
27
|
+
export * from './createdAppClientDto';
|
|
28
|
+
export * from './createdAppClientDtoRevokedAt';
|
|
29
|
+
export * from './mintForInviteRequestDto';
|
|
30
|
+
export * from './mintForInviteResponseDto';
|
|
31
|
+
export * from './resourceManagedBy';
|
|
32
|
+
export * from './updateAppDto';
|
|
33
|
+
export * from './updateAudiencePolicyDto';
|
|
34
|
+
export * from './updateAudiencePolicyDtoRateLimitPerHourPerSubject';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
+
__exportStar(require("./appClientDto"), exports);
|
|
19
|
+
__exportStar(require("./appClientDtoRevokedAt"), exports);
|
|
20
|
+
__exportStar(require("./appDto"), exports);
|
|
21
|
+
__exportStar(require("./appLockfileDto"), exports);
|
|
22
|
+
__exportStar(require("./appLockfileDtoAgents"), exports);
|
|
23
|
+
__exportStar(require("./appLockfileDtoBiomes"), exports);
|
|
24
|
+
__exportStar(require("./appLockfileDtoCapabilities"), exports);
|
|
25
|
+
__exportStar(require("./appLockfileDtoDeliverableSpecs"), exports);
|
|
26
|
+
__exportStar(require("./appLockfileDtoSkills"), exports);
|
|
27
|
+
__exportStar(require("./appLockfileDtoWorkflows"), exports);
|
|
28
|
+
__exportStar(require("./appsControllerListParams"), exports);
|
|
29
|
+
__exportStar(require("./audienceKind"), exports);
|
|
30
|
+
__exportStar(require("./audiencePolicyDto"), exports);
|
|
31
|
+
__exportStar(require("./audiencePolicyDtoRateLimitPerHourPerSubject"), exports);
|
|
32
|
+
__exportStar(require("./audienceUpstreamDto"), exports);
|
|
33
|
+
__exportStar(require("./audienceUpstreamDtoMetadata"), exports);
|
|
34
|
+
__exportStar(require("./audienceUpstreamType"), exports);
|
|
35
|
+
__exportStar(require("./biomeInstallDto"), exports);
|
|
36
|
+
__exportStar(require("./biomeInstallDtoConfiguration"), exports);
|
|
37
|
+
__exportStar(require("./brandingConfigDto"), exports);
|
|
38
|
+
__exportStar(require("./brandingConfigDtoCssTokens"), exports);
|
|
39
|
+
__exportStar(require("./capabilityPolicyOverrideDto"), exports);
|
|
40
|
+
__exportStar(require("./createAppClientDto"), exports);
|
|
41
|
+
__exportStar(require("./createAppDto"), exports);
|
|
42
|
+
__exportStar(require("./createAppDtoProjectId"), exports);
|
|
43
|
+
__exportStar(require("./createAudiencePolicyDto"), exports);
|
|
44
|
+
__exportStar(require("./createdAppClientDto"), exports);
|
|
45
|
+
__exportStar(require("./createdAppClientDtoRevokedAt"), exports);
|
|
46
|
+
__exportStar(require("./mintForInviteRequestDto"), exports);
|
|
47
|
+
__exportStar(require("./mintForInviteResponseDto"), exports);
|
|
48
|
+
__exportStar(require("./resourceManagedBy"), exports);
|
|
49
|
+
__exportStar(require("./updateAppDto"), exports);
|
|
50
|
+
__exportStar(require("./updateAudiencePolicyDto"), exports);
|
|
51
|
+
__exportStar(require("./updateAudiencePolicyDtoRateLimitPerHourPerSubject"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface MintForInviteRequestDto {
|
|
9
|
+
/** AppClient row id (i.e. `AppClientDto.id`). The session row that originates the invite carries this on `Session.appClientId`. The service resolves the App + AudiencePolicy from this id; no clientSecret is required (the caller is a Xema service). */
|
|
10
|
+
appClientId: string;
|
|
11
|
+
/** External subject id (opaque, app-defined). A hashed `external-user:` subjectRef is derived from this string for the token `sub` claim. */
|
|
12
|
+
externalSubjectId: string;
|
|
13
|
+
/** Display name persisted on the participant row. */
|
|
14
|
+
displayName: string;
|
|
15
|
+
/** Capability refs to grant in the minted token. The caller (the inviting service) is responsible for asserting these are within the App AudiencePolicy. The mint endpoint logs the full capability list. */
|
|
16
|
+
capabilities: string[];
|
|
17
|
+
/** Optional ExecutionEnvironment slug. Defaults to the App `defaultZone`. Must be in the resolved AudiencePolicy.allowedEnvironments[]. */
|
|
18
|
+
requestedZone?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface MintForInviteResponseDto {
|
|
9
|
+
accessToken: string;
|
|
10
|
+
expiresAt: string;
|
|
11
|
+
sessionId: string;
|
|
12
|
+
subjectRef: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
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
|
+
*/
|
|
11
|
+
export type ResourceManagedBy = typeof ResourceManagedBy[keyof typeof ResourceManagedBy];
|
|
12
|
+
export declare const ResourceManagedBy: {
|
|
13
|
+
readonly ui: "ui";
|
|
14
|
+
readonly iac: "iac";
|
|
15
|
+
readonly seeder: "seeder";
|
|
16
|
+
readonly system: "system";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* App Runtime API
|
|
6
|
+
* App Runtime API extract (generated for client codegen).
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ResourceManagedBy = void 0;
|
|
11
|
+
exports.ResourceManagedBy = {
|
|
12
|
+
ui: 'ui',
|
|
13
|
+
iac: 'iac',
|
|
14
|
+
seeder: 'seeder',
|
|
15
|
+
system: 'system',
|
|
16
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AppLockfileDto } from './appLockfileDto.js';
|
|
9
|
+
import type { BiomeInstallDto } from './biomeInstallDto.js';
|
|
10
|
+
import type { BrandingConfigDto } from './brandingConfigDto.js';
|
|
11
|
+
import type { CapabilityPolicyOverrideDto } from './capabilityPolicyOverrideDto.js';
|
|
12
|
+
export interface UpdateAppDto {
|
|
13
|
+
displayName?: string;
|
|
14
|
+
defaultZone?: string;
|
|
15
|
+
branding?: BrandingConfigDto;
|
|
16
|
+
lockfile?: AppLockfileDto;
|
|
17
|
+
installedBiomes?: BiomeInstallDto[];
|
|
18
|
+
capabilityPolicy?: CapabilityPolicyOverrideDto[];
|
|
19
|
+
/** @nullable */
|
|
20
|
+
subdomain?: string | null;
|
|
21
|
+
subdomainEnabled?: boolean;
|
|
22
|
+
defaultAudience?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AudienceUpstreamDto } from './audienceUpstreamDto.js';
|
|
9
|
+
import type { UpdateAudiencePolicyDtoRateLimitPerHourPerSubject } from './updateAudiencePolicyDtoRateLimitPerHourPerSubject.js';
|
|
10
|
+
export interface UpdateAudiencePolicyDto {
|
|
11
|
+
allowedEnvironments?: string[];
|
|
12
|
+
authUpstream?: AudienceUpstreamDto | null;
|
|
13
|
+
/** @nullable */
|
|
14
|
+
rateLimitPerHourPerSubject?: UpdateAudiencePolicyDtoRateLimitPerHourPerSubject;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* App Runtime API extract (generated for client codegen).
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateAudiencePolicyDtoRateLimitPerHourPerSubject = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
} | null;
|