@nangohq/types 0.47.0 → 0.47.1

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.
@@ -10,7 +10,7 @@ export interface ConnectSessionInput {
10
10
  }> | undefined;
11
11
  end_user: {
12
12
  id: string;
13
- email: string;
13
+ email?: string | undefined;
14
14
  display_name?: string | undefined;
15
15
  };
16
16
  organization?: {
@@ -74,7 +74,7 @@ export type GetConnection = Endpoint<{
74
74
  Error: ApiError<'unknown_provider_config'>;
75
75
  Success: {
76
76
  data: {
77
- provider: string | null;
77
+ provider: string;
78
78
  connection: ApiConnectionFull;
79
79
  endUser: ApiEndUser | null;
80
80
  errorLog: ActiveLog | null;
@@ -3,7 +3,7 @@ export interface EndUser {
3
3
  readonly endUserId: string;
4
4
  readonly accountId: number;
5
5
  readonly environmentId: number;
6
- readonly email: string;
6
+ readonly email: string | null;
7
7
  readonly displayName?: string | null;
8
8
  readonly organization?: {
9
9
  readonly organizationId: string;
@@ -17,7 +17,7 @@ export interface DBEndUser {
17
17
  readonly end_user_id: string;
18
18
  readonly account_id: number;
19
19
  readonly environment_id: number;
20
- readonly email: string;
20
+ readonly email: string | null;
21
21
  readonly display_name: string | null;
22
22
  readonly organization_id: string | null;
23
23
  readonly organization_display_name: string | null;
@@ -28,7 +28,7 @@ export type DBInsertEndUser = Omit<DBEndUser, 'id' | 'created_at' | 'updated_at'
28
28
  export interface ApiEndUser {
29
29
  id: string;
30
30
  displayName: string | null;
31
- email: string;
31
+ email: string | null;
32
32
  organization: {
33
33
  id: string;
34
34
  displayName: string | null;
@@ -8,3 +8,9 @@ export interface Deployment {
8
8
  readonly supersededAt: Date | null;
9
9
  }
10
10
  export type RoutingId = string;
11
+ export interface NodeConfig {
12
+ readonly image: string;
13
+ readonly cpuMilli: number;
14
+ readonly memoryMb: number;
15
+ readonly storageMb: number;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.47.0",
3
+ "version": "0.47.1",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",