@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 CHANGED
@@ -1,3 +1,3 @@
1
- ## 0.13.2 (2026-10-28)
1
+ ## 0.14.0 (2026-10-28)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.13.2",
3
+ "version": "0.14.0",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,