@xemahq/authorization-internal-api-client 0.9.4 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/policySetTestFileDto.d.ts +1 -1
- 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 +3 -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/authorization-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "authorization-api",
|
|
20
20
|
"biome": "authorization",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@2.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@2.7.1",
|
|
23
23
|
"source": "openapi.internal.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"build": "tsc -p tsconfig.json"
|
|
61
61
|
},
|
|
62
62
|
"xemaRelease": {
|
|
63
|
-
"sourceDigest": "sha256:
|
|
63
|
+
"sourceDigest": "sha256:4e10e1675562bbfdfecd1b878c8eabe49fbe552d7b741bae2d0769c1a8d5be8a"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 { CredentialDefaultDtoDataArrayEnvelope, CredentialDefaultDtoDataEnvelope, CredentialDefaultsControllerDeleteParams, CredentialDefaultsControllerGetParams, CredentialDefaultsControllerListParams, UpsertCredentialDefaultDto } from '../../models';
|
|
7
|
-
export declare const getCredentialDefaultsControllerUpsertUrl: () => string;
|
|
8
|
-
/**
|
|
9
|
-
* @summary Create or replace a credential-binding default
|
|
10
|
-
*/
|
|
11
|
-
export declare const credentialDefaultsControllerUpsert: (upsertCredentialDefaultDto: UpsertCredentialDefaultDto, options?: RequestInit) => Promise<CredentialDefaultDtoDataEnvelope>;
|
|
12
|
-
export declare const getCredentialDefaultsControllerGetUrl: (params: CredentialDefaultsControllerGetParams) => string;
|
|
13
|
-
/**
|
|
14
|
-
* @summary Get the credential-binding default for an org or project scope
|
|
15
|
-
*/
|
|
16
|
-
export declare const credentialDefaultsControllerGet: (params: CredentialDefaultsControllerGetParams, options?: RequestInit) => Promise<CredentialDefaultDtoDataEnvelope>;
|
|
17
|
-
export declare const getCredentialDefaultsControllerDeleteUrl: (params: CredentialDefaultsControllerDeleteParams) => string;
|
|
18
|
-
/**
|
|
19
|
-
* @summary Delete the credential-binding default for an org or project scope
|
|
20
|
-
*/
|
|
21
|
-
export declare const credentialDefaultsControllerDelete: (params: CredentialDefaultsControllerDeleteParams, options?: RequestInit) => Promise<void>;
|
|
22
|
-
export declare const getCredentialDefaultsControllerListUrl: (params: CredentialDefaultsControllerListParams) => string;
|
|
23
|
-
/**
|
|
24
|
-
* @summary List every credential-binding default in an org
|
|
25
|
-
*/
|
|
26
|
-
export declare const credentialDefaultsControllerList: (params: CredentialDefaultsControllerListParams, options?: RequestInit) => Promise<CredentialDefaultDtoDataArrayEnvelope>;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.credentialDefaultsControllerList = exports.getCredentialDefaultsControllerListUrl = exports.credentialDefaultsControllerDelete = exports.getCredentialDefaultsControllerDeleteUrl = exports.credentialDefaultsControllerGet = exports.getCredentialDefaultsControllerGetUrl = exports.credentialDefaultsControllerUpsert = exports.getCredentialDefaultsControllerUpsertUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getCredentialDefaultsControllerUpsertUrl = () => {
|
|
6
|
-
return `/credential-defaults`;
|
|
7
|
-
};
|
|
8
|
-
exports.getCredentialDefaultsControllerUpsertUrl = getCredentialDefaultsControllerUpsertUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Create or replace a credential-binding default
|
|
11
|
-
*/
|
|
12
|
-
const credentialDefaultsControllerUpsert = async (upsertCredentialDefaultDto, options) => {
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerUpsertUrl)(), {
|
|
14
|
-
...options,
|
|
15
|
-
method: 'PUT',
|
|
16
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(upsertCredentialDefaultDto)
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
exports.credentialDefaultsControllerUpsert = credentialDefaultsControllerUpsert;
|
|
21
|
-
const getCredentialDefaultsControllerGetUrl = (params) => {
|
|
22
|
-
const normalizedParams = new URLSearchParams();
|
|
23
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
24
|
-
if (value === undefined)
|
|
25
|
-
return;
|
|
26
|
-
if (value === null) {
|
|
27
|
-
normalizedParams.append(key, 'null');
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
if (Array.isArray(value)) {
|
|
31
|
-
for (const item of value) {
|
|
32
|
-
if (item === undefined || item === null)
|
|
33
|
-
continue;
|
|
34
|
-
normalizedParams.append(key, item.toString());
|
|
35
|
-
}
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
normalizedParams.append(key, value.toString());
|
|
39
|
-
});
|
|
40
|
-
const stringifiedParams = normalizedParams.toString();
|
|
41
|
-
return stringifiedParams.length > 0 ? `/credential-defaults?${stringifiedParams}` : `/credential-defaults`;
|
|
42
|
-
};
|
|
43
|
-
exports.getCredentialDefaultsControllerGetUrl = getCredentialDefaultsControllerGetUrl;
|
|
44
|
-
/**
|
|
45
|
-
* @summary Get the credential-binding default for an org or project scope
|
|
46
|
-
*/
|
|
47
|
-
const credentialDefaultsControllerGet = async (params, options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerGetUrl)(params), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.credentialDefaultsControllerGet = credentialDefaultsControllerGet;
|
|
54
|
-
const getCredentialDefaultsControllerDeleteUrl = (params) => {
|
|
55
|
-
const normalizedParams = new URLSearchParams();
|
|
56
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
57
|
-
if (value === undefined)
|
|
58
|
-
return;
|
|
59
|
-
if (value === null) {
|
|
60
|
-
normalizedParams.append(key, 'null');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
if (Array.isArray(value)) {
|
|
64
|
-
for (const item of value) {
|
|
65
|
-
if (item === undefined || item === null)
|
|
66
|
-
continue;
|
|
67
|
-
normalizedParams.append(key, item.toString());
|
|
68
|
-
}
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
normalizedParams.append(key, value.toString());
|
|
72
|
-
});
|
|
73
|
-
const stringifiedParams = normalizedParams.toString();
|
|
74
|
-
return stringifiedParams.length > 0 ? `/credential-defaults?${stringifiedParams}` : `/credential-defaults`;
|
|
75
|
-
};
|
|
76
|
-
exports.getCredentialDefaultsControllerDeleteUrl = getCredentialDefaultsControllerDeleteUrl;
|
|
77
|
-
/**
|
|
78
|
-
* @summary Delete the credential-binding default for an org or project scope
|
|
79
|
-
*/
|
|
80
|
-
const credentialDefaultsControllerDelete = async (params, options) => {
|
|
81
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerDeleteUrl)(params), {
|
|
82
|
-
...options,
|
|
83
|
-
method: 'DELETE'
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
exports.credentialDefaultsControllerDelete = credentialDefaultsControllerDelete;
|
|
87
|
-
const getCredentialDefaultsControllerListUrl = (params) => {
|
|
88
|
-
const normalizedParams = new URLSearchParams();
|
|
89
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
90
|
-
if (value === undefined)
|
|
91
|
-
return;
|
|
92
|
-
if (value === null) {
|
|
93
|
-
normalizedParams.append(key, 'null');
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
if (Array.isArray(value)) {
|
|
97
|
-
for (const item of value) {
|
|
98
|
-
if (item === undefined || item === null)
|
|
99
|
-
continue;
|
|
100
|
-
normalizedParams.append(key, item.toString());
|
|
101
|
-
}
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
normalizedParams.append(key, value.toString());
|
|
105
|
-
});
|
|
106
|
-
const stringifiedParams = normalizedParams.toString();
|
|
107
|
-
return stringifiedParams.length > 0 ? `/credential-defaults/list?${stringifiedParams}` : `/credential-defaults/list`;
|
|
108
|
-
};
|
|
109
|
-
exports.getCredentialDefaultsControllerListUrl = getCredentialDefaultsControllerListUrl;
|
|
110
|
-
/**
|
|
111
|
-
* @summary List every credential-binding default in an org
|
|
112
|
-
*/
|
|
113
|
-
const credentialDefaultsControllerList = async (params, options) => {
|
|
114
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCredentialDefaultsControllerListUrl)(params), {
|
|
115
|
-
...options,
|
|
116
|
-
method: 'GET'
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
exports.credentialDefaultsControllerList = credentialDefaultsControllerList;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 { ProfilePolicyTemplateDtoDataArrayEnvelope } from '../../models';
|
|
7
|
-
export declare const getProfilesControllerListUrl: () => string;
|
|
8
|
-
/**
|
|
9
|
-
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker.
|
|
10
|
-
* @summary List built-in BiomePermissionProfile policy templates
|
|
11
|
-
*/
|
|
12
|
-
export declare const profilesControllerList: (options?: RequestInit) => Promise<ProfilePolicyTemplateDtoDataArrayEnvelope>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.profilesControllerList = exports.getProfilesControllerListUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getProfilesControllerListUrl = () => {
|
|
6
|
-
return `/profiles`;
|
|
7
|
-
};
|
|
8
|
-
exports.getProfilesControllerListUrl = getProfilesControllerListUrl;
|
|
9
|
-
/**
|
|
10
|
-
* Returns the kernel-seeded `ProfilePolicyTemplate` rows. Used by the biome install UI to populate the profile picker.
|
|
11
|
-
* @summary List built-in BiomePermissionProfile policy templates
|
|
12
|
-
*/
|
|
13
|
-
const profilesControllerList = async (options) => {
|
|
14
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getProfilesControllerListUrl)(), {
|
|
15
|
-
...options,
|
|
16
|
-
method: 'GET'
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
exports.profilesControllerList = profilesControllerList;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 { OpenFgaRelationshipDtoPaginatedEnvelope, RelationshipsControllerListParams } from '../../models';
|
|
7
|
-
export declare const getRelationshipsControllerListUrl: (params?: RelationshipsControllerListParams) => string;
|
|
8
|
-
/**
|
|
9
|
-
* Returns the live OpenFGA relationship tuples projected from the authoritative `CapabilityGrant` rows. Filter by org / subject / capability / environment / relation; offset-paginated (limit default 50, max 200).
|
|
10
|
-
* @summary List ReBAC relationship tuples (paginated, filterable)
|
|
11
|
-
*/
|
|
12
|
-
export declare const relationshipsControllerList: (params?: RelationshipsControllerListParams, options?: RequestInit) => Promise<OpenFgaRelationshipDtoPaginatedEnvelope>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.relationshipsControllerList = exports.getRelationshipsControllerListUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getRelationshipsControllerListUrl = (params) => {
|
|
6
|
-
const normalizedParams = new URLSearchParams();
|
|
7
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
8
|
-
if (value === undefined)
|
|
9
|
-
return;
|
|
10
|
-
if (value === null) {
|
|
11
|
-
normalizedParams.append(key, 'null');
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
if (Array.isArray(value)) {
|
|
15
|
-
for (const item of value) {
|
|
16
|
-
if (item === undefined || item === null)
|
|
17
|
-
continue;
|
|
18
|
-
normalizedParams.append(key, item.toString());
|
|
19
|
-
}
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
normalizedParams.append(key, value.toString());
|
|
23
|
-
});
|
|
24
|
-
const stringifiedParams = normalizedParams.toString();
|
|
25
|
-
return stringifiedParams.length > 0 ? `/relationships?${stringifiedParams}` : `/relationships`;
|
|
26
|
-
};
|
|
27
|
-
exports.getRelationshipsControllerListUrl = getRelationshipsControllerListUrl;
|
|
28
|
-
/**
|
|
29
|
-
* Returns the live OpenFGA relationship tuples projected from the authoritative `CapabilityGrant` rows. Filter by org / subject / capability / environment / relation; offset-paginated (limit default 50, max 200).
|
|
30
|
-
* @summary List ReBAC relationship tuples (paginated, filterable)
|
|
31
|
-
*/
|
|
32
|
-
const relationshipsControllerList = async (params, options) => {
|
|
33
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getRelationshipsControllerListUrl)(params), {
|
|
34
|
-
...options,
|
|
35
|
-
method: 'GET'
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
exports.relationshipsControllerList = relationshipsControllerList;
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { SubjectKind } from './subjectKind.js';
|
|
7
|
-
export interface AddTeamMemberDto {
|
|
8
|
-
subjectKind: SubjectKind;
|
|
9
|
-
/** @minLength 1 */
|
|
10
|
-
subjectRef: string;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* Authorization API
|
|
4
|
-
* OpenAPI spec version: 0.1.1
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* `granted_to` for a full grant, `granted_pending_approval` when the grant requires per-invocation approval.
|
|
8
|
-
*/
|
|
9
|
-
export type CapabilityGrantRelation = typeof CapabilityGrantRelation[keyof typeof CapabilityGrantRelation];
|
|
10
|
-
export declare const CapabilityGrantRelation: {
|
|
11
|
-
readonly granted_to: "granted_to";
|
|
12
|
-
readonly granted_pending_approval: "granted_pending_approval";
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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.CapabilityGrantRelation = void 0;
|
|
9
|
-
exports.CapabilityGrantRelation = {
|
|
10
|
-
granted_to: 'granted_to',
|
|
11
|
-
granted_pending_approval: 'granted_pending_approval',
|
|
12
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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 CreateTeamDto {
|
|
7
|
-
/** @minLength 1 */
|
|
8
|
-
orgId: string;
|
|
9
|
-
/**
|
|
10
|
-
* Org-unique stable slug (lowercase alphanumeric + dashes).
|
|
11
|
-
* @pattern SLUG_PATTERN
|
|
12
|
-
*/
|
|
13
|
-
slug: string;
|
|
14
|
-
/** @minLength 1 */
|
|
15
|
-
displayName: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Parent team id — ENTERPRISE nesting. The new team becomes a sub-team whose members roll up into the parent. Entitlement-gated at the org-admin BFF (`teams.nested`).
|
|
19
|
-
* @minLength 1
|
|
20
|
-
*/
|
|
21
|
-
parentTeamId?: string;
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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 CredentialDefaultDto {
|
|
7
|
-
id: string;
|
|
8
|
-
/** Organization identifier this default is scoped to. */
|
|
9
|
-
orgId: string;
|
|
10
|
-
/**
|
|
11
|
-
* Project identifier; null means this is the ORG-wide default.
|
|
12
|
-
* @nullable
|
|
13
|
-
*/
|
|
14
|
-
projectId?: string | null;
|
|
15
|
-
/** The external provider this default is for. */
|
|
16
|
-
provider: string;
|
|
17
|
-
/** Opaque credential-binding pointer. Not a secret. */
|
|
18
|
-
credentialBindingId: string;
|
|
19
|
-
createdAt: string;
|
|
20
|
-
updatedAt: string;
|
|
21
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { CredentialDefaultDto } from './credentialDefaultDto.js';
|
|
7
|
-
export interface CredentialDefaultDtoDataArrayEnvelope {
|
|
8
|
-
data: CredentialDefaultDto[];
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { CredentialDefaultDto } from './credentialDefaultDto.js';
|
|
7
|
-
export interface CredentialDefaultDtoDataEnvelope {
|
|
8
|
-
data: CredentialDefaultDto;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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 CredentialDefaultsControllerDeleteParams = {
|
|
7
|
-
/**
|
|
8
|
-
* Organization identifier.
|
|
9
|
-
*/
|
|
10
|
-
orgId: string;
|
|
11
|
-
/**
|
|
12
|
-
* Project identifier. Omit for the ORG-wide default; set for a per-project default.
|
|
13
|
-
*/
|
|
14
|
-
projectId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The external provider whose default is being addressed. Required: a default is per (scope, provider), so a scope alone does not name one.
|
|
17
|
-
*/
|
|
18
|
-
provider: string;
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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 CredentialDefaultsControllerGetParams = {
|
|
7
|
-
/**
|
|
8
|
-
* Organization identifier.
|
|
9
|
-
*/
|
|
10
|
-
orgId: string;
|
|
11
|
-
/**
|
|
12
|
-
* Project identifier. Omit for the ORG-wide default; set for a per-project default.
|
|
13
|
-
*/
|
|
14
|
-
projectId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The external provider whose default is being addressed. Required: a default is per (scope, provider), so a scope alone does not name one.
|
|
17
|
-
*/
|
|
18
|
-
provider: string;
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { ExecutionEnvironmentReleaseHistoryDtoOperation } from './executionEnvironmentReleaseHistoryDtoOperation.js';
|
|
7
|
-
export interface ExecutionEnvironmentReleaseHistoryDto {
|
|
8
|
-
releaseSetId: string;
|
|
9
|
-
operation: ExecutionEnvironmentReleaseHistoryDtoOperation;
|
|
10
|
-
rollbackOfReleaseSetId?: string;
|
|
11
|
-
revisionId: string;
|
|
12
|
-
/** @pattern ^[a-f0-9]{64}$ */
|
|
13
|
-
contentHash: string;
|
|
14
|
-
channel: string;
|
|
15
|
-
channelVersion: number;
|
|
16
|
-
retired: boolean;
|
|
17
|
-
reason: string;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { ExecutionEnvironmentReleaseHistoryDto } from './executionEnvironmentReleaseHistoryDto.js';
|
|
7
|
-
export interface ExecutionEnvironmentReleaseHistoryDtoDataArrayEnvelope {
|
|
8
|
-
data: ExecutionEnvironmentReleaseHistoryDto[];
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 ExecutionEnvironmentReleaseHistoryDtoOperation = typeof ExecutionEnvironmentReleaseHistoryDtoOperation[keyof typeof ExecutionEnvironmentReleaseHistoryDtoOperation];
|
|
7
|
-
export declare const ExecutionEnvironmentReleaseHistoryDtoOperation: {
|
|
8
|
-
readonly promote: "promote";
|
|
9
|
-
readonly rollback: "rollback";
|
|
10
|
-
readonly retire: "retire";
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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.ExecutionEnvironmentReleaseHistoryDtoOperation = void 0;
|
|
9
|
-
exports.ExecutionEnvironmentReleaseHistoryDtoOperation = {
|
|
10
|
-
promote: 'promote',
|
|
11
|
-
rollback: 'rollback',
|
|
12
|
-
retire: 'retire',
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
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 ExecutionEnvironmentReleaseImpactDto {
|
|
7
|
-
resourceKind: string;
|
|
8
|
-
resourceId: string;
|
|
9
|
-
revisionId: string;
|
|
10
|
-
/** @pattern ^[a-f0-9]{64}$ */
|
|
11
|
-
contentHash: string;
|
|
12
|
-
/** @minimum 0 */
|
|
13
|
-
depth: number;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { ExecutionEnvironmentReleaseImpactDto } from './executionEnvironmentReleaseImpactDto.js';
|
|
7
|
-
export interface ExecutionEnvironmentReleaseImpactDtoDataArrayEnvelope {
|
|
8
|
-
data: ExecutionEnvironmentReleaseImpactDto[];
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 ImpactedOutputRouteConsumerDto {
|
|
7
|
-
ownerSpaceKey: string;
|
|
8
|
-
resourceKind: string;
|
|
9
|
-
resourceId: string;
|
|
10
|
-
revisionId: string;
|
|
11
|
-
/** @pattern ^[a-f0-9]{64}$ */
|
|
12
|
-
contentHash: string;
|
|
13
|
-
/** @minimum 0 */
|
|
14
|
-
depth: number;
|
|
15
|
-
followedIntentPaths: string[];
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { ImpactedOutputRouteConsumerDto } from './impactedOutputRouteConsumerDto.js';
|
|
7
|
-
export interface ImpactedOutputRouteConsumerDtoDataArrayEnvelope {
|
|
8
|
-
data: ImpactedOutputRouteConsumerDto[];
|
|
9
|
-
}
|