@frontegg/rest-api 3.1.47 → 3.1.48

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.
@@ -261,6 +261,7 @@ export interface IUserApiTokensData {
261
261
  description: string;
262
262
  metadata?: any;
263
263
  secret?: string;
264
+ expires?: Date;
264
265
  }
265
266
  export interface ITenantApiTokensData {
266
267
  clientId?: string;
@@ -270,13 +271,16 @@ export interface ITenantApiTokensData {
270
271
  metadata?: any;
271
272
  secret?: string;
272
273
  roleIds?: string[];
274
+ expires?: Date;
273
275
  }
274
276
  export interface IUpdateUserApiTokensData {
275
277
  description: string;
278
+ expiresInMinutes: number | null;
276
279
  }
277
280
  export interface IUpdateTenantApiTokensData {
278
281
  description: string;
279
282
  roleIds: string[];
283
+ expiresInMinutes: number | null;
280
284
  }
281
285
  export interface IDeleteApiToken {
282
286
  tokenId: string;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.47
1
+ /** @license Frontegg v3.1.48
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v3.1.47
1
+ /** @license Frontegg v3.1.48
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/rest-api",
3
- "version": "3.1.47",
3
+ "version": "3.1.48",
4
4
  "main": "./node/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {