@xemahq/authorization-internal-api-client 0.9.4 → 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 +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
|
@@ -1,7 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.environmentPolicyReadControllerResolveExactPolicy = exports.getEnvironmentPolicyReadControllerResolveExactPolicyUrl = exports.environmentsControllerRemove = exports.getEnvironmentsControllerRemoveUrl = exports.environmentsControllerUpdate = exports.getEnvironmentsControllerUpdateUrl = exports.environmentsControllerFindBySlug = exports.getEnvironmentsControllerFindBySlugUrl = exports.
|
|
3
|
+
exports.environmentPolicyReadControllerResolveExactPolicy = exports.getEnvironmentPolicyReadControllerResolveExactPolicyUrl = exports.environmentsControllerRemove = exports.getEnvironmentsControllerRemoveUrl = exports.environmentsControllerUpdate = exports.getEnvironmentsControllerUpdateUrl = exports.environmentsControllerFindBySlug = exports.getEnvironmentsControllerFindBySlugUrl = exports.environmentsControllerCreate = exports.getEnvironmentsControllerCreateUrl = exports.environmentsControllerList = exports.getEnvironmentsControllerListUrl = exports.builtInEnvironmentsControllerFindBuiltInBySlug = exports.getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl = exports.builtInEnvironmentsControllerListBuiltIn = exports.getBuiltInEnvironmentsControllerListBuiltInUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getBuiltInEnvironmentsControllerListBuiltInUrl = () => {
|
|
6
|
+
return `/environments/built-in`;
|
|
7
|
+
};
|
|
8
|
+
exports.getBuiltInEnvironmentsControllerListBuiltInUrl = getBuiltInEnvironmentsControllerListBuiltInUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Built-in (non-org) environments only; no org is read or accepted.
|
|
11
|
+
* @summary List the built-in ExecutionEnvironment rows
|
|
12
|
+
*/
|
|
13
|
+
const builtInEnvironmentsControllerListBuiltIn = async (options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getBuiltInEnvironmentsControllerListBuiltInUrl)(), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'GET'
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
exports.builtInEnvironmentsControllerListBuiltIn = builtInEnvironmentsControllerListBuiltIn;
|
|
20
|
+
const getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl = (slug) => {
|
|
21
|
+
return `/environments/built-in/${slug}`;
|
|
22
|
+
};
|
|
23
|
+
exports.getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl = getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl;
|
|
24
|
+
/**
|
|
25
|
+
* Resolves a built-in only; an org-custom slug is never returned. 404 if unknown.
|
|
26
|
+
* @summary Fetch one built-in ExecutionEnvironment by slug
|
|
27
|
+
*/
|
|
28
|
+
const builtInEnvironmentsControllerFindBuiltInBySlug = async (slug, options) => {
|
|
29
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getBuiltInEnvironmentsControllerFindBuiltInBySlugUrl)(slug), {
|
|
30
|
+
...options,
|
|
31
|
+
method: 'GET'
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
exports.builtInEnvironmentsControllerFindBuiltInBySlug = builtInEnvironmentsControllerFindBuiltInBySlug;
|
|
5
35
|
const getEnvironmentsControllerListUrl = (params) => {
|
|
6
36
|
const normalizedParams = new URLSearchParams();
|
|
7
37
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -26,7 +56,7 @@ const getEnvironmentsControllerListUrl = (params) => {
|
|
|
26
56
|
};
|
|
27
57
|
exports.getEnvironmentsControllerListUrl = getEnvironmentsControllerListUrl;
|
|
28
58
|
/**
|
|
29
|
-
* Returns the kernel-seeded built-in environments
|
|
59
|
+
* 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`.
|
|
30
60
|
* @summary List ExecutionEnvironment rows
|
|
31
61
|
*/
|
|
32
62
|
const environmentsControllerList = async (params, options) => {
|
|
@@ -53,107 +83,6 @@ const environmentsControllerCreate = async (createExecutionEnvironmentDto, optio
|
|
|
53
83
|
});
|
|
54
84
|
};
|
|
55
85
|
exports.environmentsControllerCreate = environmentsControllerCreate;
|
|
56
|
-
const getEnvironmentsControllerReleaseHistoryUrl = (slug, params) => {
|
|
57
|
-
const normalizedParams = new URLSearchParams();
|
|
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 ? `/environments/${slug}/release-history?${stringifiedParams}` : `/environments/${slug}/release-history`;
|
|
77
|
-
};
|
|
78
|
-
exports.getEnvironmentsControllerReleaseHistoryUrl = getEnvironmentsControllerReleaseHistoryUrl;
|
|
79
|
-
/**
|
|
80
|
-
* @summary List immutable generic ReleaseSet history for an Environment
|
|
81
|
-
*/
|
|
82
|
-
const environmentsControllerReleaseHistory = async (slug, params, options) => {
|
|
83
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerReleaseHistoryUrl)(slug, params), {
|
|
84
|
-
...options,
|
|
85
|
-
method: 'GET'
|
|
86
|
-
});
|
|
87
|
-
};
|
|
88
|
-
exports.environmentsControllerReleaseHistory = environmentsControllerReleaseHistory;
|
|
89
|
-
const getEnvironmentsControllerReleaseImpactUrl = (slug, params) => {
|
|
90
|
-
const normalizedParams = new URLSearchParams();
|
|
91
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
92
|
-
if (value === undefined)
|
|
93
|
-
return;
|
|
94
|
-
if (value === null) {
|
|
95
|
-
normalizedParams.append(key, 'null');
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
if (Array.isArray(value)) {
|
|
99
|
-
for (const item of value) {
|
|
100
|
-
if (item === undefined || item === null)
|
|
101
|
-
continue;
|
|
102
|
-
normalizedParams.append(key, item.toString());
|
|
103
|
-
}
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
normalizedParams.append(key, value.toString());
|
|
107
|
-
});
|
|
108
|
-
const stringifiedParams = normalizedParams.toString();
|
|
109
|
-
return stringifiedParams.length > 0 ? `/environments/${slug}/release-impact?${stringifiedParams}` : `/environments/${slug}/release-impact`;
|
|
110
|
-
};
|
|
111
|
-
exports.getEnvironmentsControllerReleaseImpactUrl = getEnvironmentsControllerReleaseImpactUrl;
|
|
112
|
-
/**
|
|
113
|
-
* @summary Preview reverse-transitive impact of the selected Environment release
|
|
114
|
-
*/
|
|
115
|
-
const environmentsControllerReleaseImpact = async (slug, params, options) => {
|
|
116
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerReleaseImpactUrl)(slug, params), {
|
|
117
|
-
...options,
|
|
118
|
-
method: 'GET'
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
exports.environmentsControllerReleaseImpact = environmentsControllerReleaseImpact;
|
|
122
|
-
const getEnvironmentsControllerRollbackUrl = (slug, params) => {
|
|
123
|
-
const normalizedParams = new URLSearchParams();
|
|
124
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
125
|
-
if (value === undefined)
|
|
126
|
-
return;
|
|
127
|
-
if (value === null) {
|
|
128
|
-
normalizedParams.append(key, 'null');
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
if (Array.isArray(value)) {
|
|
132
|
-
for (const item of value) {
|
|
133
|
-
if (item === undefined || item === null)
|
|
134
|
-
continue;
|
|
135
|
-
normalizedParams.append(key, item.toString());
|
|
136
|
-
}
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
normalizedParams.append(key, value.toString());
|
|
140
|
-
});
|
|
141
|
-
const stringifiedParams = normalizedParams.toString();
|
|
142
|
-
return stringifiedParams.length > 0 ? `/environments/${slug}/rollback?${stringifiedParams}` : `/environments/${slug}/rollback`;
|
|
143
|
-
};
|
|
144
|
-
exports.getEnvironmentsControllerRollbackUrl = getEnvironmentsControllerRollbackUrl;
|
|
145
|
-
/**
|
|
146
|
-
* @summary CAS-rollback an Environment channel to a prior ReleaseSet
|
|
147
|
-
*/
|
|
148
|
-
const environmentsControllerRollback = async (slug, rollbackExecutionEnvironmentDto, params, options) => {
|
|
149
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getEnvironmentsControllerRollbackUrl)(slug, params), {
|
|
150
|
-
...options,
|
|
151
|
-
method: 'POST',
|
|
152
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
153
|
-
body: JSON.stringify(rollbackExecutionEnvironmentDto)
|
|
154
|
-
});
|
|
155
|
-
};
|
|
156
|
-
exports.environmentsControllerRollback = environmentsControllerRollback;
|
|
157
86
|
const getEnvironmentsControllerFindBySlugUrl = (slug, params) => {
|
|
158
87
|
const normalizedParams = new URLSearchParams();
|
|
159
88
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -3,39 +3,24 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
7
|
-
export declare const
|
|
6
|
+
import type { OutputRouteAuthorityDtoDataEnvelope, OutputRoutePublicationRequestDtoDataEnvelope, OutputRouteReleaseRequestDtoDataEnvelope, RequestOutputRouteRetirementDto, RequestOutputRouteRevisionReleaseDto, RequestOutputRouteRollbackDto, ResolveExactOutputRouteDto } from '../../models';
|
|
7
|
+
export declare const getOutputRouteExactReadControllerResolveExactUrl: () => string;
|
|
8
8
|
/**
|
|
9
|
-
* @summary
|
|
9
|
+
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
10
10
|
*/
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
11
|
+
export declare const outputRouteExactReadControllerResolveExact: (resolveExactOutputRouteDto: ResolveExactOutputRouteDto, options?: RequestInit) => Promise<OutputRouteAuthorityDtoDataEnvelope>;
|
|
12
|
+
export declare const getOutputRouteWritesControllerRequestRevisionReleaseUrl: () => string;
|
|
13
13
|
/**
|
|
14
|
-
* @summary
|
|
14
|
+
* @summary Publish an immutable OutputRoute revision and request its governed channel release
|
|
15
15
|
*/
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
16
|
+
export declare const outputRouteWritesControllerRequestRevisionRelease: (requestOutputRouteRevisionReleaseDto: RequestOutputRouteRevisionReleaseDto, options?: RequestInit) => Promise<OutputRoutePublicationRequestDtoDataEnvelope>;
|
|
17
|
+
export declare const getOutputRouteWritesControllerRequestRetirementUrl: (routeId: string) => string;
|
|
18
18
|
/**
|
|
19
19
|
* @summary Request governed OutputRoute channel retirement without invalidating exact historical pins
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
21
|
+
export declare const outputRouteWritesControllerRequestRetirement: (routeId: string, requestOutputRouteRetirementDto: RequestOutputRouteRetirementDto, options?: RequestInit) => Promise<OutputRouteReleaseRequestDtoDataEnvelope>;
|
|
22
|
+
export declare const getOutputRouteWritesControllerRequestRollbackUrl: (routeId: string) => string;
|
|
23
23
|
/**
|
|
24
24
|
* @summary Request rollback to an immutable prior ReleaseSet
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
27
|
-
export declare const getOutputRouteRevisionsControllerReleaseHistoryUrl: (routeId: string, params: OutputRouteRevisionsControllerReleaseHistoryParams) => string;
|
|
28
|
-
/**
|
|
29
|
-
* @summary List immutable governed OutputRoute release history
|
|
30
|
-
*/
|
|
31
|
-
export declare const outputRouteRevisionsControllerReleaseHistory: (routeId: string, params: OutputRouteRevisionsControllerReleaseHistoryParams, options?: RequestInit) => Promise<OutputRouteReleaseHistoryDtoDataArrayEnvelope>;
|
|
32
|
-
export declare const getOutputRouteRevisionsControllerPreviewImpactUrl: (routeId: string) => string;
|
|
33
|
-
/**
|
|
34
|
-
* @summary Preview reverse impact of a channel advance
|
|
35
|
-
*/
|
|
36
|
-
export declare const outputRouteRevisionsControllerPreviewImpact: (routeId: string, previewOutputRouteImpactDto: PreviewOutputRouteImpactDto, options?: RequestInit) => Promise<ImpactedOutputRouteConsumerDtoDataArrayEnvelope>;
|
|
37
|
-
export declare const getOutputRouteExactReadControllerResolveExactUrl: () => string;
|
|
38
|
-
/**
|
|
39
|
-
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
40
|
-
*/
|
|
41
|
-
export declare const outputRouteExactReadControllerResolveExact: (resolveExactOutputRouteDto: ResolveExactOutputRouteDto, options?: RequestInit) => Promise<OutputRouteAuthorityDtoDataEnvelope>;
|
|
26
|
+
export declare const outputRouteWritesControllerRequestRollback: (routeId: string, requestOutputRouteRollbackDto: RequestOutputRouteRollbackDto, options?: RequestInit) => Promise<OutputRouteReleaseRequestDtoDataEnvelope>;
|
|
@@ -1,133 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.outputRouteWritesControllerRequestRollback = exports.getOutputRouteWritesControllerRequestRollbackUrl = exports.outputRouteWritesControllerRequestRetirement = exports.getOutputRouteWritesControllerRequestRetirementUrl = exports.outputRouteWritesControllerRequestRevisionRelease = exports.getOutputRouteWritesControllerRequestRevisionReleaseUrl = exports.outputRouteExactReadControllerResolveExact = exports.getOutputRouteExactReadControllerResolveExactUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const
|
|
6
|
-
return `/output-routes/
|
|
5
|
+
const getOutputRouteExactReadControllerResolveExactUrl = () => {
|
|
6
|
+
return `/output-routes/resolve-exact`;
|
|
7
7
|
};
|
|
8
|
-
exports.
|
|
8
|
+
exports.getOutputRouteExactReadControllerResolveExactUrl = getOutputRouteExactReadControllerResolveExactUrl;
|
|
9
9
|
/**
|
|
10
|
-
* @summary
|
|
10
|
+
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.
|
|
12
|
+
const outputRouteExactReadControllerResolveExact = async (resolveExactOutputRouteDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteExactReadControllerResolveExactUrl)(), {
|
|
14
14
|
...options,
|
|
15
15
|
method: 'POST',
|
|
16
16
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(
|
|
17
|
+
body: JSON.stringify(resolveExactOutputRouteDto)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
|
-
exports.
|
|
21
|
-
const
|
|
22
|
-
return `/output-routes/
|
|
20
|
+
exports.outputRouteExactReadControllerResolveExact = outputRouteExactReadControllerResolveExact;
|
|
21
|
+
const getOutputRouteWritesControllerRequestRevisionReleaseUrl = () => {
|
|
22
|
+
return `/output-routes/revisions`;
|
|
23
23
|
};
|
|
24
|
-
exports.
|
|
24
|
+
exports.getOutputRouteWritesControllerRequestRevisionReleaseUrl = getOutputRouteWritesControllerRequestRevisionReleaseUrl;
|
|
25
25
|
/**
|
|
26
|
-
* @summary
|
|
26
|
+
* @summary Publish an immutable OutputRoute revision and request its governed channel release
|
|
27
27
|
*/
|
|
28
|
-
const
|
|
29
|
-
return (0, custom_fetch_1.customFetch)((0, exports.
|
|
28
|
+
const outputRouteWritesControllerRequestRevisionRelease = async (requestOutputRouteRevisionReleaseDto, options) => {
|
|
29
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteWritesControllerRequestRevisionReleaseUrl)(), {
|
|
30
30
|
...options,
|
|
31
31
|
method: 'POST',
|
|
32
32
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
33
|
-
body: JSON.stringify(
|
|
33
|
+
body: JSON.stringify(requestOutputRouteRevisionReleaseDto)
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
|
-
exports.
|
|
37
|
-
const
|
|
36
|
+
exports.outputRouteWritesControllerRequestRevisionRelease = outputRouteWritesControllerRequestRevisionRelease;
|
|
37
|
+
const getOutputRouteWritesControllerRequestRetirementUrl = (routeId) => {
|
|
38
38
|
return `/output-routes/${routeId}/retire-requests`;
|
|
39
39
|
};
|
|
40
|
-
exports.
|
|
40
|
+
exports.getOutputRouteWritesControllerRequestRetirementUrl = getOutputRouteWritesControllerRequestRetirementUrl;
|
|
41
41
|
/**
|
|
42
42
|
* @summary Request governed OutputRoute channel retirement without invalidating exact historical pins
|
|
43
43
|
*/
|
|
44
|
-
const
|
|
45
|
-
return (0, custom_fetch_1.customFetch)((0, exports.
|
|
44
|
+
const outputRouteWritesControllerRequestRetirement = async (routeId, requestOutputRouteRetirementDto, options) => {
|
|
45
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteWritesControllerRequestRetirementUrl)(routeId), {
|
|
46
46
|
...options,
|
|
47
47
|
method: 'POST',
|
|
48
48
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
49
49
|
body: JSON.stringify(requestOutputRouteRetirementDto)
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
|
-
exports.
|
|
53
|
-
const
|
|
52
|
+
exports.outputRouteWritesControllerRequestRetirement = outputRouteWritesControllerRequestRetirement;
|
|
53
|
+
const getOutputRouteWritesControllerRequestRollbackUrl = (routeId) => {
|
|
54
54
|
return `/output-routes/${routeId}/rollback-requests`;
|
|
55
55
|
};
|
|
56
|
-
exports.
|
|
56
|
+
exports.getOutputRouteWritesControllerRequestRollbackUrl = getOutputRouteWritesControllerRequestRollbackUrl;
|
|
57
57
|
/**
|
|
58
58
|
* @summary Request rollback to an immutable prior ReleaseSet
|
|
59
59
|
*/
|
|
60
|
-
const
|
|
61
|
-
return (0, custom_fetch_1.customFetch)((0, exports.
|
|
60
|
+
const outputRouteWritesControllerRequestRollback = async (routeId, requestOutputRouteRollbackDto, options) => {
|
|
61
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteWritesControllerRequestRollbackUrl)(routeId), {
|
|
62
62
|
...options,
|
|
63
63
|
method: 'POST',
|
|
64
64
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
65
65
|
body: JSON.stringify(requestOutputRouteRollbackDto)
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
|
-
exports.
|
|
69
|
-
const getOutputRouteRevisionsControllerReleaseHistoryUrl = (routeId, params) => {
|
|
70
|
-
const normalizedParams = new URLSearchParams();
|
|
71
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
72
|
-
if (value === undefined)
|
|
73
|
-
return;
|
|
74
|
-
if (value === null) {
|
|
75
|
-
normalizedParams.append(key, 'null');
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
if (Array.isArray(value)) {
|
|
79
|
-
for (const item of value) {
|
|
80
|
-
if (item === undefined || item === null)
|
|
81
|
-
continue;
|
|
82
|
-
normalizedParams.append(key, item.toString());
|
|
83
|
-
}
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
normalizedParams.append(key, value.toString());
|
|
87
|
-
});
|
|
88
|
-
const stringifiedParams = normalizedParams.toString();
|
|
89
|
-
return stringifiedParams.length > 0 ? `/output-routes/${routeId}/release-history?${stringifiedParams}` : `/output-routes/${routeId}/release-history`;
|
|
90
|
-
};
|
|
91
|
-
exports.getOutputRouteRevisionsControllerReleaseHistoryUrl = getOutputRouteRevisionsControllerReleaseHistoryUrl;
|
|
92
|
-
/**
|
|
93
|
-
* @summary List immutable governed OutputRoute release history
|
|
94
|
-
*/
|
|
95
|
-
const outputRouteRevisionsControllerReleaseHistory = async (routeId, params, options) => {
|
|
96
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteRevisionsControllerReleaseHistoryUrl)(routeId, params), {
|
|
97
|
-
...options,
|
|
98
|
-
method: 'GET'
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
exports.outputRouteRevisionsControllerReleaseHistory = outputRouteRevisionsControllerReleaseHistory;
|
|
102
|
-
const getOutputRouteRevisionsControllerPreviewImpactUrl = (routeId) => {
|
|
103
|
-
return `/output-routes/${routeId}/release-impact`;
|
|
104
|
-
};
|
|
105
|
-
exports.getOutputRouteRevisionsControllerPreviewImpactUrl = getOutputRouteRevisionsControllerPreviewImpactUrl;
|
|
106
|
-
/**
|
|
107
|
-
* @summary Preview reverse impact of a channel advance
|
|
108
|
-
*/
|
|
109
|
-
const outputRouteRevisionsControllerPreviewImpact = async (routeId, previewOutputRouteImpactDto, options) => {
|
|
110
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteRevisionsControllerPreviewImpactUrl)(routeId), {
|
|
111
|
-
...options,
|
|
112
|
-
method: 'POST',
|
|
113
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
114
|
-
body: JSON.stringify(previewOutputRouteImpactDto)
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
exports.outputRouteRevisionsControllerPreviewImpact = outputRouteRevisionsControllerPreviewImpact;
|
|
118
|
-
const getOutputRouteExactReadControllerResolveExactUrl = () => {
|
|
119
|
-
return `/output-routes/resolve-exact`;
|
|
120
|
-
};
|
|
121
|
-
exports.getOutputRouteExactReadControllerResolveExactUrl = getOutputRouteExactReadControllerResolveExactUrl;
|
|
122
|
-
/**
|
|
123
|
-
* @summary Resolve one exact OutputRoute revision and current subject access
|
|
124
|
-
*/
|
|
125
|
-
const outputRouteExactReadControllerResolveExact = async (resolveExactOutputRouteDto, options) => {
|
|
126
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getOutputRouteExactReadControllerResolveExactUrl)(), {
|
|
127
|
-
...options,
|
|
128
|
-
method: 'POST',
|
|
129
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
130
|
-
body: JSON.stringify(resolveExactOutputRouteDto)
|
|
131
|
-
});
|
|
132
|
-
};
|
|
133
|
-
exports.outputRouteExactReadControllerResolveExact = outputRouteExactReadControllerResolveExact;
|
|
68
|
+
exports.outputRouteWritesControllerRequestRollback = outputRouteWritesControllerRequestRollback;
|
|
@@ -3,44 +3,10 @@
|
|
|
3
3
|
* Authorization API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
7
|
-
export declare const getTeamsControllerCreateUrl: () => string;
|
|
8
|
-
/**
|
|
9
|
-
* @summary Create a team
|
|
10
|
-
*/
|
|
11
|
-
export declare const teamsControllerCreate: (createTeamDto: CreateTeamDto, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
12
|
-
export declare const getTeamsControllerListUrl: (params: TeamsControllerListParams) => string;
|
|
13
|
-
/**
|
|
14
|
-
* @summary List teams in an org
|
|
15
|
-
*/
|
|
16
|
-
export declare const teamsControllerList: (params: TeamsControllerListParams, options?: RequestInit) => Promise<TeamDtoDataArrayEnvelope>;
|
|
6
|
+
import type { TeamOwnerDtoDataEnvelope } from '../../models';
|
|
17
7
|
export declare const getTeamsControllerGetByIdUrl: (id: string) => string;
|
|
18
8
|
/**
|
|
19
|
-
*
|
|
20
|
-
|
|
21
|
-
export declare const teamsControllerGetById: (id: string, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
22
|
-
export declare const getTeamsControllerUpdateUrl: (id: string) => string;
|
|
23
|
-
/**
|
|
24
|
-
* @summary Update a team (rename, re-describe, re-parent)
|
|
25
|
-
*/
|
|
26
|
-
export declare const teamsControllerUpdate: (id: string, updateTeamDto: UpdateTeamDto, options?: RequestInit) => Promise<TeamDtoDataEnvelope>;
|
|
27
|
-
export declare const getTeamsControllerDeleteUrl: (id: string) => string;
|
|
28
|
-
/**
|
|
29
|
-
* @summary Delete a team (cascades memberships + assignments)
|
|
30
|
-
*/
|
|
31
|
-
export declare const teamsControllerDelete: (id: string, options?: RequestInit) => Promise<void>;
|
|
32
|
-
export declare const getTeamsControllerListMembersUrl: (id: string) => string;
|
|
33
|
-
/**
|
|
34
|
-
* @summary List a team’s direct members
|
|
35
|
-
*/
|
|
36
|
-
export declare const teamsControllerListMembers: (id: string, options?: RequestInit) => Promise<TeamMembershipDtoDataArrayEnvelope>;
|
|
37
|
-
export declare const getTeamsControllerAddMemberUrl: (id: string) => string;
|
|
38
|
-
/**
|
|
39
|
-
* @summary Add a subject (user/agent/service/app/external) to a team
|
|
40
|
-
*/
|
|
41
|
-
export declare const teamsControllerAddMember: (id: string, addTeamMemberDto: AddTeamMemberDto, options?: RequestInit) => Promise<TeamMembershipDtoDataEnvelope>;
|
|
42
|
-
export declare const getTeamsControllerRemoveMemberUrl: (id: string, membershipId: string) => string;
|
|
43
|
-
/**
|
|
44
|
-
* @summary Remove a member from a team
|
|
9
|
+
* A team in another organization answers 404, exactly like an unknown id.
|
|
10
|
+
* @summary Read a team's owning organization
|
|
45
11
|
*/
|
|
46
|
-
export declare const
|
|
12
|
+
export declare const teamsControllerGetById: (id: string, options?: RequestInit) => Promise<TeamOwnerDtoDataEnvelope>;
|
|
@@ -1,62 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.teamsControllerGetById = exports.getTeamsControllerGetByIdUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getTeamsControllerCreateUrl = () => {
|
|
6
|
-
return `/teams`;
|
|
7
|
-
};
|
|
8
|
-
exports.getTeamsControllerCreateUrl = getTeamsControllerCreateUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Create a team
|
|
11
|
-
*/
|
|
12
|
-
const teamsControllerCreate = async (createTeamDto, options) => {
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerCreateUrl)(), {
|
|
14
|
-
...options,
|
|
15
|
-
method: 'POST',
|
|
16
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(createTeamDto)
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
exports.teamsControllerCreate = teamsControllerCreate;
|
|
21
|
-
const getTeamsControllerListUrl = (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 ? `/teams?${stringifiedParams}` : `/teams`;
|
|
42
|
-
};
|
|
43
|
-
exports.getTeamsControllerListUrl = getTeamsControllerListUrl;
|
|
44
|
-
/**
|
|
45
|
-
* @summary List teams in an org
|
|
46
|
-
*/
|
|
47
|
-
const teamsControllerList = async (params, options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerListUrl)(params), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.teamsControllerList = teamsControllerList;
|
|
54
5
|
const getTeamsControllerGetByIdUrl = (id) => {
|
|
55
6
|
return `/teams/${id}`;
|
|
56
7
|
};
|
|
57
8
|
exports.getTeamsControllerGetByIdUrl = getTeamsControllerGetByIdUrl;
|
|
58
9
|
/**
|
|
59
|
-
*
|
|
10
|
+
* A team in another organization answers 404, exactly like an unknown id.
|
|
11
|
+
* @summary Read a team's owning organization
|
|
60
12
|
*/
|
|
61
13
|
const teamsControllerGetById = async (id, options) => {
|
|
62
14
|
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerGetByIdUrl)(id), {
|
|
@@ -65,77 +17,3 @@ const teamsControllerGetById = async (id, options) => {
|
|
|
65
17
|
});
|
|
66
18
|
};
|
|
67
19
|
exports.teamsControllerGetById = teamsControllerGetById;
|
|
68
|
-
const getTeamsControllerUpdateUrl = (id) => {
|
|
69
|
-
return `/teams/${id}`;
|
|
70
|
-
};
|
|
71
|
-
exports.getTeamsControllerUpdateUrl = getTeamsControllerUpdateUrl;
|
|
72
|
-
/**
|
|
73
|
-
* @summary Update a team (rename, re-describe, re-parent)
|
|
74
|
-
*/
|
|
75
|
-
const teamsControllerUpdate = async (id, updateTeamDto, options) => {
|
|
76
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerUpdateUrl)(id), {
|
|
77
|
-
...options,
|
|
78
|
-
method: 'PATCH',
|
|
79
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
80
|
-
body: JSON.stringify(updateTeamDto)
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
exports.teamsControllerUpdate = teamsControllerUpdate;
|
|
84
|
-
const getTeamsControllerDeleteUrl = (id) => {
|
|
85
|
-
return `/teams/${id}`;
|
|
86
|
-
};
|
|
87
|
-
exports.getTeamsControllerDeleteUrl = getTeamsControllerDeleteUrl;
|
|
88
|
-
/**
|
|
89
|
-
* @summary Delete a team (cascades memberships + assignments)
|
|
90
|
-
*/
|
|
91
|
-
const teamsControllerDelete = async (id, options) => {
|
|
92
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerDeleteUrl)(id), {
|
|
93
|
-
...options,
|
|
94
|
-
method: 'DELETE'
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
exports.teamsControllerDelete = teamsControllerDelete;
|
|
98
|
-
const getTeamsControllerListMembersUrl = (id) => {
|
|
99
|
-
return `/teams/${id}/members`;
|
|
100
|
-
};
|
|
101
|
-
exports.getTeamsControllerListMembersUrl = getTeamsControllerListMembersUrl;
|
|
102
|
-
/**
|
|
103
|
-
* @summary List a team’s direct members
|
|
104
|
-
*/
|
|
105
|
-
const teamsControllerListMembers = async (id, options) => {
|
|
106
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerListMembersUrl)(id), {
|
|
107
|
-
...options,
|
|
108
|
-
method: 'GET'
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
exports.teamsControllerListMembers = teamsControllerListMembers;
|
|
112
|
-
const getTeamsControllerAddMemberUrl = (id) => {
|
|
113
|
-
return `/teams/${id}/members`;
|
|
114
|
-
};
|
|
115
|
-
exports.getTeamsControllerAddMemberUrl = getTeamsControllerAddMemberUrl;
|
|
116
|
-
/**
|
|
117
|
-
* @summary Add a subject (user/agent/service/app/external) to a team
|
|
118
|
-
*/
|
|
119
|
-
const teamsControllerAddMember = async (id, addTeamMemberDto, options) => {
|
|
120
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerAddMemberUrl)(id), {
|
|
121
|
-
...options,
|
|
122
|
-
method: 'POST',
|
|
123
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
124
|
-
body: JSON.stringify(addTeamMemberDto)
|
|
125
|
-
});
|
|
126
|
-
};
|
|
127
|
-
exports.teamsControllerAddMember = teamsControllerAddMember;
|
|
128
|
-
const getTeamsControllerRemoveMemberUrl = (id, membershipId) => {
|
|
129
|
-
return `/teams/${id}/members/${membershipId}`;
|
|
130
|
-
};
|
|
131
|
-
exports.getTeamsControllerRemoveMemberUrl = getTeamsControllerRemoveMemberUrl;
|
|
132
|
-
/**
|
|
133
|
-
* @summary Remove a member from a team
|
|
134
|
-
*/
|
|
135
|
-
const teamsControllerRemoveMember = async (id, membershipId, options) => {
|
|
136
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getTeamsControllerRemoveMemberUrl)(id, membershipId), {
|
|
137
|
-
...options,
|
|
138
|
-
method: 'DELETE'
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
exports.teamsControllerRemoveMember = teamsControllerRemoveMember;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export { configureClient, getClientConfig, ClientError, customFetch, type Client
|
|
|
2
2
|
export * from './models';
|
|
3
3
|
export * from './endpoints/agents/agents';
|
|
4
4
|
export * from './endpoints/authorization/authorization';
|
|
5
|
+
export * from './endpoints/authorization-biome-facts/authorization-biome-facts';
|
|
5
6
|
export * from './endpoints/authorization-policy-sets/authorization-policy-sets';
|
|
6
7
|
export * from './endpoints/capability-authority-requests/capability-authority-requests';
|
|
7
8
|
export * from './endpoints/contribution-sync/contribution-sync';
|
|
8
|
-
export * from './endpoints/credential-defaults/credential-defaults';
|
|
9
9
|
export * from './endpoints/describe-objects/describe-objects';
|
|
10
10
|
export * from './endpoints/durable-delegations/durable-delegations';
|
|
11
11
|
export * from './endpoints/environments/environments';
|
|
@@ -13,8 +13,6 @@ export * from './endpoints/facts/facts';
|
|
|
13
13
|
export * from './endpoints/grants/grants';
|
|
14
14
|
export * from './endpoints/org-erasure/org-erasure';
|
|
15
15
|
export * from './endpoints/output-routes/output-routes';
|
|
16
|
-
export * from './endpoints/profiles/profiles';
|
|
17
|
-
export * from './endpoints/relationships/relationships';
|
|
18
16
|
export * from './endpoints/resource-revisions/resource-revisions';
|
|
19
17
|
export * from './endpoints/roles/roles';
|
|
20
18
|
export * from './endpoints/teams/teams';
|
package/dist/index.js
CHANGED
|
@@ -24,10 +24,10 @@ Object.defineProperty(exports, "customFetch", { enumerable: true, get: function
|
|
|
24
24
|
__exportStar(require("./models"), exports);
|
|
25
25
|
__exportStar(require("./endpoints/agents/agents"), exports);
|
|
26
26
|
__exportStar(require("./endpoints/authorization/authorization"), exports);
|
|
27
|
+
__exportStar(require("./endpoints/authorization-biome-facts/authorization-biome-facts"), exports);
|
|
27
28
|
__exportStar(require("./endpoints/authorization-policy-sets/authorization-policy-sets"), exports);
|
|
28
29
|
__exportStar(require("./endpoints/capability-authority-requests/capability-authority-requests"), exports);
|
|
29
30
|
__exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
|
|
30
|
-
__exportStar(require("./endpoints/credential-defaults/credential-defaults"), exports);
|
|
31
31
|
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
32
32
|
__exportStar(require("./endpoints/durable-delegations/durable-delegations"), exports);
|
|
33
33
|
__exportStar(require("./endpoints/environments/environments"), exports);
|
|
@@ -35,8 +35,6 @@ __exportStar(require("./endpoints/facts/facts"), exports);
|
|
|
35
35
|
__exportStar(require("./endpoints/grants/grants"), exports);
|
|
36
36
|
__exportStar(require("./endpoints/org-erasure/org-erasure"), exports);
|
|
37
37
|
__exportStar(require("./endpoints/output-routes/output-routes"), exports);
|
|
38
|
-
__exportStar(require("./endpoints/profiles/profiles"), exports);
|
|
39
|
-
__exportStar(require("./endpoints/relationships/relationships"), exports);
|
|
40
38
|
__exportStar(require("./endpoints/resource-revisions/resource-revisions"), exports);
|
|
41
39
|
__exportStar(require("./endpoints/roles/roles"), exports);
|
|
42
40
|
__exportStar(require("./endpoints/teams/teams"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
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 BiomeSignedFactsEntryDto {
|
|
7
|
+
/**
|
|
8
|
+
* The signed biome id.
|
|
9
|
+
* @minLength 1
|
|
10
|
+
*/
|
|
11
|
+
biomeId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The signed biome version.
|
|
14
|
+
* @minLength 1
|
|
15
|
+
*/
|
|
16
|
+
biomeVersion: string;
|
|
17
|
+
/** The service names the biome ships (unique across biomes). */
|
|
18
|
+
serviceNames: string[];
|
|
19
|
+
/** The biome's own capabilities plus its manifest requiresCapabilitiesForService. */
|
|
20
|
+
declaredCapabilities: string[];
|
|
21
|
+
}
|