@petercatai/whisker-client 0.1.202505281105-dev → 0.1.202505290856-dev

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.
Files changed (2) hide show
  1. package/dist/api.d.ts +20 -10
  2. package/package.json +2 -2
package/dist/api.d.ts CHANGED
@@ -111,7 +111,7 @@ export interface IAPIKey {
111
111
  rate_limit?: number;
112
112
  /**
113
113
  * Expires At
114
- * expire time
114
+ * expire time (UTC)
115
115
  */
116
116
  expires_at?: string | null;
117
117
  /**
@@ -142,29 +142,39 @@ export interface IAPIKeyCreate {
142
142
  * @default 0
143
143
  */
144
144
  rate_limit?: number | null;
145
- /** Expires At */
145
+ /**
146
+ * Expires At
147
+ * Expiration time in ISO8601 format with timezone (e.g., 2024-12-31T23:59:59+00:00)
148
+ */
146
149
  expires_at?: string | null;
147
150
  /** Metadata */
148
151
  metadata?: Record<string, any> | null;
149
152
  }
150
153
  /** APIKeyUpdate */
151
154
  export interface IAPIKeyUpdate {
152
- /** Key Id */
153
- key_id: string;
154
- /** Key Name */
155
- key_name?: string | null;
155
+ /**
156
+ * Key Name
157
+ * @default ""
158
+ */
159
+ key_name?: string;
156
160
  /** Description */
157
161
  description?: string | null;
158
162
  /** Permissions */
159
163
  permissions?: IPermission[];
160
- /** Rate Limit */
164
+ /**
165
+ * Rate Limit
166
+ * @default 0
167
+ */
161
168
  rate_limit?: number | null;
162
- /** Expires At */
169
+ /**
170
+ * Expires At
171
+ * Expiration time in ISO8601 format with timezone (e.g., 2024-12-31T23:59:59+00:00)
172
+ */
163
173
  expires_at?: string | null;
164
- /** Is Active */
165
- is_active?: boolean | null;
166
174
  /** Metadata */
167
175
  metadata?: Record<string, any> | null;
176
+ /** Key Id */
177
+ key_id: string;
168
178
  }
169
179
  /** ActiveStatusUpdate */
170
180
  export interface IActiveStatusUpdate {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202505281105-dev",
3
+ "version": "0.1.202505290856-dev",
4
4
  "description": "Generated API client (preview)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",
@@ -16,7 +16,7 @@
16
16
  "tag": "dev"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "^22.15.23",
19
+ "@types/node": "^22.15.24",
20
20
  "axios": "^1.9.0",
21
21
  "typescript": "^5.8.3"
22
22
  }