@xemahq/authorization-internal-api-client 0.9.3 → 0.10.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 +1 -1
- package/dist/custom-fetch.d.ts +15 -1
- package/dist/custom-fetch.js +9 -8
- package/dist/endpoints/agents/agents.d.ts +8 -2
- package/dist/endpoints/agents/agents.js +19 -2
- package/dist/endpoints/authorization-biome-facts/authorization-biome-facts.d.ts +12 -0
- package/dist/endpoints/authorization-biome-facts/authorization-biome-facts.js +21 -0
- package/dist/endpoints/capability-authority-requests/capability-authority-requests.d.ts +3 -3
- package/dist/endpoints/capability-authority-requests/capability-authority-requests.js +4 -23
- package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
- package/dist/endpoints/contribution-sync/contribution-sync.js +12 -1
- package/dist/endpoints/durable-delegations/durable-delegations.d.ts +24 -4
- package/dist/endpoints/durable-delegations/durable-delegations.js +71 -9
- package/dist/endpoints/environments/environments.d.ts +14 -17
- package/dist/endpoints/environments/environments.js +32 -103
- package/dist/endpoints/output-routes/output-routes.d.ts +11 -26
- package/dist/endpoints/output-routes/output-routes.js +27 -92
- package/dist/endpoints/teams/teams.d.ts +4 -38
- package/dist/endpoints/teams/teams.js +3 -125
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/models/{object.d.ts → bindChildCarrierDto.d.ts} +3 -2
- package/dist/models/biomeSignedFactsEntryDto.d.ts +21 -0
- package/dist/models/capabilityAuthorityRequestsControllerListForSubjectParams.d.ts +0 -1
- package/dist/models/createChildDurableDelegationDto.d.ts +27 -0
- package/dist/models/durableDelegationCarrierWindowDto.d.ts +17 -0
- package/dist/models/durableDelegationCarrierWindowDtoDataEnvelope.d.ts +9 -0
- package/dist/models/durableDelegationDto.d.ts +16 -2
- package/dist/models/durableDelegationEndReason.d.ts +3 -2
- package/dist/models/durableDelegationEndReason.js +3 -2
- package/dist/models/durableDelegationOwnerKind.d.ts +0 -1
- package/dist/models/durableDelegationOwnerKind.js +0 -1
- package/dist/models/index.d.ts +11 -44
- package/dist/models/index.js +11 -44
- package/dist/models/originateDurableDelegationDto.d.ts +35 -0
- package/dist/models/recordAgentReachTierRequestDto.d.ts +2 -3
- package/dist/models/recordGlobalAgentReachTierRequestDto.d.ts +15 -0
- package/dist/models/replaceBiomeFactsDto.d.ts +10 -0
- package/dist/models/{previewOutputRouteImpactDto.d.ts → reportCarrierWindowDto.d.ts} +3 -4
- package/dist/models/subjectKind.d.ts +3 -0
- package/dist/models/{credentialDefaultsControllerListParams.d.ts → teamOwnerDto.d.ts} +3 -2
- package/dist/models/{teamDtoDataArrayEnvelope.d.ts → teamOwnerDtoDataEnvelope.d.ts} +3 -3
- package/package.json +6 -3
- package/dist/endpoints/credential-defaults/credential-defaults.d.ts +0 -26
- package/dist/endpoints/credential-defaults/credential-defaults.js +0 -119
- package/dist/endpoints/profiles/profiles.d.ts +0 -12
- package/dist/endpoints/profiles/profiles.js +0 -19
- package/dist/endpoints/relationships/relationships.d.ts +0 -12
- package/dist/endpoints/relationships/relationships.js +0 -38
- package/dist/models/addTeamMemberDto.d.ts +0 -11
- package/dist/models/capabilityAuthorityRequestsControllerGetByIdParams.d.ts +0 -8
- package/dist/models/capabilityGrantRelation.d.ts +0 -13
- package/dist/models/capabilityGrantRelation.js +0 -12
- package/dist/models/createDurableDelegationDto.d.ts +0 -41
- package/dist/models/createTeamDto.d.ts +0 -22
- package/dist/models/credentialDefaultDto.d.ts +0 -21
- package/dist/models/credentialDefaultDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/credentialDefaultDtoDataEnvelope.d.ts +0 -9
- package/dist/models/credentialDefaultsControllerDeleteParams.d.ts +0 -19
- package/dist/models/credentialDefaultsControllerGetParams.d.ts +0 -19
- package/dist/models/environmentsControllerReleaseHistoryParams.d.ts +0 -9
- package/dist/models/environmentsControllerReleaseImpactParams.d.ts +0 -9
- package/dist/models/environmentsControllerReleaseImpactParams.js +0 -7
- package/dist/models/environmentsControllerRollbackParams.d.ts +0 -8
- package/dist/models/environmentsControllerRollbackParams.js +0 -7
- package/dist/models/executionEnvironmentReleaseHistoryDto.d.ts +0 -19
- package/dist/models/executionEnvironmentReleaseHistoryDto.js +0 -2
- package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/executionEnvironmentReleaseHistoryDtoDataArrayEnvelope.js +0 -2
- package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.d.ts +0 -11
- package/dist/models/executionEnvironmentReleaseHistoryDtoOperation.js +0 -13
- package/dist/models/executionEnvironmentReleaseImpactDto.d.ts +0 -14
- package/dist/models/executionEnvironmentReleaseImpactDto.js +0 -7
- package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/executionEnvironmentReleaseImpactDtoDataArrayEnvelope.js +0 -2
- package/dist/models/impactedOutputRouteConsumerDto.d.ts +0 -16
- package/dist/models/impactedOutputRouteConsumerDto.js +0 -7
- package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/impactedOutputRouteConsumerDtoDataArrayEnvelope.js +0 -2
- package/dist/models/object.js +0 -7
- package/dist/models/openFgaRelationshipDto.d.ts +0 -14
- package/dist/models/openFgaRelationshipDto.js +0 -2
- package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.d.ts +0 -11
- package/dist/models/openFgaRelationshipDtoPaginatedEnvelope.js +0 -2
- package/dist/models/outputRouteReleaseHistoryDto.d.ts +0 -24
- package/dist/models/outputRouteReleaseHistoryDto.js +0 -2
- package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/outputRouteReleaseHistoryDtoDataArrayEnvelope.js +0 -2
- package/dist/models/outputRouteReleaseHistoryDtoOperation.d.ts +0 -11
- package/dist/models/outputRouteReleaseHistoryDtoOperation.js +0 -13
- package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.d.ts +0 -13
- package/dist/models/outputRouteRevisionsControllerReleaseHistoryParams.js +0 -2
- package/dist/models/previewOutputRouteImpactDto.js +0 -7
- package/dist/models/profilePolicyTemplateDto.d.ts +0 -18
- package/dist/models/profilePolicyTemplateDto.js +0 -2
- package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/profilePolicyTemplateDtoDataArrayEnvelope.js +0 -2
- package/dist/models/profilePolicyTemplateDtoNotes.d.ts +0 -11
- package/dist/models/profilePolicyTemplateDtoNotes.js +0 -7
- package/dist/models/relationshipsControllerListParams.d.ts +0 -46
- package/dist/models/relationshipsControllerListParams.js +0 -2
- package/dist/models/resolveOutputRouteChannelDto.d.ts +0 -13
- package/dist/models/resolveOutputRouteChannelDto.js +0 -2
- package/dist/models/rollbackExecutionEnvironmentDto.d.ts +0 -14
- package/dist/models/rollbackExecutionEnvironmentDto.js +0 -7
- package/dist/models/teamDto.d.ts +0 -17
- package/dist/models/teamDto.js +0 -7
- package/dist/models/teamDtoDataArrayEnvelope.js +0 -2
- package/dist/models/teamDtoDataEnvelope.d.ts +0 -9
- package/dist/models/teamDtoDataEnvelope.js +0 -2
- package/dist/models/teamMembershipDto.d.ts +0 -13
- package/dist/models/teamMembershipDto.js +0 -2
- package/dist/models/teamMembershipDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/teamMembershipDtoDataArrayEnvelope.js +0 -2
- package/dist/models/teamMembershipDtoDataEnvelope.d.ts +0 -9
- package/dist/models/teamMembershipDtoDataEnvelope.js +0 -2
- package/dist/models/teamsControllerListParams.d.ts +0 -17
- package/dist/models/teamsControllerListParams.js +0 -7
- package/dist/models/updateTeamDto.d.ts +0 -15
- package/dist/models/updateTeamDto.js +0 -7
- package/dist/models/upsertCredentialDefaultDto.d.ts +0 -27
- package/dist/models/upsertCredentialDefaultDto.js +0 -7
- /package/dist/models/{capabilityAuthorityRequestsControllerGetByIdParams.js → bindChildCarrierDto.js} +0 -0
- /package/dist/models/{createTeamDto.js → biomeSignedFactsEntryDto.js} +0 -0
- /package/dist/models/{credentialDefaultDto.js → createChildDurableDelegationDto.js} +0 -0
- /package/dist/models/{credentialDefaultsControllerDeleteParams.js → durableDelegationCarrierWindowDto.js} +0 -0
- /package/dist/models/{addTeamMemberDto.js → durableDelegationCarrierWindowDtoDataEnvelope.js} +0 -0
- /package/dist/models/{credentialDefaultsControllerGetParams.js → originateDurableDelegationDto.js} +0 -0
- /package/dist/models/{createDurableDelegationDto.js → recordGlobalAgentReachTierRequestDto.js} +0 -0
- /package/dist/models/{credentialDefaultDtoDataArrayEnvelope.js → replaceBiomeFactsDto.js} +0 -0
- /package/dist/models/{credentialDefaultsControllerListParams.js → reportCarrierWindowDto.js} +0 -0
- /package/dist/models/{environmentsControllerReleaseHistoryParams.js → teamOwnerDto.js} +0 -0
- /package/dist/models/{credentialDefaultDtoDataEnvelope.js → teamOwnerDtoDataEnvelope.js} +0 -0
package/README.md
CHANGED
package/dist/custom-fetch.d.ts
CHANGED
|
@@ -56,6 +56,16 @@ export interface RetryNotice {
|
|
|
56
56
|
export interface ClientCallbackOptions {
|
|
57
57
|
signal?: AbortSignal;
|
|
58
58
|
}
|
|
59
|
+
/** What {@link ClientConfig.onUnauthorized} is told about the 401 it answers. */
|
|
60
|
+
export interface UnauthorizedContext {
|
|
61
|
+
/**
|
|
62
|
+
* The token `getAuthToken` returned for the attempt the server rejected.
|
|
63
|
+
* `undefined` when no `getAuthToken` produced the Authorization header
|
|
64
|
+
* (a header from `getHeaders` or no credential at all): there is then no
|
|
65
|
+
* client-held token to drop.
|
|
66
|
+
*/
|
|
67
|
+
readonly rejectedToken: string | undefined;
|
|
68
|
+
}
|
|
59
69
|
export interface ClientConfig {
|
|
60
70
|
/**
|
|
61
71
|
* Static base URL (e.g. 'http://localhost:3140') — no trailing slash.
|
|
@@ -102,8 +112,12 @@ export interface ClientConfig {
|
|
|
102
112
|
* Optional callback invoked on a 401 before ONE re-attempt. Supplying it is
|
|
103
113
|
* what opts this client into that re-attempt; without it a 401 comes back to
|
|
104
114
|
* the caller as a `ClientError` like any other 4xx.
|
|
115
|
+
*
|
|
116
|
+
* It is told WHAT was rejected (see {@link UnauthorizedContext}), so a
|
|
117
|
+
* callback that drops a cached credential can drop exactly that one and leave
|
|
118
|
+
* a newer one, minted by a concurrent request, alone.
|
|
105
119
|
*/
|
|
106
|
-
onUnauthorized?: () => Promise<void>;
|
|
120
|
+
onUnauthorized?: (context: UnauthorizedContext) => Promise<void>;
|
|
107
121
|
/**
|
|
108
122
|
* Re-attempts for a retryable status. **Defaults to 0 — no retry.**
|
|
109
123
|
*
|
package/dist/custom-fetch.js
CHANGED
|
@@ -325,11 +325,12 @@ async function buildHeaders(config, callerHeaders, signal) {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
// Auth token (caller or global headers take precedence)
|
|
328
|
+
let authToken;
|
|
328
329
|
if (config.getAuthToken && !headers.has('Authorization')) {
|
|
329
|
-
|
|
330
|
-
headers.set('Authorization', `Bearer ${
|
|
330
|
+
authToken = await raceAbort(config.getAuthToken(signal ? { signal } : undefined), signal);
|
|
331
|
+
headers.set('Authorization', `Bearer ${authToken}`);
|
|
331
332
|
}
|
|
332
|
-
return headers;
|
|
333
|
+
return { headers, authToken };
|
|
333
334
|
}
|
|
334
335
|
/*
|
|
335
336
|
* THE TRANSPORT RETURNS THE BODY UNCHANGED. Do not reintroduce an unwrap here.
|
|
@@ -371,8 +372,8 @@ const customFetch = async (url, options) => {
|
|
|
371
372
|
// re-sending would replay the identical failing request with the identical
|
|
372
373
|
// credential: one wasted round trip, plus a global refresh nobody asked for.
|
|
373
374
|
const callerSuppliedAuth = new Headers(options.headers).has('Authorization');
|
|
374
|
-
const
|
|
375
|
-
const requestInit = { ...options, headers };
|
|
375
|
+
const built = await buildHeaders(config, options.headers, signal);
|
|
376
|
+
const requestInit = { ...options, headers: built.headers };
|
|
376
377
|
let delay = BASE_BACKOFF_MS;
|
|
377
378
|
for (let attempt = 0;; attempt++) {
|
|
378
379
|
const response = await fetch(fullUrl, requestInit);
|
|
@@ -380,11 +381,11 @@ const customFetch = async (url, options) => {
|
|
|
380
381
|
config.onUnauthorized &&
|
|
381
382
|
!callerSuppliedAuth &&
|
|
382
383
|
attempt === 0) {
|
|
383
|
-
await raceAbort(config.onUnauthorized(), signal);
|
|
384
|
-
const
|
|
384
|
+
await raceAbort(config.onUnauthorized({ rejectedToken: built.authToken }), signal);
|
|
385
|
+
const refreshed = await buildHeaders(config, options.headers, signal);
|
|
385
386
|
const retryResponse = await fetch(fullUrl, {
|
|
386
387
|
...options,
|
|
387
|
-
headers:
|
|
388
|
+
headers: refreshed.headers,
|
|
388
389
|
});
|
|
389
390
|
const retryBody = await parseBody(retryResponse);
|
|
390
391
|
if (retryResponse.status >= 400) {
|
|
@@ -3,13 +3,19 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type { ProvisionAgentRequestDto, ProvisionAgentResultDtoDataEnvelope, RecordAgentReachTierRequestDto } from '../../models';
|
|
6
|
+
import type { ProvisionAgentRequestDto, ProvisionAgentResultDtoDataEnvelope, RecordAgentReachTierRequestDto, RecordGlobalAgentReachTierRequestDto } from '../../models';
|
|
7
7
|
export declare const getAgentsControllerRecordReachTierUrl: () => string;
|
|
8
8
|
/**
|
|
9
|
-
* Projects `(orgId, agentSlug) -> reachTier` into this service's own store, which is what the verdict path resolves an agent ceiling from.
|
|
9
|
+
* Projects `(orgId, agentSlug) -> reachTier` into this service's own store, which is what the verdict path resolves an agent ceiling from. `orgId` must be the org the relayed member proved; a GLOBALLY-owned agent is declared on `PUT /agents/reach-tier/global`. Idempotent (upsert on the key), so a re-save, a retry and a concurrent save from another replica all converge. Writes NO grant — that is `POST /agents/provision`, and keeping the two apart is the point: a ceiling is a restriction, a grant is an authority, and fusing them put the restriction behind the grant feature flag.
|
|
10
10
|
* @summary Record an agent's DECLARED reach-tier ceiling
|
|
11
11
|
*/
|
|
12
12
|
export declare const agentsControllerRecordReachTier: (recordAgentReachTierRequestDto: RecordAgentReachTierRequestDto, options?: RequestInit) => Promise<void>;
|
|
13
|
+
export declare const getAgentsControllerRecordGlobalReachTierUrl: () => string;
|
|
14
|
+
/**
|
|
15
|
+
* The platform-tier variant of `PUT /agents/reach-tier`: a GLOBALLY-owned agent (system-seeded or biome-contributed) has no owning org, its ceiling is stored slug-keyed and applies in every org (an org row always wins over it). Org-less and admitted on the LLM registry's own workload grant. Idempotent (upsert on the slug).
|
|
16
|
+
* @summary Record a globally-owned agent's DECLARED reach-tier ceiling
|
|
17
|
+
*/
|
|
18
|
+
export declare const agentsControllerRecordGlobalReachTier: (recordGlobalAgentReachTierRequestDto: RecordGlobalAgentReachTierRequestDto, options?: RequestInit) => Promise<void>;
|
|
13
19
|
export declare const getAgentsControllerProvisionUrl: () => string;
|
|
14
20
|
/**
|
|
15
21
|
* Auto-grants low/medium-risk, owner-held, non-approval-gated capabilities as full grants; writes everything else as approval-gated grants. Idempotent (each grant upserts on its natural tuple). Returns a summary for the Studio review UI.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.agentsControllerProvision = exports.getAgentsControllerProvisionUrl = exports.agentsControllerRecordReachTier = exports.getAgentsControllerRecordReachTierUrl = void 0;
|
|
3
|
+
exports.agentsControllerProvision = exports.getAgentsControllerProvisionUrl = exports.agentsControllerRecordGlobalReachTier = exports.getAgentsControllerRecordGlobalReachTierUrl = exports.agentsControllerRecordReachTier = exports.getAgentsControllerRecordReachTierUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getAgentsControllerRecordReachTierUrl = () => {
|
|
6
6
|
return `/agents/reach-tier`;
|
|
7
7
|
};
|
|
8
8
|
exports.getAgentsControllerRecordReachTierUrl = getAgentsControllerRecordReachTierUrl;
|
|
9
9
|
/**
|
|
10
|
-
* Projects `(orgId, agentSlug) -> reachTier` into this service's own store, which is what the verdict path resolves an agent ceiling from.
|
|
10
|
+
* Projects `(orgId, agentSlug) -> reachTier` into this service's own store, which is what the verdict path resolves an agent ceiling from. `orgId` must be the org the relayed member proved; a GLOBALLY-owned agent is declared on `PUT /agents/reach-tier/global`. Idempotent (upsert on the key), so a re-save, a retry and a concurrent save from another replica all converge. Writes NO grant — that is `POST /agents/provision`, and keeping the two apart is the point: a ceiling is a restriction, a grant is an authority, and fusing them put the restriction behind the grant feature flag.
|
|
11
11
|
* @summary Record an agent's DECLARED reach-tier ceiling
|
|
12
12
|
*/
|
|
13
13
|
const agentsControllerRecordReachTier = async (recordAgentReachTierRequestDto, options) => {
|
|
@@ -19,6 +19,23 @@ const agentsControllerRecordReachTier = async (recordAgentReachTierRequestDto, o
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
exports.agentsControllerRecordReachTier = agentsControllerRecordReachTier;
|
|
22
|
+
const getAgentsControllerRecordGlobalReachTierUrl = () => {
|
|
23
|
+
return `/agents/reach-tier/global`;
|
|
24
|
+
};
|
|
25
|
+
exports.getAgentsControllerRecordGlobalReachTierUrl = getAgentsControllerRecordGlobalReachTierUrl;
|
|
26
|
+
/**
|
|
27
|
+
* The platform-tier variant of `PUT /agents/reach-tier`: a GLOBALLY-owned agent (system-seeded or biome-contributed) has no owning org, its ceiling is stored slug-keyed and applies in every org (an org row always wins over it). Org-less and admitted on the LLM registry's own workload grant. Idempotent (upsert on the slug).
|
|
28
|
+
* @summary Record a globally-owned agent's DECLARED reach-tier ceiling
|
|
29
|
+
*/
|
|
30
|
+
const agentsControllerRecordGlobalReachTier = async (recordGlobalAgentReachTierRequestDto, options) => {
|
|
31
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAgentsControllerRecordGlobalReachTierUrl)(), {
|
|
32
|
+
...options,
|
|
33
|
+
method: 'PUT',
|
|
34
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
35
|
+
body: JSON.stringify(recordGlobalAgentReachTierRequestDto)
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
exports.agentsControllerRecordGlobalReachTier = agentsControllerRecordGlobalReachTier;
|
|
22
39
|
const getAgentsControllerProvisionUrl = () => {
|
|
23
40
|
return `/agents/provision`;
|
|
24
41
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { ReplaceBiomeFactsDto } from '../../models';
|
|
7
|
+
export declare const getBiomeFactsControllerReplaceUrl: () => string;
|
|
8
|
+
/**
|
|
9
|
+
* Full replace in one transaction. 400 when one service name is shipped by two biomes, or a biome appears twice; 403 for any caller but biome-host-api.
|
|
10
|
+
* @summary Replace the whole catalog's signed biome facts (biome-host only)
|
|
11
|
+
*/
|
|
12
|
+
export declare const biomeFactsControllerReplace: (replaceBiomeFactsDto: ReplaceBiomeFactsDto, options?: RequestInit) => Promise<void>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.biomeFactsControllerReplace = exports.getBiomeFactsControllerReplaceUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getBiomeFactsControllerReplaceUrl = () => {
|
|
6
|
+
return `/internal/biome-facts`;
|
|
7
|
+
};
|
|
8
|
+
exports.getBiomeFactsControllerReplaceUrl = getBiomeFactsControllerReplaceUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Full replace in one transaction. 400 when one service name is shipped by two biomes, or a biome appears twice; 403 for any caller but biome-host-api.
|
|
11
|
+
* @summary Replace the whole catalog's signed biome facts (biome-host only)
|
|
12
|
+
*/
|
|
13
|
+
const biomeFactsControllerReplace = async (replaceBiomeFactsDto, options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getBiomeFactsControllerReplaceUrl)(), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'PUT',
|
|
17
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
+
body: JSON.stringify(replaceBiomeFactsDto)
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
exports.biomeFactsControllerReplace = biomeFactsControllerReplace;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type { CapabilityAuthorityRequestDtoDataArrayEnvelope, CapabilityAuthorityRequestDtoDataEnvelope,
|
|
6
|
+
import type { CapabilityAuthorityRequestDtoDataArrayEnvelope, CapabilityAuthorityRequestDtoDataEnvelope, CapabilityAuthorityRequestsControllerListForSubjectParams, OpenCapabilityAuthorityRequestDto } from '../../models';
|
|
7
7
|
export declare const getCapabilityAuthorityRequestsControllerOpenUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* The organisation policy answers immediately with one of three dispositions. `auto-allow` means the grant already exists by the time this returns and the runtime may retry its invocation. `decision-required` means a human has been asked and the runtime must poll or wait — it is NOT a denial. `refuse` is terminal and carries a machine-readable reason. A request for a capability the subject already holds is a 409 rather than a silent no-op, and a second live request for the same capability is a 409 rather than a second question in front of an administrator.
|
|
@@ -16,9 +16,9 @@ export declare const getCapabilityAuthorityRequestsControllerListForSubjectUrl:
|
|
|
16
16
|
* @summary One subject's own authority requests
|
|
17
17
|
*/
|
|
18
18
|
export declare const capabilityAuthorityRequestsControllerListForSubject: (params: CapabilityAuthorityRequestsControllerListForSubjectParams, options?: RequestInit) => Promise<CapabilityAuthorityRequestDtoDataArrayEnvelope>;
|
|
19
|
-
export declare const getCapabilityAuthorityRequestsControllerGetByIdUrl: (id: string
|
|
19
|
+
export declare const getCapabilityAuthorityRequestsControllerGetByIdUrl: (id: string) => string;
|
|
20
20
|
/**
|
|
21
21
|
* The live status of an ask. Read from THIS plane's row; the decision's own lifecycle is decision-api's to report, and this service does not mirror it — a settled ask cannot show as pending here because the row is written by the same handler that acts on the answer.
|
|
22
22
|
* @summary One authority request
|
|
23
23
|
*/
|
|
24
|
-
export declare const capabilityAuthorityRequestsControllerGetById: (id: string,
|
|
24
|
+
export declare const capabilityAuthorityRequestsControllerGetById: (id: string, options?: RequestInit) => Promise<CapabilityAuthorityRequestDtoDataEnvelope>;
|
|
@@ -53,35 +53,16 @@ const capabilityAuthorityRequestsControllerListForSubject = async (params, optio
|
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
exports.capabilityAuthorityRequestsControllerListForSubject = capabilityAuthorityRequestsControllerListForSubject;
|
|
56
|
-
const getCapabilityAuthorityRequestsControllerGetByIdUrl = (id
|
|
57
|
-
|
|
58
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
59
|
-
if (value === undefined)
|
|
60
|
-
return;
|
|
61
|
-
if (value === null) {
|
|
62
|
-
normalizedParams.append(key, 'null');
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
if (Array.isArray(value)) {
|
|
66
|
-
for (const item of value) {
|
|
67
|
-
if (item === undefined || item === null)
|
|
68
|
-
continue;
|
|
69
|
-
normalizedParams.append(key, item.toString());
|
|
70
|
-
}
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
normalizedParams.append(key, value.toString());
|
|
74
|
-
});
|
|
75
|
-
const stringifiedParams = normalizedParams.toString();
|
|
76
|
-
return stringifiedParams.length > 0 ? `/internal/capability-authority-requests/${id}?${stringifiedParams}` : `/internal/capability-authority-requests/${id}`;
|
|
56
|
+
const getCapabilityAuthorityRequestsControllerGetByIdUrl = (id) => {
|
|
57
|
+
return `/internal/capability-authority-requests/${id}`;
|
|
77
58
|
};
|
|
78
59
|
exports.getCapabilityAuthorityRequestsControllerGetByIdUrl = getCapabilityAuthorityRequestsControllerGetByIdUrl;
|
|
79
60
|
/**
|
|
80
61
|
* The live status of an ask. Read from THIS plane's row; the decision's own lifecycle is decision-api's to report, and this service does not mirror it — a settled ask cannot show as pending here because the row is written by the same handler that acts on the answer.
|
|
81
62
|
* @summary One authority request
|
|
82
63
|
*/
|
|
83
|
-
const capabilityAuthorityRequestsControllerGetById = async (id,
|
|
84
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCapabilityAuthorityRequestsControllerGetByIdUrl)(id
|
|
64
|
+
const capabilityAuthorityRequestsControllerGetById = async (id, options) => {
|
|
65
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getCapabilityAuthorityRequestsControllerGetByIdUrl)(id), {
|
|
85
66
|
...options,
|
|
86
67
|
method: 'GET'
|
|
87
68
|
});
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare const getContributionSyncControllerSyncUrl: () => string;
|
|
2
2
|
export declare const contributionSyncControllerSync: (options?: RequestInit) => Promise<void>;
|
|
3
|
+
export declare const getContributionSyncControllerSyncOrgUrl: (orgId: string) => string;
|
|
4
|
+
export declare const contributionSyncControllerSyncOrg: (orgId: string, options?: RequestInit) => Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
|
|
3
|
+
exports.contributionSyncControllerSyncOrg = exports.getContributionSyncControllerSyncOrgUrl = exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
6
6
|
* Authorization API
|
|
@@ -18,3 +18,14 @@ const contributionSyncControllerSync = async (options) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.contributionSyncControllerSync = contributionSyncControllerSync;
|
|
21
|
+
const getContributionSyncControllerSyncOrgUrl = (orgId) => {
|
|
22
|
+
return `/contributions/orgs/${orgId}/sync`;
|
|
23
|
+
};
|
|
24
|
+
exports.getContributionSyncControllerSyncOrgUrl = getContributionSyncControllerSyncOrgUrl;
|
|
25
|
+
const contributionSyncControllerSyncOrg = async (orgId, options) => {
|
|
26
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncOrgUrl)(orgId), {
|
|
27
|
+
...options,
|
|
28
|
+
method: 'PUT'
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
exports.contributionSyncControllerSyncOrg = contributionSyncControllerSyncOrg;
|
|
@@ -3,17 +3,32 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
7
|
-
export declare const
|
|
6
|
+
import type { BindChildCarrierDto, CreateChildDurableDelegationDto, DurableDelegationCarrierWindowDtoDataEnvelope, DurableDelegationDtoDataEnvelope, OriginateDurableDelegationDto, ReportCarrierWindowDto } from '../../models';
|
|
7
|
+
export declare const getDurableDelegationsControllerOriginateUrl: () => string;
|
|
8
8
|
/**
|
|
9
|
-
* @summary
|
|
9
|
+
* @summary Originate the durable delegation an anchor type declares, for one anchor (A0, O1-O3, S0, C1, CEIL, I1, C2-C5)
|
|
10
10
|
*/
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const durableDelegationsControllerOriginate: (originateDurableDelegationDto: OriginateDurableDelegationDto, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
12
12
|
export declare const getDurableDelegationsControllerRevokeUrl: (id: string) => string;
|
|
13
13
|
/**
|
|
14
14
|
* @summary Revoke a durable delegation (terminal; the PDP denies from the commit)
|
|
15
15
|
*/
|
|
16
16
|
export declare const durableDelegationsControllerRevoke: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
17
|
+
export declare const getDurableDelegationsHolderControllerCreateChildUrl: (parentId: string) => string;
|
|
18
|
+
/**
|
|
19
|
+
* @summary Lend on, tighten-only, part of a delegation this workload holds (K1–K5)
|
|
20
|
+
*/
|
|
21
|
+
export declare const durableDelegationsHolderControllerCreateChild: (parentId: string, createChildDurableDelegationDto: CreateChildDurableDelegationDto, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
22
|
+
export declare const getDurableDelegationsHolderControllerBindChildCarrierUrl: (id: string) => string;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Bind the carrier the PARENT holder created for a child (CAS; the loser's carrier is revoked)
|
|
25
|
+
*/
|
|
26
|
+
export declare const durableDelegationsHolderControllerBindChildCarrier: (id: string, bindChildCarrierDto: BindChildCarrierDto, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
27
|
+
export declare const getDurableDelegationsHolderControllerReportCarrierWindowUrl: (id: string) => string;
|
|
28
|
+
/**
|
|
29
|
+
* @summary The PRESENTER reports its child carrier's window; answers the recorded window and the renewal ceiling
|
|
30
|
+
*/
|
|
31
|
+
export declare const durableDelegationsHolderControllerReportCarrierWindow: (id: string, reportCarrierWindowDto: ReportCarrierWindowDto, options?: RequestInit) => Promise<DurableDelegationCarrierWindowDtoDataEnvelope>;
|
|
17
32
|
export declare const getDurableDelegationsHolderControllerReadUrl: (id: string) => string;
|
|
18
33
|
/**
|
|
19
34
|
* @summary Read a durable delegation this workload holds
|
|
@@ -24,3 +39,8 @@ export declare const getDurableDelegationsHolderControllerRevokeUrl: (id: string
|
|
|
24
39
|
* @summary Stop a durable delegation this workload holds
|
|
25
40
|
*/
|
|
26
41
|
export declare const durableDelegationsHolderControllerRevoke: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
42
|
+
export declare const getDurableDelegationsSupersedeControllerSupersedeUrl: (id: string) => string;
|
|
43
|
+
/**
|
|
44
|
+
* @summary Supersede a durable delegation this workload holds: it ends at once, its carrier revoke is retried by authorization-api
|
|
45
|
+
*/
|
|
46
|
+
export declare const durableDelegationsSupersedeControllerSupersede: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.durableDelegationsHolderControllerRevoke = exports.getDurableDelegationsHolderControllerRevokeUrl = exports.durableDelegationsHolderControllerRead = exports.getDurableDelegationsHolderControllerReadUrl = exports.durableDelegationsControllerRevoke = exports.getDurableDelegationsControllerRevokeUrl = exports.
|
|
3
|
+
exports.durableDelegationsSupersedeControllerSupersede = exports.getDurableDelegationsSupersedeControllerSupersedeUrl = exports.durableDelegationsHolderControllerRevoke = exports.getDurableDelegationsHolderControllerRevokeUrl = exports.durableDelegationsHolderControllerRead = exports.getDurableDelegationsHolderControllerReadUrl = exports.durableDelegationsHolderControllerReportCarrierWindow = exports.getDurableDelegationsHolderControllerReportCarrierWindowUrl = exports.durableDelegationsHolderControllerBindChildCarrier = exports.getDurableDelegationsHolderControllerBindChildCarrierUrl = exports.durableDelegationsHolderControllerCreateChild = exports.getDurableDelegationsHolderControllerCreateChildUrl = exports.durableDelegationsControllerRevoke = exports.getDurableDelegationsControllerRevokeUrl = exports.durableDelegationsControllerOriginate = exports.getDurableDelegationsControllerOriginateUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const
|
|
6
|
-
return `/durable-delegations`;
|
|
5
|
+
const getDurableDelegationsControllerOriginateUrl = () => {
|
|
6
|
+
return `/durable-delegations/originate`;
|
|
7
7
|
};
|
|
8
|
-
exports.
|
|
8
|
+
exports.getDurableDelegationsControllerOriginateUrl = getDurableDelegationsControllerOriginateUrl;
|
|
9
9
|
/**
|
|
10
|
-
* @summary
|
|
10
|
+
* @summary Originate the durable delegation an anchor type declares, for one anchor (A0, O1-O3, S0, C1, CEIL, I1, C2-C5)
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.
|
|
12
|
+
const durableDelegationsControllerOriginate = async (originateDurableDelegationDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsControllerOriginateUrl)(), {
|
|
14
14
|
...options,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(
|
|
17
|
+
body: JSON.stringify(originateDurableDelegationDto)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
|
-
exports.
|
|
20
|
+
exports.durableDelegationsControllerOriginate = durableDelegationsControllerOriginate;
|
|
21
21
|
const getDurableDelegationsControllerRevokeUrl = (id) => {
|
|
22
22
|
return `/durable-delegations/${id}/revoke`;
|
|
23
23
|
};
|
|
@@ -32,6 +32,54 @@ const durableDelegationsControllerRevoke = async (id, options) => {
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.durableDelegationsControllerRevoke = durableDelegationsControllerRevoke;
|
|
35
|
+
const getDurableDelegationsHolderControllerCreateChildUrl = (parentId) => {
|
|
36
|
+
return `/internal/durable-delegations/${parentId}/children`;
|
|
37
|
+
};
|
|
38
|
+
exports.getDurableDelegationsHolderControllerCreateChildUrl = getDurableDelegationsHolderControllerCreateChildUrl;
|
|
39
|
+
/**
|
|
40
|
+
* @summary Lend on, tighten-only, part of a delegation this workload holds (K1–K5)
|
|
41
|
+
*/
|
|
42
|
+
const durableDelegationsHolderControllerCreateChild = async (parentId, createChildDurableDelegationDto, options) => {
|
|
43
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsHolderControllerCreateChildUrl)(parentId), {
|
|
44
|
+
...options,
|
|
45
|
+
method: 'POST',
|
|
46
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
47
|
+
body: JSON.stringify(createChildDurableDelegationDto)
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
exports.durableDelegationsHolderControllerCreateChild = durableDelegationsHolderControllerCreateChild;
|
|
51
|
+
const getDurableDelegationsHolderControllerBindChildCarrierUrl = (id) => {
|
|
52
|
+
return `/internal/durable-delegations/${id}/carrier`;
|
|
53
|
+
};
|
|
54
|
+
exports.getDurableDelegationsHolderControllerBindChildCarrierUrl = getDurableDelegationsHolderControllerBindChildCarrierUrl;
|
|
55
|
+
/**
|
|
56
|
+
* @summary Bind the carrier the PARENT holder created for a child (CAS; the loser's carrier is revoked)
|
|
57
|
+
*/
|
|
58
|
+
const durableDelegationsHolderControllerBindChildCarrier = async (id, bindChildCarrierDto, options) => {
|
|
59
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsHolderControllerBindChildCarrierUrl)(id), {
|
|
60
|
+
...options,
|
|
61
|
+
method: 'POST',
|
|
62
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
63
|
+
body: JSON.stringify(bindChildCarrierDto)
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
exports.durableDelegationsHolderControllerBindChildCarrier = durableDelegationsHolderControllerBindChildCarrier;
|
|
67
|
+
const getDurableDelegationsHolderControllerReportCarrierWindowUrl = (id) => {
|
|
68
|
+
return `/internal/durable-delegations/${id}/carrier/window`;
|
|
69
|
+
};
|
|
70
|
+
exports.getDurableDelegationsHolderControllerReportCarrierWindowUrl = getDurableDelegationsHolderControllerReportCarrierWindowUrl;
|
|
71
|
+
/**
|
|
72
|
+
* @summary The PRESENTER reports its child carrier's window; answers the recorded window and the renewal ceiling
|
|
73
|
+
*/
|
|
74
|
+
const durableDelegationsHolderControllerReportCarrierWindow = async (id, reportCarrierWindowDto, options) => {
|
|
75
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsHolderControllerReportCarrierWindowUrl)(id), {
|
|
76
|
+
...options,
|
|
77
|
+
method: 'POST',
|
|
78
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
79
|
+
body: JSON.stringify(reportCarrierWindowDto)
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
exports.durableDelegationsHolderControllerReportCarrierWindow = durableDelegationsHolderControllerReportCarrierWindow;
|
|
35
83
|
const getDurableDelegationsHolderControllerReadUrl = (id) => {
|
|
36
84
|
return `/internal/durable-delegations/${id}`;
|
|
37
85
|
};
|
|
@@ -60,3 +108,17 @@ const durableDelegationsHolderControllerRevoke = async (id, options) => {
|
|
|
60
108
|
});
|
|
61
109
|
};
|
|
62
110
|
exports.durableDelegationsHolderControllerRevoke = durableDelegationsHolderControllerRevoke;
|
|
111
|
+
const getDurableDelegationsSupersedeControllerSupersedeUrl = (id) => {
|
|
112
|
+
return `/internal/durable-delegations/${id}/supersede`;
|
|
113
|
+
};
|
|
114
|
+
exports.getDurableDelegationsSupersedeControllerSupersedeUrl = getDurableDelegationsSupersedeControllerSupersedeUrl;
|
|
115
|
+
/**
|
|
116
|
+
* @summary Supersede a durable delegation this workload holds: it ends at once, its carrier revoke is retried by authorization-api
|
|
117
|
+
*/
|
|
118
|
+
const durableDelegationsSupersedeControllerSupersede = async (id, options) => {
|
|
119
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsSupersedeControllerSupersedeUrl)(id), {
|
|
120
|
+
...options,
|
|
121
|
+
method: 'POST'
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
exports.durableDelegationsSupersedeControllerSupersede = durableDelegationsSupersedeControllerSupersede;
|
|
@@ -3,10 +3,22 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams,
|
|
6
|
+
import type { CreateExecutionEnvironmentDto, EnvironmentsControllerFindBySlugParams, EnvironmentsControllerListParams, EnvironmentsControllerRemoveParams, EnvironmentsControllerUpdateParams, ExecutionEnvironmentResponseDtoDataArrayEnvelope, ExecutionEnvironmentResponseDtoDataEnvelope, UpdateExecutionEnvironmentDto } from '../../models';
|
|
7
|
+
export declare const getBuiltInEnvironmentsControllerListBuiltInUrl: () => string;
|
|
8
|
+
/**
|
|
9
|
+
* Built-in (non-org) environments only; no org is read or accepted.
|
|
10
|
+
* @summary List the built-in ExecutionEnvironment rows
|
|
11
|
+
*/
|
|
12
|
+
export declare const builtInEnvironmentsControllerListBuiltIn: (options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataArrayEnvelope>;
|
|
13
|
+
export declare const getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl: (slug: string) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Resolves a built-in only; an org-custom slug is never returned. 404 if unknown.
|
|
16
|
+
* @summary Fetch one built-in ExecutionEnvironment by slug
|
|
17
|
+
*/
|
|
18
|
+
export declare const builtInEnvironmentsControllerFindBuiltInBySlug: (slug: string, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
7
19
|
export declare const getEnvironmentsControllerListUrl: (params?: EnvironmentsControllerListParams) => string;
|
|
8
20
|
/**
|
|
9
|
-
* Returns the kernel-seeded built-in environments
|
|
21
|
+
* Returns the kernel-seeded built-in environments plus the admitted org's custom environments; `orgId` must be the org the caller proved. The org-less built-ins-only read is `GET /environments/built-in`.
|
|
10
22
|
* @summary List ExecutionEnvironment rows
|
|
11
23
|
*/
|
|
12
24
|
export declare const environmentsControllerList: (params?: EnvironmentsControllerListParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataArrayEnvelope>;
|
|
@@ -16,21 +28,6 @@ export declare const getEnvironmentsControllerCreateUrl: () => string;
|
|
|
16
28
|
* @summary Create an org-custom ExecutionEnvironment
|
|
17
29
|
*/
|
|
18
30
|
export declare const environmentsControllerCreate: (createExecutionEnvironmentDto: CreateExecutionEnvironmentDto, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
19
|
-
export declare const getEnvironmentsControllerReleaseHistoryUrl: (slug: string, params?: EnvironmentsControllerReleaseHistoryParams) => string;
|
|
20
|
-
/**
|
|
21
|
-
* @summary List immutable generic ReleaseSet history for an Environment
|
|
22
|
-
*/
|
|
23
|
-
export declare const environmentsControllerReleaseHistory: (slug: string, params?: EnvironmentsControllerReleaseHistoryParams, options?: RequestInit) => Promise<ExecutionEnvironmentReleaseHistoryDtoDataArrayEnvelope>;
|
|
24
|
-
export declare const getEnvironmentsControllerReleaseImpactUrl: (slug: string, params?: EnvironmentsControllerReleaseImpactParams) => string;
|
|
25
|
-
/**
|
|
26
|
-
* @summary Preview reverse-transitive impact of the selected Environment release
|
|
27
|
-
*/
|
|
28
|
-
export declare const environmentsControllerReleaseImpact: (slug: string, params?: EnvironmentsControllerReleaseImpactParams, options?: RequestInit) => Promise<ExecutionEnvironmentReleaseImpactDtoDataArrayEnvelope>;
|
|
29
|
-
export declare const getEnvironmentsControllerRollbackUrl: (slug: string, params?: EnvironmentsControllerRollbackParams) => string;
|
|
30
|
-
/**
|
|
31
|
-
* @summary CAS-rollback an Environment channel to a prior ReleaseSet
|
|
32
|
-
*/
|
|
33
|
-
export declare const environmentsControllerRollback: (slug: string, rollbackExecutionEnvironmentDto: RollbackExecutionEnvironmentDto, params?: EnvironmentsControllerRollbackParams, options?: RequestInit) => Promise<ExecutionEnvironmentResponseDtoDataEnvelope>;
|
|
34
31
|
export declare const getEnvironmentsControllerFindBySlugUrl: (slug: string, params?: EnvironmentsControllerFindBySlugParams) => string;
|
|
35
32
|
/**
|
|
36
33
|
* Resolves a built-in by slug. With `orgId`, an org-custom slug resolves before the built-in fallback. 404 if unknown.
|