@xemahq/authorization-internal-api-client 0.9.1 → 0.9.3
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/dist/endpoints/durable-delegations/durable-delegations.d.ts +26 -0
- package/dist/endpoints/durable-delegations/durable-delegations.js +62 -0
- package/dist/endpoints/facts/facts.d.ts +11 -0
- package/dist/endpoints/facts/facts.js +20 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/createDurableDelegationDto.d.ts +41 -0
- package/dist/models/createDurableDelegationDto.js +2 -0
- package/dist/models/durableDelegationDenialDto.d.ts +12 -0
- package/dist/models/durableDelegationDenialDto.js +7 -0
- package/dist/models/durableDelegationDto.d.ts +28 -0
- package/dist/models/durableDelegationDto.js +2 -0
- package/dist/models/durableDelegationDtoDataEnvelope.d.ts +9 -0
- package/dist/models/durableDelegationDtoDataEnvelope.js +2 -0
- package/dist/models/durableDelegationEndReason.d.ts +13 -0
- package/dist/models/durableDelegationEndReason.js +15 -0
- package/dist/models/durableDelegationOwnerDto.d.ts +14 -0
- package/dist/models/durableDelegationOwnerDto.js +2 -0
- package/dist/models/durableDelegationOwnerKind.d.ts +11 -0
- package/dist/models/durableDelegationOwnerKind.js +13 -0
- package/dist/models/durableDelegationState.d.ts +12 -0
- package/dist/models/durableDelegationState.js +14 -0
- package/dist/models/factsWriterCheckRequestDto.d.ts +19 -0
- package/dist/models/factsWriterCheckRequestDto.js +7 -0
- package/dist/models/factsWriterCheckResponseDto.d.ts +9 -0
- package/dist/models/factsWriterCheckResponseDto.js +7 -0
- package/dist/models/factsWriterCheckResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/factsWriterCheckResponseDtoDataEnvelope.js +2 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
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 { CreateDurableDelegationDto, DurableDelegationDtoDataEnvelope } from '../../models';
|
|
7
|
+
export declare const getDurableDelegationsControllerCreateUrl: () => string;
|
|
8
|
+
/**
|
|
9
|
+
* @summary Lend a holder durable authority, owned by a user, team or org (C1–C6)
|
|
10
|
+
*/
|
|
11
|
+
export declare const durableDelegationsControllerCreate: (createDurableDelegationDto: CreateDurableDelegationDto, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
12
|
+
export declare const getDurableDelegationsControllerRevokeUrl: (id: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* @summary Revoke a durable delegation (terminal; the PDP denies from the commit)
|
|
15
|
+
*/
|
|
16
|
+
export declare const durableDelegationsControllerRevoke: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
17
|
+
export declare const getDurableDelegationsHolderControllerReadUrl: (id: string) => string;
|
|
18
|
+
/**
|
|
19
|
+
* @summary Read a durable delegation this workload holds
|
|
20
|
+
*/
|
|
21
|
+
export declare const durableDelegationsHolderControllerRead: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
22
|
+
export declare const getDurableDelegationsHolderControllerRevokeUrl: (id: string) => string;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Stop a durable delegation this workload holds
|
|
25
|
+
*/
|
|
26
|
+
export declare const durableDelegationsHolderControllerRevoke: (id: string, options?: RequestInit) => Promise<DurableDelegationDtoDataEnvelope>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.durableDelegationsHolderControllerRevoke = exports.getDurableDelegationsHolderControllerRevokeUrl = exports.durableDelegationsHolderControllerRead = exports.getDurableDelegationsHolderControllerReadUrl = exports.durableDelegationsControllerRevoke = exports.getDurableDelegationsControllerRevokeUrl = exports.durableDelegationsControllerCreate = exports.getDurableDelegationsControllerCreateUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getDurableDelegationsControllerCreateUrl = () => {
|
|
6
|
+
return `/durable-delegations`;
|
|
7
|
+
};
|
|
8
|
+
exports.getDurableDelegationsControllerCreateUrl = getDurableDelegationsControllerCreateUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Lend a holder durable authority, owned by a user, team or org (C1–C6)
|
|
11
|
+
*/
|
|
12
|
+
const durableDelegationsControllerCreate = async (createDurableDelegationDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsControllerCreateUrl)(), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
+
body: JSON.stringify(createDurableDelegationDto)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.durableDelegationsControllerCreate = durableDelegationsControllerCreate;
|
|
21
|
+
const getDurableDelegationsControllerRevokeUrl = (id) => {
|
|
22
|
+
return `/durable-delegations/${id}/revoke`;
|
|
23
|
+
};
|
|
24
|
+
exports.getDurableDelegationsControllerRevokeUrl = getDurableDelegationsControllerRevokeUrl;
|
|
25
|
+
/**
|
|
26
|
+
* @summary Revoke a durable delegation (terminal; the PDP denies from the commit)
|
|
27
|
+
*/
|
|
28
|
+
const durableDelegationsControllerRevoke = async (id, options) => {
|
|
29
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsControllerRevokeUrl)(id), {
|
|
30
|
+
...options,
|
|
31
|
+
method: 'POST'
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
exports.durableDelegationsControllerRevoke = durableDelegationsControllerRevoke;
|
|
35
|
+
const getDurableDelegationsHolderControllerReadUrl = (id) => {
|
|
36
|
+
return `/internal/durable-delegations/${id}`;
|
|
37
|
+
};
|
|
38
|
+
exports.getDurableDelegationsHolderControllerReadUrl = getDurableDelegationsHolderControllerReadUrl;
|
|
39
|
+
/**
|
|
40
|
+
* @summary Read a durable delegation this workload holds
|
|
41
|
+
*/
|
|
42
|
+
const durableDelegationsHolderControllerRead = async (id, options) => {
|
|
43
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsHolderControllerReadUrl)(id), {
|
|
44
|
+
...options,
|
|
45
|
+
method: 'GET'
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
exports.durableDelegationsHolderControllerRead = durableDelegationsHolderControllerRead;
|
|
49
|
+
const getDurableDelegationsHolderControllerRevokeUrl = (id) => {
|
|
50
|
+
return `/internal/durable-delegations/${id}/revoke`;
|
|
51
|
+
};
|
|
52
|
+
exports.getDurableDelegationsHolderControllerRevokeUrl = getDurableDelegationsHolderControllerRevokeUrl;
|
|
53
|
+
/**
|
|
54
|
+
* @summary Stop a durable delegation this workload holds
|
|
55
|
+
*/
|
|
56
|
+
const durableDelegationsHolderControllerRevoke = async (id, options) => {
|
|
57
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getDurableDelegationsHolderControllerRevokeUrl)(id), {
|
|
58
|
+
...options,
|
|
59
|
+
method: 'POST'
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
exports.durableDelegationsHolderControllerRevoke = durableDelegationsHolderControllerRevoke;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { FactsWriterCheckRequestDto, FactsWriterCheckResponseDtoDataEnvelope } from '../../models';
|
|
7
|
+
export declare const getFactsWriterControllerCheckUrl: () => string;
|
|
8
|
+
/**
|
|
9
|
+
* @summary Whether a service writes the facts of an authorization type
|
|
10
|
+
*/
|
|
11
|
+
export declare const factsWriterControllerCheck: (factsWriterCheckRequestDto: FactsWriterCheckRequestDto, options?: RequestInit) => Promise<FactsWriterCheckResponseDtoDataEnvelope>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.factsWriterControllerCheck = exports.getFactsWriterControllerCheckUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getFactsWriterControllerCheckUrl = () => {
|
|
6
|
+
return `/internal/facts/writers/check`;
|
|
7
|
+
};
|
|
8
|
+
exports.getFactsWriterControllerCheckUrl = getFactsWriterControllerCheckUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Whether a service writes the facts of an authorization type
|
|
11
|
+
*/
|
|
12
|
+
const factsWriterControllerCheck = async (factsWriterCheckRequestDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getFactsWriterControllerCheckUrl)(), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
+
body: JSON.stringify(factsWriterCheckRequestDto)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.factsWriterControllerCheck = factsWriterControllerCheck;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export * from './endpoints/capability-authority-requests/capability-authority-re
|
|
|
7
7
|
export * from './endpoints/contribution-sync/contribution-sync';
|
|
8
8
|
export * from './endpoints/credential-defaults/credential-defaults';
|
|
9
9
|
export * from './endpoints/describe-objects/describe-objects';
|
|
10
|
+
export * from './endpoints/durable-delegations/durable-delegations';
|
|
10
11
|
export * from './endpoints/environments/environments';
|
|
12
|
+
export * from './endpoints/facts/facts';
|
|
11
13
|
export * from './endpoints/grants/grants';
|
|
12
14
|
export * from './endpoints/org-erasure/org-erasure';
|
|
13
15
|
export * from './endpoints/output-routes/output-routes';
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,9 @@ __exportStar(require("./endpoints/capability-authority-requests/capability-autho
|
|
|
29
29
|
__exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
|
|
30
30
|
__exportStar(require("./endpoints/credential-defaults/credential-defaults"), exports);
|
|
31
31
|
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
32
|
+
__exportStar(require("./endpoints/durable-delegations/durable-delegations"), exports);
|
|
32
33
|
__exportStar(require("./endpoints/environments/environments"), exports);
|
|
34
|
+
__exportStar(require("./endpoints/facts/facts"), exports);
|
|
33
35
|
__exportStar(require("./endpoints/grants/grants"), exports);
|
|
34
36
|
__exportStar(require("./endpoints/org-erasure/org-erasure"), exports);
|
|
35
37
|
__exportStar(require("./endpoints/output-routes/output-routes"), exports);
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { DurableDelegationOwnerDto } from './durableDelegationOwnerDto.js';
|
|
7
|
+
export interface CreateDurableDelegationDto {
|
|
8
|
+
/**
|
|
9
|
+
* Only a composed member attested as this may present the carrier.
|
|
10
|
+
* @minLength 1
|
|
11
|
+
*/
|
|
12
|
+
holderMember?: string;
|
|
13
|
+
/** Optional tighten-only ceiling. Absent ⇒ none: revocation and the per-use re-check end it. */
|
|
14
|
+
expiresAt?: string;
|
|
15
|
+
owner: DurableDelegationOwnerDto;
|
|
16
|
+
/**
|
|
17
|
+
* Opaque scope refs, e.g. `integration:jira-42`, `project:P`.
|
|
18
|
+
* @minItems 1
|
|
19
|
+
*/
|
|
20
|
+
scope: string[];
|
|
21
|
+
/**
|
|
22
|
+
* The exact capabilities lent; each must be declared `delegable: true`.
|
|
23
|
+
* @minItems 1
|
|
24
|
+
*/
|
|
25
|
+
capabilities: string[];
|
|
26
|
+
/**
|
|
27
|
+
* The `xema_integration` instance (unqualified id) the work serves.
|
|
28
|
+
* @minLength 1
|
|
29
|
+
*/
|
|
30
|
+
integrationId: string;
|
|
31
|
+
/**
|
|
32
|
+
* `environment:<slug>` the work runs in.
|
|
33
|
+
* @minLength 1
|
|
34
|
+
*/
|
|
35
|
+
environmentId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The holder's idempotency key: a retry resumes the same delegation.
|
|
38
|
+
* @minLength 1
|
|
39
|
+
*/
|
|
40
|
+
requestKey: string;
|
|
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
|
+
export interface DurableDelegationDenialDto {
|
|
7
|
+
at: string;
|
|
8
|
+
/** The use check that failed (`U4_OWNER_HOLDS_RIGHT_NOW`, …). */
|
|
9
|
+
check: string;
|
|
10
|
+
right: string;
|
|
11
|
+
scope: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { DurableDelegationDenialDto } from './durableDelegationDenialDto.js';
|
|
7
|
+
import type { DurableDelegationEndReason } from './durableDelegationEndReason.js';
|
|
8
|
+
import type { DurableDelegationOwnerDto } from './durableDelegationOwnerDto.js';
|
|
9
|
+
import type { DurableDelegationState } from './durableDelegationState.js';
|
|
10
|
+
export interface DurableDelegationDto {
|
|
11
|
+
state: DurableDelegationState;
|
|
12
|
+
endReason?: DurableDelegationEndReason;
|
|
13
|
+
owner: DurableDelegationOwnerDto;
|
|
14
|
+
/**
|
|
15
|
+
* The identity-api carrier the HOLDER mints contexts from. Absent while
|
|
16
|
+
* ACTIVE ⇒ under-access: nothing can act until a retry provisions it.
|
|
17
|
+
*/
|
|
18
|
+
carrierId?: string;
|
|
19
|
+
expiresAt?: string;
|
|
20
|
+
/** The last use denial (non-terminal), for the integration's status line. */
|
|
21
|
+
lastDenial?: DurableDelegationDenialDto;
|
|
22
|
+
id: string;
|
|
23
|
+
scope: string[];
|
|
24
|
+
capabilities: string[];
|
|
25
|
+
integrationId: string;
|
|
26
|
+
environmentId: string;
|
|
27
|
+
holderWorkload: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 { DurableDelegationDto } from './durableDelegationDto.js';
|
|
7
|
+
export interface DurableDelegationDtoDataEnvelope {
|
|
8
|
+
data: DurableDelegationDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type DurableDelegationEndReason = typeof DurableDelegationEndReason[keyof typeof DurableDelegationEndReason];
|
|
7
|
+
export declare const DurableDelegationEndReason: {
|
|
8
|
+
readonly EXPLICIT: "EXPLICIT";
|
|
9
|
+
readonly INTEGRATION_DISABLED: "INTEGRATION_DISABLED";
|
|
10
|
+
readonly INTEGRATION_DELETED: "INTEGRATION_DELETED";
|
|
11
|
+
readonly OWNER_DELETED: "OWNER_DELETED";
|
|
12
|
+
readonly EXPIRED: "EXPIRED";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.DurableDelegationEndReason = void 0;
|
|
9
|
+
exports.DurableDelegationEndReason = {
|
|
10
|
+
EXPLICIT: 'EXPLICIT',
|
|
11
|
+
INTEGRATION_DISABLED: 'INTEGRATION_DISABLED',
|
|
12
|
+
INTEGRATION_DELETED: 'INTEGRATION_DELETED',
|
|
13
|
+
OWNER_DELETED: 'OWNER_DELETED',
|
|
14
|
+
EXPIRED: 'EXPIRED',
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { DurableDelegationOwnerKind } from './durableDelegationOwnerKind.js';
|
|
7
|
+
export interface DurableDelegationOwnerDto {
|
|
8
|
+
kind: DurableDelegationOwnerKind;
|
|
9
|
+
/**
|
|
10
|
+
* The user principal id, the team id, or the organization id.
|
|
11
|
+
* @minLength 1
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export type DurableDelegationOwnerKind = typeof DurableDelegationOwnerKind[keyof typeof DurableDelegationOwnerKind];
|
|
7
|
+
export declare const DurableDelegationOwnerKind: {
|
|
8
|
+
readonly USER: "USER";
|
|
9
|
+
readonly TEAM: "TEAM";
|
|
10
|
+
readonly ORG: "ORG";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.DurableDelegationOwnerKind = void 0;
|
|
9
|
+
exports.DurableDelegationOwnerKind = {
|
|
10
|
+
USER: 'USER',
|
|
11
|
+
TEAM: 'TEAM',
|
|
12
|
+
ORG: 'ORG',
|
|
13
|
+
};
|
|
@@ -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
|
+
export type DurableDelegationState = typeof DurableDelegationState[keyof typeof DurableDelegationState];
|
|
7
|
+
export declare const DurableDelegationState: {
|
|
8
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
9
|
+
readonly ACTIVE: "ACTIVE";
|
|
10
|
+
readonly REVOKED: "REVOKED";
|
|
11
|
+
readonly EXPIRED: "EXPIRED";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Authorization API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.DurableDelegationState = void 0;
|
|
9
|
+
exports.DurableDelegationState = {
|
|
10
|
+
PROVISIONING: 'PROVISIONING',
|
|
11
|
+
ACTIVE: 'ACTIVE',
|
|
12
|
+
REVOKED: 'REVOKED',
|
|
13
|
+
EXPIRED: 'EXPIRED',
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export interface FactsWriterCheckRequestDto {
|
|
7
|
+
/**
|
|
8
|
+
* The authorization type whose facts writer is asked about (for example `xema_document`).
|
|
9
|
+
* @minLength 1
|
|
10
|
+
* @maxLength 256
|
|
11
|
+
*/
|
|
12
|
+
objectType: string;
|
|
13
|
+
/**
|
|
14
|
+
* The service name (the verified caller of the asking service).
|
|
15
|
+
* @minLength 1
|
|
16
|
+
* @maxLength 256
|
|
17
|
+
*/
|
|
18
|
+
service: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Authorization API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export interface FactsWriterCheckResponseDto {
|
|
7
|
+
/** Whether the service is a signed component of the biome that writes this type's facts in the caller's organization. */
|
|
8
|
+
writes: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 { FactsWriterCheckResponseDto } from './factsWriterCheckResponseDto.js';
|
|
7
|
+
export interface FactsWriterCheckResponseDtoDataEnvelope {
|
|
8
|
+
data: FactsWriterCheckResponseDto;
|
|
9
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './capabilityGrantDtoPaginatedEnvelope';
|
|
|
22
22
|
export * from './capabilityGrantRelation';
|
|
23
23
|
export * from './capabilityReach';
|
|
24
24
|
export * from './capabilityRiskTier';
|
|
25
|
+
export * from './createDurableDelegationDto';
|
|
25
26
|
export * from './createExecutionEnvironmentDto';
|
|
26
27
|
export * from './createExecutionEnvironmentDtoAllowedCapabilitiesItem';
|
|
27
28
|
export * from './createExecutionEnvironmentDtoApprovalRulesItem';
|
|
@@ -38,6 +39,13 @@ export * from './credentialDefaultsControllerListParams';
|
|
|
38
39
|
export * from './dataClassification';
|
|
39
40
|
export * from './describeObjectsResponseDto';
|
|
40
41
|
export * from './describeObjectsResponseDtoDataEnvelope';
|
|
42
|
+
export * from './durableDelegationDenialDto';
|
|
43
|
+
export * from './durableDelegationDto';
|
|
44
|
+
export * from './durableDelegationDtoDataEnvelope';
|
|
45
|
+
export * from './durableDelegationEndReason';
|
|
46
|
+
export * from './durableDelegationOwnerDto';
|
|
47
|
+
export * from './durableDelegationOwnerKind';
|
|
48
|
+
export * from './durableDelegationState';
|
|
41
49
|
export * from './environmentCeilingSource';
|
|
42
50
|
export * from './environmentsControllerFindBySlugParams';
|
|
43
51
|
export * from './environmentsControllerListParams';
|
|
@@ -66,6 +74,9 @@ export * from './executionEnvironmentResponseDtoDataArrayEnvelope';
|
|
|
66
74
|
export * from './executionEnvironmentResponseDtoDataEnvelope';
|
|
67
75
|
export * from './executionEnvironmentResponseDtoOrgId';
|
|
68
76
|
export * from './executionEnvironmentResponseDtoRuntimeLimits';
|
|
77
|
+
export * from './factsWriterCheckRequestDto';
|
|
78
|
+
export * from './factsWriterCheckResponseDto';
|
|
79
|
+
export * from './factsWriterCheckResponseDtoDataEnvelope';
|
|
69
80
|
export * from './grantConstraintsDto';
|
|
70
81
|
export * from './grantVersionResponseDto';
|
|
71
82
|
export * from './grantVersionResponseDtoDataEnvelope';
|
package/dist/models/index.js
CHANGED
|
@@ -39,6 +39,7 @@ __exportStar(require("./capabilityGrantDtoPaginatedEnvelope"), exports);
|
|
|
39
39
|
__exportStar(require("./capabilityGrantRelation"), exports);
|
|
40
40
|
__exportStar(require("./capabilityReach"), exports);
|
|
41
41
|
__exportStar(require("./capabilityRiskTier"), exports);
|
|
42
|
+
__exportStar(require("./createDurableDelegationDto"), exports);
|
|
42
43
|
__exportStar(require("./createExecutionEnvironmentDto"), exports);
|
|
43
44
|
__exportStar(require("./createExecutionEnvironmentDtoAllowedCapabilitiesItem"), exports);
|
|
44
45
|
__exportStar(require("./createExecutionEnvironmentDtoApprovalRulesItem"), exports);
|
|
@@ -55,6 +56,13 @@ __exportStar(require("./credentialDefaultsControllerListParams"), exports);
|
|
|
55
56
|
__exportStar(require("./dataClassification"), exports);
|
|
56
57
|
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
57
58
|
__exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
59
|
+
__exportStar(require("./durableDelegationDenialDto"), exports);
|
|
60
|
+
__exportStar(require("./durableDelegationDto"), exports);
|
|
61
|
+
__exportStar(require("./durableDelegationDtoDataEnvelope"), exports);
|
|
62
|
+
__exportStar(require("./durableDelegationEndReason"), exports);
|
|
63
|
+
__exportStar(require("./durableDelegationOwnerDto"), exports);
|
|
64
|
+
__exportStar(require("./durableDelegationOwnerKind"), exports);
|
|
65
|
+
__exportStar(require("./durableDelegationState"), exports);
|
|
58
66
|
__exportStar(require("./environmentCeilingSource"), exports);
|
|
59
67
|
__exportStar(require("./environmentsControllerFindBySlugParams"), exports);
|
|
60
68
|
__exportStar(require("./environmentsControllerListParams"), exports);
|
|
@@ -83,6 +91,9 @@ __exportStar(require("./executionEnvironmentResponseDtoDataArrayEnvelope"), expo
|
|
|
83
91
|
__exportStar(require("./executionEnvironmentResponseDtoDataEnvelope"), exports);
|
|
84
92
|
__exportStar(require("./executionEnvironmentResponseDtoOrgId"), exports);
|
|
85
93
|
__exportStar(require("./executionEnvironmentResponseDtoRuntimeLimits"), exports);
|
|
94
|
+
__exportStar(require("./factsWriterCheckRequestDto"), exports);
|
|
95
|
+
__exportStar(require("./factsWriterCheckResponseDto"), exports);
|
|
96
|
+
__exportStar(require("./factsWriterCheckResponseDtoDataEnvelope"), exports);
|
|
86
97
|
__exportStar(require("./grantConstraintsDto"), exports);
|
|
87
98
|
__exportStar(require("./grantVersionResponseDto"), exports);
|
|
88
99
|
__exportStar(require("./grantVersionResponseDtoDataEnvelope"), exports);
|