@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 +2 -2
- package/src/auth.ts +1 -0
- package/src/deployment.ts +2 -0
- package/src/organization.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wacht/types",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
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
package/src/deployment.ts
CHANGED
package/src/organization.ts
CHANGED
|
@@ -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 {
|