@wacht/types 0.0.1-alpha.6 → 0.0.1-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wacht/types",
3
- "version": "0.0.1-alpha.6",
3
+ "version": "0.0.1-alpha.8",
4
4
  "description": "Shared TypeScript types for wacht libraries",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -13,4 +13,4 @@
13
13
  "devDependencies": {
14
14
  "typescript": "^5.8.3"
15
15
  }
16
- }
16
+ }
package/src/auth.ts CHANGED
@@ -18,6 +18,7 @@ export interface SignInParams {
18
18
  password?: string;
19
19
  phone?: string;
20
20
  strategy?: string;
21
+ token?: string;
21
22
  }
22
23
 
23
24
  export interface SignInResponse {
package/src/deployment.ts CHANGED
@@ -175,6 +175,8 @@ export interface DeploymentUISettings {
175
175
  dark_mode_settings: DarkModeSettings;
176
176
  }
177
177
 
178
+
179
+
178
180
  export interface Deployment {
179
181
  id: number;
180
182
  created_at: string;
@@ -33,6 +33,10 @@ export interface OrganizationMembershipWithOrganization {
33
33
  public_metadata: Record<string, unknown>;
34
34
  created_at: string;
35
35
  updated_at: string;
36
+ eligibility_restriction?: {
37
+ type: "none" | "ip_not_allowed" | "mfa_required" | "ip_and_mfa_required";
38
+ message: string;
39
+ };
36
40
  }
37
41
 
38
42
  export interface OrganizationMembership {
@@ -85,6 +89,10 @@ export interface Workspace {
85
89
 
86
90
  export interface WorkspaceWithOrganization extends Workspace {
87
91
  organization: Organization;
92
+ eligibility_restriction?: {
93
+ type: "none" | "ip_not_allowed" | "mfa_required" | "ip_and_mfa_required";
94
+ message: string;
95
+ };
88
96
  }
89
97
 
90
98
  export interface WorkspaceRole {
@@ -105,6 +113,10 @@ export interface WorkspaceMembership {
105
113
  public_metadata: Record<string, unknown>;
106
114
  created_at: string;
107
115
  updated_at: string;
116
+ eligibility_restriction?: {
117
+ type: "none" | "ip_not_allowed" | "mfa_required" | "ip_and_mfa_required";
118
+ message: string;
119
+ };
108
120
  }
109
121
 
110
122
  export interface OrganizationUpdate {