@fern-api/venus-api-sdk 15.4.0 → 15.5.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +11 -6
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/oidc/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/oidc/client/Client.js +378 -0
- package/dist/cjs/api/resources/oidc/client/exchangeGithubOidcToken.d.ts +25 -0
- package/dist/cjs/api/resources/oidc/client/exchangeGithubOidcToken.js +66 -0
- package/dist/cjs/api/resources/oidc/client/index.d.ts +5 -0
- package/dist/cjs/api/resources/oidc/client/index.js +44 -0
- package/dist/cjs/api/resources/oidc/client/listTrustedRepos.d.ts +25 -0
- package/dist/cjs/api/resources/oidc/client/listTrustedRepos.js +66 -0
- package/dist/cjs/api/resources/oidc/client/requests/GithubOidcExchangeRequest.d.ts +11 -0
- package/dist/cjs/api/resources/oidc/client/requests/GithubOidcExchangeRequest.js +3 -0
- package/dist/cjs/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.js +3 -0
- package/dist/cjs/api/resources/oidc/client/requests/TrustRepoRequest.d.ts +15 -0
- package/dist/cjs/api/resources/oidc/client/requests/TrustRepoRequest.js +3 -0
- package/dist/cjs/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.d.ts +11 -0
- package/dist/cjs/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.js +3 -0
- package/dist/cjs/api/resources/oidc/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/oidc/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/oidc/client/trustRepo.d.ts +25 -0
- package/dist/cjs/api/resources/oidc/client/trustRepo.js +66 -0
- package/dist/cjs/api/resources/oidc/client/untrustRepo.d.ts +25 -0
- package/dist/cjs/api/resources/oidc/client/untrustRepo.js +66 -0
- package/dist/cjs/api/resources/oidc/index.d.ts +1 -0
- package/dist/cjs/api/resources/oidc/index.js +17 -0
- package/dist/cjs/api/types/TrustedRepo.d.ts +8 -0
- package/dist/cjs/api/types/TrustedRepo.js +3 -0
- package/dist/cjs/api/types/TrustedRepos.d.ts +4 -0
- package/dist/cjs/api/types/TrustedRepos.js +3 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/oidc/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/oidc/client/index.js +17 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.js +42 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/TrustRepoRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/TrustRepoRequest.js +42 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/oidc/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/oidc/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/oidc/index.js +17 -0
- package/dist/cjs/serialization/types/TrustedRepo.d.ts +14 -0
- package/dist/cjs/serialization/types/TrustedRepo.js +46 -0
- package/dist/cjs/serialization/types/TrustedRepos.d.ts +10 -0
- package/dist/cjs/serialization/types/TrustedRepos.js +42 -0
- package/dist/cjs/serialization/types/index.d.ts +2 -0
- package/dist/cjs/serialization/types/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/oidc/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/oidc/client/Client.mjs +341 -0
- package/dist/esm/api/resources/oidc/client/exchangeGithubOidcToken.d.mts +25 -0
- package/dist/esm/api/resources/oidc/client/exchangeGithubOidcToken.mjs +30 -0
- package/dist/esm/api/resources/oidc/client/index.d.mts +5 -0
- package/dist/esm/api/resources/oidc/client/index.mjs +5 -0
- package/dist/esm/api/resources/oidc/client/listTrustedRepos.d.mts +25 -0
- package/dist/esm/api/resources/oidc/client/listTrustedRepos.mjs +30 -0
- package/dist/esm/api/resources/oidc/client/requests/GithubOidcExchangeRequest.d.mts +11 -0
- package/dist/esm/api/resources/oidc/client/requests/GithubOidcExchangeRequest.mjs +2 -0
- package/dist/esm/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/oidc/client/requests/ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.mjs +2 -0
- package/dist/esm/api/resources/oidc/client/requests/TrustRepoRequest.d.mts +15 -0
- package/dist/esm/api/resources/oidc/client/requests/TrustRepoRequest.mjs +2 -0
- package/dist/esm/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.d.mts +11 -0
- package/dist/esm/api/resources/oidc/client/requests/UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.mjs +2 -0
- package/dist/esm/api/resources/oidc/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/oidc/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oidc/client/trustRepo.d.mts +25 -0
- package/dist/esm/api/resources/oidc/client/trustRepo.mjs +30 -0
- package/dist/esm/api/resources/oidc/client/untrustRepo.d.mts +25 -0
- package/dist/esm/api/resources/oidc/client/untrustRepo.mjs +30 -0
- package/dist/esm/api/resources/oidc/index.d.mts +1 -0
- package/dist/esm/api/resources/oidc/index.mjs +1 -0
- package/dist/esm/api/types/TrustedRepo.d.mts +8 -0
- package/dist/esm/api/types/TrustedRepo.mjs +2 -0
- package/dist/esm/api/types/TrustedRepos.d.mts +4 -0
- package/dist/esm/api/types/TrustedRepos.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/oidc/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/oidc/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/oidc/client/requests/GithubOidcExchangeRequest.mjs +6 -0
- package/dist/esm/serialization/resources/oidc/client/requests/TrustRepoRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/oidc/client/requests/TrustRepoRequest.mjs +6 -0
- package/dist/esm/serialization/resources/oidc/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/oidc/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/oidc/index.d.mts +1 -0
- package/dist/esm/serialization/resources/oidc/index.mjs +1 -0
- package/dist/esm/serialization/types/TrustedRepo.d.mts +14 -0
- package/dist/esm/serialization/types/TrustedRepo.mjs +10 -0
- package/dist/esm/serialization/types/TrustedRepos.d.mts +10 -0
- package/dist/esm/serialization/types/TrustedRepos.mjs +6 -0
- package/dist/esm/serialization/types/index.d.mts +2 -0
- package/dist/esm/serialization/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +210 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
23
|
+
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
24
|
+
import * as core from "../../../../core/index.mjs";
|
|
25
|
+
import * as serializers from "../../../../serialization/index.mjs";
|
|
26
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
27
|
+
export class OidcClient {
|
|
28
|
+
constructor(options) {
|
|
29
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @param {FernVenusApi.TrustRepoRequest} request
|
|
33
|
+
* @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* await client.oidc.trustRepo({
|
|
37
|
+
* organizationId: "organization_id",
|
|
38
|
+
* repositoryId: "repository_id",
|
|
39
|
+
* repositoryOwnerId: "repositoryOwnerId",
|
|
40
|
+
* repositoryFullName: "repositoryFullName"
|
|
41
|
+
* })
|
|
42
|
+
*/
|
|
43
|
+
trustRepo(request, requestOptions) {
|
|
44
|
+
return core.HttpResponsePromise.fromPromise(this.__trustRepo(request, requestOptions));
|
|
45
|
+
}
|
|
46
|
+
__trustRepo(request, requestOptions) {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
49
|
+
const { organizationId, repositoryId } = request, _body = __rest(request, ["organizationId", "repositoryId"]);
|
|
50
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
51
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
52
|
+
const _response = yield core.fetcher({
|
|
53
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos/${core.url.encodePathParam(repositoryId)}`),
|
|
54
|
+
method: "PUT",
|
|
55
|
+
headers: _headers,
|
|
56
|
+
contentType: "application/json",
|
|
57
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
58
|
+
requestType: "json",
|
|
59
|
+
body: serializers.TrustRepoRequest.jsonOrThrow(_body, {
|
|
60
|
+
unrecognizedObjectKeys: "strip",
|
|
61
|
+
omitUndefined: true,
|
|
62
|
+
}),
|
|
63
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
64
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
65
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
66
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
67
|
+
logging: this._options.logging,
|
|
68
|
+
});
|
|
69
|
+
if (_response.ok) {
|
|
70
|
+
return {
|
|
71
|
+
data: {
|
|
72
|
+
ok: true,
|
|
73
|
+
body: serializers.TrustedRepo.parseOrThrow(_response.body, {
|
|
74
|
+
unrecognizedObjectKeys: "passthrough",
|
|
75
|
+
allowUnrecognizedUnionMembers: true,
|
|
76
|
+
allowUnrecognizedEnumValues: true,
|
|
77
|
+
skipValidation: true,
|
|
78
|
+
breadcrumbsPrefix: ["response"],
|
|
79
|
+
}),
|
|
80
|
+
headers: _response.headers,
|
|
81
|
+
rawResponse: _response.rawResponse,
|
|
82
|
+
},
|
|
83
|
+
rawResponse: _response.rawResponse,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
if (_response.error.reason === "status-code") {
|
|
87
|
+
switch (_response.error.statusCode) {
|
|
88
|
+
case 422:
|
|
89
|
+
return {
|
|
90
|
+
data: {
|
|
91
|
+
ok: false,
|
|
92
|
+
error: FernVenusApi.oidc.trustRepo.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
93
|
+
unrecognizedObjectKeys: "passthrough",
|
|
94
|
+
allowUnrecognizedUnionMembers: true,
|
|
95
|
+
allowUnrecognizedEnumValues: true,
|
|
96
|
+
skipValidation: true,
|
|
97
|
+
breadcrumbsPrefix: ["response"],
|
|
98
|
+
})),
|
|
99
|
+
rawResponse: _response.rawResponse,
|
|
100
|
+
},
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
data: {
|
|
107
|
+
ok: false,
|
|
108
|
+
error: FernVenusApi.oidc.trustRepo.Error._unknown(_response.error),
|
|
109
|
+
rawResponse: _response.rawResponse,
|
|
110
|
+
},
|
|
111
|
+
rawResponse: _response.rawResponse,
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @param {FernVenusApi.UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest} request
|
|
117
|
+
* @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* await client.oidc.untrustRepo({
|
|
121
|
+
* organizationId: "organization_id",
|
|
122
|
+
* repositoryId: "repository_id"
|
|
123
|
+
* })
|
|
124
|
+
*/
|
|
125
|
+
untrustRepo(request, requestOptions) {
|
|
126
|
+
return core.HttpResponsePromise.fromPromise(this.__untrustRepo(request, requestOptions));
|
|
127
|
+
}
|
|
128
|
+
__untrustRepo(request, requestOptions) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
131
|
+
const { organizationId, repositoryId } = request;
|
|
132
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
133
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
134
|
+
const _response = yield core.fetcher({
|
|
135
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos/${core.url.encodePathParam(repositoryId)}`),
|
|
136
|
+
method: "DELETE",
|
|
137
|
+
headers: _headers,
|
|
138
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
139
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
140
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
141
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
142
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
143
|
+
logging: this._options.logging,
|
|
144
|
+
});
|
|
145
|
+
if (_response.ok) {
|
|
146
|
+
return {
|
|
147
|
+
data: {
|
|
148
|
+
ok: true,
|
|
149
|
+
body: undefined,
|
|
150
|
+
headers: _response.headers,
|
|
151
|
+
rawResponse: _response.rawResponse,
|
|
152
|
+
},
|
|
153
|
+
rawResponse: _response.rawResponse,
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
if (_response.error.reason === "status-code") {
|
|
157
|
+
switch (_response.error.statusCode) {
|
|
158
|
+
case 422:
|
|
159
|
+
return {
|
|
160
|
+
data: {
|
|
161
|
+
ok: false,
|
|
162
|
+
error: FernVenusApi.oidc.untrustRepo.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
163
|
+
unrecognizedObjectKeys: "passthrough",
|
|
164
|
+
allowUnrecognizedUnionMembers: true,
|
|
165
|
+
allowUnrecognizedEnumValues: true,
|
|
166
|
+
skipValidation: true,
|
|
167
|
+
breadcrumbsPrefix: ["response"],
|
|
168
|
+
})),
|
|
169
|
+
rawResponse: _response.rawResponse,
|
|
170
|
+
},
|
|
171
|
+
rawResponse: _response.rawResponse,
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
data: {
|
|
177
|
+
ok: false,
|
|
178
|
+
error: FernVenusApi.oidc.untrustRepo.Error._unknown(_response.error),
|
|
179
|
+
rawResponse: _response.rawResponse,
|
|
180
|
+
},
|
|
181
|
+
rawResponse: _response.rawResponse,
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* @param {FernVenusApi.ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest} request
|
|
187
|
+
* @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* await client.oidc.listTrustedRepos({
|
|
191
|
+
* organizationId: "organization_id"
|
|
192
|
+
* })
|
|
193
|
+
*/
|
|
194
|
+
listTrustedRepos(request, requestOptions) {
|
|
195
|
+
return core.HttpResponsePromise.fromPromise(this.__listTrustedRepos(request, requestOptions));
|
|
196
|
+
}
|
|
197
|
+
__listTrustedRepos(request, requestOptions) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
200
|
+
const { organizationId } = request;
|
|
201
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
202
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
203
|
+
const _response = yield core.fetcher({
|
|
204
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `organizations/${core.url.encodePathParam(organizationId)}/oidc/github/trusted-repos`),
|
|
205
|
+
method: "GET",
|
|
206
|
+
headers: _headers,
|
|
207
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
208
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
209
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
210
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
211
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
212
|
+
logging: this._options.logging,
|
|
213
|
+
});
|
|
214
|
+
if (_response.ok) {
|
|
215
|
+
return {
|
|
216
|
+
data: {
|
|
217
|
+
ok: true,
|
|
218
|
+
body: serializers.TrustedRepos.parseOrThrow(_response.body, {
|
|
219
|
+
unrecognizedObjectKeys: "passthrough",
|
|
220
|
+
allowUnrecognizedUnionMembers: true,
|
|
221
|
+
allowUnrecognizedEnumValues: true,
|
|
222
|
+
skipValidation: true,
|
|
223
|
+
breadcrumbsPrefix: ["response"],
|
|
224
|
+
}),
|
|
225
|
+
headers: _response.headers,
|
|
226
|
+
rawResponse: _response.rawResponse,
|
|
227
|
+
},
|
|
228
|
+
rawResponse: _response.rawResponse,
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
if (_response.error.reason === "status-code") {
|
|
232
|
+
switch (_response.error.statusCode) {
|
|
233
|
+
case 422:
|
|
234
|
+
return {
|
|
235
|
+
data: {
|
|
236
|
+
ok: false,
|
|
237
|
+
error: FernVenusApi.oidc.listTrustedRepos.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
238
|
+
unrecognizedObjectKeys: "passthrough",
|
|
239
|
+
allowUnrecognizedUnionMembers: true,
|
|
240
|
+
allowUnrecognizedEnumValues: true,
|
|
241
|
+
skipValidation: true,
|
|
242
|
+
breadcrumbsPrefix: ["response"],
|
|
243
|
+
})),
|
|
244
|
+
rawResponse: _response.rawResponse,
|
|
245
|
+
},
|
|
246
|
+
rawResponse: _response.rawResponse,
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return {
|
|
251
|
+
data: {
|
|
252
|
+
ok: false,
|
|
253
|
+
error: FernVenusApi.oidc.listTrustedRepos.Error._unknown(_response.error),
|
|
254
|
+
rawResponse: _response.rawResponse,
|
|
255
|
+
},
|
|
256
|
+
rawResponse: _response.rawResponse,
|
|
257
|
+
};
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* @param {FernVenusApi.GithubOidcExchangeRequest} request
|
|
262
|
+
* @param {OidcClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* await client.oidc.exchangeGithubOidcToken({
|
|
266
|
+
* token: "token",
|
|
267
|
+
* organizationId: "organizationId"
|
|
268
|
+
* })
|
|
269
|
+
*/
|
|
270
|
+
exchangeGithubOidcToken(request, requestOptions) {
|
|
271
|
+
return core.HttpResponsePromise.fromPromise(this.__exchangeGithubOidcToken(request, requestOptions));
|
|
272
|
+
}
|
|
273
|
+
__exchangeGithubOidcToken(request, requestOptions) {
|
|
274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
275
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
276
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
277
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
278
|
+
const _response = yield core.fetcher({
|
|
279
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "auth/oidc/github"),
|
|
280
|
+
method: "POST",
|
|
281
|
+
headers: _headers,
|
|
282
|
+
contentType: "application/json",
|
|
283
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
284
|
+
requestType: "json",
|
|
285
|
+
body: serializers.GithubOidcExchangeRequest.jsonOrThrow(request, {
|
|
286
|
+
unrecognizedObjectKeys: "strip",
|
|
287
|
+
omitUndefined: true,
|
|
288
|
+
}),
|
|
289
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
290
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
291
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
292
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
293
|
+
logging: this._options.logging,
|
|
294
|
+
});
|
|
295
|
+
if (_response.ok) {
|
|
296
|
+
return {
|
|
297
|
+
data: {
|
|
298
|
+
ok: true,
|
|
299
|
+
body: serializers.JwtResponse.parseOrThrow(_response.body, {
|
|
300
|
+
unrecognizedObjectKeys: "passthrough",
|
|
301
|
+
allowUnrecognizedUnionMembers: true,
|
|
302
|
+
allowUnrecognizedEnumValues: true,
|
|
303
|
+
skipValidation: true,
|
|
304
|
+
breadcrumbsPrefix: ["response"],
|
|
305
|
+
}),
|
|
306
|
+
headers: _response.headers,
|
|
307
|
+
rawResponse: _response.rawResponse,
|
|
308
|
+
},
|
|
309
|
+
rawResponse: _response.rawResponse,
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
if (_response.error.reason === "status-code") {
|
|
313
|
+
switch (_response.error.statusCode) {
|
|
314
|
+
case 422:
|
|
315
|
+
return {
|
|
316
|
+
data: {
|
|
317
|
+
ok: false,
|
|
318
|
+
error: FernVenusApi.oidc.exchangeGithubOidcToken.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
319
|
+
unrecognizedObjectKeys: "passthrough",
|
|
320
|
+
allowUnrecognizedUnionMembers: true,
|
|
321
|
+
allowUnrecognizedEnumValues: true,
|
|
322
|
+
skipValidation: true,
|
|
323
|
+
breadcrumbsPrefix: ["response"],
|
|
324
|
+
})),
|
|
325
|
+
rawResponse: _response.rawResponse,
|
|
326
|
+
},
|
|
327
|
+
rawResponse: _response.rawResponse,
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return {
|
|
332
|
+
data: {
|
|
333
|
+
ok: false,
|
|
334
|
+
error: FernVenusApi.oidc.exchangeGithubOidcToken.Error._unknown(_response.error),
|
|
335
|
+
rawResponse: _response.rawResponse,
|
|
336
|
+
},
|
|
337
|
+
rawResponse: _response.rawResponse,
|
|
338
|
+
};
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export type Error = FernVenusApi.oidc.exchangeGithubOidcToken.Error.UnprocessableEntityError | FernVenusApi.oidc.exchangeGithubOidcToken.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernVenusApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernVenusApi.oidc.exchangeGithubOidcToken.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.exchangeGithubOidcToken.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.exchangeGithubOidcToken.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernVenusApi.oidc.exchangeGithubOidcToken.Error, visitor: FernVenusApi.oidc.exchangeGithubOidcToken.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export const Error = {
|
|
4
|
+
unprocessableEntityError: (value) => {
|
|
5
|
+
return {
|
|
6
|
+
content: value,
|
|
7
|
+
statusCode: 422,
|
|
8
|
+
_visit: function (visitor) {
|
|
9
|
+
return FernVenusApi.oidc.exchangeGithubOidcToken.Error._visit(this, visitor);
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
_unknown: (fetcherError) => {
|
|
14
|
+
return {
|
|
15
|
+
statusCode: undefined,
|
|
16
|
+
content: fetcherError,
|
|
17
|
+
_visit: function (visitor) {
|
|
18
|
+
return FernVenusApi.oidc.exchangeGithubOidcToken.Error._visit(this, visitor);
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
_visit: (value, visitor) => {
|
|
23
|
+
switch (value.statusCode) {
|
|
24
|
+
case 422:
|
|
25
|
+
return visitor.unprocessableEntityError(value.content);
|
|
26
|
+
default:
|
|
27
|
+
return visitor._other(value.content);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as exchangeGithubOidcToken from "./exchangeGithubOidcToken.mjs";
|
|
2
|
+
export * as listTrustedRepos from "./listTrustedRepos.mjs";
|
|
3
|
+
export * from "./requests/index.mjs";
|
|
4
|
+
export * as trustRepo from "./trustRepo.mjs";
|
|
5
|
+
export * as untrustRepo from "./untrustRepo.mjs";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as exchangeGithubOidcToken from "./exchangeGithubOidcToken.mjs";
|
|
2
|
+
export * as listTrustedRepos from "./listTrustedRepos.mjs";
|
|
3
|
+
export * from "./requests/index.mjs";
|
|
4
|
+
export * as trustRepo from "./trustRepo.mjs";
|
|
5
|
+
export * as untrustRepo from "./untrustRepo.mjs";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export type Error = FernVenusApi.oidc.listTrustedRepos.Error.UnprocessableEntityError | FernVenusApi.oidc.listTrustedRepos.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernVenusApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernVenusApi.oidc.listTrustedRepos.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.listTrustedRepos.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.listTrustedRepos.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernVenusApi.oidc.listTrustedRepos.Error, visitor: FernVenusApi.oidc.listTrustedRepos.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export const Error = {
|
|
4
|
+
unprocessableEntityError: (value) => {
|
|
5
|
+
return {
|
|
6
|
+
content: value,
|
|
7
|
+
statusCode: 422,
|
|
8
|
+
_visit: function (visitor) {
|
|
9
|
+
return FernVenusApi.oidc.listTrustedRepos.Error._visit(this, visitor);
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
_unknown: (fetcherError) => {
|
|
14
|
+
return {
|
|
15
|
+
statusCode: undefined,
|
|
16
|
+
content: fetcherError,
|
|
17
|
+
_visit: function (visitor) {
|
|
18
|
+
return FernVenusApi.oidc.listTrustedRepos.Error._visit(this, visitor);
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
_visit: (value, visitor) => {
|
|
23
|
+
switch (value.statusCode) {
|
|
24
|
+
case 422:
|
|
25
|
+
return visitor.unprocessableEntityError(value.content);
|
|
26
|
+
default:
|
|
27
|
+
return visitor._other(value.content);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* organizationId: "organization_id",
|
|
5
|
+
* repositoryId: "repository_id",
|
|
6
|
+
* repositoryOwnerId: "repositoryOwnerId",
|
|
7
|
+
* repositoryFullName: "repositoryFullName"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface TrustRepoRequest {
|
|
11
|
+
organizationId: string;
|
|
12
|
+
repositoryId: string;
|
|
13
|
+
repositoryOwnerId: string;
|
|
14
|
+
repositoryFullName: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* organizationId: "organization_id",
|
|
5
|
+
* repositoryId: "repository_id"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest {
|
|
9
|
+
organizationId: string;
|
|
10
|
+
repositoryId: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { GithubOidcExchangeRequest } from "./GithubOidcExchangeRequest.mjs";
|
|
2
|
+
export type { ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest } from "./ListTrustedReposOrganizationsOrganizationIdOidcGithubTrustedReposGetRequest.mjs";
|
|
3
|
+
export type { TrustRepoRequest } from "./TrustRepoRequest.mjs";
|
|
4
|
+
export type { UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest } from "./UntrustRepoOrganizationsOrganizationIdOidcGithubTrustedReposRepositoryIdDeleteRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export type Error = FernVenusApi.oidc.trustRepo.Error.UnprocessableEntityError | FernVenusApi.oidc.trustRepo.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernVenusApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernVenusApi.oidc.trustRepo.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.trustRepo.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.trustRepo.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernVenusApi.oidc.trustRepo.Error, visitor: FernVenusApi.oidc.trustRepo.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export const Error = {
|
|
4
|
+
unprocessableEntityError: (value) => {
|
|
5
|
+
return {
|
|
6
|
+
content: value,
|
|
7
|
+
statusCode: 422,
|
|
8
|
+
_visit: function (visitor) {
|
|
9
|
+
return FernVenusApi.oidc.trustRepo.Error._visit(this, visitor);
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
_unknown: (fetcherError) => {
|
|
14
|
+
return {
|
|
15
|
+
statusCode: undefined,
|
|
16
|
+
content: fetcherError,
|
|
17
|
+
_visit: function (visitor) {
|
|
18
|
+
return FernVenusApi.oidc.trustRepo.Error._visit(this, visitor);
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
_visit: (value, visitor) => {
|
|
23
|
+
switch (value.statusCode) {
|
|
24
|
+
case 422:
|
|
25
|
+
return visitor.unprocessableEntityError(value.content);
|
|
26
|
+
default:
|
|
27
|
+
return visitor._other(value.content);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
+
export type Error = FernVenusApi.oidc.untrustRepo.Error.UnprocessableEntityError | FernVenusApi.oidc.untrustRepo.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
statusCode: 422;
|
|
7
|
+
content: FernVenusApi.HttpValidationError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
statusCode: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: FernVenusApi.oidc.untrustRepo.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.oidc.untrustRepo.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.oidc.untrustRepo.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: FernVenusApi.oidc.untrustRepo.Error, visitor: FernVenusApi.oidc.untrustRepo.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|