@daocloud-proto/hydra 0.17.0-rc1-dev-22 → 0.17.0-rc1-dev-23
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.
|
@@ -97,6 +97,13 @@ export type ListAllWSAPIKeysStatusResponse = {
|
|
|
97
97
|
items?: AllAPIKeyStatus[]
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
export type ListAllAPIKeysStatusResponse = {
|
|
101
|
+
items?: AllAPIKeyStatus[]
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type ListAllAPIKeysStatusRequest = {
|
|
105
|
+
}
|
|
106
|
+
|
|
100
107
|
export type ListWSAPIKeyRequest = {
|
|
101
108
|
workspace?: number
|
|
102
109
|
page?: HydraCommonCommon.Pagination
|
|
@@ -232,6 +239,9 @@ export class APIKeyManagement {
|
|
|
232
239
|
static ListAPIKeyMasked(req: ListAPIKeyRequest, initReq?: fm.InitReq): Promise<ListAPIKeyResponse> {
|
|
233
240
|
return fm.fetchReq<ListAPIKeyRequest, ListAPIKeyResponse>(`/apis/hydra.io/v1alpha1/masked-apikeys?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
234
241
|
}
|
|
242
|
+
static ListAllAPIKeysStatus(req: ListAllAPIKeysStatusRequest, initReq?: fm.InitReq): Promise<ListAllAPIKeysStatusResponse> {
|
|
243
|
+
return fm.fetchReq<ListAllAPIKeysStatusRequest, ListAllAPIKeysStatusResponse>(`/apis/hydra.io/v1alpha1/all-apikey-statuses?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
244
|
+
}
|
|
235
245
|
static GetAPIKeySecret(req: GetAPIKeySecretRequest, initReq?: fm.InitReq): Promise<APIKeySecret> {
|
|
236
246
|
return fm.fetchReq<GetAPIKeySecretRequest, APIKeySecret>(`/apis/hydra.io/v1alpha1/apikeys/${req["id"]}/secret?${fm.renderURLSearchParams(req, ["id"])}`, {...initReq, method: "GET"})
|
|
237
247
|
}
|