@inai-dev/types 1.5.0 → 1.6.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/dist/index.d.cts CHANGED
@@ -95,10 +95,12 @@ interface PlatformUserResource {
95
95
  interface SessionResource {
96
96
  id: string;
97
97
  userId: string;
98
- tenantId: string;
99
- environmentId: string | null;
100
- activeOrgId: string | null;
98
+ userEmail: string | null;
99
+ userAgent: string | null;
100
+ ipAddress: string | null;
101
101
  expiresAt: string;
102
+ revokedAt: string | null;
103
+ createdAt: string;
102
104
  }
103
105
  interface OrganizationResource {
104
106
  id: string;
@@ -106,7 +108,8 @@ interface OrganizationResource {
106
108
  name: string;
107
109
  slug: string;
108
110
  imageUrl: string | null;
109
- metadata: Record<string, unknown> | null;
111
+ metadata: unknown | null;
112
+ createdBy: string | null;
110
113
  createdAt: string;
111
114
  updatedAt: string;
112
115
  }
package/dist/index.d.ts CHANGED
@@ -95,10 +95,12 @@ interface PlatformUserResource {
95
95
  interface SessionResource {
96
96
  id: string;
97
97
  userId: string;
98
- tenantId: string;
99
- environmentId: string | null;
100
- activeOrgId: string | null;
98
+ userEmail: string | null;
99
+ userAgent: string | null;
100
+ ipAddress: string | null;
101
101
  expiresAt: string;
102
+ revokedAt: string | null;
103
+ createdAt: string;
102
104
  }
103
105
  interface OrganizationResource {
104
106
  id: string;
@@ -106,7 +108,8 @@ interface OrganizationResource {
106
108
  name: string;
107
109
  slug: string;
108
110
  imageUrl: string | null;
109
- metadata: Record<string, unknown> | null;
111
+ metadata: unknown | null;
112
+ createdBy: string | null;
110
113
  createdAt: string;
111
114
  updatedAt: string;
112
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inai-dev/types",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "TypeScript types for the InAI Auth SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",