@rebilly/api 0.13.2 → 0.14.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/CHANGELOG.md +1 -1
- package/dist/core-client.d.ts +2 -2
- package/dist/core-client.schemas.d.ts +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/core-client.d.ts
CHANGED
|
@@ -6364,7 +6364,7 @@ export type PutApiKeyPath = {
|
|
|
6364
6364
|
*/
|
|
6365
6365
|
id: string;
|
|
6366
6366
|
};
|
|
6367
|
-
export type PutApiKeyBody = Omit<ApiKey, "id" | "apiUser" | "secretKey">;
|
|
6367
|
+
export type PutApiKeyBody = Omit<ApiKey, "id" | "lastUsedTime" | "lastUsedIp" | "apiUser" | "secretKey">;
|
|
6368
6368
|
export type PutApiKeyVariables = {
|
|
6369
6369
|
path: PutApiKeyPath;
|
|
6370
6370
|
body: PutApiKeyBody;
|
|
@@ -9554,7 +9554,7 @@ export type GetApiKeyCollectionVariables = {
|
|
|
9554
9554
|
query?: GetApiKeyCollectionQuery;
|
|
9555
9555
|
};
|
|
9556
9556
|
export type PostApiKeyResult = ApiKey;
|
|
9557
|
-
export type PostApiKeyBody = Omit<ApiKey, "id" | "apiUser" | "secretKey">;
|
|
9557
|
+
export type PostApiKeyBody = Omit<ApiKey, "id" | "lastUsedTime" | "lastUsedIp" | "apiUser" | "secretKey">;
|
|
9558
9558
|
export type PostApiKeyResponseHeaders = {
|
|
9559
9559
|
location?: string;
|
|
9560
9560
|
rateLimitLimit?: number;
|
|
@@ -15316,6 +15316,19 @@ export type ApiKey = {
|
|
|
15316
15316
|
*/
|
|
15317
15317
|
acl?: Acl;
|
|
15318
15318
|
allowedIps?: AllowedIps;
|
|
15319
|
+
/**
|
|
15320
|
+
* Date and time when the API key last authenticated a request.
|
|
15321
|
+
* This value is updated at most once every 5 minutes.
|
|
15322
|
+
* This value is `null` if the API key has no recorded use.
|
|
15323
|
+
* @format date-time
|
|
15324
|
+
*/
|
|
15325
|
+
readonly lastUsedTime?: string | null;
|
|
15326
|
+
/**
|
|
15327
|
+
* IP address of the request that last updated `lastUsedTime`.
|
|
15328
|
+
* This value is `null` if the API key has no recorded use.
|
|
15329
|
+
* @format ip
|
|
15330
|
+
*/
|
|
15331
|
+
readonly lastUsedIp?: string | null;
|
|
15319
15332
|
/**
|
|
15320
15333
|
* API user name.
|
|
15321
15334
|
*/
|